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 class
AttachedCluster.Builder
An Anthos cluster running on customer own infrastructure.static class
AttachedCluster.State
The 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 int
ANNOTATIONS_FIELD_NUMBER
static int
AUTHORIZATION_FIELD_NUMBER
static int
CLUSTER_REGION_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
DISTRIBUTION_FIELD_NUMBER
static int
ERRORS_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
FLEET_FIELD_NUMBER
static int
KUBERNETES_VERSION_FIELD_NUMBER
static int
LOGGING_CONFIG_FIELD_NUMBER
static int
MONITORING_CONFIG_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OIDC_CONFIG_FIELD_NUMBER
static int
PLATFORM_VERSION_FIELD_NUMBER
static int
RECONCILING_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UID_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
WORKLOAD_IDENTITY_CONFIG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
Optional.boolean
equals(Object obj)
Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Optional.Map<String,String>
getAnnotationsMap()
Optional.String
getAnnotationsOrDefault(String key, String defaultValue)
Optional.String
getAnnotationsOrThrow(String key)
Optional.AttachedClustersAuthorization
getAuthorization()
Optional.AttachedClustersAuthorizationOrBuilder
getAuthorizationOrBuilder()
Optional.String
getClusterRegion()
Output only.com.google.protobuf.ByteString
getClusterRegionBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static AttachedCluster
getDefaultInstance()
AttachedCluster
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDistribution()
Required.com.google.protobuf.ByteString
getDistributionBytes()
Required.AttachedClusterError
getErrors(int index)
Output only.int
getErrorsCount()
Output only.List<AttachedClusterError>
getErrorsList()
Output only.AttachedClusterErrorOrBuilder
getErrorsOrBuilder(int index)
Output only.List<? extends AttachedClusterErrorOrBuilder>
getErrorsOrBuilderList()
Output only.String
getEtag()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.com.google.protobuf.ByteString
getEtagBytes()
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.Fleet
getFleet()
Required.FleetOrBuilder
getFleetOrBuilder()
Required.String
getKubernetesVersion()
Output only.com.google.protobuf.ByteString
getKubernetesVersionBytes()
Output only.LoggingConfig
getLoggingConfig()
Optional.LoggingConfigOrBuilder
getLoggingConfigOrBuilder()
Optional.MonitoringConfig
getMonitoringConfig()
Optional.MonitoringConfigOrBuilder
getMonitoringConfigOrBuilder()
Optional.String
getName()
The name of this resource.com.google.protobuf.ByteString
getNameBytes()
The name of this resource.AttachedOidcConfig
getOidcConfig()
Required.AttachedOidcConfigOrBuilder
getOidcConfigOrBuilder()
Required.com.google.protobuf.Parser<AttachedCluster>
getParserForType()
String
getPlatformVersion()
Required.com.google.protobuf.ByteString
getPlatformVersionBytes()
Required.boolean
getReconciling()
Output only.int
getSerializedSize()
AttachedCluster.State
getState()
Output only.int
getStateValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.WorkloadIdentityConfig
getWorkloadIdentityConfig()
Output only.WorkloadIdentityConfigOrBuilder
getWorkloadIdentityConfigOrBuilder()
Output only.boolean
hasAuthorization()
Optional.boolean
hasCreateTime()
Output only.boolean
hasFleet()
Required.int
hashCode()
boolean
hasLoggingConfig()
Optional.boolean
hasMonitoringConfig()
Optional.boolean
hasOidcConfig()
Required.boolean
hasUpdateTime()
Output only.boolean
hasWorkloadIdentityConfig()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static AttachedCluster.Builder
newBuilder()
static AttachedCluster.Builder
newBuilder(AttachedCluster prototype)
AttachedCluster.Builder
newBuilderForType()
protected AttachedCluster.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AttachedCluster
parseDelimitedFrom(InputStream input)
static AttachedCluster
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttachedCluster
parseFrom(byte[] data)
static AttachedCluster
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttachedCluster
parseFrom(com.google.protobuf.ByteString data)
static AttachedCluster
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttachedCluster
parseFrom(com.google.protobuf.CodedInputStream input)
static AttachedCluster
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttachedCluster
parseFrom(InputStream input)
static AttachedCluster
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AttachedCluster
parseFrom(ByteBuffer data)
static AttachedCluster
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AttachedCluster>
parser()
AttachedCluster.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
hasOidcConfig
in 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:
getOidcConfig
in 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:
getOidcConfigOrBuilder
in 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:
getPlatformVersion
in 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:
getPlatformVersionBytes
in 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:
getDistribution
in 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:
getDistributionBytes
in 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:
getClusterRegion
in 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:
getClusterRegionBytes
in 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:
hasFleet
in 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:
getFleet
in 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:
getFleetOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:
getUid
in 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:
getUidBytes
in 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:
getReconciling
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in 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:
getEtag
in 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:
getEtagBytes
in 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:
getKubernetesVersion
in 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:
getKubernetesVersionBytes
in interfaceAttachedClusterOrBuilder
- Returns:
- The bytes for kubernetesVersion.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:AttachedClusterOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceAttachedClusterOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:
hasWorkloadIdentityConfig
in 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:
getWorkloadIdentityConfig
in 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:
getWorkloadIdentityConfigOrBuilder
in 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:
hasLoggingConfig
in 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:
getLoggingConfig
in 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:
getLoggingConfigOrBuilder
in 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:
getErrorsList
in 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:
getErrorsOrBuilderList
in 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:
getErrorsCount
in 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:
getErrors
in 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:
getErrorsOrBuilder
in 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:
hasAuthorization
in 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:
getAuthorization
in 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:
getAuthorizationOrBuilder
in 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:
hasMonitoringConfig
in 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:
getMonitoringConfig
in 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:
getMonitoringConfigOrBuilder
in interfaceAttachedClusterOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AttachedCluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AttachedCluster getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-