Interface MembershipEndpointOrBuilder (0.5.4)

public interface MembershipEndpointOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGkeCluster()

public abstract GkeCluster getGkeCluster()

Optional. GKE-specific information. Only present if this Membership is a GKE cluster.

.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeCluster

The gkeCluster.

getGkeClusterOrBuilder()

public abstract GkeClusterOrBuilder getGkeClusterOrBuilder()

Optional. GKE-specific information. Only present if this Membership is a GKE cluster.

.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
GkeClusterOrBuilder

getKubernetesMetadata()

public abstract KubernetesMetadata getKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
KubernetesMetadata

The kubernetesMetadata.

getKubernetesMetadataOrBuilder()

public abstract KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
KubernetesMetadataOrBuilder

hasGkeCluster()

public abstract boolean hasGkeCluster()

Optional. GKE-specific information. Only present if this Membership is a GKE cluster.

.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the gkeCluster field is set.

hasKubernetesMetadata()

public abstract boolean hasKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the kubernetesMetadata field is set.