Class Asset.DiscoverySpec.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<Asset.DiscoverySpec.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<Asset.DiscoverySpec.JsonOptions.Builder>
      • getDefaultInstanceForType

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

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

        public Asset.DiscoverySpec.JsonOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Asset.DiscoverySpec.JsonOptions.Builder>
      • getEncodingBytes

        public com.google.protobuf.ByteString getEncodingBytes()
         Optional. The character encoding of the data. The default is UTF-8.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getEncodingBytes in interface Asset.DiscoverySpec.JsonOptionsOrBuilder
        Returns:
        The bytes for encoding.
      • setEncoding

        public Asset.DiscoverySpec.JsonOptions.Builder setEncoding​(String value)
         Optional. The character encoding of the data. The default is UTF-8.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The encoding to set.
        Returns:
        This builder for chaining.
      • clearEncoding

        public Asset.DiscoverySpec.JsonOptions.Builder clearEncoding()
         Optional. The character encoding of the data. The default is UTF-8.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setEncodingBytes

        public Asset.DiscoverySpec.JsonOptions.Builder setEncodingBytes​(com.google.protobuf.ByteString value)
         Optional. The character encoding of the data. The default is UTF-8.
         
        string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for encoding to set.
        Returns:
        This builder for chaining.
      • getDisableTypeInference

        public boolean getDisableTypeInference()
         Optional. Whether to disable the inference of data type for Json data.
         If true, all columns will be registered as their primitive types
         (strings, number or boolean).
         
        bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDisableTypeInference in interface Asset.DiscoverySpec.JsonOptionsOrBuilder
        Returns:
        The disableTypeInference.
      • setDisableTypeInference

        public Asset.DiscoverySpec.JsonOptions.Builder setDisableTypeInference​(boolean value)
         Optional. Whether to disable the inference of data type for Json data.
         If true, all columns will be registered as their primitive types
         (strings, number or boolean).
         
        bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The disableTypeInference to set.
        Returns:
        This builder for chaining.
      • clearDisableTypeInference

        public Asset.DiscoverySpec.JsonOptions.Builder clearDisableTypeInference()
         Optional. Whether to disable the inference of data type for Json data.
         If true, all columns will be registered as their primitive types
         (strings, number or boolean).
         
        bool disable_type_inference = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.