Class GenerateAzureAccessTokenResponse (0.10.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
TypeDescription
int

EXPIRATION_TIME_FIELD_NUMBER

public static final int EXPIRATION_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateAzureAccessTokenResponse getDefaultInstance()
Returns
TypeDescription
GenerateAzureAccessTokenResponse

getDescriptor()

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

newBuilder()

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

newBuilder(GenerateAzureAccessTokenResponse prototype)

public static GenerateAzureAccessTokenResponse.Builder newBuilder(GenerateAzureAccessTokenResponse prototype)
Parameter
NameDescription
prototypeGenerateAzureAccessTokenResponse
Returns
TypeDescription
GenerateAzureAccessTokenResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 GenerateAzureAccessTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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<GenerateAzureAccessTokenResponse> getParserForType()
Returns
TypeDescription
Parser<GenerateAzureAccessTokenResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 GenerateAzureAccessTokenResponse.Builder newBuilderForType()
Returns
TypeDescription
GenerateAzureAccessTokenResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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