Class GenerateAzureAccessTokenResponse (0.48.0)

public final class GenerateAzureAccessTokenResponse extends GeneratedMessageV3 implements GenerateAzureAccessTokenResponseOrBuilder

Response message for AzureClusters.GenerateAzureAccessToken method.

Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenResponse

Inheritance

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

Static Fields

ACCESS_TOKEN_FIELD_NUMBER

public static final int ACCESS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

EXPIRATION_TIME_FIELD_NUMBER

public static final int EXPIRATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateAzureAccessTokenResponse getDefaultInstance()
Returns
Type Description
GenerateAzureAccessTokenResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateAzureAccessTokenResponse.Builder newBuilder()
Returns
Type Description
GenerateAzureAccessTokenResponse.Builder

newBuilder(GenerateAzureAccessTokenResponse prototype)

public static GenerateAzureAccessTokenResponse.Builder newBuilder(GenerateAzureAccessTokenResponse prototype)
Parameter
Name Description
prototype GenerateAzureAccessTokenResponse
Returns
Type Description
GenerateAzureAccessTokenResponse.Builder

parseDelimitedFrom(InputStream input)

public static GenerateAzureAccessTokenResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateAzureAccessTokenResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateAzureAccessTokenResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateAzureAccessTokenResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateAzureAccessTokenResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateAzureAccessTokenResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateAzureAccessTokenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAzureAccessTokenResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateAzureAccessTokenResponse> parser()
Returns
Type Description
Parser<GenerateAzureAccessTokenResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
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 GenerateAzureAccessTokenResponse getDefaultInstanceForType()
Returns
Type Description
GenerateAzureAccessTokenResponse

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
Type Description
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
Type Description
TimestampOrBuilder

getParserForType()

public Parser<GenerateAzureAccessTokenResponse> getParserForType()
Returns
Type Description
Parser<GenerateAzureAccessTokenResponse>
Overrides

getSerializedSize()

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

Whether the expirationTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateAzureAccessTokenResponse.Builder newBuilderForType()
Returns
Type Description
GenerateAzureAccessTokenResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateAzureAccessTokenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateAzureAccessTokenResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateAzureAccessTokenResponse.Builder toBuilder()
Returns
Type Description
GenerateAzureAccessTokenResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException