Send feedback
Class GenerateAttachedClusterAgentTokenResponse.Builder (0.47.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.47.0 keyboard_arrow_down
public static final class GenerateAttachedClusterAgentTokenResponse . Builder extends GeneratedMessageV3 . Builder<GenerateAttachedClusterAgentTokenResponse . Builder > implements GenerateAttachedClusterAgentTokenResponseOrBuilder
Protobuf type google.cloud.gkemulticloud.v1.GenerateAttachedClusterAgentTokenResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateAttachedClusterAgentTokenResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GenerateAttachedClusterAgentTokenResponse build ()
buildPartial()
public GenerateAttachedClusterAgentTokenResponse buildPartial ()
clear()
public GenerateAttachedClusterAgentTokenResponse . Builder clear ()
Overrides
clearAccessToken()
public GenerateAttachedClusterAgentTokenResponse . Builder clearAccessToken ()
clearExpiresIn()
public GenerateAttachedClusterAgentTokenResponse . Builder clearExpiresIn ()
clearField(Descriptors.FieldDescriptor field)
public GenerateAttachedClusterAgentTokenResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateAttachedClusterAgentTokenResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTokenType()
public GenerateAttachedClusterAgentTokenResponse . Builder clearTokenType ()
clone()
public GenerateAttachedClusterAgentTokenResponse . Builder clone ()
Overrides
getAccessToken()
public String getAccessToken ()
Returns
Type
Description
String
The accessToken.
getAccessTokenBytes()
public ByteString getAccessTokenBytes ()
Returns
Type
Description
ByteString
The bytes for accessToken.
getDefaultInstanceForType()
public GenerateAttachedClusterAgentTokenResponse getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getExpiresIn()
public int getExpiresIn ()
Returns
Type
Description
int
The expiresIn.
getTokenType()
public String getTokenType ()
Returns
Type
Description
String
The tokenType.
getTokenTypeBytes()
public ByteString getTokenTypeBytes ()
Returns
Type
Description
ByteString
The bytes for tokenType.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GenerateAttachedClusterAgentTokenResponse other)
public GenerateAttachedClusterAgentTokenResponse . Builder mergeFrom ( GenerateAttachedClusterAgentTokenResponse other )
public GenerateAttachedClusterAgentTokenResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GenerateAttachedClusterAgentTokenResponse . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateAttachedClusterAgentTokenResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setAccessToken(String value)
public GenerateAttachedClusterAgentTokenResponse . Builder setAccessToken ( String value )
Parameter
Name
Description
value
String
The accessToken to set.
setAccessTokenBytes(ByteString value)
public GenerateAttachedClusterAgentTokenResponse . Builder setAccessTokenBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for accessToken to set.
setExpiresIn(int value)
public GenerateAttachedClusterAgentTokenResponse . Builder setExpiresIn ( int value )
Parameter
Name
Description
value
int
The expiresIn to set.
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateAttachedClusterAgentTokenResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateAttachedClusterAgentTokenResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTokenType(String value)
public GenerateAttachedClusterAgentTokenResponse . Builder setTokenType ( String value )
Parameter
Name
Description
value
String
The tokenType to set.
setTokenTypeBytes(ByteString value)
public GenerateAttachedClusterAgentTokenResponse . Builder setTokenTypeBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for tokenType to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateAttachedClusterAgentTokenResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 2025-01-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 2025-01-27 UTC."],[],[]]