Class InputConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InputConfig.Builder>
com.google.cloud.enterpriseknowledgegraph.v1.InputConfig.Builder
All Implemented Interfaces:
InputConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InputConfig

public static final class InputConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<InputConfig.Builder> implements InputConfigOrBuilder
 The desired input location and metadata.
 
Protobuf type google.cloud.enterpriseknowledgegraph.v1.InputConfig
  • 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<InputConfig.Builder>
    • clear

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

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

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

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

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

      public InputConfig.Builder mergeFrom(InputConfig other)
    • isInitialized

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

      public InputConfig.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<InputConfig.Builder>
      Throws:
      IOException
    • getBigqueryInputConfigsList

      public List<BigQueryInputConfig> getBigqueryInputConfigsList()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
      Specified by:
      getBigqueryInputConfigsList in interface InputConfigOrBuilder
    • getBigqueryInputConfigsCount

      public int getBigqueryInputConfigsCount()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
      Specified by:
      getBigqueryInputConfigsCount in interface InputConfigOrBuilder
    • getBigqueryInputConfigs

      public BigQueryInputConfig getBigqueryInputConfigs(int index)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
      Specified by:
      getBigqueryInputConfigs in interface InputConfigOrBuilder
    • setBigqueryInputConfigs

      public InputConfig.Builder setBigqueryInputConfigs(int index, BigQueryInputConfig value)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • setBigqueryInputConfigs

      public InputConfig.Builder setBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addBigqueryInputConfigs

      public InputConfig.Builder addBigqueryInputConfigs(BigQueryInputConfig value)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addBigqueryInputConfigs

      public InputConfig.Builder addBigqueryInputConfigs(int index, BigQueryInputConfig value)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addBigqueryInputConfigs

      public InputConfig.Builder addBigqueryInputConfigs(BigQueryInputConfig.Builder builderForValue)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addBigqueryInputConfigs

      public InputConfig.Builder addBigqueryInputConfigs(int index, BigQueryInputConfig.Builder builderForValue)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addAllBigqueryInputConfigs

      public InputConfig.Builder addAllBigqueryInputConfigs(Iterable<? extends BigQueryInputConfig> values)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • clearBigqueryInputConfigs

      public InputConfig.Builder clearBigqueryInputConfigs()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • removeBigqueryInputConfigs

      public InputConfig.Builder removeBigqueryInputConfigs(int index)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • getBigqueryInputConfigsBuilder

      public BigQueryInputConfig.Builder getBigqueryInputConfigsBuilder(int index)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • getBigqueryInputConfigsOrBuilder

      public BigQueryInputConfigOrBuilder getBigqueryInputConfigsOrBuilder(int index)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
      Specified by:
      getBigqueryInputConfigsOrBuilder in interface InputConfigOrBuilder
    • getBigqueryInputConfigsOrBuilderList

      public List<? extends BigQueryInputConfigOrBuilder> getBigqueryInputConfigsOrBuilderList()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
      Specified by:
      getBigqueryInputConfigsOrBuilderList in interface InputConfigOrBuilder
    • addBigqueryInputConfigsBuilder

      public BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • addBigqueryInputConfigsBuilder

      public BigQueryInputConfig.Builder addBigqueryInputConfigsBuilder(int index)
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • getBigqueryInputConfigsBuilderList

      public List<BigQueryInputConfig.Builder> getBigqueryInputConfigsBuilderList()
       Set of input BigQuery tables.
       
      repeated .google.cloud.enterpriseknowledgegraph.v1.BigQueryInputConfig bigquery_input_configs = 1;
    • getEntityTypeValue

      public int getEntityTypeValue()
       Entity type
       
      .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;
      Specified by:
      getEntityTypeValue in interface InputConfigOrBuilder
      Returns:
      The enum numeric value on the wire for entityType.
    • setEntityTypeValue

      public InputConfig.Builder setEntityTypeValue(int value)
       Entity type
       
      .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;
      Parameters:
      value - The enum numeric value on the wire for entityType to set.
      Returns:
      This builder for chaining.
    • getEntityType

      public InputConfig.EntityType getEntityType()
       Entity type
       
      .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;
      Specified by:
      getEntityType in interface InputConfigOrBuilder
      Returns:
      The entityType.
    • setEntityType

      public InputConfig.Builder setEntityType(InputConfig.EntityType value)
       Entity type
       
      .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;
      Parameters:
      value - The entityType to set.
      Returns:
      This builder for chaining.
    • clearEntityType

      public InputConfig.Builder clearEntityType()
       Entity type
       
      .google.cloud.enterpriseknowledgegraph.v1.InputConfig.EntityType entity_type = 2;
      Returns:
      This builder for chaining.
    • getPreviousResultBigqueryTable

      public String getPreviousResultBigqueryTable()
       Optional. Provide the bigquery table containing the previous results if
       cluster ID stability is desired. Format is
       `projects/*/datasets/*/tables/*`.
       
      string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getPreviousResultBigqueryTable in interface InputConfigOrBuilder
      Returns:
      The previousResultBigqueryTable.
    • getPreviousResultBigqueryTableBytes

      public com.google.protobuf.ByteString getPreviousResultBigqueryTableBytes()
       Optional. Provide the bigquery table containing the previous results if
       cluster ID stability is desired. Format is
       `projects/*/datasets/*/tables/*`.
       
      string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getPreviousResultBigqueryTableBytes in interface InputConfigOrBuilder
      Returns:
      The bytes for previousResultBigqueryTable.
    • setPreviousResultBigqueryTable

      public InputConfig.Builder setPreviousResultBigqueryTable(String value)
       Optional. Provide the bigquery table containing the previous results if
       cluster ID stability is desired. Format is
       `projects/*/datasets/*/tables/*`.
       
      string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The previousResultBigqueryTable to set.
      Returns:
      This builder for chaining.
    • clearPreviousResultBigqueryTable

      public InputConfig.Builder clearPreviousResultBigqueryTable()
       Optional. Provide the bigquery table containing the previous results if
       cluster ID stability is desired. Format is
       `projects/*/datasets/*/tables/*`.
       
      string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setPreviousResultBigqueryTableBytes

      public InputConfig.Builder setPreviousResultBigqueryTableBytes(com.google.protobuf.ByteString value)
       Optional. Provide the bigquery table containing the previous results if
       cluster ID stability is desired. Format is
       `projects/*/datasets/*/tables/*`.
       
      string previous_result_bigquery_table = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for previousResultBigqueryTable to set.
      Returns:
      This builder for chaining.