Class AttachedCluster
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkemulticloud.v1.AttachedCluster
-
- All Implemented Interfaces:
AttachedClusterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class AttachedCluster extends com.google.protobuf.GeneratedMessageV3 implements AttachedClusterOrBuilder
An Anthos cluster running on customer own infrastructure.
Protobuf typegoogle.cloud.gkemulticloud.v1.AttachedCluster- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachedCluster.BuilderAn Anthos cluster running on customer own infrastructure.static classAttachedCluster.StateThe lifecycle state of the cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intAUTHORIZATION_FIELD_NUMBERstatic intCLUSTER_REGION_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISTRIBUTION_FIELD_NUMBERstatic intERRORS_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intFLEET_FIELD_NUMBERstatic intKUBERNETES_VERSION_FIELD_NUMBERstatic intLOGGING_CONFIG_FIELD_NUMBERstatic intMONITORING_CONFIG_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intOIDC_CONFIG_FIELD_NUMBERstatic intPLATFORM_VERSION_FIELD_NUMBERstatic intRECONCILING_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUID_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intWORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsAnnotations(String key)Optional.booleanequals(Object obj)Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()Optional.Map<String,String>getAnnotationsMap()Optional.StringgetAnnotationsOrDefault(String key, String defaultValue)Optional.StringgetAnnotationsOrThrow(String key)Optional.AttachedClustersAuthorizationgetAuthorization()Optional.AttachedClustersAuthorizationOrBuildergetAuthorizationOrBuilder()Optional.StringgetClusterRegion()Output only.com.google.protobuf.ByteStringgetClusterRegionBytes()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static AttachedClustergetDefaultInstance()AttachedClustergetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDistribution()Required.com.google.protobuf.ByteStringgetDistributionBytes()Required.AttachedClusterErrorgetErrors(int index)Output only.intgetErrorsCount()Output only.List<AttachedClusterError>getErrorsList()Output only.AttachedClusterErrorOrBuildergetErrorsOrBuilder(int index)Output only.List<? extends AttachedClusterErrorOrBuilder>getErrorsOrBuilderList()Output only.StringgetEtag()Allows clients to perform consistent read-modify-writes through optimistic concurrency control.com.google.protobuf.ByteStringgetEtagBytes()Allows clients to perform consistent read-modify-writes through optimistic concurrency control.FleetgetFleet()Required.FleetOrBuildergetFleetOrBuilder()Required.StringgetKubernetesVersion()Output only.com.google.protobuf.ByteStringgetKubernetesVersionBytes()Output only.LoggingConfiggetLoggingConfig()Optional.LoggingConfigOrBuildergetLoggingConfigOrBuilder()Optional.MonitoringConfiggetMonitoringConfig()Optional.MonitoringConfigOrBuildergetMonitoringConfigOrBuilder()Optional.StringgetName()The name of this resource.com.google.protobuf.ByteStringgetNameBytes()The name of this resource.AttachedOidcConfiggetOidcConfig()Required.AttachedOidcConfigOrBuildergetOidcConfigOrBuilder()Required.com.google.protobuf.Parser<AttachedCluster>getParserForType()StringgetPlatformVersion()Required.com.google.protobuf.ByteStringgetPlatformVersionBytes()Required.booleangetReconciling()Output only.intgetSerializedSize()AttachedCluster.StategetState()Output only.intgetStateValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.WorkloadIdentityConfiggetWorkloadIdentityConfig()Output only.WorkloadIdentityConfigOrBuildergetWorkloadIdentityConfigOrBuilder()Output only.booleanhasAuthorization()Optional.booleanhasCreateTime()Output only.booleanhasFleet()Required.inthashCode()booleanhasLoggingConfig()Optional.booleanhasMonitoringConfig()Optional.booleanhasOidcConfig()Required.booleanhasUpdateTime()Output only.booleanhasWorkloadIdentityConfig()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static AttachedCluster.BuildernewBuilder()static AttachedCluster.BuildernewBuilder(AttachedCluster prototype)AttachedCluster.BuildernewBuilderForType()protected AttachedCluster.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AttachedClusterparseDelimitedFrom(InputStream input)static AttachedClusterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AttachedClusterparseFrom(byte[] data)static AttachedClusterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AttachedClusterparseFrom(com.google.protobuf.ByteString data)static AttachedClusterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AttachedClusterparseFrom(com.google.protobuf.CodedInputStream input)static AttachedClusterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AttachedClusterparseFrom(InputStream input)static AttachedClusterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AttachedClusterparseFrom(ByteBuffer data)static AttachedClusterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AttachedCluster>parser()AttachedCluster.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OIDC_CONFIG_FIELD_NUMBER
public static final int OIDC_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLATFORM_VERSION_FIELD_NUMBER
public static final int PLATFORM_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISTRIBUTION_FIELD_NUMBER
public static final int DISTRIBUTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_REGION_FIELD_NUMBER
public static final int CLUSTER_REGION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLEET_FIELD_NUMBER
public static final int FLEET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECONCILING_FIELD_NUMBER
public static final int RECONCILING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KUBERNETES_VERSION_FIELD_NUMBER
public static final int KUBERNETES_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
public static final int WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGGING_CONFIG_FIELD_NUMBER
public static final int LOGGING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORIZATION_FIELD_NUMBER
public static final int AUTHORIZATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MONITORING_CONFIG_FIELD_NUMBER
public static final int MONITORING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AttachedCluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AttachedCluster parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AttachedCluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AttachedCluster parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AttachedCluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AttachedCluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AttachedCluster parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AttachedCluster.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AttachedCluster.Builder newBuilder()
-
newBuilder
public static AttachedCluster.Builder newBuilder(AttachedCluster prototype)
-
toBuilder
public AttachedCluster.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AttachedCluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AttachedCluster getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AttachedCluster> parser()
-
getParserForType
public com.google.protobuf.Parser<AttachedCluster> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AttachedCluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-