Class GenerateAzureClusterAgentTokenResponse.Builder (0.51.0)

public static final class GenerateAzureClusterAgentTokenResponse.Builder extends GeneratedMessageV3.Builder<GenerateAzureClusterAgentTokenResponse.Builder> implements GenerateAzureClusterAgentTokenResponseOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAzureClusterAgentTokenResponse build()
Returns
Type Description
GenerateAzureClusterAgentTokenResponse

buildPartial()

public GenerateAzureClusterAgentTokenResponse buildPartial()
Returns
Type Description
GenerateAzureClusterAgentTokenResponse

clear()

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

clearAccessToken()

public GenerateAzureClusterAgentTokenResponse.Builder clearAccessToken()

string access_token = 1;

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clearExpiresIn()

public GenerateAzureClusterAgentTokenResponse.Builder clearExpiresIn()

int32 expires_in = 2;

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTokenType()

public GenerateAzureClusterAgentTokenResponse.Builder clearTokenType()

string token_type = 3;

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clone()

public GenerateAzureClusterAgentTokenResponse.Builder clone()
Returns
Type Description
GenerateAzureClusterAgentTokenResponse.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 GenerateAzureClusterAgentTokenResponse getDefaultInstanceForType()
Returns
Type Description
GenerateAzureClusterAgentTokenResponse

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(GenerateAzureClusterAgentTokenResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccessToken(String value)

public GenerateAzureClusterAgentTokenResponse.Builder setAccessToken(String value)

string access_token = 1;

Parameter
Name Description
value String

The accessToken to set.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setAccessTokenBytes(ByteString value)

public GenerateAzureClusterAgentTokenResponse.Builder setAccessTokenBytes(ByteString value)

string access_token = 1;

Parameter
Name Description
value ByteString

The bytes for accessToken to set.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setExpiresIn(int value)

public GenerateAzureClusterAgentTokenResponse.Builder setExpiresIn(int value)

int32 expires_in = 2;

Parameter
Name Description
value int

The expiresIn to set.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTokenType(String value)

public GenerateAzureClusterAgentTokenResponse.Builder setTokenType(String value)

string token_type = 3;

Parameter
Name Description
value String

The tokenType to set.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setTokenTypeBytes(ByteString value)

public GenerateAzureClusterAgentTokenResponse.Builder setTokenTypeBytes(ByteString value)

string token_type = 3;

Parameter
Name Description
value ByteString

The bytes for tokenType to set.

Returns
Type Description
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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