Class StorageFormat.JsonOptions.Builder

    • Method Detail

      • 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<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.GeneratedMessageV3.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
      • setRepeatedField

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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.
      • setUnknownFields

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

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