public final class Literal extends GeneratedMessageV3 implements LiteralOrBuilder
Literal data.
Protobuf type google.cloud.bigquery.migration.v2.Literal
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Literal.Builder newBuilder()
newBuilder(Literal prototype)
public static Literal.Builder newBuilder(Literal prototype)
Parameter |
Name |
Description |
prototype |
Literal
|
public static Literal parseDelimitedFrom(InputStream input)
public static Literal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Literal parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Literal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Literal parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Literal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Literal parseFrom(CodedInputStream input)
public static Literal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Literal parseFrom(InputStream input)
public static Literal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Literal parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Literal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Literal> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Literal getDefaultInstanceForType()
getLiteralBytes()
public ByteString getLiteralBytes()
Literal byte data.
bytes literal_bytes = 3;
Returns |
Type |
Description |
ByteString |
The literalBytes.
|
getLiteralDataCase()
public Literal.LiteralDataCase getLiteralDataCase()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Literal.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Literal.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Literal.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides