Class ColumnType.ColumnValue.Builder (0.41.0)

public static final class ColumnType.ColumnValue.Builder extends GeneratedMessage.Builder<ColumnType.ColumnValue.Builder> implements ColumnType.ColumnValueOrBuilder

Represents a single value in the set of values returned as the query result.

Protobuf type google.cloud.chronicle.v1.ColumnType.ColumnValue

Static Methods

getDescriptor()

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

Methods

build()

public ColumnType.ColumnValue build()
Returns
Type Description
ColumnType.ColumnValue

buildPartial()

public ColumnType.ColumnValue buildPartial()
Returns
Type Description
ColumnType.ColumnValue

clear()

public ColumnType.ColumnValue.Builder clear()
Returns
Type Description
ColumnType.ColumnValue.Builder
Overrides

clearBoolVal()

public ColumnType.ColumnValue.Builder clearBoolVal()

Boolean value.

bool bool_val = 2;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearBytesVal()

public ColumnType.ColumnValue.Builder clearBytesVal()

Bytes value.

bytes bytes_val = 3;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearDateVal()

public ColumnType.ColumnValue.Builder clearDateVal()

Date values.

.google.type.Date date_val = 9;

Returns
Type Description
ColumnType.ColumnValue.Builder

clearDoubleVal()

public ColumnType.ColumnValue.Builder clearDoubleVal()

Double value.

double double_val = 4;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearInt64Val()

public ColumnType.ColumnValue.Builder clearInt64Val()

Integer value (signed).

int64 int64_val = 5;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearNullVal()

public ColumnType.ColumnValue.Builder clearNullVal()

True if the value is NULL.

bool null_val = 1;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearProtoVal()

public ColumnType.ColumnValue.Builder clearProtoVal()

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Returns
Type Description
ColumnType.ColumnValue.Builder

clearStringVal()

public ColumnType.ColumnValue.Builder clearStringVal()

String value. Enum values are returned as strings.

string string_val = 7;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearTimestampVal()

public ColumnType.ColumnValue.Builder clearTimestampVal()

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Returns
Type Description
ColumnType.ColumnValue.Builder

clearUint64Val()

public ColumnType.ColumnValue.Builder clearUint64Val()

Un-signed integer value.

uint64 uint64_val = 6;

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

clearValue()

public ColumnType.ColumnValue.Builder clearValue()
Returns
Type Description
ColumnType.ColumnValue.Builder

getBoolVal()

public boolean getBoolVal()

Boolean value.

bool bool_val = 2;

Returns
Type Description
boolean

The boolVal.

getBytesVal()

public ByteString getBytesVal()

Bytes value.

bytes bytes_val = 3;

Returns
Type Description
ByteString

The bytesVal.

getDateVal()

public Date getDateVal()

Date values.

.google.type.Date date_val = 9;

Returns
Type Description
com.google.type.Date

The dateVal.

getDateValBuilder()

public Date.Builder getDateValBuilder()

Date values.

.google.type.Date date_val = 9;

Returns
Type Description
com.google.type.Date.Builder

getDateValOrBuilder()

public DateOrBuilder getDateValOrBuilder()

Date values.

.google.type.Date date_val = 9;

Returns
Type Description
com.google.type.DateOrBuilder

getDefaultInstanceForType()

public ColumnType.ColumnValue getDefaultInstanceForType()
Returns
Type Description
ColumnType.ColumnValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDoubleVal()

public double getDoubleVal()

Double value.

double double_val = 4;

Returns
Type Description
double

The doubleVal.

getInt64Val()

public long getInt64Val()

Integer value (signed).

int64 int64_val = 5;

Returns
Type Description
long

The int64Val.

getNullVal()

public boolean getNullVal()

True if the value is NULL.

bool null_val = 1;

Returns
Type Description
boolean

The nullVal.

getProtoVal()

public Any getProtoVal()

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Returns
Type Description
Any

The protoVal.

getProtoValBuilder()

public Any.Builder getProtoValBuilder()

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Returns
Type Description
Builder

getProtoValOrBuilder()

public AnyOrBuilder getProtoValOrBuilder()

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Returns
Type Description
AnyOrBuilder

getStringVal()

public String getStringVal()

String value. Enum values are returned as strings.

string string_val = 7;

Returns
Type Description
String

The stringVal.

getStringValBytes()

public ByteString getStringValBytes()

String value. Enum values are returned as strings.

string string_val = 7;

Returns
Type Description
ByteString

The bytes for stringVal.

getTimestampVal()

public Timestamp getTimestampVal()

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Returns
Type Description
Timestamp

The timestampVal.

getTimestampValBuilder()

public Timestamp.Builder getTimestampValBuilder()

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Returns
Type Description
Builder

getTimestampValOrBuilder()

public TimestampOrBuilder getTimestampValOrBuilder()

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Returns
Type Description
TimestampOrBuilder

getUint64Val()

public long getUint64Val()

Un-signed integer value.

uint64 uint64_val = 6;

Returns
Type Description
long

The uint64Val.

getValueCase()

public ColumnType.ColumnValue.ValueCase getValueCase()
Returns
Type Description
ColumnType.ColumnValue.ValueCase

hasBoolVal()

public boolean hasBoolVal()

Boolean value.

bool bool_val = 2;

Returns
Type Description
boolean

Whether the boolVal field is set.

hasBytesVal()

public boolean hasBytesVal()

Bytes value.

bytes bytes_val = 3;

Returns
Type Description
boolean

Whether the bytesVal field is set.

hasDateVal()

public boolean hasDateVal()

Date values.

