Interface AuthTokenOrBuilder (0.41.0)

public interface AuthTokenOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Create time of the auth token.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Create time of the auth token.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. Name of the auth token.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of the auth token.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getState()

public abstract AuthToken.State getState()

Output only. The state of the auth token.

.google.cloud.memorystore.v1beta.AuthToken.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuthToken.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The state of the auth token.

.google.cloud.memorystore.v1beta.AuthToken.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getToken()

public abstract String getToken()

Output only. The auth token.

string token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

Output only. The auth token.

string token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for token.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Create time of the auth token.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.