@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (frame_ != null) { output.writeMessage(1, getFrame()); } if (missingStatement_ != false) { output.writeBool(2, missingStatement_); } if (missingResults_ != false) { output.writeBool(3, missingResults_); } if (metadata_ != null) { output.writeMessage(4, getMetadata()); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (frame_ != null) { output.writeMessage(1, getFrame()); } if (missingStatement_ != false) { output.writeBool(2, missingStatement_); } if (missingResults_ != false) { output.writeBool(3, missingResults_); } if (metadata_ != null) { output.writeMessage(4, getMetadata()); } unknownFields.writeTo(output); }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (frame_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFrame()); } if (missingStatement_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, missingStatement_); } if (missingResults_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, missingResults_); } if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getMetadata()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
Common.Frame protoFrame = protoResponse.getFrame();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Responses.FetchResponse)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Responses.FetchResponse other = (org.apache.calcite.avatica.proto.Responses.FetchResponse) obj; boolean result = true; result = result && (hasFrame() == other.hasFrame()); if (hasFrame()) { result = result && getFrame() .equals(other.getFrame()); } result = result && (getMissingStatement() == other.getMissingStatement()); result = result && (getMissingResults() == other.getMissingResults()); result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() .equals(other.getMetadata()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (frame_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFrame()); } if (missingStatement_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, missingStatement_); } if (missingResults_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, missingResults_); } if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getMetadata()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Responses.FetchResponse)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Responses.FetchResponse other = (org.apache.calcite.avatica.proto.Responses.FetchResponse) obj; boolean result = true; result = result && (hasFrame() == other.hasFrame()); if (hasFrame()) { result = result && getFrame() .equals(other.getFrame()); } result = result && (getMissingStatement() == other.getMissingStatement()); result = result && (getMissingResults() == other.getMissingResults()); result = result && (hasMetadata() == other.hasMetadata()); if (hasMetadata()) { result = result && getMetadata() .equals(other.getMetadata()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFrame()) { hash = (37 * hash) + FRAME_FIELD_NUMBER; hash = (53 * hash) + getFrame().hashCode(); } hash = (37 * hash) + MISSING_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingStatement()); hash = (37 * hash) + MISSING_RESULTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingResults()); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFrame()) { hash = (37 * hash) + FRAME_FIELD_NUMBER; hash = (53 * hash) + getFrame().hashCode(); } hash = (37 * hash) + MISSING_STATEMENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingStatement()); hash = (37 * hash) + MISSING_RESULTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getMissingResults()); if (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (frame_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getFrame()); } if (missingStatement_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, missingStatement_); } if (missingResults_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, missingResults_); } if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getMetadata()); } memoizedSize = size; return size; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (frame_ != null) { output.writeMessage(1, getFrame()); } if (missingStatement_ != false) { output.writeBool(2, missingStatement_); } if (missingResults_ != false) { output.writeBool(3, missingResults_); } if (metadata_ != null) { output.writeMessage(4, getMetadata()); } }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Responses.FetchResponse other) { if (other == org.apache.calcite.avatica.proto.Responses.FetchResponse.getDefaultInstance()) return this; if (other.hasFrame()) { mergeFrame(other.getFrame()); } if (other.getMissingStatement() != false) { setMissingStatement(other.getMissingStatement()); } if (other.getMissingResults() != false) { setMissingResults(other.getMissingResults()); } if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@Override FetchResponse deserialize(Message genericMsg) { final Responses.FetchResponse msg = ProtobufService.castProtobufMessage(genericMsg, Responses.FetchResponse.class); RpcMetadataResponse metadata = null; if (msg.hasField(METADATA_DESCRIPTOR)) { metadata = RpcMetadataResponse.fromProto(msg.getMetadata()); } return new FetchResponse(Meta.Frame.fromProto(msg.getFrame()), msg.getMissingStatement(), msg.getMissingResults(), metadata); }
@Override FetchResponse deserialize(Message genericMsg) { final Responses.FetchResponse msg = ProtobufService.castProtobufMessage(genericMsg, Responses.FetchResponse.class); final Descriptor desc = msg.getDescriptorForType(); RpcMetadataResponse metadata = null; if (ProtobufService.hasField(msg, desc, Responses.FetchResponse.METADATA_FIELD_NUMBER)) { metadata = RpcMetadataResponse.fromProto(msg.getMetadata()); } return new FetchResponse(Meta.Frame.fromProto(msg.getFrame()), msg.getMissingStatement(), msg.getMissingResults(), metadata); }
@Override FetchResponse deserialize(Message genericMsg) { final Responses.FetchResponse msg = ProtobufService.castProtobufMessage(genericMsg, Responses.FetchResponse.class); RpcMetadataResponse metadata = null; if (msg.hasField(METADATA_DESCRIPTOR)) { metadata = RpcMetadataResponse.fromProto(msg.getMetadata()); } return new FetchResponse(Meta.Frame.fromProto(msg.getFrame()), msg.getMissingStatement(), msg.getMissingResults(), metadata); }
/** * <code>.Frame frame = 1;</code> */ public org.apache.calcite.avatica.proto.Common.FrameOrBuilder getFrameOrBuilder() { return getFrame(); }
/** * <code>optional .Frame frame = 1;</code> */ public org.apache.calcite.avatica.proto.Common.FrameOrBuilder getFrameOrBuilder() { return getFrame(); }
/** * <code>.Frame frame = 1;</code> */ public org.apache.calcite.avatica.proto.Common.FrameOrBuilder getFrameOrBuilder() { return getFrame(); }