Package com.google.cloud.gkehub.v1beta1
Interface OnPremClusterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnPremCluster,OnPremCluster.Builder
@Generated
public interface OnPremClusterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanImmutable.booleanOutput only.Immutable.intImmutable.Immutable.com.google.protobuf.ByteStringImmutable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResourceLink
String getResourceLink()Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The resourceLink.
-
getResourceLinkBytes
com.google.protobuf.ByteString getResourceLinkBytes()Immutable. Self-link of the GCP resource for the GKE On-Prem cluster. For example: //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/vmwareClusters/my-cluster //gkeonprem.googleapis.com/projects/my-project/locations/us-west1-a/bareMetalClusters/my-cluster
string resource_link = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for resourceLink.
-
getClusterMissing
boolean getClusterMissing()Output only. If cluster_missing is set then it denotes that API(gkeonprem.googleapis.com) resource for this GKE On-Prem cluster no longer exists.
bool cluster_missing = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clusterMissing.
-
getAdminCluster
boolean getAdminCluster()Immutable. Whether the cluster is an admin cluster.
bool admin_cluster = 3 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The adminCluster.
-
getClusterTypeValue
int getClusterTypeValue()Immutable. The on prem cluster's type.
.google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType cluster_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The enum numeric value on the wire for clusterType.
-
getClusterType
OnPremCluster.ClusterType getClusterType()Immutable. The on prem cluster's type.
.google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType cluster_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The clusterType.
-