Class BigtableOptions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.BigtableOptions
All Implemented Interfaces:
BigtableOptionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class BigtableOptions extends com.google.protobuf.GeneratedMessage implements BigtableOptionsOrBuilder
 The Bigtable Options object that contains information to support
 the import.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions
See Also:
  • Field Details

    • KEY_FIELD_NAME_FIELD_NUMBER

      public static final int KEY_FIELD_NAME_FIELD_NUMBER
      See Also:
    • FAMILIES_FIELD_NUMBER

      public static final int FAMILIES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getKeyFieldName

      public String getKeyFieldName()
       The field name used for saving row key value in the document. The name has
       to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`.
       
      string key_field_name = 1;
      Specified by:
      getKeyFieldName in interface BigtableOptionsOrBuilder
      Returns:
      The keyFieldName.
    • getKeyFieldNameBytes

      public com.google.protobuf.ByteString getKeyFieldNameBytes()
       The field name used for saving row key value in the document. The name has
       to match the pattern `[a-zA-Z0-9][a-zA-Z0-9-_]*`.
       
      string key_field_name = 1;
      Specified by:
      getKeyFieldNameBytes in interface BigtableOptionsOrBuilder
      Returns:
      The bytes for keyFieldName.
    • getFamiliesCount

      public int getFamiliesCount()
      Description copied from interface: BigtableOptionsOrBuilder
       The mapping from family names to an object that contains column families
       level information for the given column family. If a family is not present
       in this map it will be ignored.
       
      map<string, .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily> families = 2;
      Specified by:
      getFamiliesCount in interface BigtableOptionsOrBuilder
    • containsFamilies

      public boolean containsFamilies(String key)
       The mapping from family names to an object that contains column families
       level information for the given column family. If a family is not present
       in this map it will be ignored.
       
      map<string, .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily> families = 2;
      Specified by:
      containsFamilies in interface BigtableOptionsOrBuilder
    • getFamilies

      Deprecated.
      Use getFamiliesMap() instead.
      Specified by:
      getFamilies in interface BigtableOptionsOrBuilder
    • getFamiliesMap

       The mapping from family names to an object that contains column families
       level information for the given column family. If a family is not present
       in this map it will be ignored.
       
      map<string, .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily> families = 2;
      Specified by:
      getFamiliesMap in interface BigtableOptionsOrBuilder
    • getFamiliesOrDefault

      public BigtableOptions.BigtableColumnFamily getFamiliesOrDefault(String key, BigtableOptions.BigtableColumnFamily defaultValue)
       The mapping from family names to an object that contains column families
       level information for the given column family. If a family is not present
       in this map it will be ignored.
       
      map<string, .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily> families = 2;
      Specified by:
      getFamiliesOrDefault in interface BigtableOptionsOrBuilder
    • getFamiliesOrThrow

      public BigtableOptions.BigtableColumnFamily getFamiliesOrThrow(String key)
       The mapping from family names to an object that contains column families
       level information for the given column family. If a family is not present
       in this map it will be ignored.
       
      map<string, .google.cloud.discoveryengine.v1beta.BigtableOptions.BigtableColumnFamily> families = 2;
      Specified by:
      getFamiliesOrThrow in interface BigtableOptionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BigtableOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BigtableOptions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BigtableOptions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BigtableOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BigtableOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BigtableOptions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BigtableOptions.Builder newBuilder()
    • newBuilder

      public static BigtableOptions.Builder newBuilder(BigtableOptions prototype)
    • toBuilder

      public BigtableOptions.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BigtableOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static BigtableOptions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BigtableOptions> parser()
    • getParserForType

      public com.google.protobuf.Parser<BigtableOptions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public BigtableOptions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder