Class GenerateAzureClusterAgentTokenResponse.Builder (0.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAzureClusterAgentTokenResponse build()
Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse

buildPartial()

public GenerateAzureClusterAgentTokenResponse buildPartial()
Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse

clear()

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

clearAccessToken()

public GenerateAzureClusterAgentTokenResponse.Builder clearAccessToken()

string access_token = 1;

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clearExpiresIn()

public GenerateAzureClusterAgentTokenResponse.Builder clearExpiresIn()

int32 expires_in = 2;

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTokenType()

public GenerateAzureClusterAgentTokenResponse.Builder clearTokenType()

string token_type = 3;

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

clone()

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

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

public GenerateAzureClusterAgentTokenResponse.Builder mergeFrom(GenerateAzureClusterAgentTokenResponse other)
Parameter
NameDescription
otherGenerateAzureClusterAgentTokenResponse
Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccessToken(String value)

public GenerateAzureClusterAgentTokenResponse.Builder setAccessToken(String value)

string access_token = 1;

Parameter
NameDescription
valueString

The accessToken to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setAccessTokenBytes(ByteString value)

public GenerateAzureClusterAgentTokenResponse.Builder setAccessTokenBytes(ByteString value)

string access_token = 1;

Parameter
NameDescription
valueByteString

The bytes for accessToken to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setExpiresIn(int value)

public GenerateAzureClusterAgentTokenResponse.Builder setExpiresIn(int value)

int32 expires_in = 2;

Parameter
NameDescription
valueint

The expiresIn to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTokenType(String value)

public GenerateAzureClusterAgentTokenResponse.Builder setTokenType(String value)

string token_type = 3;

Parameter
NameDescription
valueString

The tokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setTokenTypeBytes(ByteString value)

public GenerateAzureClusterAgentTokenResponse.Builder setTokenTypeBytes(ByteString value)

string token_type = 3;

Parameter
NameDescription
valueByteString

The bytes for tokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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