Class TimestampMetadata (0.31.0)

public final class TimestampMetadata extends GeneratedMessage implements TimestampMetadataOrBuilder

Metadata of the timestamp column.

Protobuf type google.cloud.chronicle.v1.TimestampMetadata

Static Fields

IS_INTERPOLABLE_FIELD_NUMBER

public static final int IS_INTERPOLABLE_FIELD_NUMBER
Field Value
Type Description
int

IS_SORTABLE_FIELD_NUMBER

public static final int IS_SORTABLE_FIELD_NUMBER
Field Value
Type Description
int

TIME_FORMAT_FIELD_NUMBER

public static final int TIME_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

TIME_GRANULARITY_FIELD_NUMBER

public static final int TIME_GRANULARITY_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimestampMetadata getDefaultInstance()
Returns
Type Description
TimestampMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(TimestampMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TimestampMetadata getDefaultInstanceForType()
Returns
Type Description
TimestampMetadata

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TimestampMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimestampMetadata.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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