Class GenerateAwsClusterAgentTokenResponse.Builder (0.52.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GenerateAwsClusterAgentTokenResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

build()

public GenerateAwsClusterAgentTokenResponse build()
Returns
Type Description
GenerateAwsClusterAgentTokenResponse

buildPartial()

public GenerateAwsClusterAgentTokenResponse buildPartial()
Returns
Type Description
GenerateAwsClusterAgentTokenResponse

clear()

public GenerateAwsClusterAgentTokenResponse.Builder clear()
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearAccessToken()

public GenerateAwsClusterAgentTokenResponse.Builder clearAccessToken()

string access_token = 1;

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clearExpiresIn()

public GenerateAwsClusterAgentTokenResponse.Builder clearExpiresIn()

int32 expires_in = 2;

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GenerateAwsClusterAgentTokenResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateAwsClusterAgentTokenResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

clearTokenType()

public GenerateAwsClusterAgentTokenResponse.Builder clearTokenType()

string token_type = 3;

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

clone()

public GenerateAwsClusterAgentTokenResponse.Builder clone()
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

getAccessToken()

public String getAccessToken()

string access_token = 1;

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

public ByteString getAccessTokenBytes()

string access_token = 1;

Returns
Type Description
ByteString

The bytes for accessToken.

getDefaultInstanceForType()

public GenerateAwsClusterAgentTokenResponse getDefaultInstanceForType()
Returns
Type Description
GenerateAwsClusterAgentTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpiresIn()

public int getExpiresIn()

int32 expires_in = 2;

Returns
Type Description
int

The expiresIn.

getTokenType()

public String getTokenType()

string token_type = 3;

Returns
Type Description
String

The tokenType.

getTokenTypeBytes()

public ByteString getTokenTypeBytes()

string token_type = 3;

Returns
Type Description
ByteString

The bytes for tokenType.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateAwsClusterAgentTokenResponse other)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(GenerateAwsClusterAgentTokenResponse other)
Parameter
Name Description
other GenerateAwsClusterAgentTokenResponse
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GenerateAwsClusterAgentTokenResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAwsClusterAgentTokenResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

setAccessToken(String value)

public GenerateAwsClusterAgentTokenResponse.Builder setAccessToken(String value)

string access_token = 1;

Parameter
Name Description
value String

The accessToken to set.

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setAccessTokenBytes(ByteString value)

public GenerateAwsClusterAgentTokenResponse.Builder setAccessTokenBytes(ByteString value)

string access_token = 1;

Parameter
Name Description
value ByteString

The bytes for accessToken to set.

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setExpiresIn(int value)

public GenerateAwsClusterAgentTokenResponse.Builder setExpiresIn(int value)

int32 expires_in = 2;

Parameter
Name Description
value int

The expiresIn to set.

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GenerateAwsClusterAgentTokenResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

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

public GenerateAwsClusterAgentTokenResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides

setTokenType(String value)

public GenerateAwsClusterAgentTokenResponse.Builder setTokenType(String value)

string token_type = 3;

Parameter
Name Description
value String

The tokenType to set.

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setTokenTypeBytes(ByteString value)

public GenerateAwsClusterAgentTokenResponse.Builder setTokenTypeBytes(ByteString value)

string token_type = 3;

Parameter
Name Description
value ByteString

The bytes for tokenType to set.

Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAwsClusterAgentTokenResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GenerateAwsClusterAgentTokenResponse.Builder
Overrides