@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.QueryState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.QueryState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
@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.QueryState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.QueryState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
@java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.calcite.avatica.proto.Common.QueryState) { return mergeFrom((org.apache.calcite.avatica.proto.Common.QueryState)other); } else { super.mergeFrom(other); return this; } }
subBuilder.mergeFrom(state_); state_ = subBuilder.buildPartial();
subBuilder.mergeFrom(state_); state_ = subBuilder.buildPartial();
subBuilder.mergeFrom(state_); state_ = subBuilder.buildPartial();
/** * <code>.QueryState state = 3;</code> */ public Builder mergeState(org.apache.calcite.avatica.proto.Common.QueryState value) { if (stateBuilder_ == null) { if (state_ != null) { state_ = org.apache.calcite.avatica.proto.Common.QueryState.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.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.QueryState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Common.QueryState) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .QueryState state = 3;</code> */ public Builder mergeState(org.apache.calcite.avatica.proto.Common.QueryState value) { if (stateBuilder_ == null) { if (state_ != null) { state_ = org.apache.calcite.avatica.proto.Common.QueryState.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } return this; } /**
/** * <code>.QueryState state = 3;</code> */ public Builder mergeState(org.apache.calcite.avatica.proto.Common.QueryState value) { if (stateBuilder_ == null) { if (state_ != null) { state_ = org.apache.calcite.avatica.proto.Common.QueryState.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } return this; } /**
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.QueryState prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.QueryState 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.QueryState) { return mergeFrom((org.apache.calcite.avatica.proto.Common.QueryState)other); } else { super.mergeFrom(other); return this; } }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.calcite.avatica.proto.Common.QueryState) { return mergeFrom((org.apache.calcite.avatica.proto.Common.QueryState)other); } else { super.mergeFrom(other); return this; } }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Common.QueryState 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); }