Interface GenerateAccessTokenResponseOrBuilder (0.69.0)

publicinterface GenerateAccessTokenResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

publicabstractStringgetAccessToken()

Output only. Access token to authenticate to k8s api-server.

string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

publicabstractByteStringgetAccessTokenBytes()

Output only. Access token to authenticate to k8s api-server.

string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for accessToken.

getExpireTime()

publicabstractTimestampgetExpireTime()

Output only. Timestamp at which the token will expire.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

publicabstractTimestampOrBuildergetExpireTimeOrBuilder()

Output only. Timestamp at which the token will expire.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasExpireTime()

publicabstractbooleanhasExpireTime()

Output only. Timestamp at which the token will expire.

.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.