Interface OnPremClusterOrBuilder (1.19.0)

public interface OnPremClusterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdminCluster()

public abstract boolean getAdminCluster()

Immutable. Whether the cluster is an admin cluster.

bool admin_cluster = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

The adminCluster.

getClusterMissing()

public abstract 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
TypeDescription
boolean

The clusterMissing.

getClusterType()

public abstract 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
TypeDescription
OnPremCluster.ClusterType

The clusterType.

getClusterTypeValue()

public abstract int getClusterTypeValue()

Immutable. The on prem cluster's type.

.google.cloud.gkehub.v1beta1.OnPremCluster.ClusterType cluster_type = 4 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
int

The enum numeric value on the wire for clusterType.

public abstract 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
TypeDescription
String

The resourceLink.

getResourceLinkBytes()

public abstract 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
TypeDescription
ByteString

The bytes for resourceLink.