Class BigtableOptions.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
com.google.cloud.discoveryengine.v1beta.BigtableOptions.Builder
All Implemented Interfaces:
BigtableOptionsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
BigtableOptions

public static final class BigtableOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder> implements BigtableOptionsOrBuilder
 The Bigtable Options object that contains information to support
 the import.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableOptions
  • 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.Builder<BigtableOptions.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
    • clear

      public BigtableOptions.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
    • getDefaultInstanceForType

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

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

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

      public BigtableOptions.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigtableOptions.Builder>
    • mergeFrom

      public BigtableOptions.Builder mergeFrom(BigtableOptions other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BigtableOptions.Builder>
    • mergeFrom

      public BigtableOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigtableOptions.Builder>
      Throws:
      IOException
    • 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.
    • setKeyFieldName

      public BigtableOptions.Builder setKeyFieldName(String value)
       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;
      Parameters:
      value - The keyFieldName to set.
      Returns:
      This builder for chaining.
    • clearKeyFieldName

      public BigtableOptions.Builder clearKeyFieldName()
       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;
      Returns:
      This builder for chaining.
    • setKeyFieldNameBytes

      public BigtableOptions.Builder setKeyFieldNameBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for keyFieldName to set.
      Returns:
      This builder for chaining.
    • 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
    • clearFamilies

      public BigtableOptions.Builder clearFamilies()
    • removeFamilies

      public BigtableOptions.Builder removeFamilies(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;
    • getMutableFamilies

      Deprecated.
      Use alternate mutation accessors instead.
    • putFamilies

       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;
    • putAllFamilies

       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;
    • putFamiliesBuilderIfAbsent

      public BigtableOptions.BigtableColumnFamily.Builder putFamiliesBuilderIfAbsent(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;