Class AzureCluster.Builder (0.2.0)

public static final class AzureCluster.Builder extends GeneratedMessageV3.Builder<AzureCluster.Builder> implements AzureClusterOrBuilder

An Anthos cluster running on Azure.

Protobuf type google.cloud.gkemulticloud.v1.AzureCluster

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AzureCluster build()
Returns
TypeDescription
AzureCluster

buildPartial()

public AzureCluster buildPartial()
Returns
TypeDescription
AzureCluster

clear()

public AzureCluster.Builder clear()
Returns
TypeDescription
AzureCluster.Builder
Overrides

clearAnnotations()

public AzureCluster.Builder clearAnnotations()
Returns
TypeDescription
AzureCluster.Builder

clearAuthorization()

public AzureCluster.Builder clearAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

clearAzureClient()

public AzureCluster.Builder clearAzureClient()

Required. Name of the AzureClient that contains authentication configuration for how the Anthos Multi-Cloud API connects to Azure APIs. The AzureClient resource must reside on the same GCP project and region as the AzureCluster. AzureClient names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>. See Resource Names for more details on Google Cloud resource names.

string azure_client = 16 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearAzureRegion()

public AzureCluster.Builder clearAzureRegion()

Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call GetAzureServerConfig to list all supported Azure regions within a given Google Cloud region.

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

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearClusterCaCertificate()

public AzureCluster.Builder clearClusterCaCertificate()

Output only. PEM encoded x509 certificate of the cluster root of trust.

string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearControlPlane()

public AzureCluster.Builder clearControlPlane()

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

clearCreateTime()

public AzureCluster.Builder clearCreateTime()

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

clearDescription()

public AzureCluster.Builder clearDescription()

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearEndpoint()

public AzureCluster.Builder clearEndpoint()

Output only. The endpoint of the cluster's API server.

string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearEtag()

public AzureCluster.Builder clearEtag()

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 13;

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFleet()

public AzureCluster.Builder clearFleet()

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AzureCluster.Builder

clearLoggingConfig()

public AzureCluster.Builder clearLoggingConfig()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
AzureCluster.Builder

clearManagedResources()

public AzureCluster.Builder clearManagedResources()

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

clearName()

public AzureCluster.Builder clearName()

The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>. See Resource Names for more details on GCP resource names.

string name = 1;

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearNetworking()

public AzureCluster.Builder clearNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReconciling()

public AzureCluster.Builder clearReconciling()

Output only. If set, there are currently changes in flight to the cluster.

bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearResourceGroupId()

public AzureCluster.Builder clearResourceGroupId()

Required. The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>

string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearState()

public AzureCluster.Builder clearState()

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearUid()

public AzureCluster.Builder clearUid()

Output only. A globally unique identifier for the cluster.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

clearUpdateTime()

public AzureCluster.Builder clearUpdateTime()

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

clearWorkloadIdentityConfig()

public AzureCluster.Builder clearWorkloadIdentityConfig()

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.Builder

clone()

public AzureCluster.Builder clone()
Returns
TypeDescription
AzureCluster.Builder
Overrides

containsAnnotations(String key)

public boolean containsAnnotations(String key)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations()

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public int getAnnotationsCount()

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getAnnotationsMap()

public Map<String,String> getAnnotationsMap()

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public String getAnnotationsOrDefault(String key, String defaultValue)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public String getAnnotationsOrThrow(String key)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getAuthorization()

public AzureAuthorization getAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureAuthorization

The authorization.

getAuthorizationBuilder()

public AzureAuthorization.Builder getAuthorizationBuilder()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureAuthorization.Builder

getAuthorizationOrBuilder()

public AzureAuthorizationOrBuilder getAuthorizationOrBuilder()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureAuthorizationOrBuilder

getAzureClient()

public String getAzureClient()

Required. Name of the AzureClient that contains authentication configuration for how the Anthos Multi-Cloud API connects to Azure APIs. The AzureClient resource must reside on the same GCP project and region as the AzureCluster. AzureClient names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>. See Resource Names for more details on Google Cloud resource names.

string azure_client = 16 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The azureClient.

getAzureClientBytes()

public ByteString getAzureClientBytes()

Required. Name of the AzureClient that contains authentication configuration for how the Anthos Multi-Cloud API connects to Azure APIs. The AzureClient resource must reside on the same GCP project and region as the AzureCluster. AzureClient names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>. See Resource Names for more details on Google Cloud resource names.

string azure_client = 16 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for azureClient.

getAzureRegion()

public String getAzureRegion()

Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call GetAzureServerConfig to list all supported Azure regions within a given Google Cloud region.

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

Returns
TypeDescription
String

The azureRegion.

getAzureRegionBytes()

public ByteString getAzureRegionBytes()

Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call GetAzureServerConfig to list all supported Azure regions within a given Google Cloud region.

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

Returns
TypeDescription
ByteString

The bytes for azureRegion.

getClusterCaCertificate()

public String getClusterCaCertificate()

Output only. PEM encoded x509 certificate of the cluster root of trust.

string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

public ByteString getClusterCaCertificateBytes()

Output only. PEM encoded x509 certificate of the cluster root of trust.

string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for clusterCaCertificate.

getControlPlane()

public AzureControlPlane getControlPlane()

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureControlPlane

The controlPlane.

getControlPlaneBuilder()

public AzureControlPlane.Builder getControlPlaneBuilder()

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureControlPlane.Builder

getControlPlaneOrBuilder()

public AzureControlPlaneOrBuilder getControlPlaneOrBuilder()

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureControlPlaneOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public AzureCluster getDefaultInstanceForType()
Returns
TypeDescription
AzureCluster

getDescription()

public String getDescription()

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoint()

public String getEndpoint()

Output only. The endpoint of the cluster's API server.

string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The endpoint.

getEndpointBytes()

public ByteString getEndpointBytes()

Output only. The endpoint of the cluster's API server.

string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for endpoint.

getEtag()

public String getEtag()

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 13;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 13;

Returns
TypeDescription
ByteString

The bytes for etag.

getFleet()

public Fleet getFleet()

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Fleet

The fleet.

getFleetBuilder()

public Fleet.Builder getFleetBuilder()

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Fleet.Builder

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
FleetOrBuilder

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LoggingConfig.Builder

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
LoggingConfigOrBuilder

getManagedResources()

public AzureClusterResources getManagedResources()

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureClusterResources

The managedResources.

getManagedResourcesBuilder()

public AzureClusterResources.Builder getManagedResourcesBuilder()

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureClusterResources.Builder

getManagedResourcesOrBuilder()

public AzureClusterResourcesOrBuilder getManagedResourcesOrBuilder()

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureClusterResourcesOrBuilder

getMutableAnnotations()

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>. See Resource Names for more details on GCP resource names.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>. See Resource Names for more details on GCP resource names.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNetworking()

public AzureClusterNetworking getNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureClusterNetworking

The networking.

getNetworkingBuilder()

public AzureClusterNetworking.Builder getNetworkingBuilder()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureClusterNetworking.Builder

getNetworkingOrBuilder()

public AzureClusterNetworkingOrBuilder getNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AzureClusterNetworkingOrBuilder

getReconciling()

public boolean getReconciling()

Output only. If set, there are currently changes in flight to the cluster.

bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The reconciling.

getResourceGroupId()

public String getResourceGroupId()

Required. The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>

string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The resourceGroupId.

getResourceGroupIdBytes()

public ByteString getResourceGroupIdBytes()

Required. The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>

string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for resourceGroupId.

getState()

public AzureCluster.State getState()

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AzureCluster.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. A globally unique identifier for the cluster.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A globally unique identifier for the cluster.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getWorkloadIdentityConfig()

public WorkloadIdentityConfig getWorkloadIdentityConfig()

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkloadIdentityConfig

The workloadIdentityConfig.

getWorkloadIdentityConfigBuilder()

public WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder()

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkloadIdentityConfig.Builder

getWorkloadIdentityConfigOrBuilder()

public WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder()

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
WorkloadIdentityConfigOrBuilder

hasAuthorization()

public boolean hasAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the authorization field is set.

hasControlPlane()

public boolean hasControlPlane()

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the controlPlane field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasFleet()

public boolean hasFleet()

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the fleet field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the loggingConfig field is set.

hasManagedResources()

public boolean hasManagedResources()

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the managedResources field is set.

hasNetworking()

public boolean hasNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the networking field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasWorkloadIdentityConfig()

public boolean hasWorkloadIdentityConfig()

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the workloadIdentityConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAuthorization(AzureAuthorization value)

public AzureCluster.Builder mergeAuthorization(AzureAuthorization value)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureAuthorization
Returns
TypeDescription
AzureCluster.Builder

mergeControlPlane(AzureControlPlane value)

public AzureCluster.Builder mergeControlPlane(AzureControlPlane value)

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureControlPlane
Returns
TypeDescription
AzureCluster.Builder

mergeCreateTime(Timestamp value)

public AzureCluster.Builder mergeCreateTime(Timestamp value)

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AzureCluster.Builder

mergeFleet(Fleet value)

public AzureCluster.Builder mergeFleet(Fleet value)

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueFleet
Returns
TypeDescription
AzureCluster.Builder

mergeFrom(AzureCluster other)

public AzureCluster.Builder mergeFrom(AzureCluster other)
Parameter
NameDescription
otherAzureCluster
Returns
TypeDescription
AzureCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoggingConfig(LoggingConfig value)

public AzureCluster.Builder mergeLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueLoggingConfig
Returns
TypeDescription
AzureCluster.Builder

mergeManagedResources(AzureClusterResources value)

public AzureCluster.Builder mergeManagedResources(AzureClusterResources value)

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAzureClusterResources
Returns
TypeDescription
AzureCluster.Builder

mergeNetworking(AzureClusterNetworking value)

public AzureCluster.Builder mergeNetworking(AzureClusterNetworking value)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureClusterNetworking
Returns
TypeDescription
AzureCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AzureCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AzureCluster.Builder
Overrides

mergeUpdateTime(Timestamp value)

public AzureCluster.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AzureCluster.Builder

mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AzureCluster.Builder mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
AzureCluster.Builder

putAllAnnotations(Map<String,String> values)

public AzureCluster.Builder putAllAnnotations(Map<String,String> values)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
AzureCluster.Builder

putAnnotations(String key, String value)

public AzureCluster.Builder putAnnotations(String key, String value)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
AzureCluster.Builder

removeAnnotations(String key)

public AzureCluster.Builder removeAnnotations(String key)

Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
AzureCluster.Builder

setAuthorization(AzureAuthorization value)

public AzureCluster.Builder setAuthorization(AzureAuthorization value)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureAuthorization
Returns
TypeDescription
AzureCluster.Builder

setAuthorization(AzureAuthorization.Builder builderForValue)

public AzureCluster.Builder setAuthorization(AzureAuthorization.Builder builderForValue)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AzureAuthorization authorization = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAzureAuthorization.Builder
Returns
TypeDescription
AzureCluster.Builder

setAzureClient(String value)

public AzureCluster.Builder setAzureClient(String value)

Required. Name of the AzureClient that contains authentication configuration for how the Anthos Multi-Cloud API connects to Azure APIs. The AzureClient resource must reside on the same GCP project and region as the AzureCluster. AzureClient names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>. See Resource Names for more details on Google Cloud resource names.

string azure_client = 16 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The azureClient to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setAzureClientBytes(ByteString value)

public AzureCluster.Builder setAzureClientBytes(ByteString value)

Required. Name of the AzureClient that contains authentication configuration for how the Anthos Multi-Cloud API connects to Azure APIs. The AzureClient resource must reside on the same GCP project and region as the AzureCluster. AzureClient names are formatted as projects/<project-number>/locations/<region>/azureClients/<client-id>. See Resource Names for more details on Google Cloud resource names.

string azure_client = 16 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for azureClient to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setAzureRegion(String value)

public AzureCluster.Builder setAzureRegion(String value)

Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call GetAzureServerConfig to list all supported Azure regions within a given Google Cloud region.

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

Parameter
NameDescription
valueString

The azureRegion to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setAzureRegionBytes(ByteString value)

public AzureCluster.Builder setAzureRegionBytes(ByteString value)

Required. The Azure region where the cluster runs. Each Google Cloud region supports a subset of nearby Azure regions. You can call GetAzureServerConfig to list all supported Azure regions within a given Google Cloud region.

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

Parameter
NameDescription
valueByteString

The bytes for azureRegion to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setClusterCaCertificate(String value)

public AzureCluster.Builder setClusterCaCertificate(String value)

Output only. PEM encoded x509 certificate of the cluster root of trust.

string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The clusterCaCertificate to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setClusterCaCertificateBytes(ByteString value)

public AzureCluster.Builder setClusterCaCertificateBytes(ByteString value)

Output only. PEM encoded x509 certificate of the cluster root of trust.

string cluster_ca_certificate = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for clusterCaCertificate to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setControlPlane(AzureControlPlane value)

public AzureCluster.Builder setControlPlane(AzureControlPlane value)

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureControlPlane
Returns
TypeDescription
AzureCluster.Builder

setControlPlane(AzureControlPlane.Builder builderForValue)

