Interface StorageFormat.JsonOptionsOrBuilder (1.44.0)

public static interface StorageFormat.JsonOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncoding()

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

Returns
Type Description
String

The encoding.

getEncodingBytes()

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

Returns
Type Description
ByteString

The bytes for encoding.