Class Literal (0.50.0)

public final class Literal extends GeneratedMessageV3 implements LiteralOrBuilder

Literal data.

Protobuf type google.cloud.bigquery.migration.v2.Literal

Implements

LiteralOrBuilder

Static Fields

LITERAL_BYTES_FIELD_NUMBER

public static final int LITERAL_BYTES_FIELD_NUMBER
Field Value
Type Description
int

LITERAL_STRING_FIELD_NUMBER

public static final int LITERAL_STRING_FIELD_NUMBER
Field Value
Type Description
int

RELATIVE_PATH_FIELD_NUMBER

public static final int RELATIVE_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Literal getDefaultInstance()
Returns
Type Description
Literal

getDescriptor()

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

newBuilder()

public static Literal.Builder newBuilder()
Returns
Type Description
Literal.Builder

newBuilder(Literal prototype)

public static Literal.Builder newBuilder(Literal prototype)
Parameter
Name Description
prototype Literal
Returns
Type Description
Literal.Builder

parseDelimitedFrom(InputStream input)

public static Literal parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Literal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Literal parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Literal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Literal parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Literal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Literal parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Literal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Literal parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Literal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Literal parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Literal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Literal
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Literal> parser()
Returns
Type Description
Parser<Literal>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Literal getDefaultInstanceForType()
Returns
Type Description
Literal

getLiteralBytes()

public ByteString getLiteralBytes()

Literal byte data.

bytes literal_bytes = 3;

Returns
Type Description
ByteString

The literalBytes.

getLiteralDataCase()

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

getLiteralString()

public String getLiteralString()

Literal string data.

string literal_string = 2;

Returns
Type Description
String

The literalString.

getLiteralStringBytes()

public ByteString getLiteralStringBytes()

Literal string data.

string literal_string = 2;

Returns
Type Description
ByteString

The bytes for literalString.

getParserForType()

public Parser<Literal> getParserForType()
Returns
Type Description
Parser<Literal>
Overrides

getRelativePath()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasLiteralBytes()

public boolean hasLiteralBytes()

Literal byte data.

bytes literal_bytes = 3;

Returns
Type Description
boolean

Whether the literalBytes field is set.

hasLiteralString()

public boolean hasLiteralString()

Literal string data.

string literal_string = 2;

Returns
Type Description
boolean

Whether the literalString field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Literal.Builder newBuilderForType()
Returns
Type Description
Literal.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Literal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Literal.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Literal.Builder toBuilder()
Returns
Type Description
Literal.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException