Class GenerateAzureAccessTokenRequest.Builder (0.53.0)

public static final class GenerateAzureAccessTokenRequest.Builder extends GeneratedMessageV3.Builder<GenerateAzureAccessTokenRequest.Builder> implements GenerateAzureAccessTokenRequestOrBuilder

Request message for AzureClusters.GenerateAzureAccessToken method.

Protobuf type google.cloud.gkemulticloud.v1.GenerateAzureAccessTokenRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAzureAccessTokenRequest build()
Returns
Type Description
GenerateAzureAccessTokenRequest

buildPartial()

public GenerateAzureAccessTokenRequest buildPartial()
Returns
Type Description
GenerateAzureAccessTokenRequest

clear()

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

clearAzureCluster()

public GenerateAzureAccessTokenRequest.Builder clearAzureCluster()

Required. The name of the AzureCluster resource to authenticate to.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
GenerateAzureAccessTokenRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAzureCluster()

public String getAzureCluster()

Required. The name of the AzureCluster resource to authenticate to.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
String

The azureCluster.

getAzureClusterBytes()

public ByteString getAzureClusterBytes()

Required. The name of the AzureCluster resource to authenticate to.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Returns
Type Description
ByteString

The bytes for azureCluster.

getDefaultInstanceForType()

public GenerateAzureAccessTokenRequest getDefaultInstanceForType()
Returns
Type Description
GenerateAzureAccessTokenRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateAzureAccessTokenRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAzureCluster(String value)

public GenerateAzureAccessTokenRequest.Builder setAzureCluster(String value)

Required. The name of the AzureCluster resource to authenticate to.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
Name Description
value String

The azureCluster to set.

Returns
Type Description
GenerateAzureAccessTokenRequest.Builder

This builder for chaining.

setAzureClusterBytes(ByteString value)

public GenerateAzureAccessTokenRequest.Builder setAzureClusterBytes(ByteString value)

Required. The name of the AzureCluster resource to authenticate to.

AzureCluster names are formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

See Resource Names for more details on Google Cloud resource names.

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

Parameter
Name Description
value ByteString

The bytes for azureCluster to set.

Returns
Type Description
GenerateAzureAccessTokenRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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