Class GenerateAwsAccessTokenResponse (0.35.0)

public final class GenerateAwsAccessTokenResponse extends GeneratedMessageV3 implements GenerateAwsAccessTokenResponseOrBuilder

Response message for AwsClusters.GenerateAwsAccessToken method.

Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsAccessTokenResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GenerateAwsAccessTokenResponse

Static Fields

ACCESS_TOKEN_FIELD_NUMBER

public static final int ACCESS_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

EXPIRATION_TIME_FIELD_NUMBER

public static final int EXPIRATION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateAwsAccessTokenResponse getDefaultInstance()
Returns
TypeDescription
GenerateAwsAccessTokenResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateAwsAccessTokenResponse.Builder newBuilder()
Returns
TypeDescription
GenerateAwsAccessTokenResponse.Builder

newBuilder(GenerateAwsAccessTokenResponse prototype)

public static GenerateAwsAccessTokenResponse.Builder newBuilder(GenerateAwsAccessTokenResponse prototype)
Parameter
NameDescription
prototypeGenerateAwsAccessTokenResponse
Returns
TypeDescription
GenerateAwsAccessTokenResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateAwsAccessTokenResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateAwsAccessTokenResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateAwsAccessTokenResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateAwsAccessTokenResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateAwsAccessTokenResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateAwsAccessTokenResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateAwsAccessTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsAccessTokenResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateAwsAccessTokenResponse> parser()
Returns
TypeDescription
Parser<GenerateAwsAccessTokenResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
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
TypeDescription
ByteString

The bytes for accessToken.

getDefaultInstanceForType()

public GenerateAwsAccessTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateAwsAccessTokenResponse

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
TypeDescription
Timestamp

The expirationTime.

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
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<GenerateAwsAccessTokenResponse> getParserForType()
Returns
TypeDescription
Parser<GenerateAwsAccessTokenResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
boolean

Whether the expirationTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateAwsAccessTokenResponse.Builder newBuilderForType()
Returns
TypeDescription
GenerateAwsAccessTokenResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateAwsAccessTokenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateAwsAccessTokenResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateAwsAccessTokenResponse.Builder toBuilder()
Returns
TypeDescription
GenerateAwsAccessTokenResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException