Class AwsCluster.Builder (0.44.0)

public static final class AwsCluster.Builder extends GeneratedMessageV3.Builder<AwsCluster.Builder> implements AwsClusterOrBuilder

An Anthos cluster running on AWS.

Protobuf type google.cloud.gkemulticloud.v1.AwsCluster

Implements

AwsClusterOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends AwsClusterError> values)

public AwsCluster.Builder addAllErrors(Iterable<? extends AwsClusterError> values)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkemulticloud.v1.AwsClusterError>
Returns
Type Description
AwsCluster.Builder

addErrors(AwsClusterError value)

public AwsCluster.Builder addErrors(AwsClusterError value)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AwsClusterError
Returns
Type Description
AwsCluster.Builder

addErrors(AwsClusterError.Builder builderForValue)

public AwsCluster.Builder addErrors(AwsClusterError.Builder builderForValue)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AwsClusterError.Builder
Returns
Type Description
AwsCluster.Builder

addErrors(int index, AwsClusterError value)

public AwsCluster.Builder addErrors(int index, AwsClusterError value)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AwsClusterError
Returns
Type Description
AwsCluster.Builder

addErrors(int index, AwsClusterError.Builder builderForValue)

public AwsCluster.Builder addErrors(int index, AwsClusterError.Builder builderForValue)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AwsClusterError.Builder
Returns
Type Description
AwsCluster.Builder

addErrorsBuilder()

public AwsClusterError.Builder addErrorsBuilder()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsClusterError.Builder

addErrorsBuilder(int index)

public AwsClusterError.Builder addErrorsBuilder(int index)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AwsClusterError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsCluster build()
Returns
Type Description
AwsCluster

buildPartial()

public AwsCluster buildPartial()
Returns
Type Description
AwsCluster

clear()

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

clearAnnotations()

public AwsCluster.Builder clearAnnotations()
Returns
Type Description
AwsCluster.Builder

clearAuthorization()

public AwsCluster.Builder clearAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsCluster.Builder

clearAwsRegion()

public AwsCluster.Builder clearAwsRegion()

Required. The AWS region where the cluster runs.

Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearBinaryAuthorization()

public AwsCluster.Builder clearBinaryAuthorization()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsCluster.Builder

clearClusterCaCertificate()

public AwsCluster.Builder clearClusterCaCertificate()

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

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearControlPlane()

public AwsCluster.Builder clearControlPlane()

Required. Configuration related to the cluster control plane.

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

Returns
Type Description
AwsCluster.Builder

clearCreateTime()

public AwsCluster.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
Type Description
AwsCluster.Builder

clearDescription()

public AwsCluster.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
Type Description
AwsCluster.Builder

This builder for chaining.

clearEndpoint()

public AwsCluster.Builder clearEndpoint()

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

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearErrors()

public AwsCluster.Builder clearErrors()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AwsCluster.Builder

clearEtag()

public AwsCluster.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
Type Description
AwsCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFleet()

public AwsCluster.Builder clearFleet()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsCluster.Builder

clearLoggingConfig()

public AwsCluster.Builder clearLoggingConfig()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
AwsCluster.Builder

clearMonitoringConfig()

public AwsCluster.Builder clearMonitoringConfig()

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsCluster.Builder

clearName()

public AwsCluster.Builder clearName()

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>.

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

string name = 1;

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearNetworking()

public AwsCluster.Builder clearNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsCluster.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReconciling()

public AwsCluster.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
Type Description
AwsCluster.Builder

This builder for chaining.

clearState()

public AwsCluster.Builder clearState()

Output only. The current state of the cluster.

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearUid()

public AwsCluster.Builder clearUid()

Output only. A globally unique identifier for the cluster.

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

clearUpdateTime()

public AwsCluster.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
Type Description
AwsCluster.Builder

clearWorkloadIdentityConfig()

public AwsCluster.Builder clearWorkloadIdentityConfig()

Output only. Workload Identity settings.

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

Returns
Type Description
AwsCluster.Builder

clone()

public AwsCluster.Builder clone()
Returns
Type Description
AwsCluster.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. Key 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
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
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. Key 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
Type Description
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. Key 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
Type Description
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. Key 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
Name Description
key String
defaultValue String
Returns
Type Description
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. Key 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
Name Description
key String
Returns
Type Description
String

getAuthorization()

public AwsAuthorization getAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsAuthorization

The authorization.

getAuthorizationBuilder()

public AwsAuthorization.Builder getAuthorizationBuilder()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsAuthorization.Builder

getAuthorizationOrBuilder()

public AwsAuthorizationOrBuilder getAuthorizationOrBuilder()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsAuthorizationOrBuilder

getAwsRegion()

public String getAwsRegion()

Required. The AWS region where the cluster runs.

Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.

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

Returns
Type Description
String

The awsRegion.

getAwsRegionBytes()

public ByteString getAwsRegionBytes()

Required. The AWS region where the cluster runs.

Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.

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

Returns
Type Description
ByteString

The bytes for awsRegion.

getBinaryAuthorization()

public BinaryAuthorization getBinaryAuthorization()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BinaryAuthorization

The binaryAuthorization.

getBinaryAuthorizationBuilder()

public BinaryAuthorization.Builder getBinaryAuthorizationBuilder()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BinaryAuthorization.Builder

getBinaryAuthorizationOrBuilder()

public BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BinaryAuthorizationOrBuilder

getClusterCaCertificate()

public String getClusterCaCertificate()

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

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

Returns
Type Description
String

The clusterCaCertificate.

getClusterCaCertificateBytes()

public ByteString getClusterCaCertificateBytes()

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

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

Returns
Type Description
ByteString

The bytes for clusterCaCertificate.

getControlPlane()

public AwsControlPlane getControlPlane()

Required. Configuration related to the cluster control plane.

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

Returns
Type Description
AwsControlPlane

The controlPlane.

getControlPlaneBuilder()

public AwsControlPlane.Builder getControlPlaneBuilder()

Required. Configuration related to the cluster control plane.

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

Returns
Type Description
AwsControlPlane.Builder

getControlPlaneOrBuilder()

public AwsControlPlaneOrBuilder getControlPlaneOrBuilder()

Required. Configuration related to the cluster control plane.

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

Returns
Type Description
AwsControlPlaneOrBuilder

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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AwsCluster getDefaultInstanceForType()
Returns
Type Description
AwsCluster

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
Type Description
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
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for endpoint.

getErrors(int index)

public AwsClusterError getErrors(int index)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AwsClusterError

getErrorsBuilder(int index)

public AwsClusterError.Builder getErrorsBuilder(int index)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AwsClusterError.Builder

getErrorsBuilderList()

public List<AwsClusterError.Builder> getErrorsBuilderList()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public List<AwsClusterError> getErrorsList()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<AwsClusterError>

getErrorsOrBuilder(int index)

public AwsClusterErrorOrBuilder getErrorsOrBuilder(int index)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AwsClusterErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends AwsClusterErrorOrBuilder> getErrorsOrBuilderList()

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkemulticloud.v1.AwsClusterErrorOrBuilder>

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
Type Description
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
Type Description
ByteString

The bytes for etag.

getFleet()

public Fleet getFleet()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fleet

The fleet.

getFleetBuilder()

public Fleet.Builder getFleetBuilder()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fleet.Builder

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FleetOrBuilder

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
LoggingConfig

The loggingConfig.

getLoggingConfigBuilder()

public LoggingConfig.Builder getLoggingConfigBuilder()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
LoggingConfig.Builder

getLoggingConfigOrBuilder()

public LoggingConfigOrBuilder getLoggingConfigOrBuilder()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
LoggingConfigOrBuilder

getMonitoringConfig()

public MonitoringConfig getMonitoringConfig()

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MonitoringConfig

The monitoringConfig.

getMonitoringConfigBuilder()

public MonitoringConfig.Builder getMonitoringConfigBuilder()

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MonitoringConfig.Builder

getMonitoringConfigOrBuilder()

public MonitoringConfigOrBuilder getMonitoringConfigOrBuilder()

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MonitoringConfigOrBuilder

getMutableAnnotations() (deprecated)

public Map<String,String> getMutableAnnotations()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>.

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>.

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetworking()

public AwsClusterNetworking getNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsClusterNetworking

The networking.

getNetworkingBuilder()

public AwsClusterNetworking.Builder getNetworkingBuilder()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsClusterNetworking.Builder

getNetworkingOrBuilder()

public AwsClusterNetworkingOrBuilder getNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AwsClusterNetworkingOrBuilder

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
Type Description
boolean

The reconciling.

getState()

public AwsCluster.State getState()

Output only. The current state of the cluster.

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

Returns
Type Description
AwsCluster.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the cluster.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getWorkloadIdentityConfig()

public WorkloadIdentityConfig getWorkloadIdentityConfig()

Output only. Workload Identity settings.

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

Returns
Type Description
WorkloadIdentityConfig

The workloadIdentityConfig.

getWorkloadIdentityConfigBuilder()

public WorkloadIdentityConfig.Builder getWorkloadIdentityConfigBuilder()

Output only. Workload Identity settings.

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

Returns
Type Description
WorkloadIdentityConfig.Builder

getWorkloadIdentityConfigOrBuilder()

public WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder()

Output only. Workload Identity settings.

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

Returns
Type Description
WorkloadIdentityConfigOrBuilder

hasAuthorization()

public boolean hasAuthorization()

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the authorization field is set.

hasBinaryAuthorization()

public boolean hasBinaryAuthorization()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the binaryAuthorization field is set.

hasControlPlane()

public boolean hasControlPlane()

Required. Configuration related to the cluster control plane.

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

Returns
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hasFleet()

public boolean hasFleet()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the fleet field is set.

hasLoggingConfig()

public boolean hasLoggingConfig()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
boolean

Whether the loggingConfig field is set.

hasMonitoringConfig()

public boolean hasMonitoringConfig()

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the monitoringConfig field is set.

hasNetworking()

public boolean hasNetworking()

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

hasWorkloadIdentityConfig()

public boolean hasWorkloadIdentityConfig()

Output only. Workload Identity settings.

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

Returns
Type Description
boolean

Whether the workloadIdentityConfig field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAuthorization(AwsAuthorization value)

public AwsCluster.Builder mergeAuthorization(AwsAuthorization value)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsAuthorization
Returns
Type Description
AwsCluster.Builder

mergeBinaryAuthorization(BinaryAuthorization value)

public AwsCluster.Builder mergeBinaryAuthorization(BinaryAuthorization value)

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BinaryAuthorization
Returns
Type Description
AwsCluster.Builder

mergeControlPlane(AwsControlPlane value)

public AwsCluster.Builder mergeControlPlane(AwsControlPlane value)

Required. Configuration related to the cluster control plane.

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

Parameter
Name Description
value AwsControlPlane
Returns
Type Description
AwsCluster.Builder

mergeCreateTime(Timestamp value)

public AwsCluster.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
Name Description
value Timestamp
Returns
Type Description
AwsCluster.Builder

mergeFleet(Fleet value)

public AwsCluster.Builder mergeFleet(Fleet value)

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Fleet
Returns
Type Description
AwsCluster.Builder

