Class AttachedCluster.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
- com.google.cloud.gkemulticloud.v1.AttachedCluster.Builder
-
- All Implemented Interfaces:
AttachedClusterOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AttachedCluster
public static final class AttachedCluster.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder> implements AttachedClusterOrBuilder
An Anthos cluster running on customer own infrastructure.
Protobuf typegoogle.cloud.gkemulticloud.v1.AttachedCluster
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
clear
public AttachedCluster.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
getDefaultInstanceForType
public AttachedCluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AttachedCluster build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AttachedCluster buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AttachedCluster.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
setField
public AttachedCluster.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
clearField
public AttachedCluster.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
clearOneof
public AttachedCluster.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
setRepeatedField
public AttachedCluster.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
addRepeatedField
public AttachedCluster.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
mergeFrom
public AttachedCluster.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttachedCluster.Builder>
-
mergeFrom
public AttachedCluster.Builder mergeFrom(AttachedCluster other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
mergeFrom
public AttachedCluster.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AttachedCluster.Builder>- Throws:
IOException
-
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](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1;- Specified by:
getNamein interfaceAttachedClusterOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of this resource. Cluster names are formatted as `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1;- Specified by:
getNameBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for name.
-
setName
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](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public AttachedCluster.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of this resource. Cluster names are formatted as `projects/<project-number>/locations/<region>/attachedClusters/<cluster-id>`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDescriptionin interfaceAttachedClusterOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.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];- Specified by:
getDescriptionBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for description.
-
setDescription
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];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDescriptionBytes
public AttachedCluster.Builder setDescriptionBytes(com.google.protobuf.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];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasOidcConfigin interfaceAttachedClusterOrBuilder- Returns:
- Whether the oidcConfig field is set.
-
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];- Specified by:
getOidcConfigin interfaceAttachedClusterOrBuilder- Returns:
- The oidcConfig.
-
setOidcConfig
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];
-
setOidcConfig
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];
-
mergeOidcConfig
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];
-
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];
-
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];
-
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];- Specified by:
getOidcConfigOrBuilderin interfaceAttachedClusterOrBuilder
-
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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlatformVersionin interfaceAttachedClusterOrBuilder- Returns:
- The platformVersion.
-
getPlatformVersionBytes
public com.google.protobuf.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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getPlatformVersionBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for platformVersion.
-
setPlatformVersion
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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The platformVersion to set.- Returns:
- This builder for chaining.
-
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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setPlatformVersionBytes
public AttachedCluster.Builder setPlatformVersionBytes(com.google.protobuf.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][google.cloud.gkemulticloud.v1.AttachedClusters.GetAttachedServerConfig].
string platform_version = 4 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for platformVersion to set.- Returns:
- This builder for chaining.
-
getDistribution
public String getDistribution()
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 16 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDistributionin interfaceAttachedClusterOrBuilder- Returns:
- The distribution.
-
getDistributionBytes
public com.google.protobuf.ByteString getDistributionBytes()
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 16 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDistributionBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for distribution.
-
setDistribution
public AttachedCluster.Builder setDistribution(String value)
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 16 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The distribution to set.- Returns:
- This builder for chaining.
-
clearDistribution
public AttachedCluster.Builder clearDistribution()
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 16 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDistributionBytes
public AttachedCluster.Builder setDistributionBytes(com.google.protobuf.ByteString value)
Required. The Kubernetes distribution of the underlying attached cluster. Supported values: ["eks", "aks"].
string distribution = 16 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for distribution to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getClusterRegionin interfaceAttachedClusterOrBuilder- Returns:
- The clusterRegion.
-
getClusterRegionBytes
public com.google.protobuf.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];- Specified by:
getClusterRegionBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for clusterRegion.
-
setClusterRegion
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];- Parameters:
value- The clusterRegion to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setClusterRegionBytes
public AttachedCluster.Builder setClusterRegionBytes(com.google.protobuf.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];- Parameters:
value- The bytes for clusterRegion to set.- Returns:
- This builder for chaining.
-
hasFleet
public boolean hasFleet()
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasFleetin interfaceAttachedClusterOrBuilder- Returns:
- Whether the fleet field is set.
-
getFleet
public Fleet getFleet()
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFleetin interfaceAttachedClusterOrBuilder- Returns:
- The fleet.
-
setFleet
public AttachedCluster.Builder setFleet(Fleet value)
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
-
setFleet
public AttachedCluster.Builder setFleet(Fleet.Builder builderForValue)
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
-
mergeFleet
public AttachedCluster.Builder mergeFleet(Fleet value)
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
-
clearFleet
public AttachedCluster.Builder clearFleet()
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
-
getFleetBuilder
public Fleet.Builder getFleetBuilder()
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];
-
getFleetOrBuilder
public FleetOrBuilder getFleetOrBuilder()
Required. Fleet configuration.
.google.cloud.gkemulticloud.v1.Fleet fleet = 5 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getFleetOrBuilderin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
getStateValuein interfaceAttachedClusterOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceAttachedClusterOrBuilder- Returns:
- The state.
-
setState
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];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getUid
public String getUid()
Output only. A globally unique identifier for the cluster.
string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceAttachedClusterOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. A globally unique identifier for the cluster.
string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for uid.
-
setUid
public AttachedCluster.Builder setUid(String value)
Output only. A globally unique identifier for the cluster.
string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- 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:
- This builder for chaining.
-
setUidBytes
public AttachedCluster.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. A globally unique identifier for the cluster.
string uid = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getReconcilingin interfaceAttachedClusterOrBuilder- Returns:
- The reconciling.
-
setReconciling
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];- Parameters:
value- The reconciling to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];- Specified by:
hasCreateTimein interfaceAttachedClusterOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this cluster was registered.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceAttachedClusterOrBuilder- Returns:
- The createTime.
-
setCreateTime
public AttachedCluster.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this cluster was registered.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public AttachedCluster.Builder setCreateTime(com.google.protobuf.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];
-
mergeCreateTime
public AttachedCluster.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time at which this cluster was registered.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.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];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this cluster was registered.
.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
hasUpdateTimein interfaceAttachedClusterOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.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];- Specified by:
getUpdateTimein interfaceAttachedClusterOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public AttachedCluster.Builder setUpdateTime(com.google.protobuf.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];
-
setUpdateTime
public AttachedCluster.Builder setUpdateTime(com.google.protobuf.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];
-
mergeUpdateTime
public AttachedCluster.Builder mergeUpdateTime(com.google.protobuf.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];
-
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];
-
getUpdateTimeBuilder
public com.google.protobuf.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];
-
getUpdateTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateTimeOrBuilderin interfaceAttachedClusterOrBuilder
-
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;- Specified by:
getEtagin interfaceAttachedClusterOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.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;- Specified by:
getEtagBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for etag.
-
setEtag
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;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setEtagBytes
public AttachedCluster.Builder setEtagBytes(com.google.protobuf.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;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getKubernetesVersion
public String getKubernetesVersion()
Output only. The Kubernetes version of the cluster.
string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKubernetesVersionin interfaceAttachedClusterOrBuilder- Returns:
- The kubernetesVersion.
-
getKubernetesVersionBytes
public com.google.protobuf.ByteString getKubernetesVersionBytes()
Output only. The Kubernetes version of the cluster.
string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getKubernetesVersionBytesin interfaceAttachedClusterOrBuilder- Returns:
- The bytes for kubernetesVersion.
-
setKubernetesVersion
public AttachedCluster.Builder setKubernetesVersion(String value)
Output only. The Kubernetes version of the cluster.
string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The kubernetesVersion to set.- Returns:
- This builder for chaining.
-
clearKubernetesVersion
public AttachedCluster.Builder clearKubernetesVersion()
Output only. The Kubernetes version of the cluster.
string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setKubernetesVersionBytes
public AttachedCluster.Builder setKubernetesVersionBytes(com.google.protobuf.ByteString value)
Output only. The Kubernetes version of the cluster.
string kubernetes_version = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for kubernetesVersion to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:AttachedClusterOrBuilderOptional. 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];- Specified by:
getAnnotationsCountin interfaceAttachedClusterOrBuilder
-
containsAnnotations
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];- Specified by:
containsAnnotationsin interfaceAttachedClusterOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
getAnnotationsMapin interfaceAttachedClusterOrBuilder
-
getAnnotationsOrDefault
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];- Specified by:
getAnnotationsOrDefaultin interfaceAttachedClusterOrBuilder
-
getAnnotationsOrThrow
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];- Specified by:
getAnnotationsOrThrowin interfaceAttachedClusterOrBuilder
-
clearAnnotations
public AttachedCluster.Builder clearAnnotations()
-
removeAnnotations
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];
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
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];
-
putAllAnnotations
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];
-
hasWorkloadIdentityConfig
public boolean hasWorkloadIdentityConfig()
Output only. Workload Identity settings.
.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasWorkloadIdentityConfigin interfaceAttachedClusterOrBuilder- Returns:
- Whether the workloadIdentityConfig field is set.
-
getWorkloadIdentityConfig
public WorkloadIdentityConfig getWorkloadIdentityConfig()
Output only. Workload Identity settings.
.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWorkloadIdentityConfigin interfaceAttachedClusterOrBuilder- Returns:
- The workloadIdentityConfig.
-
setWorkloadIdentityConfig
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];
-
setWorkloadIdentityConfig
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];
-
mergeWorkloadIdentityConfig
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];
-
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];
-
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];
-
getWorkloadIdentityConfigOrBuilder
public WorkloadIdentityConfigOrBuilder getWorkloadIdentityConfigOrBuilder()
Output only. Workload Identity settings.
.google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWorkloadIdentityConfigOrBuilderin interfaceAttachedClusterOrBuilder
-
hasLoggingConfig
public boolean hasLoggingConfig()
Optional. Logging configuration for this cluster.
.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasLoggingConfigin interfaceAttachedClusterOrBuilder- Returns:
- Whether the loggingConfig field is set.
-
getLoggingConfig
public LoggingConfig getLoggingConfig()
Optional. Logging configuration for this cluster.
.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLoggingConfigin interfaceAttachedClusterOrBuilder- Returns:
- The loggingConfig.
-
setLoggingConfig
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];
-
setLoggingConfig
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];
-
mergeLoggingConfig
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];
-
clearLoggingConfig
public AttachedCluster.Builder clearLoggingConfig()
Optional. Logging configuration for this cluster.
.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getLoggingConfigBuilder
public LoggingConfig.Builder getLoggingConfigBuilder()
Optional. Logging configuration for this cluster.
.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];
-
getLoggingConfigOrBuilder
public LoggingConfigOrBuilder getLoggingConfigOrBuilder()
Optional. Logging configuration for this cluster.
.google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 15 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLoggingConfigOrBuilderin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
getErrorsListin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
getErrorsCountin interfaceAttachedClusterOrBuilder
-
getErrors
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];- Specified by:
getErrorsin interfaceAttachedClusterOrBuilder
-
setErrors
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];
-
setErrors
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];
-
addErrors
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];
-
addErrors
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];
-
addErrors
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];
-
addErrors
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];
-
addAllErrors
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];
-
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];
-
removeErrors
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];
-
getErrorsBuilder
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];
-
getErrorsOrBuilder
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];- Specified by:
getErrorsOrBuilderin interfaceAttachedClusterOrBuilder
-
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];- Specified by:
getErrorsOrBuilderListin interfaceAttachedClusterOrBuilder
-
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];
-
addErrorsBuilder
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];
-
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];
-
hasAuthorization
public boolean hasAuthorization()
Optional. Configuration related to the cluster RBAC settings.
.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasAuthorizationin interfaceAttachedClusterOrBuilder- Returns:
- Whether the authorization field is set.
-
getAuthorization
public AttachedClustersAuthorization getAuthorization()
Optional. Configuration related to the cluster RBAC settings.
.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuthorizationin interfaceAttachedClusterOrBuilder- Returns:
- The authorization.
-
setAuthorization
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];
-
setAuthorization
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];
-
mergeAuthorization
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];
-
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];
-
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];
-
getAuthorizationOrBuilder
public AttachedClustersAuthorizationOrBuilder getAuthorizationOrBuilder()
Optional. Configuration related to the cluster RBAC settings.
.google.cloud.gkemulticloud.v1.AttachedClustersAuthorization authorization = 21 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAuthorizationOrBuilderin interfaceAttachedClusterOrBuilder
-
hasMonitoringConfig
public boolean hasMonitoringConfig()
Optional. Monitoring configuration for this cluster.
.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMonitoringConfigin interfaceAttachedClusterOrBuilder- Returns:
- Whether the monitoringConfig field is set.
-
getMonitoringConfig
public MonitoringConfig getMonitoringConfig()
Optional. Monitoring configuration for this cluster.
.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonitoringConfigin interfaceAttachedClusterOrBuilder- Returns:
- The monitoringConfig.
-
setMonitoringConfig
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];
-
setMonitoringConfig
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];
-
mergeMonitoringConfig
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];
-
clearMonitoringConfig
public AttachedCluster.Builder clearMonitoringConfig()
Optional. Monitoring configuration for this cluster.
.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];
-
getMonitoringConfigBuilder
public MonitoringConfig.Builder getMonitoringConfigBuilder()
Optional. Monitoring configuration for this cluster.
.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];
-
getMonitoringConfigOrBuilder
public MonitoringConfigOrBuilder getMonitoringConfigOrBuilder()
Optional. Monitoring configuration for this cluster.
.google.cloud.gkemulticloud.v1.MonitoringConfig monitoring_config = 23 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMonitoringConfigOrBuilderin interfaceAttachedClusterOrBuilder
-
setUnknownFields
public final AttachedCluster.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
mergeUnknownFields
public final AttachedCluster.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AttachedCluster.Builder>
-
-