Class CreateAzureClusterRequest.Builder (0.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureClusterRequest build()
Returns
TypeDescription
CreateAzureClusterRequest

buildPartial()

public CreateAzureClusterRequest buildPartial()
Returns
TypeDescription
CreateAzureClusterRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAzureClusterRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateAzureClusterRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateAzureClusterRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAzureClusterRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the azureCluster field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAzureCluster
Returns
TypeDescription
CreateAzureClusterRequest.Builder

mergeFrom(CreateAzureClusterRequest other)

public CreateAzureClusterRequest.Builder mergeFrom(CreateAzureClusterRequest other)
Parameter
NameDescription
otherCreateAzureClusterRequest
Returns
TypeDescription
CreateAzureClusterRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The azureClusterId to set.

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

The bytes for azureClusterId to set.

Returns
TypeDescription
CreateAzureClusterRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAzureClusterRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateAzureClusterRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAzureClusterRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateAzureClusterRequest.Builder

This builder for chaining.