Class Zone.DiscoverySpec.JsonOptions.Builder (1.41.0)

public static final class Zone.DiscoverySpec.JsonOptions.Builder extends GeneratedMessageV3.Builder<Zone.DiscoverySpec.JsonOptions.Builder> implements Zone.DiscoverySpec.JsonOptionsOrBuilder

Describe JSON data format.

Protobuf type google.cloud.dataplex.v1.Zone.DiscoverySpec.JsonOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Zone.DiscoverySpec.JsonOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Zone.DiscoverySpec.JsonOptions.Builder
Overrides

build()

public Zone.DiscoverySpec.JsonOptions build()
Returns
Type Description
Zone.DiscoverySpec.JsonOptions

buildPartial()

public Zone.DiscoverySpec.JsonOptions buildPartial()
Returns
Type Description
Zone.DiscoverySpec.JsonOptions

clear()

public Zone.DiscoverySpec.JsonOptions.Builder clear()
Returns
Type Description
Zone.DiscoverySpec.JsonOptions.Builder
Overrides

clearDisableTypeInference()

public Zone.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
Type Description
Zone.DiscoverySpec.JsonOptions.Builder

This builder for chaining.

clearEncoding()

public Zone.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
Type Description
Zone.DiscoverySpec.JsonOptions.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Zone.DiscoverySpec.JsonOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description