Interface QuotedMessageMetadataOrBuilder (0.38.0)

public interface QuotedMessageMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLastUpdateTime()

public abstract Timestamp getLastUpdateTime()

Required. The timestamp when the quoted message was created or when the quoted message was last updated.

If the message was edited, use this field, last_update_time. If the message was never edited, use create_time.

If last_update_time doesn't match the latest version of the quoted message, the request fails.

.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Required. The timestamp when the quoted message was created or when the quoted message was last updated.

If the message was edited, use this field, last_update_time. If the message was never edited, use create_time.

If last_update_time doesn't match the latest version of the quoted message, the request fails.

.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Required. Resource name of the message that is quoted.

Format: spaces/{space}/messages/{message}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Resource name of the message that is quoted.

Format: spaces/{space}/messages/{message}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasLastUpdateTime()

public abstract boolean hasLastUpdateTime()

Required. The timestamp when the quoted message was created or when the quoted message was last updated.

If the message was edited, use this field, last_update_time. If the message was never edited, use create_time.

If last_update_time doesn't match the latest version of the quoted message, the request fails.

.google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.