public AzureCluster.Builder setControlPlane(AzureControlPlane.Builder builderForValue)

Required. Configuration related to the cluster control plane.

.google.cloud.gkemulticloud.v1.AzureControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAzureControlPlane.Builder
Returns
TypeDescription
AzureCluster.Builder

setCreateTime(Timestamp value)

public AzureCluster.Builder setCreateTime(Timestamp value)

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AzureCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AzureCluster.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which this cluster was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AzureCluster.Builder

setDescription(String value)

public AzureCluster.Builder setDescription(String value)

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AzureCluster.Builder setDescriptionBytes(ByteString value)

Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setEndpoint(String value)

public AzureCluster.Builder setEndpoint(String value)

Output only. The endpoint of the cluster's API server.

string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The endpoint to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public AzureCluster.Builder setEndpointBytes(ByteString value)

Output only. The endpoint of the cluster's API server.

string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for endpoint to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setEtag(String value)

public AzureCluster.Builder setEtag(String value)

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 13;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public AzureCluster.Builder setEtagBytes(ByteString value)

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 13;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFleet(Fleet value)

public AzureCluster.Builder setFleet(Fleet value)

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueFleet
Returns
TypeDescription
AzureCluster.Builder

setFleet(Fleet.Builder builderForValue)

public AzureCluster.Builder setFleet(Fleet.Builder builderForValue)

Optional. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueFleet.Builder
Returns
TypeDescription
AzureCluster.Builder

setLoggingConfig(LoggingConfig value)

public AzureCluster.Builder setLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueLoggingConfig
Returns
TypeDescription
AzureCluster.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public AzureCluster.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 23 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueLoggingConfig.Builder
Returns
TypeDescription
AzureCluster.Builder

setManagedResources(AzureClusterResources value)

public AzureCluster.Builder setManagedResources(AzureClusterResources value)

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAzureClusterResources
Returns
TypeDescription
AzureCluster.Builder

setManagedResources(AzureClusterResources.Builder builderForValue)

public AzureCluster.Builder setManagedResources(AzureClusterResources.Builder builderForValue)

Output only. Mananged Azure resources for this cluster.

.google.cloud.gkemulticloud.v1.AzureClusterResources managed_resources = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueAzureClusterResources.Builder
Returns
TypeDescription
AzureCluster.Builder

setName(String value)

public AzureCluster.Builder setName(String value)

The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>. See Resource Names for more details on GCP resource names.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AzureCluster.Builder setNameBytes(ByteString value)

The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>. See Resource Names for more details on GCP resource names.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setNetworking(AzureClusterNetworking value)

public AzureCluster.Builder setNetworking(AzureClusterNetworking value)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueAzureClusterNetworking
Returns
TypeDescription
AzureCluster.Builder

setNetworking(AzureClusterNetworking.Builder builderForValue)

public AzureCluster.Builder setNetworking(AzureClusterNetworking.Builder builderForValue)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AzureClusterNetworking networking = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueAzureClusterNetworking.Builder
Returns
TypeDescription
AzureCluster.Builder

setReconciling(boolean value)

public AzureCluster.Builder setReconciling(boolean value)

Output only. If set, there are currently changes in flight to the cluster.

bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueboolean

The reconciling to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

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

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

setResourceGroupId(String value)

public AzureCluster.Builder setResourceGroupId(String value)

Required. The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>

string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The resourceGroupId to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setResourceGroupIdBytes(ByteString value)

public AzureCluster.Builder setResourceGroupIdBytes(ByteString value)

Required. The ARM ID of the resource group where the cluster resources are deployed. For example: /subscriptions/<subscription-id>/resourceGroups/<resource-group-name>

string resource_group_id = 17 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for resourceGroupId to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setState(AzureCluster.State value)

public AzureCluster.Builder setState(AzureCluster.State value)

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueAzureCluster.State

The state to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setStateValue(int value)

public AzureCluster.Builder setStateValue(int value)

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AzureCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setUid(String value)

public AzureCluster.Builder setUid(String value)

Output only. A globally unique identifier for the cluster.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AzureCluster.Builder setUidBytes(ByteString value)

Output only. A globally unique identifier for the cluster.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
AzureCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AzureCluster.Builder setUpdateTime(Timestamp value)

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
AzureCluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AzureCluster.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which this cluster was last updated.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
AzureCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AzureCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
AzureCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

public AzureCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

Output only. Workload Identity settings.

.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueWorkloadIdentityConfig.Builder
Returns
TypeDescription
AzureCluster.Builder