Send feedback
Class GenerateAwsClusterAgentTokenResponse.Builder (0.84.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class GenerateAwsClusterAgentTokenResponse . Builder extends GeneratedMessage . Builder<GenerateAwsClusterAgentTokenResponse . Builder > implements GenerateAwsClusterAgentTokenResponseOrBuilder
Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse
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 GenerateAwsClusterAgentTokenResponse build ()
buildPartial()
public GenerateAwsClusterAgentTokenResponse buildPartial ()
clear()
public GenerateAwsClusterAgentTokenResponse . Builder clear ()
Overrides
clearAccessToken()
public GenerateAwsClusterAgentTokenResponse . Builder clearAccessToken ()
string access_token = 1 [json_name = "access_token"];
clearExpiresIn()
public GenerateAwsClusterAgentTokenResponse . Builder clearExpiresIn ()
int32 expires_in = 2 [json_name = "expires_in"];
clearTokenType()
public GenerateAwsClusterAgentTokenResponse . 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 GenerateAwsClusterAgentTokenResponse 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(GenerateAwsClusterAgentTokenResponse other)
public GenerateAwsClusterAgentTokenResponse . Builder mergeFrom ( GenerateAwsClusterAgentTokenResponse other )
public GenerateAwsClusterAgentTokenResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GenerateAwsClusterAgentTokenResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setAccessToken(String value)
public GenerateAwsClusterAgentTokenResponse . 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 GenerateAwsClusterAgentTokenResponse . 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 GenerateAwsClusterAgentTokenResponse . 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 GenerateAwsClusterAgentTokenResponse . 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 GenerateAwsClusterAgentTokenResponse . 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."],[],[]]