Interface GenerateAccessTokenResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateAccessTokenResponse,GenerateAccessTokenResponse.Builder
@Generated
public interface GenerateAccessTokenResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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];
-