Class CreateAzureClusterRequest.Builder (0.52.0)

public static final class CreateAzureClusterRequest.Builder extends GeneratedMessageV3.Builder<CreateAzureClusterRequest.Builder> implements CreateAzureClusterRequestOrBuilder

Request message for AzureClusters.CreateAzureCluster method.

Protobuf type google.cloud.gkemulticloud.v1.CreateAzureClusterRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureClusterRequest build()
Returns
Type Description
CreateAzureClusterRequest

buildPartial()

public CreateAzureClusterRequest buildPartial()
Returns
Type Description
CreateAzureClusterRequest

clear()

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

clearAzureCluster()

public CreateAzureClusterRequest.Builder clearAzureCluster()

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAzureClusterRequest.Builder

clearAzureClusterId()

public CreateAzureClusterRequest.Builder clearAzureClusterId()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureCluster resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

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

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateAzureClusterRequest.Builder clearParent()

Required. The parent location where this AzureCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

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

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateAzureClusterRequest.Builder clearValidateOnly()

If set, only validate the request, but do not actually create the cluster.

bool validate_only = 4;

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

clone()

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

getAzureCluster()

public AzureCluster getAzureCluster()

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureCluster

The azureCluster.

getAzureClusterBuilder()

public AzureCluster.Builder getAzureClusterBuilder()

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureCluster.Builder

getAzureClusterId()

public String getAzureClusterId()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureCluster resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

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

Returns
Type Description
String

The azureClusterId.

getAzureClusterIdBytes()

public ByteString getAzureClusterIdBytes()

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureCluster resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

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

Returns
Type Description
ByteString

The bytes for azureClusterId.

getAzureClusterOrBuilder()

public AzureClusterOrBuilder getAzureClusterOrBuilder()

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClusterOrBuilder

getDefaultInstanceForType()

public CreateAzureClusterRequest getDefaultInstanceForType()
Returns
Type Description
CreateAzureClusterRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent location where this AzureCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent location where this AzureCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

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

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public boolean getValidateOnly()

If set, only validate the request, but do not actually create the cluster.

bool validate_only = 4;

Returns
Type Description
boolean

The validateOnly.

hasAzureCluster()

public boolean hasAzureCluster()

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the azureCluster field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAzureCluster(AzureCluster value)

public CreateAzureClusterRequest.Builder mergeAzureCluster(AzureCluster value)

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureCluster
Returns
Type Description
CreateAzureClusterRequest.Builder

mergeFrom(CreateAzureClusterRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAzureCluster(AzureCluster value)

public CreateAzureClusterRequest.Builder setAzureCluster(AzureCluster value)

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureCluster
Returns
Type Description
CreateAzureClusterRequest.Builder

setAzureCluster(AzureCluster.Builder builderForValue)

public CreateAzureClusterRequest.Builder setAzureCluster(AzureCluster.Builder builderForValue)

Required. The specification of the AzureCluster to create.

.google.cloud.gkemulticloud.v1.AzureCluster azure_cluster = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AzureCluster.Builder
Returns
Type Description
CreateAzureClusterRequest.Builder

setAzureClusterId(String value)

public CreateAzureClusterRequest.Builder setAzureClusterId(String value)

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureCluster resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

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

Parameter
Name Description
value String

The azureClusterId to set.

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

setAzureClusterIdBytes(ByteString value)

public CreateAzureClusterRequest.Builder setAzureClusterIdBytes(ByteString value)

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureCluster resource name formatted as projects/<project-id>/locations/<region>/azureClusters/<cluster-id>.

Valid characters are /a-z-/. Cannot be longer than 63 characters.

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

Parameter
Name Description
value ByteString

The bytes for azureClusterId to set.

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAzureClusterRequest.Builder setParent(String value)

Required. The parent location where this AzureCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAzureClusterRequest.Builder setParentBytes(ByteString value)

Required. The parent location where this AzureCluster resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

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

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateAzureClusterRequest.Builder setValidateOnly(boolean value)

If set, only validate the request, but do not actually create the cluster.

bool validate_only = 4;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateAzureClusterRequest.Builder

This builder for chaining.