Class GenerateAzureClusterAgentTokenRequest.Builder (0.38.0)

public static final class GenerateAzureClusterAgentTokenRequest.Builder extends GeneratedMessageV3.Builder<GenerateAzureClusterAgentTokenRequest.Builder> implements GenerateAzureClusterAgentTokenRequestOrBuilder

Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureClusterAgentTokenRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAzureClusterAgentTokenRequest build()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest

buildPartial()

public GenerateAzureClusterAgentTokenRequest buildPartial()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest

clear()

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

clearAudience()

public GenerateAzureClusterAgentTokenRequest.Builder clearAudience()

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearAzureCluster()

public GenerateAzureClusterAgentTokenRequest.Builder clearAzureCluster()

Required.

string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGrantType()

public GenerateAzureClusterAgentTokenRequest.Builder clearGrantType()

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearNodePoolId()

public GenerateAzureClusterAgentTokenRequest.Builder clearNodePoolId()

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOptions()

public GenerateAzureClusterAgentTokenRequest.Builder clearOptions()

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearRequestedTokenType()

public GenerateAzureClusterAgentTokenRequest.Builder clearRequestedTokenType()

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearScope()

public GenerateAzureClusterAgentTokenRequest.Builder clearScope()

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearSubjectToken()

public GenerateAzureClusterAgentTokenRequest.Builder clearSubjectToken()

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearSubjectTokenType()

public GenerateAzureClusterAgentTokenRequest.Builder clearSubjectTokenType()

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clearVersion()

public GenerateAzureClusterAgentTokenRequest.Builder clearVersion()

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

clone()

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

getAudience()

public String getAudience()

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The audience.

getAudienceBytes()

public ByteString getAudienceBytes()

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for audience.

getAzureCluster()

public String getAzureCluster()

Required.

string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The azureCluster.

getAzureClusterBytes()

public ByteString getAzureClusterBytes()

Required.

string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for azureCluster.

getDefaultInstanceForType()

public GenerateAzureClusterAgentTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGrantType()

public String getGrantType()

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The grantType.

getGrantTypeBytes()

public ByteString getGrantTypeBytes()

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for grantType.

getNodePoolId()

public String getNodePoolId()

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The nodePoolId.

getNodePoolIdBytes()

public ByteString getNodePoolIdBytes()

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for nodePoolId.

getOptions()

public String getOptions()

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The options.

getOptionsBytes()

public ByteString getOptionsBytes()

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for options.

getRequestedTokenType()

public String getRequestedTokenType()

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The requestedTokenType.

getRequestedTokenTypeBytes()

public ByteString getRequestedTokenTypeBytes()

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for requestedTokenType.

getScope()

public String getScope()

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The scope.

getScopeBytes()

public ByteString getScopeBytes()

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for scope.

getSubjectToken()

public String getSubjectToken()

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The subjectToken.

getSubjectTokenBytes()

public ByteString getSubjectTokenBytes()

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for subjectToken.

getSubjectTokenType()

public String getSubjectTokenType()

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The subjectTokenType.

getSubjectTokenTypeBytes()

public ByteString getSubjectTokenTypeBytes()

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for subjectTokenType.

getVersion()

public String getVersion()

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for version.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateAzureClusterAgentTokenRequest other)

public GenerateAzureClusterAgentTokenRequest.Builder mergeFrom(GenerateAzureClusterAgentTokenRequest other)
Parameter
NameDescription
otherGenerateAzureClusterAgentTokenRequest
Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAudience(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setAudience(String value)

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The audience to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setAudienceBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setAudienceBytes(ByteString value)

Optional.

string audience = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for audience to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setAzureCluster(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setAzureCluster(String value)

Required.

string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The azureCluster to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setAzureClusterBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setAzureClusterBytes(ByteString value)

Required.

string azure_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for azureCluster to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGrantType(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setGrantType(String value)

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The grantType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setGrantTypeBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setGrantTypeBytes(ByteString value)

Optional.

string grant_type = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for grantType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setNodePoolId(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setNodePoolId(String value)

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The nodePoolId to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setNodePoolIdBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setNodePoolIdBytes(ByteString value)

Optional.

string node_pool_id = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for nodePoolId to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setOptions(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setOptions(String value)

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The options to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setOptionsBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setOptionsBytes(ByteString value)

Optional.

string options = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for options to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

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

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

setRequestedTokenType(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setRequestedTokenType(String value)

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The requestedTokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setRequestedTokenTypeBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setRequestedTokenTypeBytes(ByteString value)

Optional.

string requested_token_type = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for requestedTokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setScope(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setScope(String value)

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The scope to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setScopeBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setScopeBytes(ByteString value)

Optional.

string scope = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for scope to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setSubjectToken(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setSubjectToken(String value)

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The subjectToken to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setSubjectTokenBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setSubjectTokenBytes(ByteString value)

Required.

string subject_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for subjectToken to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setSubjectTokenType(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setSubjectTokenType(String value)

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The subjectTokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setSubjectTokenTypeBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setSubjectTokenTypeBytes(ByteString value)

Required.

string subject_token_type = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for subjectTokenType to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVersion(String value)

public GenerateAzureClusterAgentTokenRequest.Builder setVersion(String value)

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public GenerateAzureClusterAgentTokenRequest.Builder setVersionBytes(ByteString value)

Required.

string version = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
GenerateAzureClusterAgentTokenRequest.Builder

This builder for chaining.