@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 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; }
@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; }
@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; }
@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); }
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; }
@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); }
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@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); }
/** * <code>optional string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }