Class TimestampMetadata.Builder (0.31.0)

public static final class TimestampMetadata.Builder extends GeneratedMessage.Builder<TimestampMetadata.Builder> implements TimestampMetadataOrBuilder

Metadata of the timestamp column.

Protobuf type google.cloud.chronicle.v1.TimestampMetadata

Static Methods

getDescriptor()

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

Methods

build()

public TimestampMetadata build()
Returns
Type Description
TimestampMetadata

buildPartial()

public TimestampMetadata buildPartial()
Returns
Type Description
TimestampMetadata

clear()

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

clearIsInterpolable()

public TimestampMetadata.Builder clearIsInterpolable()

Whether the timestamp column is interpolable in UI.

bool is_interpolable = 5;

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

clearIsSortable()

public TimestampMetadata.Builder clearIsSortable()

Whether the timestamp column is sortable in UI.

bool is_sortable = 4;

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

clearTimeFormat()

public TimestampMetadata.Builder clearTimeFormat()

Time format of the timestamp column.

string time_format = 1;

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

clearTimeGranularity()

public TimestampMetadata.Builder clearTimeGranularity()

Time granularity of the timestamp column.

string time_granularity = 3;

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

clearTimeZone()

public TimestampMetadata.Builder clearTimeZone()

Time zone of the timestamp column.

string time_zone = 2;

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

getDefaultInstanceForType()

public TimestampMetadata getDefaultInstanceForType()
Returns
Type Description
TimestampMetadata

getDescriptorForType()

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

getIsInterpolable()

public boolean getIsInterpolable()

Whether the timestamp column is interpolable in UI.

bool is_interpolable = 5;

Returns
Type Description
boolean

The isInterpolable.

getIsSortable()

public boolean getIsSortable()

Whether the timestamp column is sortable in UI.

bool is_sortable = 4;

Returns
Type Description
boolean

The isSortable.

getTimeFormat()

public String getTimeFormat()

Time format of the timestamp column.

string time_format = 1;

Returns
Type Description
String

The timeFormat.

getTimeFormatBytes()

public ByteString getTimeFormatBytes()

Time format of the timestamp column.

string time_format = 1;

Returns
Type Description
ByteString

The bytes for timeFormat.

getTimeGranularity()

public String getTimeGranularity()

Time granularity of the timestamp column.

string time_granularity = 3;

Returns
Type Description
String

The timeGranularity.

getTimeGranularityBytes()

public ByteString getTimeGranularityBytes()

Time granularity of the timestamp column.

string time_granularity = 3;

Returns
Type Description
ByteString

The bytes for timeGranularity.

getTimeZone()

public String getTimeZone()

Time zone of the timestamp column.

string time_zone = 2;

Returns
Type Description
String

The timeZone.

getTimeZoneBytes()

public ByteString getTimeZoneBytes()

Time zone of the timestamp column.

string time_zone = 2;

Returns
Type Description
ByteString

The bytes for timeZone.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimestampMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setIsInterpolable(boolean value)

public TimestampMetadata.Builder setIsInterpolable(boolean value)

Whether the timestamp column is interpolable in UI.

bool is_interpolable = 5;

Parameter
Name Description
value boolean

The isInterpolable to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setIsSortable(boolean value)

public TimestampMetadata.Builder setIsSortable(boolean value)

Whether the timestamp column is sortable in UI.

bool is_sortable = 4;

Parameter
Name Description
value boolean

The isSortable to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeFormat(String value)

public TimestampMetadata.Builder setTimeFormat(String value)

Time format of the timestamp column.

string time_format = 1;

Parameter
Name Description
value String

The timeFormat to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeFormatBytes(ByteString value)

public TimestampMetadata.Builder setTimeFormatBytes(ByteString value)

Time format of the timestamp column.

string time_format = 1;

Parameter
Name Description
value ByteString

The bytes for timeFormat to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeGranularity(String value)

public TimestampMetadata.Builder setTimeGranularity(String value)

Time granularity of the timestamp column.

string time_granularity = 3;

Parameter
Name Description
value String

The timeGranularity to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeGranularityBytes(ByteString value)

public TimestampMetadata.Builder setTimeGranularityBytes(ByteString value)

Time granularity of the timestamp column.

string time_granularity = 3;

Parameter
Name Description
value ByteString

The bytes for timeGranularity to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeZone(String value)

public TimestampMetadata.Builder setTimeZone(String value)

Time zone of the timestamp column.

string time_zone = 2;

Parameter
Name Description
value String

The timeZone to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.

setTimeZoneBytes(ByteString value)

public TimestampMetadata.Builder setTimeZoneBytes(ByteString value)

Time zone of the timestamp column.

string time_zone = 2;

Parameter
Name Description
value ByteString

The bytes for timeZone to set.

Returns
Type Description
TimestampMetadata.Builder

This builder for chaining.