Class ColumnMetadata.Builder (0.31.0)

public static final class ColumnMetadata.Builder extends GeneratedMessage.Builder<ColumnMetadata.Builder> implements ColumnMetadataOrBuilder

Metadata of the column.

Protobuf type google.cloud.chronicle.v1.ColumnMetadata

Static Methods

getDescriptor()

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

Methods

build()

public ColumnMetadata build()
Returns
Type Description
ColumnMetadata

buildPartial()

public ColumnMetadata buildPartial()
Returns
Type Description
ColumnMetadata

clear()

public ColumnMetadata.Builder clear()
Returns
Type Description
ColumnMetadata.Builder
Overrides

clearColumn()

public ColumnMetadata.Builder clearColumn()

Name of the column.

string column = 1;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearDataSource()

public ColumnMetadata.Builder clearDataSource()

Data source queried.

.google.cloud.chronicle.v1.DataSource data_source = 5;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearFieldPath()

public ColumnMetadata.Builder clearFieldPath()

Field path of the queried field, if any.

string field_path = 2;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearFunctionModule()

public ColumnMetadata.Builder clearFunctionModule()

Module of the function used to query the field, if any.

string function_module = 4;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearFunctionName()

public ColumnMetadata.Builder clearFunctionName()

Name of the function used to query the field, if any.

string function_name = 3;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearLatitude()

public ColumnMetadata.Builder clearLatitude()

Whether the column is a latitude field.

bool latitude = 8;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearLongitude()

public ColumnMetadata.Builder clearLongitude()

Whether the column is a longitude field.

bool longitude = 7;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearSelected()

public ColumnMetadata.Builder clearSelected()

Whether the column is selected in the final response.

bool selected = 9;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

clearTimestampMetadata()

public ColumnMetadata.Builder clearTimestampMetadata()

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Returns
Type Description
ColumnMetadata.Builder

clearUnselected()

public ColumnMetadata.Builder clearUnselected()

Whether the column is unselected in the final response.

bool unselected = 10;

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

getColumn()

public String getColumn()

Name of the column.

string column = 1;

Returns
Type Description
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Name of the column.

string column = 1;

Returns
Type Description
ByteString

The bytes for column.

getDataSource()

public DataSource getDataSource()

Data source queried.

.google.cloud.chronicle.v1.DataSource data_source = 5;

Returns
Type Description
DataSource

The dataSource.

getDataSourceValue()

public int getDataSourceValue()

Data source queried.

.google.cloud.chronicle.v1.DataSource data_source = 5;

Returns
Type Description
int

The enum numeric value on the wire for dataSource.

getDefaultInstanceForType()

public ColumnMetadata getDefaultInstanceForType()
Returns
Type Description
ColumnMetadata

getDescriptorForType()

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

getFieldPath()

public String getFieldPath()

Field path of the queried field, if any.

string field_path = 2;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

public ByteString getFieldPathBytes()

Field path of the queried field, if any.

string field_path = 2;

Returns
Type Description
ByteString

The bytes for fieldPath.

getFunctionModule()

public String getFunctionModule()

Module of the function used to query the field, if any.

string function_module = 4;

Returns
Type Description
String

The functionModule.

getFunctionModuleBytes()

public ByteString getFunctionModuleBytes()

Module of the function used to query the field, if any.

string function_module = 4;

Returns
Type Description
ByteString

The bytes for functionModule.

getFunctionName()

public String getFunctionName()

Name of the function used to query the field, if any.

string function_name = 3;

Returns
Type Description
String

The functionName.

getFunctionNameBytes()

public ByteString getFunctionNameBytes()

Name of the function used to query the field, if any.

string function_name = 3;

Returns
Type Description
ByteString

The bytes for functionName.

getLatitude()

public boolean getLatitude()

Whether the column is a latitude field.

bool latitude = 8;

Returns
Type Description
boolean

The latitude.

getLongitude()

public boolean getLongitude()

Whether the column is a longitude field.

bool longitude = 7;

Returns
Type Description
boolean

The longitude.

getSelected()

public boolean getSelected()

Whether the column is selected in the final response.

bool selected = 9;

Returns
Type Description
boolean

The selected.

getTimestampMetadata()

public TimestampMetadata getTimestampMetadata()

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Returns
Type Description
TimestampMetadata

The timestampMetadata.

getTimestampMetadataBuilder()

public TimestampMetadata.Builder getTimestampMetadataBuilder()

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Returns
Type Description
TimestampMetadata.Builder

getTimestampMetadataOrBuilder()

public TimestampMetadataOrBuilder getTimestampMetadataOrBuilder()

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Returns
Type Description
TimestampMetadataOrBuilder

getUnselected()

public boolean getUnselected()

Whether the column is unselected in the final response.

bool unselected = 10;

Returns
Type Description
boolean

The unselected.

hasTimestampMetadata()

public boolean hasTimestampMetadata()

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Returns
Type Description
boolean

Whether the timestampMetadata field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ColumnMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimestampMetadata(TimestampMetadata value)

public ColumnMetadata.Builder mergeTimestampMetadata(TimestampMetadata value)

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Parameter
Name Description
value TimestampMetadata
Returns
Type Description
ColumnMetadata.Builder

setColumn(String value)

public ColumnMetadata.Builder setColumn(String value)

Name of the column.

string column = 1;

Parameter
Name Description
value String

The column to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public ColumnMetadata.Builder setColumnBytes(ByteString value)

Name of the column.

string column = 1;

Parameter
Name Description
value ByteString

The bytes for column to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setDataSource(DataSource value)

public ColumnMetadata.Builder setDataSource(DataSource value)

Data source queried.

.google.cloud.chronicle.v1.DataSource data_source = 5;

Parameter
Name Description
value DataSource

The dataSource to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setDataSourceValue(int value)

public ColumnMetadata.Builder setDataSourceValue(int value)

Data source queried.

.google.cloud.chronicle.v1.DataSource data_source = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for dataSource to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFieldPath(String value)

public ColumnMetadata.Builder setFieldPath(String value)

Field path of the queried field, if any.

string field_path = 2;

Parameter
Name Description
value String

The fieldPath to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFieldPathBytes(ByteString value)

public ColumnMetadata.Builder setFieldPathBytes(ByteString value)

Field path of the queried field, if any.

string field_path = 2;

Parameter
Name Description
value ByteString

The bytes for fieldPath to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFunctionModule(String value)

public ColumnMetadata.Builder setFunctionModule(String value)

Module of the function used to query the field, if any.

string function_module = 4;

Parameter
Name Description
value String

The functionModule to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFunctionModuleBytes(ByteString value)

public ColumnMetadata.Builder setFunctionModuleBytes(ByteString value)

Module of the function used to query the field, if any.

string function_module = 4;

Parameter
Name Description
value ByteString

The bytes for functionModule to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFunctionName(String value)

public ColumnMetadata.Builder setFunctionName(String value)

Name of the function used to query the field, if any.

string function_name = 3;

Parameter
Name Description
value String

The functionName to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setFunctionNameBytes(ByteString value)

public ColumnMetadata.Builder setFunctionNameBytes(ByteString value)

Name of the function used to query the field, if any.

string function_name = 3;

Parameter
Name Description
value ByteString

The bytes for functionName to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setLatitude(boolean value)

public ColumnMetadata.Builder setLatitude(boolean value)

Whether the column is a latitude field.

bool latitude = 8;

Parameter
Name Description
value boolean

The latitude to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setLongitude(boolean value)

public ColumnMetadata.Builder setLongitude(boolean value)

Whether the column is a longitude field.

bool longitude = 7;

Parameter
Name Description
value boolean

The longitude to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setSelected(boolean value)

public ColumnMetadata.Builder setSelected(boolean value)

Whether the column is selected in the final response.

bool selected = 9;

Parameter
Name Description
value boolean

The selected to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.

setTimestampMetadata(TimestampMetadata value)

public ColumnMetadata.Builder setTimestampMetadata(TimestampMetadata value)

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Parameter
Name Description
value TimestampMetadata
Returns
Type Description
ColumnMetadata.Builder

setTimestampMetadata(TimestampMetadata.Builder builderForValue)

public ColumnMetadata.Builder setTimestampMetadata(TimestampMetadata.Builder builderForValue)

Timestamp Metadata

.google.cloud.chronicle.v1.TimestampMetadata timestamp_metadata = 6;

Parameter
Name Description
builderForValue TimestampMetadata.Builder
Returns
Type Description
ColumnMetadata.Builder

setUnselected(boolean value)

public ColumnMetadata.Builder setUnselected(boolean value)

Whether the column is unselected in the final response.

bool unselected = 10;

Parameter
Name Description
value boolean

The unselected to set.

Returns
Type Description
ColumnMetadata.Builder

This builder for chaining.