Class BigtableSource.Builder

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

public static final class BigtableSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<BigtableSource.Builder> implements BigtableSourceOrBuilder
 The Cloud Bigtable source for importing data.
 
Protobuf type google.cloud.discoveryengine.v1beta.BigtableSource
  • Method Details

    • getDescriptor

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

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

      public BigtableSource.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<BigtableSource.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<BigtableSource.Builder>
    • getDefaultInstanceForType

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

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

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

      public BigtableSource.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<BigtableSource.Builder>
    • mergeFrom

      public BigtableSource.Builder mergeFrom(BigtableSource other)
    • isInitialized

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

      public BigtableSource.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<BigtableSource.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       The project ID that contains the Bigtable source. Has a length limit of 128
       characters. If not specified, inherits the project ID from the parent
       request.
       
      string project_id = 1;
      Specified by:
      getProjectId in interface BigtableSourceOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       The project ID that contains the Bigtable source. Has a length limit of 128
       characters. If not specified, inherits the project ID from the parent
       request.
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface BigtableSourceOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public BigtableSource.Builder setProjectId(String value)
       The project ID that contains the Bigtable source. Has a length limit of 128
       characters. If not specified, inherits the project ID from the parent
       request.
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public BigtableSource.Builder clearProjectId()
       The project ID that contains the Bigtable source. Has a length limit of 128
       characters. If not specified, inherits the project ID from the parent
       request.
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public BigtableSource.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       The project ID that contains the Bigtable source. Has a length limit of 128
       characters. If not specified, inherits the project ID from the parent
       request.
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • getInstanceId

      public String getInstanceId()
       Required. The instance ID of the Cloud Bigtable that needs to be imported.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceId in interface BigtableSourceOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       Required. The instance ID of the Cloud Bigtable that needs to be imported.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceIdBytes in interface BigtableSourceOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public BigtableSource.Builder setInstanceId(String value)
       Required. The instance ID of the Cloud Bigtable that needs to be imported.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public BigtableSource.Builder clearInstanceId()
       Required. The instance ID of the Cloud Bigtable that needs to be imported.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public BigtableSource.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       Required. The instance ID of the Cloud Bigtable that needs to be imported.
       
      string instance_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getTableId

      public String getTableId()
       Required. The table ID of the Cloud Bigtable that needs to be imported.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableId in interface BigtableSourceOrBuilder
      Returns:
      The tableId.
    • getTableIdBytes

      public com.google.protobuf.ByteString getTableIdBytes()
       Required. The table ID of the Cloud Bigtable that needs to be imported.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getTableIdBytes in interface BigtableSourceOrBuilder
      Returns:
      The bytes for tableId.
    • setTableId

      public BigtableSource.Builder setTableId(String value)
       Required. The table ID of the Cloud Bigtable that needs to be imported.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The tableId to set.
      Returns:
      This builder for chaining.
    • clearTableId

      public BigtableSource.Builder clearTableId()
       Required. The table ID of the Cloud Bigtable that needs to be imported.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setTableIdBytes

      public BigtableSource.Builder setTableIdBytes(com.google.protobuf.ByteString value)
       Required. The table ID of the Cloud Bigtable that needs to be imported.
       
      string table_id = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for tableId to set.
      Returns:
      This builder for chaining.
    • hasBigtableOptions

      public boolean hasBigtableOptions()
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasBigtableOptions in interface BigtableSourceOrBuilder
      Returns:
      Whether the bigtableOptions field is set.
    • getBigtableOptions

      public BigtableOptions getBigtableOptions()
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBigtableOptions in interface BigtableSourceOrBuilder
      Returns:
      The bigtableOptions.
    • setBigtableOptions

      public BigtableSource.Builder setBigtableOptions(BigtableOptions value)
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
    • setBigtableOptions

      public BigtableSource.Builder setBigtableOptions(BigtableOptions.Builder builderForValue)
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
    • mergeBigtableOptions

      public BigtableSource.Builder mergeBigtableOptions(BigtableOptions value)
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
    • clearBigtableOptions

      public BigtableSource.Builder clearBigtableOptions()
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
    • getBigtableOptionsBuilder

      public BigtableOptions.Builder getBigtableOptionsBuilder()
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
    • getBigtableOptionsOrBuilder

      public BigtableOptionsOrBuilder getBigtableOptionsOrBuilder()
       Required. Bigtable options that contains information needed when parsing
       data into typed structures. For example, column type annotations.
       
      .google.cloud.discoveryengine.v1beta.BigtableOptions bigtable_options = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getBigtableOptionsOrBuilder in interface BigtableSourceOrBuilder