Class GenerateAzureAccessTokenRequest.Builder (0.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateAzureAccessTokenRequest build()
Returns
TypeDescription
GenerateAzureAccessTokenRequest

buildPartial()

public GenerateAzureAccessTokenRequest buildPartial()
Returns
TypeDescription
GenerateAzureAccessTokenRequest

clear()

public GenerateAzureAccessTokenRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GenerateAzureAccessTokenRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for azureCluster.

getDefaultInstanceForType()

public GenerateAzureAccessTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateAzureAccessTokenRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateAzureAccessTokenRequest other)

public GenerateAzureAccessTokenRequest.Builder mergeFrom(GenerateAzureAccessTokenRequest other)
Parameter
NameDescription
otherGenerateAzureAccessTokenRequest
Returns
TypeDescription
GenerateAzureAccessTokenRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateAzureAccessTokenRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The azureCluster to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for azureCluster to set.

Returns
TypeDescription
GenerateAzureAccessTokenRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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