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