public interface AvailabilityOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCustomStatus()
public abstract CustomStatus getCustomStatus()Optional. The user's custom status.
.google.chat.v1.CustomStatus custom_status = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomStatus |
The customStatus. |
getCustomStatusOrBuilder()
public abstract CustomStatusOrBuilder getCustomStatusOrBuilder()Optional. The user's custom status.
.google.chat.v1.CustomStatus custom_status = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomStatusOrBuilder |
|
getDoNotDisturbMetadata()
public abstract DoNotDisturbMetadata getDoNotDisturbMetadata()Output only. Metadata if the user state is set to DO_NOT_DISTURB.
.google.chat.v1.DoNotDisturbMetadata do_not_disturb_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DoNotDisturbMetadata |
The doNotDisturbMetadata. |
getDoNotDisturbMetadataOrBuilder()
public abstract DoNotDisturbMetadataOrBuilder getDoNotDisturbMetadataOrBuilder()Output only. Metadata if the user state is set to DO_NOT_DISTURB.
.google.chat.v1.DoNotDisturbMetadata do_not_disturb_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DoNotDisturbMetadataOrBuilder |
|
getName()
public abstract String getName()Identifier. Resource name of the user's availability.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Identifier. Resource name of the user's availability.
Format: users/{user}/availability
{user} is the id for the Person in the People API or Admin SDK directory
API. For example, users/123456789.
The user's email address or me can also be used as an alias to refer to
the caller. For example, users/user@example.com or users/me.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getState()
public abstract Availability.State getState()Output only. The user's current availability state.
.google.chat.v1.Availability.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Availability.State |
The state. |
getStateMetadataCase()
public abstract Availability.StateMetadataCase getStateMetadataCase()| Returns | |
|---|---|
| Type | Description |
Availability.StateMetadataCase |
|
getStateValue()
public abstract int getStateValue()Output only. The user's current availability state.
.google.chat.v1.Availability.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasCustomStatus()
public abstract boolean hasCustomStatus()Optional. The user's custom status.
.google.chat.v1.CustomStatus custom_status = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customStatus field is set. |
hasDoNotDisturbMetadata()
public abstract boolean hasDoNotDisturbMetadata()Output only. Metadata if the user state is set to DO_NOT_DISTURB.
.google.chat.v1.DoNotDisturbMetadata do_not_disturb_metadata = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the doNotDisturbMetadata field is set. |