public interface CustomStatusOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEmoji()
public abstract Emoji getEmoji()Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
.google.chat.v1.Emoji emoji = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Emoji |
The emoji. |
getEmojiOrBuilder()
public abstract EmojiOrBuilder getEmojiOrBuilder()Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
.google.chat.v1.Emoji emoji = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
EmojiOrBuilder |
|
getExpirationCase()
public abstract CustomStatus.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
CustomStatus.ExpirationCase |
|
getExpireTime()
public abstract Timestamp getExpireTime()The timestamp when the custom status expires.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeOrBuilder()
public abstract TimestampOrBuilder getExpireTimeOrBuilder()The timestamp when the custom status expires.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getText()
public abstract String getText()Required. The text of the custom status. This will be a string with maximum length of 64.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Required. The text of the custom status. This will be a string with maximum length of 64.
string text = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |
getTtl()
public abstract Duration getTtl()Input only. The time-to-live duration after which the custom status expires.
.google.protobuf.Duration ttl = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlOrBuilder()
public abstract DurationOrBuilder getTtlOrBuilder()Input only. The time-to-live duration after which the custom status expires.
.google.protobuf.Duration ttl = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasEmoji()
public abstract boolean hasEmoji()Required. The emoji of the custom status. Only Unicode emojis are supported; custom emojis are not supported.
.google.chat.v1.Emoji emoji = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the emoji field is set. |
hasExpireTime()
public abstract boolean hasExpireTime()The timestamp when the custom status expires.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasTtl()
public abstract boolean hasTtl()Input only. The time-to-live duration after which the custom status expires.
.google.protobuf.Duration ttl = 4 [(.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |