Interface LiteralOrBuilder (0.51.0)

public interface LiteralOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLiteralBytes()

public abstract ByteString getLiteralBytes()

Literal byte data.

bytes literal_bytes = 3;

Returns
Type Description
ByteString

The literalBytes.

getLiteralDataCase()

public abstract Literal.LiteralDataCase getLiteralDataCase()
Returns
Type Description
Literal.LiteralDataCase

getLiteralString()

public abstract String getLiteralString()

Literal string data.

string literal_string = 2;

Returns
Type Description
String

The literalString.

getLiteralStringBytes()

public abstract ByteString getLiteralStringBytes()

Literal string data.

string literal_string = 2;

Returns
Type Description
ByteString

The bytes for literalString.

getRelativePath()

public abstract String getRelativePath()

Required. The identifier of the literal entry.

string relative_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The relativePath.

getRelativePathBytes()

public abstract ByteString getRelativePathBytes()

Required. The identifier of the literal entry.

string relative_path = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for relativePath.

hasLiteralBytes()

public abstract boolean hasLiteralBytes()

Literal byte data.

bytes literal_bytes = 3;

Returns
Type Description
boolean

Whether the literalBytes field is set.

hasLiteralString()

public abstract boolean hasLiteralString()

Literal string data.

string literal_string = 2;

Returns
Type Description
boolean

Whether the literalString field is set.