Class CreateAzureClientRequest.Builder (0.47.0)

public static final class CreateAzureClientRequest.Builder extends GeneratedMessageV3.Builder<CreateAzureClientRequest.Builder> implements CreateAzureClientRequestOrBuilder

Request message for AzureClusters.CreateAzureClient method.

Protobuf type google.cloud.gkemulticloud.v1.CreateAzureClientRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureClientRequest build()
Returns
Type Description
CreateAzureClientRequest

buildPartial()

public CreateAzureClientRequest buildPartial()
Returns
Type Description
CreateAzureClientRequest

clear()

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

clearAzureClient()

public CreateAzureClientRequest.Builder clearAzureClient()

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateAzureClientRequest.Builder

clearAzureClientId()

public CreateAzureClientRequest.Builder clearAzureClientId()

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

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

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

Returns
Type Description
CreateAzureClientRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateAzureClientRequest.Builder clearParent()

Required. The parent location where this AzureClient 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
CreateAzureClientRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateAzureClientRequest.Builder clearValidateOnly()

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

bool validate_only = 3;

Returns
Type Description
CreateAzureClientRequest.Builder

This builder for chaining.

clone()

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

getAzureClient()

public AzureClient getAzureClient()

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClient

The azureClient.

getAzureClientBuilder()

public AzureClient.Builder getAzureClientBuilder()

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClient.Builder

getAzureClientId()

public String getAzureClientId()

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

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

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

Returns
Type Description
String

The azureClientId.

getAzureClientIdBytes()

public ByteString getAzureClientIdBytes()

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

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

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

Returns
Type Description
ByteString

The bytes for azureClientId.

getAzureClientOrBuilder()

public AzureClientOrBuilder getAzureClientOrBuilder()

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AzureClientOrBuilder

getDefaultInstanceForType()

public CreateAzureClientRequest getDefaultInstanceForType()
Returns
Type Description
CreateAzureClientRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The parent location where this AzureClient 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 AzureClient 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 client.

bool validate_only = 3;

Returns
Type Description
boolean

The validateOnly.

hasAzureClient()

public boolean hasAzureClient()

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the azureClient field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAzureClient(AzureClient value)

public CreateAzureClientRequest.Builder mergeAzureClient(AzureClient value)

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureClient
Returns
Type Description
CreateAzureClientRequest.Builder

mergeFrom(CreateAzureClientRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAzureClient(AzureClient value)

public CreateAzureClientRequest.Builder setAzureClient(AzureClient value)

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AzureClient
Returns
Type Description
CreateAzureClientRequest.Builder

setAzureClient(AzureClient.Builder builderForValue)

public CreateAzureClientRequest.Builder setAzureClient(AzureClient.Builder builderForValue)

Required. The specification of the AzureClient to create.

.google.cloud.gkemulticloud.v1.AzureClient azure_client = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AzureClient.Builder
Returns
Type Description
CreateAzureClientRequest.Builder

setAzureClientId(String value)

public CreateAzureClientRequest.Builder setAzureClientId(String value)

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

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

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

Parameter
Name Description
value String

The azureClientId to set.

Returns
Type Description
CreateAzureClientRequest.Builder

This builder for chaining.

setAzureClientIdBytes(ByteString value)

public CreateAzureClientRequest.Builder setAzureClientIdBytes(ByteString value)

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

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

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

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

Parameter
Name Description
value ByteString

The bytes for azureClientId to set.

Returns
Type Description
CreateAzureClientRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateAzureClientRequest.Builder setParent(String value)

Required. The parent location where this AzureClient 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
CreateAzureClientRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateAzureClientRequest.Builder setParentBytes(ByteString value)

Required. The parent location where this AzureClient 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
CreateAzureClientRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateAzureClientRequest.Builder setValidateOnly(boolean value)

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

bool validate_only = 3;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateAzureClientRequest.Builder

This builder for chaining.