@java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.calcite.avatica.proto.Common.ConnectionProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.ConnectionProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
@java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.calcite.avatica.proto.Common.ConnectionProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.ConnectionProperties) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
@java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.calcite.avatica.proto.Common.ConnectionProperties) { return mergeFrom((org.apache.calcite.avatica.proto.Common.ConnectionProperties)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(connProps_); connProps_ = subBuilder.buildPartial();
subBuilder.mergeFrom(connProps_); connProps_ = subBuilder.buildPartial();
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
/** * <code>.ConnectionProperties conn_props = 1;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
/** * <code>optional .ConnectionProperties conn_props = 2;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
/** * <code>.ConnectionProperties conn_props = 1;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.calcite.avatica.proto.Common.ConnectionProperties parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.ConnectionProperties) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
/** * <code>optional .ConnectionProperties conn_props = 1;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
/** * <code>.ConnectionProperties conn_props = 2;</code> */ public Builder mergeConnProps(org.apache.calcite.avatica.proto.Common.ConnectionProperties value) { if (connPropsBuilder_ == null) { if (connProps_ != null) { connProps_ = org.apache.calcite.avatica.proto.Common.ConnectionProperties.newBuilder(connProps_).mergeFrom(value).buildPartial(); } else { connProps_ = value; } onChanged(); } else { connPropsBuilder_.mergeFrom(value); } return this; } /**
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.ConnectionProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.ConnectionProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.ConnectionProperties prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
@java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
@java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.calcite.avatica.proto.Common.ConnectionProperties) { return mergeFrom((org.apache.calcite.avatica.proto.Common.ConnectionProperties)other); } else { super.mergeFrom(other); return this; } }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.calcite.avatica.proto.Common.ConnectionProperties) { return mergeFrom((org.apache.calcite.avatica.proto.Common.ConnectionProperties)other); } else { super.mergeFrom(other); return this; } }
@java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }