Interface OnPremClusterOrBuilder (0.15.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;

Returns
Type Description
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;

Returns
Type Description
boolean

The clusterMissing.

getClusterType()

public abstract OnPremCluster.ClusterType getClusterType()

Immutable. The on prem cluster's type.

.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType cluster_type = 4;

Returns
Type Description
OnPremCluster.ClusterType

The clusterType.

getClusterTypeValue()

public abstract int getClusterTypeValue()

Immutable. The on prem cluster's type.

.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType cluster_type = 4;

Returns
Type Description
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;

Returns
Type Description
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;

Returns
Type Description
ByteString

The bytes for resourceLink.