Class AttachedCluster.Builder (0.54.0)

public static final class AttachedCluster.Builder extends GeneratedMessageV3.Builder<AttachedCluster.Builder> implements AttachedClusterOrBuilder

An Anthos cluster running on customer own infrastructure.

Protobuf type google.cloud.gkemulticloud.v1.AttachedCluster

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends AttachedClusterError> values)

public AttachedCluster.Builder addAllErrors(Iterable<? extends AttachedClusterError> values)

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

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

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

addErrors(AttachedClusterError value)

public AttachedCluster.Builder addErrors(AttachedClusterError value)

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

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

Parameter
Name Description
value AttachedClusterError
Returns
Type Description
AttachedCluster.Builder

addErrors(AttachedClusterError.Builder builderForValue)

public AttachedCluster.Builder addErrors(AttachedClusterError.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AttachedClusterError.Builder
Returns
Type Description
AttachedCluster.Builder

addErrors(int index, AttachedClusterError value)

public AttachedCluster.Builder addErrors(int index, AttachedClusterError value)

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

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

Parameters
Name Description
index int
value AttachedClusterError
Returns
Type Description
AttachedCluster.Builder

addErrors(int index, AttachedClusterError.Builder builderForValue)

public AttachedCluster.Builder addErrors(int index, AttachedClusterError.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AttachedClusterError.Builder
Returns
Type Description
AttachedCluster.Builder

addErrorsBuilder()

public AttachedClusterError.Builder addErrorsBuilder()

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

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

Returns
Type Description
AttachedClusterError.Builder

addErrorsBuilder(int index)

public AttachedClusterError.Builder addErrorsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttachedCluster build()
Returns
Type Description
AttachedCluster

buildPartial()

public AttachedCluster buildPartial()
Returns
Type Description
AttachedCluster

clear()

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

clearAnnotations()

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

clearAuthorization()

public AttachedCluster.Builder clearAuthorization()

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedCluster.Builder

clearBinaryAuthorization()

public AttachedCluster.Builder clearBinaryAuthorization()

Optional. Binary Authorization configuration for this cluster.

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

Returns
Type Description
AttachedCluster.Builder

clearClusterRegion()

public AttachedCluster.Builder clearClusterRegion()

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearCreateTime()

public AttachedCluster.Builder clearCreateTime()

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

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

Returns
Type Description
AttachedCluster.Builder

clearDescription()

public AttachedCluster.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
AttachedCluster.Builder

This builder for chaining.

clearDistribution()

public AttachedCluster.Builder clearDistribution()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks", "generic"].

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

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearErrors()

public AttachedCluster.Builder clearErrors()

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

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

Returns
Type Description
AttachedCluster.Builder

clearEtag()

public AttachedCluster.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 = 11;

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFleet()

public AttachedCluster.Builder clearFleet()

Required. Fleet configuration.

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

Returns
Type Description
AttachedCluster.Builder

clearKubernetesVersion()

public AttachedCluster.Builder clearKubernetesVersion()

Output only. The Kubernetes version of the cluster.

string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearLoggingConfig()

public AttachedCluster.Builder clearLoggingConfig()

Optional. Logging configuration for this cluster.

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

Returns
Type Description
AttachedCluster.Builder

clearMonitoringConfig()

public AttachedCluster.Builder clearMonitoringConfig()

Optional. Monitoring configuration for this cluster.

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

Returns
Type Description
AttachedCluster.Builder

clearName()

public AttachedCluster.Builder clearName()

The name of this resource.

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

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

string name = 1;

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearOidcConfig()

public AttachedCluster.Builder clearOidcConfig()

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttachedCluster.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPlatformVersion()

public AttachedCluster.Builder clearPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

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

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearProxyConfig()

public AttachedCluster.Builder clearProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedCluster.Builder

clearReconciling()

public AttachedCluster.Builder clearReconciling()

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

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

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearSecurityPostureConfig()

public AttachedCluster.Builder clearSecurityPostureConfig()

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedCluster.Builder

clearState()

public AttachedCluster.Builder clearState()

Output only. The current state of the cluster.

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

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearUid()

public AttachedCluster.Builder clearUid()

Output only. A globally unique identifier for the cluster.

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

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

clearUpdateTime()

public AttachedCluster.Builder clearUpdateTime()

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

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

Returns
Type Description
AttachedCluster.Builder

clearWorkloadIdentityConfig()

public AttachedCluster.Builder clearWorkloadIdentityConfig()

Output only. Workload Identity settings.

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

Returns
Type Description
AttachedCluster.Builder

clone()

public AttachedCluster.Builder clone()
Returns
Type Description
AttachedCluster.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 = 13 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.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 = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getAuthorization()

public AttachedClustersAuthorization getAuthorization()

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClustersAuthorization

The authorization.

getAuthorizationBuilder()

public AttachedClustersAuthorization.Builder getAuthorizationBuilder()

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClustersAuthorization.Builder

getAuthorizationOrBuilder()

public AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder()

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedClustersAuthorizationOrBuilder

getBinaryAuthorization()

public BinaryAuthorization getBinaryAuthorization()

Optional. Binary Authorization configuration for this cluster.

.google.cloud.gkemulticloud.v1.BinaryAuthorization binary_authorization = 25 [(.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 = 25 [(.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 = 25 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BinaryAuthorizationOrBuilder

getClusterRegion()

public String getClusterRegion()

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The clusterRegion.

getClusterRegionBytes()

public ByteString getClusterRegionBytes()

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for clusterRegion.

getCreateTime()

public Timestamp getCreateTime()

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

.google.protobuf.Timestamp create_time = 9 [(.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 registered.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

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

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public AttachedCluster getDefaultInstanceForType()
Returns
Type Description
AttachedCluster

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

getDistribution()

public String getDistribution()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks", "generic"].

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

Returns
Type Description
String

The distribution.

getDistributionBytes()

public ByteString getDistributionBytes()

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks", "generic"].

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

Returns
Type Description
ByteString

The bytes for distribution.

getErrors(int index)

public AttachedClusterError getErrors(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterError

getErrorsBuilder(int index)

public AttachedClusterError.Builder getErrorsBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterError.Builder

getErrorsBuilderList()

public List<AttachedClusterError.Builder> getErrorsBuilderList()

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

repeated .google.cloud.gkemulticloud.v1.AttachedClusterError 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.AttachedClusterError errors = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public List<AttachedClusterError> getErrorsList()

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

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

Returns
Type Description
List<AttachedClusterError>

getErrorsOrBuilder(int index)

public AttachedClusterErrorOrBuilder getErrorsOrBuilder(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AttachedClusterErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends AttachedClusterErrorOrBuilder> getErrorsOrBuilderList()

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

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

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

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 = 11;

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 = 11;

Returns
Type Description
ByteString

The bytes for etag.

getFleet()

public Fleet getFleet()

Required. Fleet configuration.

.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.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 = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Fleet.Builder

getFleetOrBuilder()

public FleetOrBuilder getFleetOrBuilder()

Required. Fleet configuration.

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

Returns
Type Description
FleetOrBuilder

getKubernetesVersion()

public String getKubernetesVersion()

Output only. The Kubernetes version of the cluster.

string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The kubernetesVersion.

getKubernetesVersionBytes()

public ByteString getKubernetesVersionBytes()

Output only. The Kubernetes version of the cluster.

string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for kubernetesVersion.

getLoggingConfig()

public LoggingConfig getLoggingConfig()

Optional. Logging configuration for this cluster.

.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.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 = 15 [(.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 = 15 [(.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 = 23 [(.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 = 23 [(.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 = 23 [(.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>/attachedClusters/<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>/attachedClusters/<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.

getOidcConfig()

public AttachedOidcConfig getOidcConfig()

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttachedOidcConfig

The oidcConfig.

getOidcConfigBuilder()

public AttachedOidcConfig.Builder getOidcConfigBuilder()

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttachedOidcConfig.Builder

getOidcConfigOrBuilder()

public AttachedOidcConfigOrBuilder getOidcConfigOrBuilder()

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AttachedOidcConfigOrBuilder

getPlatformVersion()

public String getPlatformVersion()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

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

Returns
Type Description
String

The platformVersion.

getPlatformVersionBytes()

public ByteString getPlatformVersionBytes()

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

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

Returns
Type Description
ByteString

The bytes for platformVersion.

getProxyConfig()

public AttachedProxyConfig getProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfig

The proxyConfig.

getProxyConfigBuilder()

public AttachedProxyConfig.Builder getProxyConfigBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfig.Builder

getProxyConfigOrBuilder()

public AttachedProxyConfigOrBuilder getProxyConfigOrBuilder()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AttachedProxyConfigOrBuilder

getReconciling()

public boolean getReconciling()

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

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

Returns
Type Description
boolean

The reconciling.

getSecurityPostureConfig()

public SecurityPostureConfig getSecurityPostureConfig()

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityPostureConfig

The securityPostureConfig.

getSecurityPostureConfigBuilder()

public SecurityPostureConfig.Builder getSecurityPostureConfigBuilder()

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityPostureConfig.Builder

getSecurityPostureConfigOrBuilder()

public SecurityPostureConfigOrBuilder getSecurityPostureConfigOrBuilder()

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SecurityPostureConfigOrBuilder

getState()

public AttachedCluster.State getState()

Output only. The current state of the cluster.

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

Returns
Type Description
AttachedCluster.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.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 = 7 [(.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 = 7 [(.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 = 10 [(.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 = 10 [(.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 = 10 [(.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 = 14 [(.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 = 14 [(.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 = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
WorkloadIdentityConfigOrBuilder

hasAuthorization()

public boolean hasAuthorization()

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

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

Returns
Type Description
boolean

Whether the binaryAuthorization field is set.

hasCreateTime()

public boolean hasCreateTime()

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

.google.protobuf.Timestamp create_time = 9 [(.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 = 5 [(.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 = 15 [(.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 = 23 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the monitoringConfig field is set.

hasOidcConfig()

public boolean hasOidcConfig()

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the oidcConfig field is set.

hasProxyConfig()

public boolean hasProxyConfig()

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the proxyConfig field is set.

hasSecurityPostureConfig()

public boolean hasSecurityPostureConfig()

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the securityPostureConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

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

.google.protobuf.Timestamp update_time = 10 [(.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 = 14 [(.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(AttachedClustersAuthorization value)

public AttachedCluster.Builder mergeAuthorization(AttachedClustersAuthorization value)

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedClustersAuthorization
Returns
Type Description
AttachedCluster.Builder

mergeBinaryAuthorization(BinaryAuthorization value)

public AttachedCluster.Builder mergeBinaryAuthorization(BinaryAuthorization value)

Optional. Binary Authorization configuration for this cluster.

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

Parameter
Name Description
value BinaryAuthorization
Returns
Type Description
AttachedCluster.Builder

mergeCreateTime(Timestamp value)

public AttachedCluster.Builder mergeCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
AttachedCluster.Builder

mergeFleet(Fleet value)

public AttachedCluster.Builder mergeFleet(Fleet value)

Required. Fleet configuration.

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

Parameter
Name Description
value Fleet
Returns
Type Description
AttachedCluster.Builder

mergeFrom(AttachedCluster other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLoggingConfig(LoggingConfig value)

public AttachedCluster.Builder mergeLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
AttachedCluster.Builder

mergeMonitoringConfig(MonitoringConfig value)

public AttachedCluster.Builder mergeMonitoringConfig(MonitoringConfig value)

Optional. Monitoring configuration for this cluster.

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

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
AttachedCluster.Builder

mergeOidcConfig(AttachedOidcConfig value)

public AttachedCluster.Builder mergeOidcConfig(AttachedOidcConfig value)

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttachedOidcConfig
Returns
Type Description
AttachedCluster.Builder

mergeProxyConfig(AttachedProxyConfig value)

public AttachedCluster.Builder mergeProxyConfig(AttachedProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedProxyConfig
Returns
Type Description
AttachedCluster.Builder

mergeSecurityPostureConfig(SecurityPostureConfig value)

public AttachedCluster.Builder mergeSecurityPostureConfig(SecurityPostureConfig value)

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SecurityPostureConfig
Returns
Type Description
AttachedCluster.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public AttachedCluster.Builder mergeUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
AttachedCluster.Builder

mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AttachedCluster.Builder mergeWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

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

Parameter
Name Description
value WorkloadIdentityConfig
Returns
Type Description
AttachedCluster.Builder

putAllAnnotations(Map<String,String> values)

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

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AttachedCluster.Builder

putAnnotations(String key, String value)

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

Parameters
Name Description
key String
value String
Returns
Type Description
AttachedCluster.Builder

removeAnnotations(String key)

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

Parameter
Name Description
key String
Returns
Type Description
AttachedCluster.Builder

removeErrors(int index)

public AttachedCluster.Builder removeErrors(int index)

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

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

Parameter
Name Description
index int
Returns
Type Description
AttachedCluster.Builder

setAuthorization(AttachedClustersAuthorization value)

public AttachedCluster.Builder setAuthorization(AttachedClustersAuthorization value)

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedClustersAuthorization
Returns
Type Description
AttachedCluster.Builder

setAuthorization(AttachedClustersAuthorization.Builder builderForValue)

public AttachedCluster.Builder setAuthorization(AttachedClustersAuthorization.Builder builderForValue)

Optional. Configuration related to the cluster RBAC settings.

.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedClustersAuthorization.Builder
Returns
Type Description
AttachedCluster.Builder

setBinaryAuthorization(BinaryAuthorization value)

public AttachedCluster.Builder setBinaryAuthorization(BinaryAuthorization value)

Optional. Binary Authorization configuration for this cluster.

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

Parameter
Name Description
value BinaryAuthorization
Returns
Type Description
AttachedCluster.Builder

setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

public AttachedCluster.Builder setBinaryAuthorization(BinaryAuthorization.Builder builderForValue)

Optional. Binary Authorization configuration for this cluster.

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

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

setClusterRegion(String value)

public AttachedCluster.Builder setClusterRegion(String value)

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The clusterRegion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setClusterRegionBytes(ByteString value)

public AttachedCluster.Builder setClusterRegionBytes(ByteString value)

Output only. The region where this cluster runs.

For EKS clusters, this is a AWS region. For AKS clusters, this is an Azure region.

string cluster_region = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for clusterRegion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public AttachedCluster.Builder setCreateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
AttachedCluster.Builder

setCreateTime(Timestamp.Builder builderForValue)

public AttachedCluster.Builder setCreateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AttachedCluster.Builder

setDescription(String value)

public AttachedCluster.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
AttachedCluster.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public AttachedCluster.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
AttachedCluster.Builder

This builder for chaining.

setDistribution(String value)

public AttachedCluster.Builder setDistribution(String value)

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks", "generic"].

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

Parameter
Name Description
value String

The distribution to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setDistributionBytes(ByteString value)

public AttachedCluster.Builder setDistributionBytes(ByteString value)

Required. The Kubernetes distribution of the underlying attached cluster.

Supported values: ["eks", "aks", "generic"].

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

Parameter
Name Description
value ByteString

The bytes for distribution to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setErrors(int index, AttachedClusterError value)

public AttachedCluster.Builder setErrors(int index, AttachedClusterError value)

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

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

Parameters
Name Description
index int
value AttachedClusterError
Returns
Type Description
AttachedCluster.Builder

setErrors(int index, AttachedClusterError.Builder builderForValue)

public AttachedCluster.Builder setErrors(int index, AttachedClusterError.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue AttachedClusterError.Builder
Returns
Type Description
AttachedCluster.Builder

setEtag(String value)

public AttachedCluster.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 = 11;

Parameter
Name Description
value String

The etag to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public AttachedCluster.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 = 11;

Parameter
Name Description
value ByteString

The bytes for etag to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFleet(Fleet value)

public AttachedCluster.Builder setFleet(Fleet value)

Required. Fleet configuration.

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

Parameter
Name Description
value Fleet
Returns
Type Description
AttachedCluster.Builder

setFleet(Fleet.Builder builderForValue)

public AttachedCluster.Builder setFleet(Fleet.Builder builderForValue)

Required. Fleet configuration.

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

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

setKubernetesVersion(String value)

public AttachedCluster.Builder setKubernetesVersion(String value)

Output only. The Kubernetes version of the cluster.

string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The kubernetesVersion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setKubernetesVersionBytes(ByteString value)

public AttachedCluster.Builder setKubernetesVersionBytes(ByteString value)

Output only. The Kubernetes version of the cluster.

string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for kubernetesVersion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setLoggingConfig(LoggingConfig value)

public AttachedCluster.Builder setLoggingConfig(LoggingConfig value)

Optional. Logging configuration for this cluster.

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

Parameter
Name Description
value LoggingConfig
Returns
Type Description
AttachedCluster.Builder

setLoggingConfig(LoggingConfig.Builder builderForValue)

public AttachedCluster.Builder setLoggingConfig(LoggingConfig.Builder builderForValue)

Optional. Logging configuration for this cluster.

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

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

setMonitoringConfig(MonitoringConfig value)

public AttachedCluster.Builder setMonitoringConfig(MonitoringConfig value)

Optional. Monitoring configuration for this cluster.

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

Parameter
Name Description
value MonitoringConfig
Returns
Type Description
AttachedCluster.Builder

setMonitoringConfig(MonitoringConfig.Builder builderForValue)

public AttachedCluster.Builder setMonitoringConfig(MonitoringConfig.Builder builderForValue)

Optional. Monitoring configuration for this cluster.

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

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

setName(String value)

public AttachedCluster.Builder setName(String value)

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/attachedClusters/<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
AttachedCluster.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AttachedCluster.Builder setNameBytes(ByteString value)

The name of this resource.

Cluster names are formatted as projects/<project-number>/locations/<region>/attachedClusters/<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
AttachedCluster.Builder

This builder for chaining.

setOidcConfig(AttachedOidcConfig value)

public AttachedCluster.Builder setOidcConfig(AttachedOidcConfig value)

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AttachedOidcConfig
Returns
Type Description
AttachedCluster.Builder

setOidcConfig(AttachedOidcConfig.Builder builderForValue)

public AttachedCluster.Builder setOidcConfig(AttachedOidcConfig.Builder builderForValue)

Required. OpenID Connect (OIDC) configuration for the cluster.

.google.cloud.gkemulticloud.v1.AttachedOidcConfig oidc_config = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AttachedOidcConfig.Builder
Returns
Type Description
AttachedCluster.Builder

setPlatformVersion(String value)

public AttachedCluster.Builder setPlatformVersion(String value)

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

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

Parameter
Name Description
value String

The platformVersion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setPlatformVersionBytes(ByteString value)

public AttachedCluster.Builder setPlatformVersionBytes(ByteString value)

Required. The platform version for the cluster (e.g. 1.19.0-gke.1000).

You can list all supported versions on a given Google Cloud region by calling GetAttachedServerConfig.

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

Parameter
Name Description
value ByteString

The bytes for platformVersion to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setProxyConfig(AttachedProxyConfig value)

public AttachedCluster.Builder setProxyConfig(AttachedProxyConfig value)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value AttachedProxyConfig
Returns
Type Description
AttachedCluster.Builder

setProxyConfig(AttachedProxyConfig.Builder builderForValue)

public AttachedCluster.Builder setProxyConfig(AttachedProxyConfig.Builder builderForValue)

Optional. Proxy configuration for outbound HTTP(S) traffic.

.google.cloud.gkemulticloud.v1.AttachedProxyConfig proxy_config = 24 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue AttachedProxyConfig.Builder
Returns
Type Description
AttachedCluster.Builder

setReconciling(boolean value)

public AttachedCluster.Builder setReconciling(boolean value)

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

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

Parameter
Name Description
value boolean

The reconciling to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

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

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

setSecurityPostureConfig(SecurityPostureConfig value)

public AttachedCluster.Builder setSecurityPostureConfig(SecurityPostureConfig value)

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value SecurityPostureConfig
Returns
Type Description
AttachedCluster.Builder

setSecurityPostureConfig(SecurityPostureConfig.Builder builderForValue)

public AttachedCluster.Builder setSecurityPostureConfig(SecurityPostureConfig.Builder builderForValue)

Optional. Security Posture configuration for this cluster.

.google.cloud.gkemulticloud.v1.SecurityPostureConfig security_posture_config = 26 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue SecurityPostureConfig.Builder
Returns
Type Description
AttachedCluster.Builder

setState(AttachedCluster.State value)

public AttachedCluster.Builder setState(AttachedCluster.State value)

Output only. The current state of the cluster.

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

Parameter
Name Description
value AttachedCluster.State

The state to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setStateValue(int value)

public AttachedCluster.Builder setStateValue(int value)

Output only. The current state of the cluster.

.google.cloud.gkemulticloud.v1.AttachedCluster.State state = 6 [(.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
AttachedCluster.Builder

This builder for chaining.

setUid(String value)

public AttachedCluster.Builder setUid(String value)

Output only. A globally unique identifier for the cluster.

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

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setUidBytes(ByteString value)

public AttachedCluster.Builder setUidBytes(ByteString value)

Output only. A globally unique identifier for the cluster.

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

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
AttachedCluster.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public AttachedCluster.Builder setUpdateTime(Timestamp value)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
AttachedCluster.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public AttachedCluster.Builder setUpdateTime(Timestamp.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AttachedCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig value)

public AttachedCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig value)

Output only. Workload Identity settings.

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

Parameter
Name Description
value WorkloadIdentityConfig
Returns
Type Description
AttachedCluster.Builder

setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

public AttachedCluster.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue)

Output only. Workload Identity settings.

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

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