Interface MarkAsActiveRequestOrBuilder (0.59.0)

public interface MarkAsActiveRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpirationCase()

public abstract MarkAsActiveRequest.ExpirationCase getExpirationCase()
Returns
Type Description
MarkAsActiveRequest.ExpirationCase

getExpireTime()

public abstract Timestamp getExpireTime()

The absolute timestamp when the ACTIVE state expires.

.google.protobuf.Timestamp expire_time = 2;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

The absolute timestamp when the ACTIVE 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 active. 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 active. 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 ACTIVE state expires. Using a short TTL can effectively reset the user's state to be based on activity after this brief duration.

.google.protobuf.Duration ttl = 3;

Returns
Type Description
Duration

The ttl.

getTtlOrBuilder()

public abstract DurationOrBuilder getTtlOrBuilder()

The duration from the current time until the ACTIVE state expires. Using a short TTL can effectively reset the user's state to be based on activity after this brief duration.

.google.protobuf.Duration ttl = 3;

Returns
Type Description
DurationOrBuilder

hasExpireTime()

public abstract boolean hasExpireTime()

The absolute timestamp when the ACTIVE 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 ACTIVE state expires. Using a short TTL can effectively reset the user's state to be based on activity after this brief duration.

.google.protobuf.Duration ttl = 3;

Returns
Type Description
boolean

Whether the ttl field is set.