Interface Zone.DiscoverySpec.JsonOptionsOrBuilder (1.5.0)

public static interface Zone.DiscoverySpec.JsonOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisableTypeInference()

public abstract 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];

Returns
TypeDescription
boolean

The disableTypeInference.

getEncoding()

public abstract String getEncoding()

Optional. The character encoding of the data. The default is UTF-8.

string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The encoding.

getEncodingBytes()

public abstract ByteString getEncodingBytes()

Optional. The character encoding of the data. The default is UTF-8.

string encoding = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for encoding.