public interface MarkAsDoNotDisturbRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExpirationCase()
public abstract MarkAsDoNotDisturbRequest.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
MarkAsDoNotDisturbRequest.ExpirationCase |
|
getExpireTime()
public abstract Timestamp getExpireTime()The absolute timestamp when the DND state expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeOrBuilder()
public abstract TimestampOrBuilder getExpireTimeOrBuilder()The absolute timestamp when the DND state expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getName()
public abstract String getName()Required. The resource name of the availability to mark as Do Not Disturb. 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) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Required. The resource name of the availability to mark as Do Not Disturb. 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) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getTtl()
public abstract Duration getTtl()The duration from the current time until the DND state expires.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlOrBuilder()
public abstract DurationOrBuilder getTtlOrBuilder()The duration from the current time until the DND state expires.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasExpireTime()
public abstract boolean hasExpireTime()The absolute timestamp when the DND state expires.
.google.protobuf.Timestamp expire_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasTtl()
public abstract boolean hasTtl()The duration from the current time until the DND state expires.
.google.protobuf.Duration ttl = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |