@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.Requests.FetchRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Requests.FetchRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build(); byte[] serializedRequest = protoRequest.toByteArray();
.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build(); byte[] serializedRequest = protoRequest.toByteArray();
.setConnectionId(connectionId).setStatementId(statementId) .setOffset(offset).setFetchMaxRowCount(fetchMaxRowCount) .build(); byte[] serializedRequest = protoRequest.toByteArray();
setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFrameMaxSize(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(100).setFrameMaxSize(maxSize).build();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } if (other.getFrameMaxSize() != 0) { setFrameMaxSize(other.getFrameMaxSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } if (other.getFrameMaxSize() != 0) { setFrameMaxSize(other.getFrameMaxSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFrameMaxSize(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(maxSize).build(); setConnectionId(connectionId).setStatementId(statementId). setOffset(offset).setFetchMaxRowCount(100).setFrameMaxSize(maxSize).build();
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.FetchRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.FetchRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (other.getStatementId() != 0) { setStatementId(other.getStatementId()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.getFetchMaxRowCount() != 0) { setFetchMaxRowCount(other.getFetchMaxRowCount()); } onChanged(); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.calcite.avatica.proto.Requests.FetchRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Requests.FetchRequest) e.getUnfinishedMessage(); throw e; } 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.Requests.FetchRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.calcite.avatica.proto.Requests.FetchRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.FetchRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
private Builder() { maybeForceBuilderInitialization(); }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.FetchRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public static Builder newBuilder(org.apache.calcite.avatica.proto.Requests.FetchRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**