.google.type.Date date_val = 9;

Returns
Type Description
boolean

Whether the dateVal field is set.

hasDoubleVal()

public boolean hasDoubleVal()

Double value.

double double_val = 4;

Returns
Type Description
boolean

Whether the doubleVal field is set.

hasInt64Val()

public boolean hasInt64Val()

Integer value (signed).

int64 int64_val = 5;

Returns
Type Description
boolean

Whether the int64Val field is set.

hasNullVal()

public boolean hasNullVal()

True if the value is NULL.

bool null_val = 1;

Returns
Type Description
boolean

Whether the nullVal field is set.

hasProtoVal()

public boolean hasProtoVal()

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Returns
Type Description
boolean

Whether the protoVal field is set.

hasStringVal()

public boolean hasStringVal()

String value. Enum values are returned as strings.

string string_val = 7;

Returns
Type Description
boolean

Whether the stringVal field is set.

hasTimestampVal()

public boolean hasTimestampVal()

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Returns
Type Description
boolean

Whether the timestampVal field is set.

hasUint64Val()

public boolean hasUint64Val()

Un-signed integer value.

uint64 uint64_val = 6;

Returns
Type Description
boolean

Whether the uint64Val field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDateVal(Date value)

public ColumnType.ColumnValue.Builder mergeDateVal(Date value)

Date values.

.google.type.Date date_val = 9;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
ColumnType.ColumnValue.Builder

mergeFrom(ColumnType.ColumnValue other)

public ColumnType.ColumnValue.Builder mergeFrom(ColumnType.ColumnValue other)
Parameter
Name Description
other ColumnType.ColumnValue
Returns
Type Description
ColumnType.ColumnValue.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnType.ColumnValue.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ColumnType.ColumnValue.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ColumnType.ColumnValue.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ColumnType.ColumnValue.Builder
Overrides

mergeProtoVal(Any value)

public ColumnType.ColumnValue.Builder mergeProtoVal(Any value)

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Parameter
Name Description
value Any
Returns
Type Description
ColumnType.ColumnValue.Builder

mergeTimestampVal(Timestamp value)

public ColumnType.ColumnValue.Builder mergeTimestampVal(Timestamp value)

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
ColumnType.ColumnValue.Builder

setBoolVal(boolean value)

public ColumnType.ColumnValue.Builder setBoolVal(boolean value)

Boolean value.

bool bool_val = 2;

Parameter
Name Description
value boolean

The boolVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setBytesVal(ByteString value)

public ColumnType.ColumnValue.Builder setBytesVal(ByteString value)

Bytes value.

bytes bytes_val = 3;

Parameter
Name Description
value ByteString

The bytesVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setDateVal(Date value)

public ColumnType.ColumnValue.Builder setDateVal(Date value)

Date values.

.google.type.Date date_val = 9;

Parameter
Name Description
value com.google.type.Date
Returns
Type Description
ColumnType.ColumnValue.Builder

setDateVal(Date.Builder builderForValue)

public ColumnType.ColumnValue.Builder setDateVal(Date.Builder builderForValue)

Date values.

.google.type.Date date_val = 9;

Parameter
Name Description
builderForValue com.google.type.Date.Builder
Returns
Type Description
ColumnType.ColumnValue.Builder

setDoubleVal(double value)

public ColumnType.ColumnValue.Builder setDoubleVal(double value)

Double value.

double double_val = 4;

Parameter
Name Description
value double

The doubleVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setInt64Val(long value)

public ColumnType.ColumnValue.Builder setInt64Val(long value)

Integer value (signed).

int64 int64_val = 5;

Parameter
Name Description
value long

The int64Val to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setNullVal(boolean value)

public ColumnType.ColumnValue.Builder setNullVal(boolean value)

True if the value is NULL.

bool null_val = 1;

Parameter
Name Description
value boolean

The nullVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setProtoVal(Any value)

public ColumnType.ColumnValue.Builder setProtoVal(Any value)

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Parameter
Name Description
value Any
Returns
Type Description
ColumnType.ColumnValue.Builder

setProtoVal(Any.Builder builderForValue)

public ColumnType.ColumnValue.Builder setProtoVal(Any.Builder builderForValue)

For any proto values that are not any of the above.

.google.protobuf.Any proto_val = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ColumnType.ColumnValue.Builder

setStringVal(String value)

public ColumnType.ColumnValue.Builder setStringVal(String value)

String value. Enum values are returned as strings.

string string_val = 7;

Parameter
Name Description
value String

The stringVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setStringValBytes(ByteString value)

public ColumnType.ColumnValue.Builder setStringValBytes(ByteString value)

String value. Enum values are returned as strings.

string string_val = 7;

Parameter
Name Description
value ByteString

The bytes for stringVal to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.

setTimestampVal(Timestamp value)

public ColumnType.ColumnValue.Builder setTimestampVal(Timestamp value)

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Parameter
Name Description
value Timestamp
Returns
Type Description
ColumnType.ColumnValue.Builder

setTimestampVal(Timestamp.Builder builderForValue)

public ColumnType.ColumnValue.Builder setTimestampVal(Timestamp.Builder builderForValue)

Timestamp values.

.google.protobuf.Timestamp timestamp_val = 8;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ColumnType.ColumnValue.Builder

setUint64Val(long value)

public ColumnType.ColumnValue.Builder setUint64Val(long value)

Un-signed integer value.

uint64 uint64_val = 6;

Parameter
Name Description
value long

The uint64Val to set.

Returns
Type Description
ColumnType.ColumnValue.Builder

This builder for chaining.