Class GenerateAwsClusterAgentTokenResponse.Builder (0.39.0)

public static final class GenerateAwsClusterAgentTokenResponse.Builder extends GeneratedMessageV3.Builder<GenerateAwsClusterAgentTokenResponse.Builder> implements GenerateAwsClusterAgentTokenResponseOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAwsClusterAgentTokenResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateAwsClusterAgentTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

build()

public GenerateAwsClusterAgentTokenResponse build()
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse

buildPartial()

public GenerateAwsClusterAgentTokenResponse buildPartial()
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse

clear()

public GenerateAwsClusterAgentTokenResponse.Builder clear()
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearAccessToken()

public GenerateAwsClusterAgentTokenResponse.Builder clearAccessToken()

string access_token = 1;

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clearExpiresIn()

public GenerateAwsClusterAgentTokenResponse.Builder clearExpiresIn()

int32 expires_in = 2;

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateAwsClusterAgentTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateAwsClusterAgentTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearTokenType()

public GenerateAwsClusterAgentTokenResponse.Builder clearTokenType()

string token_type = 3;

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clone()

public GenerateAwsClusterAgentTokenResponse.Builder clone()
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

getAccessToken()

public String getAccessToken()

string access_token = 1;

Returns
TypeDescription
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

string access_token = 1;

Returns
TypeDescription
ByteString

The bytes for accessToken.

getDefaultInstanceForType()

public GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpiresIn()

public int getExpiresIn()

int32 expires_in = 2;

Returns
TypeDescription
int

The expiresIn.

getTokenType()

public String getTokenType()

string token_type = 3;

Returns
TypeDescription
String

The tokenType.

getTokenTypeBytes()

public ByteString getTokenTypeBytes()

string token_type = 3;

Returns
TypeDescription
ByteString

The bytes for tokenType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateAwsClusterAgentTokenResponse other)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(GenerateAwsClusterAgentTokenResponse other)
Parameter
NameDescription
otherGenerateAwsClusterAgentTokenResponse
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAwsClusterAgentTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

setAccessToken(String value)

public GenerateAwsClusterAgentTokenResponse.Builder setAccessToken(String value)

string access_token = 1;

Parameter
NameDescription
valueString

The accessToken to set.

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setAccessTokenBytes(ByteString value)

public GenerateAwsClusterAgentTokenResponse.Builder setAccessTokenBytes(ByteString value)

string access_token = 1;

Parameter
NameDescription
valueByteString

The bytes for accessToken to set.

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setExpiresIn(int value)

public GenerateAwsClusterAgentTokenResponse.Builder setExpiresIn(int value)

int32 expires_in = 2;

Parameter
NameDescription
valueint

The expiresIn to set.

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateAwsClusterAgentTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GenerateAwsClusterAgentTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

setTokenType(String value)

public GenerateAwsClusterAgentTokenResponse.Builder setTokenType(String value)

string token_type = 3;

Parameter
NameDescription
valueString

The tokenType to set.

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setTokenTypeBytes(ByteString value)

public GenerateAwsClusterAgentTokenResponse.Builder setTokenTypeBytes(ByteString value)

string token_type = 3;

Parameter
NameDescription
valueByteString

The bytes for tokenType to set.

Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAwsClusterAgentTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GenerateAwsClusterAgentTokenResponse.Builder
Overrides