Interface TimestampValueOrBuilder (0.47.0)

public interface TimestampValueOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTextValue()

public abstract String getTextValue()

The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z"

string text_value = 2;

Returns
Type Description
String

The textValue.

getTextValueBytes()

public abstract ByteString getTextValueBytes()

The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z"

string text_value = 2;

Returns
Type Description
ByteString

The bytes for textValue.

getTimestampValue()

public abstract Timestamp getTimestampValue()

Timestamp value

.google.protobuf.Timestamp timestamp_value = 1;

Returns
Type Description
Timestamp

The timestampValue.

getTimestampValueOrBuilder()

public abstract TimestampOrBuilder getTimestampValueOrBuilder()

Timestamp value

.google.protobuf.Timestamp timestamp_value = 1;

Returns
Type Description
TimestampOrBuilder

getValueCase()

public abstract TimestampValue.ValueCase getValueCase()
Returns
Type Description
TimestampValue.ValueCase

hasTextValue()

public abstract boolean hasTextValue()

The string must represent a valid instant in UTC and is parsed using java.time.format.DateTimeFormatter.ISO_INSTANT. e.g. "2013-09-29T18:46:19Z"

string text_value = 2;

Returns
Type Description
boolean

Whether the textValue field is set.

hasTimestampValue()

public abstract boolean hasTimestampValue()

Timestamp value

.google.protobuf.Timestamp timestamp_value = 1;

Returns
Type Description
boolean

Whether the timestampValue field is set.