Interface AuthTokenOrBuilder (0.75.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. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{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. Format: projects/{project}/locations/{location}/clusters/{cluster}/tokenAuthUsers/{token_auth_user}/authTokens/{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. State of the auth token.

.google.cloud.redis.cluster.v1beta1.AuthToken.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuthToken.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the auth token.

.google.cloud.redis.cluster.v1beta1.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 service generated authentication token used to connect to the Redis cluster.

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

Returns
Type Description
String

The token.

getTokenBytes()

public abstract ByteString getTokenBytes()

Output only. The service generated authentication token used to connect to the Redis cluster.

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.