mergeFrom(AwsCluster other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoggingConfig(LoggingConfig value)

public AwsCluster.Builder mergeLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
AwsCluster.Builder

mergeMonitoringConfig(MonitoringConfig value)

public AwsCluster.Builder mergeMonitoringConfig(MonitoringConfig value)

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
AwsCluster.Builder

mergeNetworking(AwsClusterNetworking value)

public AwsCluster.Builder mergeNetworking(AwsClusterNetworking value)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsClusterNetworking
Returns
Type Description
AwsCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AwsCluster.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
Name Description
value Timestamp
Returns
Type Description
AwsCluster.Builder

mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AwsCluster.Builder mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

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

Parameter
Name Description
value WorkloadIdentityConfig
Returns
Type Description
AwsCluster.Builder

putAllAnnotations(Map<String,String> values)

public AwsCluster.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. Key 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
Name Description
values Map<String,String>
Returns
Type Description
AwsCluster.Builder

putAnnotations(String key, String value)

public AwsCluster.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. Key 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
Name Description
key String
value String
Returns
Type Description
AwsCluster.Builder

removeAnnotations(String key)

public AwsCluster.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. Key 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
Name Description
key String
Returns
Type Description
AwsCluster.Builder

removeErrors(int index)

public AwsCluster.Builder removeErrors(int index)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
AwsCluster.Builder

setAuthorization(AwsAuthorization value)

public AwsCluster.Builder setAuthorization(AwsAuthorization value)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsAuthorization
Returns
Type Description
AwsCluster.Builder

setAuthorization(AwsAuthorization.Builder builderForValue)

public AwsCluster.Builder setAuthorization(AwsAuthorization.Builder builderForValue)

Required. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AwsAuthorization.Builder
Returns
Type Description
AwsCluster.Builder

setAwsRegion(String value)

public AwsCluster.Builder setAwsRegion(String value)

Required. The AWS region where the cluster runs.

Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.

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

Parameter
Name Description
value String

The awsRegion to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setAwsRegionBytes(ByteString value)

public AwsCluster.Builder setAwsRegionBytes(ByteString value)

Required. The AWS region where the cluster runs.

Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.

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

Parameter
Name Description
value ByteString

The bytes for awsRegion to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setBinaryAuthorization(BinaryAuthorization value)

public AwsCluster.Builder setBinaryAuthorization(BinaryAuthorization value)

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BinaryAuthorization
Returns
Type Description
AwsCluster.Builder

setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

public AwsCluster.Builder setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 22 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BinaryAuthorization.Builder
Returns
Type Description
AwsCluster.Builder

setClusterCaCertificate(String value)

public AwsCluster.Builder setClusterCaCertificate(String value)

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

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

Parameter
Name Description
value String

The clusterCaCertificate to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setClusterCaCertificateBytes(ByteString value)

public AwsCluster.Builder setClusterCaCertificateBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for clusterCaCertificate to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setControlPlane(AwsControlPlane value)

public AwsCluster.Builder setControlPlane(AwsControlPlane value)

Required. Configuration related to the cluster control plane.

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

Parameter
Name Description
value AwsControlPlane
Returns
Type Description
AwsCluster.Builder

setControlPlane(AwsControlPlane.Builder builderForValue)

public AwsCluster.Builder setControlPlane(AwsControlPlane.Builder builderForValue)

Required. Configuration related to the cluster control plane.

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

Parameter
Name Description
builderForValue AwsControlPlane.Builder
Returns
Type Description
AwsCluster.Builder

setCreateTime(Timestamp value)

public AwsCluster.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
Name Description
value Timestamp
Returns
Type Description
AwsCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AwsCluster.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
Name Description
builderForValue Builder
Returns
Type Description
AwsCluster.Builder

setDescription(String value)

public AwsCluster.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
Name Description
value String

The description to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AwsCluster.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
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setEndpoint(String value)

public AwsCluster.Builder setEndpoint(String value)

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

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

Parameter
Name Description
value String

The endpoint to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setEndpointBytes(ByteString value)

public AwsCluster.Builder setEndpointBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for endpoint to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setErrors(int index, AwsClusterError value)

public AwsCluster.Builder setErrors(int index, AwsClusterError value)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value AwsClusterError
Returns
Type Description
AwsCluster.Builder

setErrors(int index, AwsClusterError.Builder builderForValue)

public AwsCluster.Builder setErrors(int index, AwsClusterError.Builder builderForValue)

Output only. A set of errors found in the cluster.

repeated .google.cloud.gkemulticloud.v1.AwsClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue AwsClusterError.Builder
Returns
Type Description
AwsCluster.Builder

setEtag(String value)

public AwsCluster.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
Name Description
value String

The etag to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public AwsCluster.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
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFleet(Fleet value)

public AwsCluster.Builder setFleet(Fleet value)

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Fleet
Returns
Type Description
AwsCluster.Builder

setFleet(Fleet.Builder builderForValue)

public AwsCluster.Builder setFleet(Fleet.Builder builderForValue)

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Fleet.Builder
Returns
Type Description
AwsCluster.Builder

setLoggingConfig(LoggingConfig value)

public AwsCluster.Builder setLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
AwsCluster.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public AwsCluster.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Optional. Logging configuration for this cluster.

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

Parameter
Name Description
builderForValue LoggingConfig.Builder
Returns
Type Description
AwsCluster.Builder

setMonitoringConfig(MonitoringConfig value)

public AwsCluster.Builder setMonitoringConfig(MonitoringConfig value)

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
AwsCluster.Builder

setMonitoringConfig(MonitoringConfig.Builder builderForValue)

public AwsCluster.Builder setMonitoringConfig(MonitoringConfig.Builder builderForValue)

Optional. Monitoring configuration for this cluster.

.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MonitoringConfig.Builder
Returns
Type Description
AwsCluster.Builder

setName(String value)

public AwsCluster.Builder setName(String value)

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>.

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AwsCluster.Builder setNameBytes(ByteString value)

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>.

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setNetworking(AwsClusterNetworking value)

public AwsCluster.Builder setNetworking(AwsClusterNetworking value)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AwsClusterNetworking
Returns
Type Description
AwsCluster.Builder

setNetworking(AwsClusterNetworking.Builder builderForValue)

public AwsCluster.Builder setNetworking(AwsClusterNetworking.Builder builderForValue)

Required. Cluster-wide networking configuration.

.google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AwsClusterNetworking.Builder
Returns
Type Description
AwsCluster.Builder

setReconciling(boolean value)

public AwsCluster.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
Name Description
value boolean

The reconciling to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

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

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

setState(AwsCluster.State value)

public AwsCluster.Builder setState(AwsCluster.State value)

Output only. The current state of the cluster.

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

Parameter
Name Description
value AwsCluster.State

The state to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setStateValue(int value)

public AwsCluster.Builder setStateValue(int value)

Output only. The current state of the cluster.

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

Parameter
Name Description
value int

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

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setUid(String value)

public AwsCluster.Builder setUid(String value)

Output only. A globally unique identifier for the cluster.

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

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AwsCluster.Builder setUidBytes(ByteString value)

Output only. A globally unique identifier for the cluster.

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

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AwsCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AwsCluster.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
Name Description
value Timestamp
Returns
Type Description
AwsCluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AwsCluster.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
Name Description
builderForValue Builder
Returns
Type Description
AwsCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AwsCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

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

Parameter
Name Description
value WorkloadIdentityConfig
Returns
Type Description
AwsCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

public AwsCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

Output only. Workload Identity settings.

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

Parameter
Name Description
builderForValue WorkloadIdentityConfig.Builder
Returns
Type Description
AwsCluster.Builder