Interface StorageFormat.JsonOptionsOrBuilder (1.39.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
TypeDescription
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
TypeDescription
ByteString

The bytes for encoding.