Interface GenerateAccessTokenResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateAccessTokenResponse,GenerateAccessTokenResponse.Builder
public interface GenerateAccessTokenResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAccessToken()Output only.com.google.protobuf.ByteStringgetAccessTokenBytes()Output only.com.google.protobuf.TimestampgetExpireTime()Output only.com.google.protobuf.TimestampOrBuildergetExpireTimeOrBuilder()Output only.booleanhasExpireTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAccessToken
String getAccessToken()
Output only. Access token to authenticate to k8s api-server.
string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The accessToken.
-
getAccessTokenBytes
com.google.protobuf.ByteString getAccessTokenBytes()
Output only. Access token to authenticate to k8s api-server.
string access_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for accessToken.
-
hasExpireTime
boolean hasExpireTime()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expire_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-