Interface MembershipEndpointOrBuilder (1.1.0)

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

getKubernetesResource()

public abstract KubernetesResource getKubernetesResource()

Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources:

  • Ensure that the cluster is exclusively registered to one and only one Hub Membership.
  • Propagate Workload Pool Information available in the Membership Authority field.
  • Ensure proper initial configuration of default Hub Features.

.google.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
KubernetesResource

The kubernetesResource.

getKubernetesResourceOrBuilder()

public abstract KubernetesResourceOrBuilder getKubernetesResourceOrBuilder()

Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources:

  • Ensure that the cluster is exclusively registered to one and only one Hub Membership.
  • Propagate Workload Pool Information available in the Membership Authority field.
  • Ensure proper initial configuration of default Hub Features.

.google.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
KubernetesResourceOrBuilder

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.

hasKubernetesResource()

public abstract boolean hasKubernetesResource()

Optional. The in-cluster Kubernetes Resources that should be applied for a correctly registered cluster, in the steady state. These resources:

  • Ensure that the cluster is exclusively registered to one and only one Hub Membership.
  • Propagate Workload Pool Information available in the Membership Authority field.
  • Ensure proper initial configuration of default Hub Features.

.google.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the kubernetesResource field is set.