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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deephaven_core/proto/table.proto

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

/**
 * Protobuf type {@code io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest}
 */
public final class SnapshotWhenTableRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest)
    SnapshotWhenTableRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SnapshotWhenTableRequest.newBuilder() to construct.
  private SnapshotWhenTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SnapshotWhenTableRequest() {
    stampColumns_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
  }

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

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_SnapshotWhenTableRequest_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_SnapshotWhenTableRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.class, io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.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 BASE_ID_FIELD_NUMBER = 2;
  private io.deephaven.proto.backplane.grpc.TableReference baseId_;
  /**
   * 
   * The base table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; * @return Whether the baseId field is set. */ @java.lang.Override public boolean hasBaseId() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The base table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; * @return The baseId. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReference getBaseId() { return baseId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : baseId_; } /** *
   * The base table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getBaseIdOrBuilder() { return baseId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : baseId_; } public static final int TRIGGER_ID_FIELD_NUMBER = 3; private io.deephaven.proto.backplane.grpc.TableReference triggerId_; /** *
   * The trigger table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; * @return Whether the triggerId field is set. */ @java.lang.Override public boolean hasTriggerId() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * The trigger table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; * @return The triggerId. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReference getTriggerId() { return triggerId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : triggerId_; } /** *
   * The trigger table.
   * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getTriggerIdOrBuilder() { return triggerId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : triggerId_; } public static final int INITIAL_FIELD_NUMBER = 4; private boolean initial_ = false; /** *
   * Whether the results should contain an initial snapshot.
   * 
* * bool initial = 4; * @return The initial. */ @java.lang.Override public boolean getInitial() { return initial_; } public static final int INCREMENTAL_FIELD_NUMBER = 5; private boolean incremental_ = false; /** *
   * Whether the results should be incremental.
   * 
* * bool incremental = 5; * @return The incremental. */ @java.lang.Override public boolean getIncremental() { return incremental_; } public static final int HISTORY_FIELD_NUMBER = 6; private boolean history_ = false; /** *
   * Whether the results should keep history.
   * 
* * bool history = 6; * @return The history. */ @java.lang.Override public boolean getHistory() { return history_; } public static final int STAMP_COLUMNS_FIELD_NUMBER = 7; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList stampColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
   * 
* * repeated string stamp_columns = 7; * @return A list containing the stampColumns. */ public com.google.protobuf.ProtocolStringList getStampColumnsList() { return stampColumns_; } /** *
   * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
   * 
* * repeated string stamp_columns = 7; * @return The count of stampColumns. */ public int getStampColumnsCount() { return stampColumns_.size(); } /** *
   * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
   * 
* * repeated string stamp_columns = 7; * @param index The index of the element to return. * @return The stampColumns at the given index. */ public java.lang.String getStampColumns(int index) { return stampColumns_.get(index); } /** *
   * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
   * 
* * repeated string stamp_columns = 7; * @param index The index of the value to return. * @return The bytes of the stampColumns at the given index. */ public com.google.protobuf.ByteString getStampColumnsBytes(int index) { return stampColumns_.getByteString(index); } 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()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getBaseId()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getTriggerId()); } if (initial_ != false) { output.writeBool(4, initial_); } if (incremental_ != false) { output.writeBool(5, incremental_); } if (history_ != false) { output.writeBool(6, history_); } for (int i = 0; i < stampColumns_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, stampColumns_.getRaw(i)); } 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()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBaseId()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTriggerId()); } if (initial_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, initial_); } if (incremental_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, incremental_); } if (history_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, history_); } { int dataSize = 0; for (int i = 0; i < stampColumns_.size(); i++) { dataSize += computeStringSizeNoTag(stampColumns_.getRaw(i)); } size += dataSize; size += 1 * getStampColumnsList().size(); } 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.SnapshotWhenTableRequest)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest other = (io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest) obj; if (hasResultId() != other.hasResultId()) return false; if (hasResultId()) { if (!getResultId() .equals(other.getResultId())) return false; } if (hasBaseId() != other.hasBaseId()) return false; if (hasBaseId()) { if (!getBaseId() .equals(other.getBaseId())) return false; } if (hasTriggerId() != other.hasTriggerId()) return false; if (hasTriggerId()) { if (!getTriggerId() .equals(other.getTriggerId())) return false; } if (getInitial() != other.getInitial()) return false; if (getIncremental() != other.getIncremental()) return false; if (getHistory() != other.getHistory()) return false; if (!getStampColumnsList() .equals(other.getStampColumnsList())) 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 (hasBaseId()) { hash = (37 * hash) + BASE_ID_FIELD_NUMBER; hash = (53 * hash) + getBaseId().hashCode(); } if (hasTriggerId()) { hash = (37 * hash) + TRIGGER_ID_FIELD_NUMBER; hash = (53 * hash) + getTriggerId().hashCode(); } hash = (37 * hash) + INITIAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInitial()); hash = (37 * hash) + INCREMENTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncremental()); hash = (37 * hash) + HISTORY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHistory()); if (getStampColumnsCount() > 0) { hash = (37 * hash) + STAMP_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getStampColumnsList().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest 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.SnapshotWhenTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest) io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_SnapshotWhenTableRequest_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_SnapshotWhenTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.class, io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.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(); getBaseIdFieldBuilder(); getTriggerIdFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; resultId_ = null; if (resultIdBuilder_ != null) { resultIdBuilder_.dispose(); resultIdBuilder_ = null; } baseId_ = null; if (baseIdBuilder_ != null) { baseIdBuilder_.dispose(); baseIdBuilder_ = null; } triggerId_ = null; if (triggerIdBuilder_ != null) { triggerIdBuilder_.dispose(); triggerIdBuilder_ = null; } initial_ = false; incremental_ = false; history_ = false; stampColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); 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_SnapshotWhenTableRequest_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest build() { io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest buildPartial() { io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest result = new io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest 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_ & 0x00000002) != 0)) { result.baseId_ = baseIdBuilder_ == null ? baseId_ : baseIdBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.triggerId_ = triggerIdBuilder_ == null ? triggerId_ : triggerIdBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.initial_ = initial_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.incremental_ = incremental_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.history_ = history_; } if (((from_bitField0_ & 0x00000040) != 0)) { stampColumns_.makeImmutable(); result.stampColumns_ = stampColumns_; } 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.SnapshotWhenTableRequest) { return mergeFrom((io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest other) { if (other == io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest.getDefaultInstance()) return this; if (other.hasResultId()) { mergeResultId(other.getResultId()); } if (other.hasBaseId()) { mergeBaseId(other.getBaseId()); } if (other.hasTriggerId()) { mergeTriggerId(other.getTriggerId()); } if (other.getInitial() != false) { setInitial(other.getInitial()); } if (other.getIncremental() != false) { setIncremental(other.getIncremental()); } if (other.getHistory() != false) { setHistory(other.getHistory()); } if (!other.stampColumns_.isEmpty()) { if (stampColumns_.isEmpty()) { stampColumns_ = other.stampColumns_; bitField0_ |= 0x00000040; } else { ensureStampColumnsIsMutable(); stampColumns_.addAll(other.stampColumns_); } 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: { input.readMessage( getBaseIdFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getTriggerIdFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 32: { initial_ = input.readBool(); bitField0_ |= 0x00000008; break; } // case 32 case 40: { incremental_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 case 48: { history_ = input.readBool(); bitField0_ |= 0x00000020; break; } // case 48 case 58: { java.lang.String s = input.readStringRequireUtf8(); ensureStampColumnsIsMutable(); stampColumns_.add(s); break; } // case 58 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 io.deephaven.proto.backplane.grpc.TableReference baseId_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> baseIdBuilder_; /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; * @return Whether the baseId field is set. */ public boolean hasBaseId() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; * @return The baseId. */ public io.deephaven.proto.backplane.grpc.TableReference getBaseId() { if (baseIdBuilder_ == null) { return baseId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : baseId_; } else { return baseIdBuilder_.getMessage(); } } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public Builder setBaseId(io.deephaven.proto.backplane.grpc.TableReference value) { if (baseIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseId_ = value; } else { baseIdBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public Builder setBaseId( io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (baseIdBuilder_ == null) { baseId_ = builderForValue.build(); } else { baseIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public Builder mergeBaseId(io.deephaven.proto.backplane.grpc.TableReference value) { if (baseIdBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && baseId_ != null && baseId_ != io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance()) { getBaseIdBuilder().mergeFrom(value); } else { baseId_ = value; } } else { baseIdBuilder_.mergeFrom(value); } if (baseId_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public Builder clearBaseId() { bitField0_ = (bitField0_ & ~0x00000002); baseId_ = null; if (baseIdBuilder_ != null) { baseIdBuilder_.dispose(); baseIdBuilder_ = null; } onChanged(); return this; } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder getBaseIdBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBaseIdFieldBuilder().getBuilder(); } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getBaseIdOrBuilder() { if (baseIdBuilder_ != null) { return baseIdBuilder_.getMessageOrBuilder(); } else { return baseId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : baseId_; } } /** *
     * The base table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference base_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> getBaseIdFieldBuilder() { if (baseIdBuilder_ == null) { baseIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder>( getBaseId(), getParentForChildren(), isClean()); baseId_ = null; } return baseIdBuilder_; } private io.deephaven.proto.backplane.grpc.TableReference triggerId_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> triggerIdBuilder_; /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; * @return Whether the triggerId field is set. */ public boolean hasTriggerId() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; * @return The triggerId. */ public io.deephaven.proto.backplane.grpc.TableReference getTriggerId() { if (triggerIdBuilder_ == null) { return triggerId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : triggerId_; } else { return triggerIdBuilder_.getMessage(); } } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public Builder setTriggerId(io.deephaven.proto.backplane.grpc.TableReference value) { if (triggerIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } triggerId_ = value; } else { triggerIdBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public Builder setTriggerId( io.deephaven.proto.backplane.grpc.TableReference.Builder builderForValue) { if (triggerIdBuilder_ == null) { triggerId_ = builderForValue.build(); } else { triggerIdBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public Builder mergeTriggerId(io.deephaven.proto.backplane.grpc.TableReference value) { if (triggerIdBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && triggerId_ != null && triggerId_ != io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance()) { getTriggerIdBuilder().mergeFrom(value); } else { triggerId_ = value; } } else { triggerIdBuilder_.mergeFrom(value); } if (triggerId_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public Builder clearTriggerId() { bitField0_ = (bitField0_ & ~0x00000004); triggerId_ = null; if (triggerIdBuilder_ != null) { triggerIdBuilder_.dispose(); triggerIdBuilder_ = null; } onChanged(); return this; } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public io.deephaven.proto.backplane.grpc.TableReference.Builder getTriggerIdBuilder() { bitField0_ |= 0x00000004; onChanged(); return getTriggerIdFieldBuilder().getBuilder(); } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ public io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder getTriggerIdOrBuilder() { if (triggerIdBuilder_ != null) { return triggerIdBuilder_.getMessageOrBuilder(); } else { return triggerId_ == null ? io.deephaven.proto.backplane.grpc.TableReference.getDefaultInstance() : triggerId_; } } /** *
     * The trigger table.
     * 
* * .io.deephaven.proto.backplane.grpc.TableReference trigger_id = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder> getTriggerIdFieldBuilder() { if (triggerIdBuilder_ == null) { triggerIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.TableReference, io.deephaven.proto.backplane.grpc.TableReference.Builder, io.deephaven.proto.backplane.grpc.TableReferenceOrBuilder>( getTriggerId(), getParentForChildren(), isClean()); triggerId_ = null; } return triggerIdBuilder_; } private boolean initial_ ; /** *
     * Whether the results should contain an initial snapshot.
     * 
* * bool initial = 4; * @return The initial. */ @java.lang.Override public boolean getInitial() { return initial_; } /** *
     * Whether the results should contain an initial snapshot.
     * 
* * bool initial = 4; * @param value The initial to set. * @return This builder for chaining. */ public Builder setInitial(boolean value) { initial_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Whether the results should contain an initial snapshot.
     * 
* * bool initial = 4; * @return This builder for chaining. */ public Builder clearInitial() { bitField0_ = (bitField0_ & ~0x00000008); initial_ = false; onChanged(); return this; } private boolean incremental_ ; /** *
     * Whether the results should be incremental.
     * 
* * bool incremental = 5; * @return The incremental. */ @java.lang.Override public boolean getIncremental() { return incremental_; } /** *
     * Whether the results should be incremental.
     * 
* * bool incremental = 5; * @param value The incremental to set. * @return This builder for chaining. */ public Builder setIncremental(boolean value) { incremental_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Whether the results should be incremental.
     * 
* * bool incremental = 5; * @return This builder for chaining. */ public Builder clearIncremental() { bitField0_ = (bitField0_ & ~0x00000010); incremental_ = false; onChanged(); return this; } private boolean history_ ; /** *
     * Whether the results should keep history.
     * 
* * bool history = 6; * @return The history. */ @java.lang.Override public boolean getHistory() { return history_; } /** *
     * Whether the results should keep history.
     * 
* * bool history = 6; * @param value The history to set. * @return This builder for chaining. */ public Builder setHistory(boolean value) { history_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Whether the results should keep history.
     * 
* * bool history = 6; * @return This builder for chaining. */ public Builder clearHistory() { bitField0_ = (bitField0_ & ~0x00000020); history_ = false; onChanged(); return this; } private com.google.protobuf.LazyStringArrayList stampColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureStampColumnsIsMutable() { if (!stampColumns_.isModifiable()) { stampColumns_ = new com.google.protobuf.LazyStringArrayList(stampColumns_); } bitField0_ |= 0x00000040; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @return A list containing the stampColumns. */ public com.google.protobuf.ProtocolStringList getStampColumnsList() { stampColumns_.makeImmutable(); return stampColumns_; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @return The count of stampColumns. */ public int getStampColumnsCount() { return stampColumns_.size(); } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param index The index of the element to return. * @return The stampColumns at the given index. */ public java.lang.String getStampColumns(int index) { return stampColumns_.get(index); } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param index The index of the value to return. * @return The bytes of the stampColumns at the given index. */ public com.google.protobuf.ByteString getStampColumnsBytes(int index) { return stampColumns_.getByteString(index); } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param index The index to set the value at. * @param value The stampColumns to set. * @return This builder for chaining. */ public Builder setStampColumns( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStampColumnsIsMutable(); stampColumns_.set(index, value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param value The stampColumns to add. * @return This builder for chaining. */ public Builder addStampColumns( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStampColumnsIsMutable(); stampColumns_.add(value); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param values The stampColumns to add. * @return This builder for chaining. */ public Builder addAllStampColumns( java.lang.Iterable values) { ensureStampColumnsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stampColumns_); bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @return This builder for chaining. */ public Builder clearStampColumns() { stampColumns_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000040);; onChanged(); return this; } /** *
     * Which columns to stamp from the trigger table. If empty, all columns from the trigger table are stamped. Allows renaming columns.
     * 
* * repeated string stamp_columns = 7; * @param value The bytes of the stampColumns to add. * @return This builder for chaining. */ public Builder addStampColumnsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStampColumnsIsMutable(); stampColumns_.add(value); bitField0_ |= 0x00000040; 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.SnapshotWhenTableRequest) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest) private static final io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest(); } public static io.deephaven.proto.backplane.grpc.SnapshotWhenTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SnapshotWhenTableRequest 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.SnapshotWhenTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy