public final class GenerateAwsAccessTokenResponse extends GeneratedMessageV3 implements GenerateAwsAccessTokenResponseOrBuilder
Response message for AwsClusters.GenerateAwsAccessToken
method.
Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse
Static Fields
ACCESS_TOKEN_FIELD_NUMBER
public static final int ACCESS_TOKEN_FIELD_NUMBER
Field Value
EXPIRATION_TIME_FIELD_NUMBER
public static final int EXPIRATION_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GenerateAwsAccessTokenResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GenerateAwsAccessTokenResponse.Builder newBuilder()
Returns
newBuilder(GenerateAwsAccessTokenResponse prototype)
public static GenerateAwsAccessTokenResponse.Builder newBuilder(GenerateAwsAccessTokenResponse prototype)
Parameter
Returns
public static GenerateAwsAccessTokenResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateAwsAccessTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GenerateAwsAccessTokenResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateAwsAccessTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GenerateAwsAccessTokenResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateAwsAccessTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateAwsAccessTokenResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GenerateAwsAccessTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateAwsAccessTokenResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateAwsAccessTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GenerateAwsAccessTokenResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateAwsAccessTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GenerateAwsAccessTokenResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAccessToken()
public String getAccessToken()
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()
public ByteString getAccessTokenBytes()
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.
|
getDefaultInstanceForType()
public GenerateAwsAccessTokenResponse getDefaultInstanceForType()
Returns
getExpirationTime()
public Timestamp getExpirationTime()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getExpirationTimeOrBuilder()
public TimestampOrBuilder getExpirationTimeOrBuilder()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<GenerateAwsAccessTokenResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasExpirationTime()
public boolean hasExpirationTime()
Output only. Timestamp at which the token will expire.
.google.protobuf.Timestamp expiration_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the expirationTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GenerateAwsAccessTokenResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateAwsAccessTokenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GenerateAwsAccessTokenResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions