@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.TableTypesRequest)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Requests.TableTypesRequest other = (org.apache.calcite.avatica.proto.Requests.TableTypesRequest) obj; boolean result = true; result = result && getConnectionId() .equals(other.getConnectionId()); 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.TableTypesRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.TableTypesRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } onChanged(); return this; }
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable();
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public org.apache.calcite.avatica.proto.Requests.TableTypesRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.TableTypesRequest.getDefaultInstance(); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.TableTypesRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.TableTypesRequest.getDefaultInstance(); }
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
@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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@Override Requests.TableTypesRequest serialize() { Requests.TableTypesRequest.Builder builder = Requests.TableTypesRequest.newBuilder(); if (null != connectionId) { builder.setConnectionId(connectionId); } return builder.build(); }
@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.TableTypesRequest)) { return super.equals(obj); } org.apache.calcite.avatica.proto.Requests.TableTypesRequest other = (org.apache.calcite.avatica.proto.Requests.TableTypesRequest) obj; boolean result = true; result = result && getConnectionId() .equals(other.getConnectionId()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.TableTypesRequest buildPartial() { org.apache.calcite.avatica.proto.Requests.TableTypesRequest result = new org.apache.calcite.avatica.proto.Requests.TableTypesRequest(this); result.connectionId_ = connectionId_; onBuilt(); return result; }
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.TableTypesRequest prototype) {
@Override TableTypesRequest deserialize(Message genericMsg) { final Requests.TableTypesRequest msg = ProtobufService.castProtobufMessage(genericMsg, Requests.TableTypesRequest.class); String connectionId = null; if (msg.hasField(CONNECTION_ID_DESCRIPTOR)) { connectionId = msg.getConnectionId(); } return new TableTypesRequest(connectionId); }
@Override Requests.TableTypesRequest serialize() { Requests.TableTypesRequest.Builder builder = Requests.TableTypesRequest.newBuilder(); if (null != connectionId) { builder.setConnectionId(connectionId); } return builder.build(); }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.TableTypesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
@Override TableTypesRequest deserialize(Message genericMsg) { final Requests.TableTypesRequest msg = ProtobufService.castProtobufMessage(genericMsg, Requests.TableTypesRequest.class); final Descriptor desc = msg.getDescriptorForType(); String connectionId = null; if (ProtobufService.hasField(msg, desc, Requests.TableTypesRequest.CONNECTION_ID_FIELD_NUMBER)) { connectionId = msg.getConnectionId(); } return new TableTypesRequest(connectionId); }