Send feedback
Class GenerateAzureClusterAgentTokenResponse.Builder (0.84.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class GenerateAzureClusterAgentTokenResponse . Builder extends GeneratedMessage . Builder<GenerateAzureClusterAgentTokenResponse . Builder > implements GenerateAzureClusterAgentTokenResponseOrBuilder
Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public GenerateAzureClusterAgentTokenResponse build ()
buildPartial()
public GenerateAzureClusterAgentTokenResponse buildPartial ()
clear()
public GenerateAzureClusterAgentTokenResponse . Builder clear ()
Overrides
clearAccessToken()
public GenerateAzureClusterAgentTokenResponse . Builder clearAccessToken ()
string access_token = 1 [json_name = "access_token"];
clearExpiresIn()
public GenerateAzureClusterAgentTokenResponse . Builder clearExpiresIn ()
int32 expires_in = 2 [json_name = "expires_in"];
clearTokenType()
public GenerateAzureClusterAgentTokenResponse . Builder clearTokenType ()
string token_type = 3 [json_name = "token_type"];
getAccessToken()
public String getAccessToken ()
string access_token = 1 [json_name = "access_token"];
Returns
Type
Description
String
The accessToken.
getAccessTokenBytes()
public ByteString getAccessTokenBytes ()
string access_token = 1 [json_name = "access_token"];
Returns
Type
Description
ByteString
The bytes for accessToken.
getDefaultInstanceForType()
public GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getExpiresIn()
public int getExpiresIn ()
int32 expires_in = 2 [json_name = "expires_in"];
Returns
Type
Description
int
The expiresIn.
getTokenType()
public String getTokenType ()
string token_type = 3 [json_name = "token_type"];
Returns
Type
Description
String
The tokenType.
getTokenTypeBytes()
public ByteString getTokenTypeBytes ()
string token_type = 3 [json_name = "token_type"];
Returns
Type
Description
ByteString
The bytes for tokenType.
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GenerateAzureClusterAgentTokenResponse other)
public GenerateAzureClusterAgentTokenResponse . Builder mergeFrom ( GenerateAzureClusterAgentTokenResponse other )
public GenerateAzureClusterAgentTokenResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GenerateAzureClusterAgentTokenResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setAccessToken(String value)
public GenerateAzureClusterAgentTokenResponse . Builder setAccessToken ( String value )
string access_token = 1 [json_name = "access_token"];
Parameter
Name
Description
value
String The accessToken to set.
setAccessTokenBytes(ByteString value)
public GenerateAzureClusterAgentTokenResponse . Builder setAccessTokenBytes ( ByteString value )
string access_token = 1 [json_name = "access_token"];
Parameter
Name
Description
value
ByteString The bytes for accessToken to set.
setExpiresIn(int value)
public GenerateAzureClusterAgentTokenResponse . Builder setExpiresIn ( int value )
int32 expires_in = 2 [json_name = "expires_in"];
Parameter
Name
Description
value
int The expiresIn to set.
setTokenType(String value)
public GenerateAzureClusterAgentTokenResponse . Builder setTokenType ( String value )
string token_type = 3 [json_name = "token_type"];
Parameter
Name
Description
value
String The tokenType to set.
setTokenTypeBytes(ByteString value)
public GenerateAzureClusterAgentTokenResponse . Builder setTokenTypeBytes ( ByteString value )
string token_type = 3 [json_name = "token_type"];
Parameter
Name
Description
value
ByteString The bytes for tokenType to set.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-27 UTC."],[],[]]