/** * <code>string connection_id = 1;</code> */ public Builder setConnectionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } connectionId_ = value; onChanged(); return this; } /**
/** * <code>optional string connection_id = 1;</code> */ public Builder setConnectionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); connectionId_ = value; onChanged(); return this; }
/** * <code>string connection_id = 1;</code> */ public Builder setConnectionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); connectionId_ = value; onChanged(); return this; }
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public Builder clearConnProps() { if (connPropsBuilder_ == null) { connProps_ = null; onChanged(); } else { connProps_ = null; connPropsBuilder_ = null; } return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder setConnectionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); connectionId_ = value; onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.hasConnProps()) { mergeConnProps(other.getConnProps()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>optional string connection_id = 1;</code> */ public Builder setConnectionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } connectionId_ = value; onChanged(); return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder setConnectionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } connectionId_ = value; onChanged(); return this; } /**
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public Builder setConnProps( org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder builderForValue) { if (connPropsBuilder_ == null) { connProps_ = builderForValue.build(); onChanged(); } else { connPropsBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public Builder setConnProps( org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder builderForValue) { if (connPropsBuilder_ == null) { connProps_ = builderForValue.build(); onChanged(); } else { connPropsBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * <code>optional .ConnectionProperties conn_props = 2;</code> */ public Builder clearConnProps() { if (connPropsBuilder_ == null) { connProps_ = null; onChanged(); } else { connProps_ = null; connPropsBuilder_ = null; } return this; } /**
/** * <code>optional .ConnectionProperties conn_props = 2;</code> */ public Builder setConnProps( org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder builderForValue) { if (connPropsBuilder_ == null) { connProps_ = builderForValue.build(); onChanged(); } else { connPropsBuilder_.setMessage(builderForValue.build()); } return this; } /**
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.hasConnProps()) { mergeConnProps(other.getConnProps()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder getConnPropsBuilder() { onChanged(); return getConnPropsFieldBuilder().getBuilder(); } /**
/** * <code>optional .ConnectionProperties conn_props = 2;</code> */ public org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder getConnPropsBuilder() { onChanged(); return getConnPropsFieldBuilder().getBuilder(); } /**
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.ConnectionSyncRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.hasConnProps()) { mergeConnProps(other.getConnProps()); } onChanged(); return this; }
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public org.apache.calcite.avatica.proto.Common.ConnectionProperties.Builder getConnPropsBuilder() { onChanged(); return getConnPropsFieldBuilder().getBuilder(); } /**
/** * <code>optional string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**