Class CreateAzureClientRequest.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateAzureClientRequest build()
Returns
TypeDescription
CreateAzureClientRequest

buildPartial()

public CreateAzureClientRequest buildPartial()
Returns
TypeDescription
CreateAzureClientRequest

clear()

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

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

Returns
TypeDescription
CreateAzureClientRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateAzureClientRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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 40 characters.

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

Returns
TypeDescription
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 40 characters.

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

Returns
TypeDescription
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
TypeDescription
AzureClientOrBuilder

getDefaultInstanceForType()

public CreateAzureClientRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateAzureClientRequest

getDescriptorForType()

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

Whether the azureClient field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(CreateAzureClientRequest other)

public CreateAzureClientRequest.Builder mergeFrom(CreateAzureClientRequest other)
Parameter
NameDescription
otherCreateAzureClientRequest
Returns
TypeDescription
CreateAzureClientRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAzureClientRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAzureClient
Returns
TypeDescription
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
NameDescription
builderForValueAzureClient.Builder
Returns
TypeDescription
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 40 characters.

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

Parameter
NameDescription
valueString

The azureClientId to set.

Returns
TypeDescription
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 40 characters.

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

Parameter
NameDescription
valueByteString

The bytes for azureClientId to set.

Returns
TypeDescription
CreateAzureClientRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The validateOnly to set.

Returns
TypeDescription
CreateAzureClientRequest.Builder

This builder for chaining.