All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.io.deephaven.proto.backplane.grpc.MergeTablesRequest Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deephaven/proto/table.proto

// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;

/**
 * Protobuf type {@code io.deephaven.proto.backplane.grpc.MergeTablesRequest}
 */
public final class MergeTablesRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.MergeTablesRequest)
    MergeTablesRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use MergeTablesRequest.newBuilder() to construct.
  private MergeTablesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private MergeTablesRequest() {
    sourceIds_ = java.util.Collections.emptyList();
    keyColumn_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new MergeTablesRequest();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_MergeTablesRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_MergeTablesRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.grpc.MergeTablesRequest.class, io.deephaven.proto.backplane.grpc.MergeTablesRequest.Builder.class);
  }

  private int bitField0_;
  public static final int RESULT_ID_FIELD_NUMBER = 1;
  private io.deephaven.proto.backplane.grpc.Ticket resultId_;
  /**
   * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
   * @return Whether the resultId field is set.
   */
  @java.lang.Override
  public boolean hasResultId() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
   * @return The resultId.
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.Ticket getResultId() {
    return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
  }
  /**
   * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() {
    return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_;
  }

  public static final int SOURCE_IDS_FIELD_NUMBER = 2;
  @SuppressWarnings("serial")
  private java.util.List sourceIds_;
  /**
   * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2;
   */
  @java.lang.Override
  public java.util.List getSourceIdsList() {
    return sourceIds_;
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2;
   */
  @java.lang.Override
  public java.util.List 
      getSourceIdsOrBuilderList() {
    return sourceIds_;
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2;
   */
  @java.lang.Override
  public int getSourceIdsCount() {
    return sourceIds_.size();
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.TableReference getSourceIds(int index) {
    return sourceIds_.get(index);
  }
  /**
   * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2;
   */
  @java.lang.Override
  public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getSourceIdsOrBuilder(
      int index) {
    return sourceIds_.get(index);
  }

  public static final int KEY_COLUMN_FIELD_NUMBER = 3;
  @SuppressWarnings("serial")
  private volatile java.lang.Object keyColumn_ = "";
  /**
   * 
   * if specified, the result will be sorted by this column
   * 
* * string key_column = 3; * @return The keyColumn. */ @java.lang.Override public java.lang.String getKeyColumn() { java.lang.Object ref = keyColumn_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyColumn_ = s; return s; } } /** *
   * if specified, the result will be sorted by this column
   * 
* * string key_column = 3; * @return The bytes for keyColumn. */ @java.lang.Override public com.google.protobuf.ByteString getKeyColumnBytes() { java.lang.Object ref = keyColumn_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyColumn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getResultId()); } for (int i = 0; i < sourceIds_.size(); i++) { output.writeMessage(2, sourceIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyColumn_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, keyColumn_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getResultId()); } for (int i = 0; i < sourceIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, sourceIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(keyColumn_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, keyColumn_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.MergeTablesRequest)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.MergeTablesRequest other = (io.deephaven.proto.backplane.grpc.MergeTablesRequest) obj; if (hasResultId() != other.hasResultId()) return false; if (hasResultId()) { if (!getResultId() .equals(other.getResultId())) return false; } if (!getSourceIdsList() .equals(other.getSourceIdsList())) return false; if (!getKeyColumn() .equals(other.getKeyColumn())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasResultId()) { hash = (37 * hash) + RESULT_ID_FIELD_NUMBER; hash = (53 * hash) + getResultId().hashCode(); } if (getSourceIdsCount() > 0) { hash = (37 * hash) + SOURCE_IDS_FIELD_NUMBER; hash = (53 * hash) + getSourceIdsList().hashCode(); } hash = (37 * hash) + KEY_COLUMN_FIELD_NUMBER; hash = (53 * hash) + getKeyColumn().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.deephaven.proto.backplane.grpc.MergeTablesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.MergeTablesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.MergeTablesRequest) io.deephaven.proto.backplane.grpc.MergeTablesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_MergeTablesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_MergeTablesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.MergeTablesRequest.class, io.deephaven.proto.backplane.grpc.MergeTablesRequest.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.MergeTablesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getResultIdFieldBuilder(); getSourceIdsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resultId_ = null; if (resultIdBuilder_ != null) { resultIdBuilder_.dispose(); resultIdBuilder_ = null; } if (sourceIdsBuilder_ == null) { sourceIds_ = java.util.Collections.emptyList(); } else { sourceIds_ = null; sourceIdsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); keyColumn_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_MergeTablesRequest_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.MergeTablesRequest getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.MergeTablesRequest.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.MergeTablesRequest build() { io.deephaven.proto.backplane.grpc.MergeTablesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.MergeTablesRequest buildPartial() { io.deephaven.proto.backplane.grpc.MergeTablesRequest result = new io.deephaven.proto.backplane.grpc.MergeTablesRequest(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.MergeTablesRequest result) { if (sourceIdsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { sourceIds_ = java.util.Collections.unmodifiableList(sourceIds_); bitField0_ = (bitField0_ & ~0x00000002); } result.sourceIds_ = sourceIds_; } else { result.sourceIds_ = sourceIdsBuilder_.build(); } } private void buildPartial0(io.deephaven.proto.backplane.grpc.MergeTablesRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.resultId_ = resultIdBuilder_ == null ? resultId_ : resultIdBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.keyColumn_ = keyColumn_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.MergeTablesRequest) { return mergeFrom((io.deephaven.proto.backplane.grpc.MergeTablesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.MergeTablesRequest other) { if (other == io.deephaven.proto.backplane.grpc.MergeTablesRequest.getDefaultInstance()) return this; if (other.hasResultId()) { mergeResultId(other.getResultId()); } if (sourceIdsBuilder_ == null) { if (!other.sourceIds_.isEmpty()) { if (sourceIds_.isEmpty()) { sourceIds_ = other.sourceIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSourceIdsIsMutable(); sourceIds_.addAll(other.sourceIds_); } onChanged(); } } else { if (!other.sourceIds_.isEmpty()) { if (sourceIdsBuilder_.isEmpty()) { sourceIdsBuilder_.dispose(); sourceIdsBuilder_ = null; sourceIds_ = other.sourceIds_; bitField0_ = (bitField0_ & ~0x00000002); sourceIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSourceIdsFieldBuilder() : null; } else { sourceIdsBuilder_.addAllMessages(other.sourceIds_); } } } if (!other.getKeyColumn().isEmpty()) { keyColumn_ = other.keyColumn_; bitField0_ |= 0x00000004; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getResultIdFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { io.deephaven.proto.backplane.grpc.TableReference m = input.readMessage( io.deephaven.proto.backplane.grpc.TableReference.parser(), extensionRegistry); if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); sourceIds_.add(m); } else { sourceIdsBuilder_.addMessage(m); } break; } // case 18 case 26: { keyColumn_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.deephaven.proto.backplane.grpc.Ticket resultId_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> resultIdBuilder_; /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return Whether the resultId field is set. */ public boolean hasResultId() { return ((bitField0_ & 0x00000001) != 0); } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; * @return The resultId. */ public io.deephaven.proto.backplane.grpc.Ticket getResultId() { if (resultIdBuilder_ == null) { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } else { return resultIdBuilder_.getMessage(); } } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder setResultId(io.deephaven.proto.backplane.grpc.Ticket value) { if (resultIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultId_ = value; } else { resultIdBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder setResultId( io.deephaven.proto.backplane.grpc.Ticket.Builder builderForValue) { if (resultIdBuilder_ == null) { resultId_ = builderForValue.build(); } else { resultIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder mergeResultId(io.deephaven.proto.backplane.grpc.Ticket value) { if (resultIdBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && resultId_ != null && resultId_ != io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance()) { getResultIdBuilder().mergeFrom(value); } else { resultId_ = value; } } else { resultIdBuilder_.mergeFrom(value); } if (resultId_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public Builder clearResultId() { bitField0_ = (bitField0_ & ~0x00000001); resultId_ = null; if (resultIdBuilder_ != null) { resultIdBuilder_.dispose(); resultIdBuilder_ = null; } onChanged(); return this; } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public io.deephaven.proto.backplane.grpc.Ticket.Builder getResultIdBuilder() { bitField0_ |= 0x00000001; onChanged(); return getResultIdFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ public io.deephaven.proto.backplane.grpc.TicketOrBuilder getResultIdOrBuilder() { if (resultIdBuilder_ != null) { return resultIdBuilder_.getMessageOrBuilder(); } else { return resultId_ == null ? io.deephaven.proto.backplane.grpc.Ticket.getDefaultInstance() : resultId_; } } /** * .io.deephaven.proto.backplane.grpc.Ticket result_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder> getResultIdFieldBuilder() { if (resultIdBuilder_ == null) { resultIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Ticket, io.deephaven.proto.backplane.grpc.Ticket.Builder, io.deephaven.proto.backplane.grpc.TicketOrBuilder>( getResultId(), getParentForChildren(), isClean()); resultId_ = null; } return resultIdBuilder_; } private java.util.List sourceIds_ = java.util.Collections.emptyList(); private void ensureSourceIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { sourceIds_ = new java.util.ArrayList(sourceIds_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> sourceIdsBuilder_; /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public java.util.List getSourceIdsList() { if (sourceIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(sourceIds_); } else { return sourceIdsBuilder_.getMessageList(); } } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public int getSourceIdsCount() { if (sourceIdsBuilder_ == null) { return sourceIds_.size(); } else { return sourceIdsBuilder_.getCount(); } } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public io.deephaven.proto.backplane.grpc.TableReference getSourceIds(int index) { if (sourceIdsBuilder_ == null) { return sourceIds_.get(index); } else { return sourceIdsBuilder_.getMessage(index); } } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder setSourceIds( int index, io.deephaven.proto.backplane.grpc.TableReference value) { if (sourceIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSourceIdsIsMutable(); sourceIds_.set(index, value); onChanged(); } else { sourceIdsBuilder_.setMessage(index, value); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder setSourceIds( int index, io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); sourceIds_.set(index, builderForValue.build()); onChanged(); } else { sourceIdsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder addSourceIds(io.deephaven.proto.backplane.grpc.TableReference value) { if (sourceIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSourceIdsIsMutable(); sourceIds_.add(value); onChanged(); } else { sourceIdsBuilder_.addMessage(value); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder addSourceIds( int index, io.deephaven.proto.backplane.grpc.TableReference value) { if (sourceIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSourceIdsIsMutable(); sourceIds_.add(index, value); onChanged(); } else { sourceIdsBuilder_.addMessage(index, value); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder addSourceIds( io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); sourceIds_.add(builderForValue.build()); onChanged(); } else { sourceIdsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder addSourceIds( int index, io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); sourceIds_.add(index, builderForValue.build()); onChanged(); } else { sourceIdsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder addAllSourceIds( java.lang.Iterable values) { if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sourceIds_); onChanged(); } else { sourceIdsBuilder_.addAllMessages(values); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder clearSourceIds() { if (sourceIdsBuilder_ == null) { sourceIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { sourceIdsBuilder_.clear(); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public Builder removeSourceIds(int index) { if (sourceIdsBuilder_ == null) { ensureSourceIdsIsMutable(); sourceIds_.remove(index); onChanged(); } else { sourceIdsBuilder_.remove(index); } return this; } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder getSourceIdsBuilder( int index) { return getSourceIdsFieldBuilder().getBuilder(index); } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getSourceIdsOrBuilder( int index) { if (sourceIdsBuilder_ == null) { return sourceIds_.get(index); } else { return sourceIdsBuilder_.getMessageOrBuilder(index); } } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public java.util.List getSourceIdsOrBuilderList() { if (sourceIdsBuilder_ != null) { return sourceIdsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sourceIds_); } } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder addSourceIdsBuilder() { return getSourceIdsFieldBuilder().addBuilder( io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance()); } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder addSourceIdsBuilder( int index) { return getSourceIdsFieldBuilder().addBuilder( index, io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance()); } /** * repeated .io.deephaven.proto.backplane.grpc.TableReference source_ids = 2; */ public java.util.List getSourceIdsBuilderList() { return getSourceIdsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> getSourceIdsFieldBuilder() { if (sourceIdsBuilder_ == null) { sourceIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder>( sourceIds_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); sourceIds_ = null; } return sourceIdsBuilder_; } private java.lang.Object keyColumn_ = ""; /** *
     * if specified, the result will be sorted by this column
     * 
* * string key_column = 3; * @return The keyColumn. */ public java.lang.String getKeyColumn() { java.lang.Object ref = keyColumn_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyColumn_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * if specified, the result will be sorted by this column
     * 
* * string key_column = 3; * @return The bytes for keyColumn. */ public com.google.protobuf.ByteString getKeyColumnBytes() { java.lang.Object ref = keyColumn_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyColumn_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * if specified, the result will be sorted by this column
     * 
* * string key_column = 3; * @param value The keyColumn to set. * @return This builder for chaining. */ public Builder setKeyColumn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyColumn_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * if specified, the result will be sorted by this column
     * 
* * string key_column = 3; * @return This builder for chaining. */ public Builder clearKeyColumn() { keyColumn_ = getDefaultInstance().getKeyColumn(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * if specified, the result will be sorted by this column
     * 
* * string key_column = 3; * @param value The bytes for keyColumn to set. * @return This builder for chaining. */ public Builder setKeyColumnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyColumn_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.MergeTablesRequest) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.MergeTablesRequest) private static final io.deephaven.proto.backplane.grpc.MergeTablesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.MergeTablesRequest(); } public static io.deephaven.proto.backplane.grpc.MergeTablesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MergeTablesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.MergeTablesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy