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

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

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

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

/**
 * 
 *
 * A message that describes a partitioned table, able to be sent as a plugin object to a client.
 * This object will also come with a ticket to the underlying table that can be used to get the
 * constituent tables by key.
 * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor} */ public final class PartitionedTableDescriptor extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor) PartitionedTableDescriptorOrBuilder { private static final long serialVersionUID = 0L; // Use PartitionedTableDescriptor.newBuilder() to construct. private PartitionedTableDescriptor(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitionedTableDescriptor() { keyColumnNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); constituentColumnName_ = ""; constituentDefinitionSchema_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitionedTableDescriptor(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_PartitionedTableDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_PartitionedTableDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.class, io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.Builder.class); } public static final int KEY_COLUMN_NAMES_FIELD_NUMBER = 1; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList keyColumnNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * The names of the key columns. The underlying table will contain these columns - a client can
   * subscribe to these columns to see what keys are present.
   * 
* * repeated string key_column_names = 1; * @return A list containing the keyColumnNames. */ public com.google.protobuf.ProtocolStringList getKeyColumnNamesList() { return keyColumnNames_; } /** *
   * The names of the key columns. The underlying table will contain these columns - a client can
   * subscribe to these columns to see what keys are present.
   * 
* * repeated string key_column_names = 1; * @return The count of keyColumnNames. */ public int getKeyColumnNamesCount() { return keyColumnNames_.size(); } /** *
   * The names of the key columns. The underlying table will contain these columns - a client can
   * subscribe to these columns to see what keys are present.
   * 
* * repeated string key_column_names = 1; * @param index The index of the element to return. * @return The keyColumnNames at the given index. */ public java.lang.String getKeyColumnNames(int index) { return keyColumnNames_.get(index); } /** *
   * The names of the key columns. The underlying table will contain these columns - a client can
   * subscribe to these columns to see what keys are present.
   * 
* * repeated string key_column_names = 1; * @param index The index of the value to return. * @return The bytes of the keyColumnNames at the given index. */ public com.google.protobuf.ByteString getKeyColumnNamesBytes(int index) { return keyColumnNames_.getByteString(index); } public static final int CONSTITUENT_COLUMN_NAME_FIELD_NUMBER = 4; @SuppressWarnings("serial") private volatile java.lang.Object constituentColumnName_ = ""; /** *
   * The name of the column in the underlying table that contains the table represented by that row.
   * 
* * string constituent_column_name = 4; * @return The constituentColumnName. */ @java.lang.Override public java.lang.String getConstituentColumnName() { java.lang.Object ref = constituentColumnName_; 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(); constituentColumnName_ = s; return s; } } /** *
   * The name of the column in the underlying table that contains the table represented by that row.
   * 
* * string constituent_column_name = 4; * @return The bytes for constituentColumnName. */ @java.lang.Override public com.google.protobuf.ByteString getConstituentColumnNameBytes() { java.lang.Object ref = constituentColumnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); constituentColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UNIQUE_KEYS_FIELD_NUMBER = 2; private boolean uniqueKeys_ = false; /** *
   * True if the keys will be unique, so any set of known keys can be queried using GetTable.
   * 
* * bool unique_keys = 2; * @return The uniqueKeys. */ @java.lang.Override public boolean getUniqueKeys() { return uniqueKeys_; } public static final int CONSTITUENT_DEFINITION_SCHEMA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString constituentDefinitionSchema_ = com.google.protobuf.ByteString.EMPTY; /** *
   * Returns a flight Messsage wrapping a Schema that will describe every table contained in this
   * PartitionedTable.
   * 
* * bytes constituent_definition_schema = 3; * @return The constituentDefinitionSchema. */ @java.lang.Override public com.google.protobuf.ByteString getConstituentDefinitionSchema() { return constituentDefinitionSchema_; } public static final int CONSTITUENT_CHANGES_PERMITTED_FIELD_NUMBER = 5; private boolean constituentChangesPermitted_ = false; /** *
   * True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted()
   * for more details.
   * 
* * bool constituent_changes_permitted = 5; * @return The constituentChangesPermitted. */ @java.lang.Override public boolean getConstituentChangesPermitted() { return constituentChangesPermitted_; } 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 { for (int i = 0; i < keyColumnNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keyColumnNames_.getRaw(i)); } if (uniqueKeys_ != false) { output.writeBool(2, uniqueKeys_); } if (!constituentDefinitionSchema_.isEmpty()) { output.writeBytes(3, constituentDefinitionSchema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(constituentColumnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, constituentColumnName_); } if (constituentChangesPermitted_ != false) { output.writeBool(5, constituentChangesPermitted_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < keyColumnNames_.size(); i++) { dataSize += computeStringSizeNoTag(keyColumnNames_.getRaw(i)); } size += dataSize; size += 1 * getKeyColumnNamesList().size(); } if (uniqueKeys_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, uniqueKeys_); } if (!constituentDefinitionSchema_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, constituentDefinitionSchema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(constituentColumnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, constituentColumnName_); } if (constituentChangesPermitted_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, constituentChangesPermitted_); } 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.PartitionedTableDescriptor)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor other = (io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor) obj; if (!getKeyColumnNamesList() .equals(other.getKeyColumnNamesList())) return false; if (!getConstituentColumnName() .equals(other.getConstituentColumnName())) return false; if (getUniqueKeys() != other.getUniqueKeys()) return false; if (!getConstituentDefinitionSchema() .equals(other.getConstituentDefinitionSchema())) return false; if (getConstituentChangesPermitted() != other.getConstituentChangesPermitted()) 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 (getKeyColumnNamesCount() > 0) { hash = (37 * hash) + KEY_COLUMN_NAMES_FIELD_NUMBER; hash = (53 * hash) + getKeyColumnNamesList().hashCode(); } hash = (37 * hash) + CONSTITUENT_COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getConstituentColumnName().hashCode(); hash = (37 * hash) + UNIQUE_KEYS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUniqueKeys()); hash = (37 * hash) + CONSTITUENT_DEFINITION_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getConstituentDefinitionSchema().hashCode(); hash = (37 * hash) + CONSTITUENT_CHANGES_PERMITTED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getConstituentChangesPermitted()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor 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.PartitionedTableDescriptor parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor 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.PartitionedTableDescriptor parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor 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.PartitionedTableDescriptor parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor 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.PartitionedTableDescriptor parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor 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.PartitionedTableDescriptor 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.PartitionedTableDescriptor 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.PartitionedTableDescriptor 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; } /** *
   *
   * A message that describes a partitioned table, able to be sent as a plugin object to a client.
   * This object will also come with a ticket to the underlying table that can be used to get the
   * constituent tables by key.
   * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor) io.deephaven.proto.backplane.grpc.PartitionedTableDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_PartitionedTableDescriptor_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_PartitionedTableDescriptor_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.class, io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; keyColumnNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); constituentColumnName_ = ""; uniqueKeys_ = false; constituentDefinitionSchema_ = com.google.protobuf.ByteString.EMPTY; constituentChangesPermitted_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Partitionedtable.internal_static_io_deephaven_proto_backplane_grpc_PartitionedTableDescriptor_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor build() { io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor buildPartial() { io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor result = new io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { keyColumnNames_.makeImmutable(); result.keyColumnNames_ = keyColumnNames_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.constituentColumnName_ = constituentColumnName_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.uniqueKeys_ = uniqueKeys_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.constituentDefinitionSchema_ = constituentDefinitionSchema_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.constituentChangesPermitted_ = constituentChangesPermitted_; } } @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.PartitionedTableDescriptor) { return mergeFrom((io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor other) { if (other == io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor.getDefaultInstance()) return this; if (!other.keyColumnNames_.isEmpty()) { if (keyColumnNames_.isEmpty()) { keyColumnNames_ = other.keyColumnNames_; bitField0_ |= 0x00000001; } else { ensureKeyColumnNamesIsMutable(); keyColumnNames_.addAll(other.keyColumnNames_); } onChanged(); } if (!other.getConstituentColumnName().isEmpty()) { constituentColumnName_ = other.constituentColumnName_; bitField0_ |= 0x00000002; onChanged(); } if (other.getUniqueKeys() != false) { setUniqueKeys(other.getUniqueKeys()); } if (other.getConstituentDefinitionSchema() != com.google.protobuf.ByteString.EMPTY) { setConstituentDefinitionSchema(other.getConstituentDefinitionSchema()); } if (other.getConstituentChangesPermitted() != false) { setConstituentChangesPermitted(other.getConstituentChangesPermitted()); } 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: { java.lang.String s = input.readStringRequireUtf8(); ensureKeyColumnNamesIsMutable(); keyColumnNames_.add(s); break; } // case 10 case 16: { uniqueKeys_ = input.readBool(); bitField0_ |= 0x00000004; break; } // case 16 case 26: { constituentDefinitionSchema_ = input.readBytes(); bitField0_ |= 0x00000008; break; } // case 26 case 34: { constituentColumnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 34 case 40: { constituentChangesPermitted_ = input.readBool(); bitField0_ |= 0x00000010; break; } // case 40 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 com.google.protobuf.LazyStringArrayList keyColumnNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureKeyColumnNamesIsMutable() { if (!keyColumnNames_.isModifiable()) { keyColumnNames_ = new com.google.protobuf.LazyStringArrayList(keyColumnNames_); } bitField0_ |= 0x00000001; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @return A list containing the keyColumnNames. */ public com.google.protobuf.ProtocolStringList getKeyColumnNamesList() { keyColumnNames_.makeImmutable(); return keyColumnNames_; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @return The count of keyColumnNames. */ public int getKeyColumnNamesCount() { return keyColumnNames_.size(); } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param index The index of the element to return. * @return The keyColumnNames at the given index. */ public java.lang.String getKeyColumnNames(int index) { return keyColumnNames_.get(index); } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param index The index of the value to return. * @return The bytes of the keyColumnNames at the given index. */ public com.google.protobuf.ByteString getKeyColumnNamesBytes(int index) { return keyColumnNames_.getByteString(index); } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param index The index to set the value at. * @param value The keyColumnNames to set. * @return This builder for chaining. */ public Builder setKeyColumnNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyColumnNamesIsMutable(); keyColumnNames_.set(index, value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param value The keyColumnNames to add. * @return This builder for chaining. */ public Builder addKeyColumnNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyColumnNamesIsMutable(); keyColumnNames_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param values The keyColumnNames to add. * @return This builder for chaining. */ public Builder addAllKeyColumnNames( java.lang.Iterable values) { ensureKeyColumnNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keyColumnNames_); bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @return This builder for chaining. */ public Builder clearKeyColumnNames() { keyColumnNames_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** *
     * The names of the key columns. The underlying table will contain these columns - a client can
     * subscribe to these columns to see what keys are present.
     * 
* * repeated string key_column_names = 1; * @param value The bytes of the keyColumnNames to add. * @return This builder for chaining. */ public Builder addKeyColumnNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeyColumnNamesIsMutable(); keyColumnNames_.add(value); bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object constituentColumnName_ = ""; /** *
     * The name of the column in the underlying table that contains the table represented by that row.
     * 
* * string constituent_column_name = 4; * @return The constituentColumnName. */ public java.lang.String getConstituentColumnName() { java.lang.Object ref = constituentColumnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); constituentColumnName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The name of the column in the underlying table that contains the table represented by that row.
     * 
* * string constituent_column_name = 4; * @return The bytes for constituentColumnName. */ public com.google.protobuf.ByteString getConstituentColumnNameBytes() { java.lang.Object ref = constituentColumnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); constituentColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The name of the column in the underlying table that contains the table represented by that row.
     * 
* * string constituent_column_name = 4; * @param value The constituentColumnName to set. * @return This builder for chaining. */ public Builder setConstituentColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } constituentColumnName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The name of the column in the underlying table that contains the table represented by that row.
     * 
* * string constituent_column_name = 4; * @return This builder for chaining. */ public Builder clearConstituentColumnName() { constituentColumnName_ = getDefaultInstance().getConstituentColumnName(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The name of the column in the underlying table that contains the table represented by that row.
     * 
* * string constituent_column_name = 4; * @param value The bytes for constituentColumnName to set. * @return This builder for chaining. */ public Builder setConstituentColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); constituentColumnName_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private boolean uniqueKeys_ ; /** *
     * True if the keys will be unique, so any set of known keys can be queried using GetTable.
     * 
* * bool unique_keys = 2; * @return The uniqueKeys. */ @java.lang.Override public boolean getUniqueKeys() { return uniqueKeys_; } /** *
     * True if the keys will be unique, so any set of known keys can be queried using GetTable.
     * 
* * bool unique_keys = 2; * @param value The uniqueKeys to set. * @return This builder for chaining. */ public Builder setUniqueKeys(boolean value) { uniqueKeys_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * True if the keys will be unique, so any set of known keys can be queried using GetTable.
     * 
* * bool unique_keys = 2; * @return This builder for chaining. */ public Builder clearUniqueKeys() { bitField0_ = (bitField0_ & ~0x00000004); uniqueKeys_ = false; onChanged(); return this; } private com.google.protobuf.ByteString constituentDefinitionSchema_ = com.google.protobuf.ByteString.EMPTY; /** *
     * Returns a flight Messsage wrapping a Schema that will describe every table contained in this
     * PartitionedTable.
     * 
* * bytes constituent_definition_schema = 3; * @return The constituentDefinitionSchema. */ @java.lang.Override public com.google.protobuf.ByteString getConstituentDefinitionSchema() { return constituentDefinitionSchema_; } /** *
     * Returns a flight Messsage wrapping a Schema that will describe every table contained in this
     * PartitionedTable.
     * 
* * bytes constituent_definition_schema = 3; * @param value The constituentDefinitionSchema to set. * @return This builder for chaining. */ public Builder setConstituentDefinitionSchema(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } constituentDefinitionSchema_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Returns a flight Messsage wrapping a Schema that will describe every table contained in this
     * PartitionedTable.
     * 
* * bytes constituent_definition_schema = 3; * @return This builder for chaining. */ public Builder clearConstituentDefinitionSchema() { bitField0_ = (bitField0_ & ~0x00000008); constituentDefinitionSchema_ = getDefaultInstance().getConstituentDefinitionSchema(); onChanged(); return this; } private boolean constituentChangesPermitted_ ; /** *
     * True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted()
     * for more details.
     * 
* * bool constituent_changes_permitted = 5; * @return The constituentChangesPermitted. */ @java.lang.Override public boolean getConstituentChangesPermitted() { return constituentChangesPermitted_; } /** *
     * True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted()
     * for more details.
     * 
* * bool constituent_changes_permitted = 5; * @param value The constituentChangesPermitted to set. * @return This builder for chaining. */ public Builder setConstituentChangesPermitted(boolean value) { constituentChangesPermitted_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * True if the underlying table may tick with updates. See PartitionedTable.constituentChangesPermitted()
     * for more details.
     * 
* * bool constituent_changes_permitted = 5; * @return This builder for chaining. */ public Builder clearConstituentChangesPermitted() { bitField0_ = (bitField0_ & ~0x00000010); constituentChangesPermitted_ = false; 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.PartitionedTableDescriptor) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor) private static final io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor(); } public static io.deephaven.proto.backplane.grpc.PartitionedTableDescriptor getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitionedTableDescriptor 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.PartitionedTableDescriptor getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy