Class StorageFormat.JsonOptions.Builder

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

public static final class StorageFormat.JsonOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<StorageFormat.JsonOptions.Builder> implements StorageFormat.JsonOptionsOrBuilder
 Describes JSON data format.
 
Protobuf type google.cloud.dataplex.v1.StorageFormat.JsonOptions
  • 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<StorageFormat.JsonOptions.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<StorageFormat.JsonOptions.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<StorageFormat.JsonOptions.Builder>
    • getDefaultInstanceForType

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

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

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

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

    • isInitialized

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

      public StorageFormat.JsonOptions.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<StorageFormat.JsonOptions.Builder>
      Throws:
      IOException
    • getEncoding

      public String getEncoding()
       Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
       and "ISO-8859-1". Defaults to UTF-8 if not specified.
       
      string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncoding in interface StorageFormat.JsonOptionsOrBuilder
      Returns:
      The encoding.
    • getEncodingBytes

      public com.google.protobuf.ByteString getEncodingBytes()
       Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
       and "ISO-8859-1". Defaults to UTF-8 if not specified.
       
      string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEncodingBytes in interface StorageFormat.JsonOptionsOrBuilder
      Returns:
      The bytes for encoding.
    • setEncoding

      public StorageFormat.JsonOptions.Builder setEncoding(String value)
       Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
       and "ISO-8859-1". Defaults to UTF-8 if not specified.
       
      string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The encoding to set.
      Returns:
      This builder for chaining.
    • clearEncoding

      public StorageFormat.JsonOptions.Builder clearEncoding()
       Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
       and "ISO-8859-1". Defaults to UTF-8 if not specified.
       
      string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setEncodingBytes

      public StorageFormat.JsonOptions.Builder setEncodingBytes(com.google.protobuf.ByteString value)
       Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8"
       and "ISO-8859-1". Defaults to UTF-8 if not specified.
       
      string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for encoding to set.
      Returns:
      This builder for chaining.