@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Requests.CloseStatementRequest)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Requests.CloseStatementRequest other = (org.apache.calcite.avatica.proto.Requests.CloseStatementRequest) obj; boolean result = true; result = result && getConnectionId() .equals(other.getConnectionId()); result = result && (getStatementId() == other.getStatementId()); 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 (!getConnectionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connectionId_); } if (statementId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statementId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.CloseStatementRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.CloseStatementRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } onChanged(); return this; }
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable();
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.calcite.avatica.proto.Requests.CloseStatementRequest)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Requests.CloseStatementRequest other = (org.apache.calcite.avatica.proto.Requests.CloseStatementRequest) obj; boolean result = true; result = result && getConnectionId() .equals(other.getConnectionId()); result = result && (getStatementId() == other.getStatementId()); 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(); hash = (37 * hash) + CONNECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getConnectionId().hashCode(); hash = (37 * hash) + STATEMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getStatementId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getConnectionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connectionId_); } if (statementId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statementId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CONNECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getConnectionId().hashCode(); hash = (37 * hash) + STATEMENT_ID_FIELD_NUMBER; hash = (53 * hash) + getStatementId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public org.apache.calcite.avatica.proto.Requests.CloseStatementRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.CloseStatementRequest.getDefaultInstance(); }
public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getConnectionIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessage.computeStringSize(1, connectionId_); } if (statementId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, statementId_); } memoizedSize = size; return size; }
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.CloseStatementRequest prototype) {
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.CloseStatementRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.CloseStatementRequest.getDefaultInstance(); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.CloseStatementRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.CloseStatementRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.CloseStatementRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.CloseStatementRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.CloseStatementRequest.getDefaultInstance(); }