Class AwsCluster.Builder (0.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.gkemulticloud.v1.AwsClusterError>
Returns
TypeDescription
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
NameDescription
valueAwsClusterError
Returns
TypeDescription
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
NameDescription
builderForValueAwsClusterError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAwsClusterError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsClusterError.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AwsClusterError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsCluster build()
Returns
TypeDescription
AwsCluster

buildPartial()

public AwsCluster buildPartial()
Returns
TypeDescription
AwsCluster

clear()

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

clearAnnotations()

public AwsCluster.Builder clearAnnotations()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFleet()

public AwsCluster.Builder clearFleet()

Required. Fleet configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AwsCluster.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AwsCluster.Builder clone()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

getAnnotations() (deprecated)

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. 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
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. 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
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. 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
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. 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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 AwsCluster getDefaultInstanceForType()
Returns
TypeDescription
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
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.

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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()

Required. Fleet configuration.

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

Returns
TypeDescription
Fleet

The fleet.

getFleetBuilder()

public Fleet.Builder getFleetBuilder()

Required. Fleet configuration.

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

Returns
TypeDescription
Fleet.Builder

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Required. Fleet configuration.

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

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

getMutableAnnotations() (deprecated)

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>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud Platform 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>/awsClusters/<cluster-id>.

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

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AwsClusterNetworking.Builder

getNetworkingOrBuilder()

public AwsClusterNetworkingOrBuilder getNetworkingOrBuilder()

Required. Cluster-wide networking configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 = 16 [(.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 = 16 [(.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 = 16 [(.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.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
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
TypeDescription
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
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()

Required. Fleet configuration.

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

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 = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
TypeDescription
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
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 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the workloadIdentityConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAwsAuthorization
Returns
TypeDescription
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
NameDescription
valueBinaryAuthorization
Returns
TypeDescription
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
NameDescription
valueAwsControlPlane
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueFleet
Returns
TypeDescription
AwsCluster.Builder

mergeFrom(AwsCluster other)

public AwsCluster.Builder mergeFrom(AwsCluster other)
Parameter
NameDescription
otherAwsCluster
Returns
TypeDescription
AwsCluster.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AwsCluster.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueLoggingConfig
Returns
TypeDescription
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
NameDescription
valueMonitoringConfig
Returns
TypeDescription
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
NameDescription
valueAwsClusterNetworking
Returns
TypeDescription
AwsCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsCluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
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
NameDescription
valuesMap<String,String>
Returns
TypeDescription
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
NameDescription
keyString
valueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAwsAuthorization
Returns
TypeDescription
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
NameDescription
builderForValueAwsAuthorization.Builder
Returns
TypeDescription
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
NameDescription
valueString

The awsRegion to set.

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

The bytes for awsRegion to set.

Returns
TypeDescription
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
NameDescription
valueBinaryAuthorization
Returns
TypeDescription
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
NameDescription
builderForValueBinaryAuthorization.Builder
Returns
TypeDescription
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
NameDescription
valueString

The clusterCaCertificate to set.

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

The bytes for clusterCaCertificate to set.

Returns
TypeDescription
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
NameDescription
valueAwsControlPlane
Returns
TypeDescription
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
NameDescription
builderForValueAwsControlPlane.Builder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

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

The bytes for description to set.

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

The endpoint to set.

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

The bytes for endpoint to set.

Returns
TypeDescription
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
NameDescription
indexint
valueAwsClusterError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAwsClusterError.Builder
Returns
TypeDescription
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
NameDescription
valueString

The etag to set.

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

The bytes for etag to set.

Returns
TypeDescription
AwsCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsCluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFleet
Returns
TypeDescription
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
NameDescription
builderForValueFleet.Builder
Returns
TypeDescription
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
NameDescription
valueLoggingConfig
Returns
TypeDescription
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
NameDescription
builderForValueLoggingConfig.Builder
Returns
TypeDescription
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
NameDescription
valueMonitoringConfig
Returns
TypeDescription
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
NameDescription
builderForValueMonitoringConfig.Builder
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueAwsClusterNetworking
Returns
TypeDescription
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
NameDescription
builderForValueAwsClusterNetworking.Builder
Returns
TypeDescription
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
NameDescription
valueboolean

The reconciling to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAwsCluster.State

The state to set.

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

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

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

The uid to set.

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

The bytes for uid to set.

Returns
TypeDescription
AwsCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsCluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueWorkloadIdentityConfig
Returns
TypeDescription
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
NameDescription
builderForValueWorkloadIdentityConfig.Builder
Returns
TypeDescription
AwsCluster.Builder