Class StorageDescriptor.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
com.google.cloud.bigquery.storage.v1beta.StorageDescriptor.Builder
All Implemented Interfaces:
StorageDescriptorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
StorageDescriptor

public static final class StorageDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder> implements StorageDescriptorOrBuilder
 Contains information about the physical storage of the data in the metastore
 partition.
 
Protobuf type google.cloud.bigquery.storage.v1beta.StorageDescriptor
  • Method Details

    • getDescriptor

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

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

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

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

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

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

      public StorageDescriptor.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • setField

      public StorageDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • clearField

      public StorageDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • clearOneof

      public StorageDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • setRepeatedField

      public StorageDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • addRepeatedField

      public StorageDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • mergeFrom

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

      public StorageDescriptor.Builder mergeFrom(StorageDescriptor other)
    • isInitialized

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

      public StorageDescriptor.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<StorageDescriptor.Builder>
      Throws:
      IOException
    • getLocationUri

      public String getLocationUri()
       Optional. The physical location of the metastore partition
       (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or
       `gs://spark-dataproc-data/pangea-data/*`).
       
      string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationUri in interface StorageDescriptorOrBuilder
      Returns:
      The locationUri.
    • getLocationUriBytes

      public com.google.protobuf.ByteString getLocationUriBytes()
       Optional. The physical location of the metastore partition
       (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or
       `gs://spark-dataproc-data/pangea-data/*`).
       
      string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLocationUriBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for locationUri.
    • setLocationUri

      public StorageDescriptor.Builder setLocationUri(String value)
       Optional. The physical location of the metastore partition
       (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or
       `gs://spark-dataproc-data/pangea-data/*`).
       
      string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The locationUri to set.
      Returns:
      This builder for chaining.
    • clearLocationUri

      public StorageDescriptor.Builder clearLocationUri()
       Optional. The physical location of the metastore partition
       (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or
       `gs://spark-dataproc-data/pangea-data/*`).
       
      string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setLocationUriBytes

      public StorageDescriptor.Builder setLocationUriBytes(com.google.protobuf.ByteString value)
       Optional. The physical location of the metastore partition
       (e.g. `gs://spark-dataproc-data/pangea-data/case_sensitive/` or
       `gs://spark-dataproc-data/pangea-data/*`).
       
      string location_uri = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for locationUri to set.
      Returns:
      This builder for chaining.
    • getInputFormat

      public String getInputFormat()
       Optional. Specifies the fully qualified class name of the InputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat").
       The maximum length is 128 characters.
       
      string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputFormat in interface StorageDescriptorOrBuilder
      Returns:
      The inputFormat.
    • getInputFormatBytes

      public com.google.protobuf.ByteString getInputFormatBytes()
       Optional. Specifies the fully qualified class name of the InputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat").
       The maximum length is 128 characters.
       
      string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInputFormatBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for inputFormat.
    • setInputFormat

      public StorageDescriptor.Builder setInputFormat(String value)
       Optional. Specifies the fully qualified class name of the InputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat").
       The maximum length is 128 characters.
       
      string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The inputFormat to set.
      Returns:
      This builder for chaining.
    • clearInputFormat

      public StorageDescriptor.Builder clearInputFormat()
       Optional. Specifies the fully qualified class name of the InputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat").
       The maximum length is 128 characters.
       
      string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setInputFormatBytes

      public StorageDescriptor.Builder setInputFormatBytes(com.google.protobuf.ByteString value)
       Optional. Specifies the fully qualified class name of the InputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat").
       The maximum length is 128 characters.
       
      string input_format = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for inputFormat to set.
      Returns:
      This builder for chaining.
    • getOutputFormat

      public String getOutputFormat()
       Optional. Specifies the fully qualified class name of the OutputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat").
       The maximum length is 128 characters.
       
      string output_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputFormat in interface StorageDescriptorOrBuilder
      Returns:
      The outputFormat.
    • getOutputFormatBytes

      public com.google.protobuf.ByteString getOutputFormatBytes()
       Optional. Specifies the fully qualified class name of the OutputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat").
       The maximum length is 128 characters.
       
      string output_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOutputFormatBytes in interface StorageDescriptorOrBuilder
      Returns:
      The bytes for outputFormat.
    • setOutputFormat

      public StorageDescriptor.Builder setOutputFormat(String value)
       Optional. Specifies the fully qualified class name of the OutputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat").
       The maximum length is 128 characters.
       
      string output_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The outputFormat to set.
      Returns:
      This builder for chaining.
    • clearOutputFormat

      public StorageDescriptor.Builder clearOutputFormat()
       Optional. Specifies the fully qualified class name of the OutputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat").
       The maximum length is 128 characters.
       
      string output_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOutputFormatBytes

      public StorageDescriptor.Builder setOutputFormatBytes(com.google.protobuf.ByteString value)
       Optional. Specifies the fully qualified class name of the OutputFormat
       (e.g. "org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat").
       The maximum length is 128 characters.
       
      string output_format = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for outputFormat to set.
      Returns:
      This builder for chaining.
    • hasSerdeInfo

      public boolean hasSerdeInfo()
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasSerdeInfo in interface StorageDescriptorOrBuilder
      Returns:
      Whether the serdeInfo field is set.
    • getSerdeInfo

      public SerDeInfo getSerdeInfo()
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeInfo in interface StorageDescriptorOrBuilder
      Returns:
      The serdeInfo.
    • setSerdeInfo

      public StorageDescriptor.Builder setSerdeInfo(SerDeInfo value)
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • setSerdeInfo

      public StorageDescriptor.Builder setSerdeInfo(SerDeInfo.Builder builderForValue)
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • mergeSerdeInfo

      public StorageDescriptor.Builder mergeSerdeInfo(SerDeInfo value)
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • clearSerdeInfo

      public StorageDescriptor.Builder clearSerdeInfo()
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getSerdeInfoBuilder

      public SerDeInfo.Builder getSerdeInfoBuilder()
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getSerdeInfoOrBuilder

      public SerDeInfoOrBuilder getSerdeInfoOrBuilder()
       Optional. Serializer and deserializer information.
       
      .google.cloud.bigquery.storage.v1beta.SerDeInfo serde_info = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSerdeInfoOrBuilder in interface StorageDescriptorOrBuilder
    • setUnknownFields

      public final StorageDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>
    • mergeUnknownFields

      public final StorageDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<StorageDescriptor.Builder>