Class MembershipEndpoint.Builder (1.45.0)

public static final class MembershipEndpoint.Builder extends GeneratedMessageV3.Builder<MembershipEndpoint.Builder> implements MembershipEndpointOrBuilder

MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.

Protobuf type google.cloud.gkehub.v1beta1.MembershipEndpoint

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipEndpoint.Builder
Overrides

build()

public MembershipEndpoint build()
Returns
Type Description
MembershipEndpoint

buildPartial()

public MembershipEndpoint buildPartial()
Returns
Type Description
MembershipEndpoint

clear()

public MembershipEndpoint.Builder clear()
Returns
Type Description
MembershipEndpoint.Builder
Overrides

clearApplianceCluster()

public MembershipEndpoint.Builder clearApplianceCluster()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearEdgeCluster()

public MembershipEndpoint.Builder clearEdgeCluster()

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearField(Descriptors.FieldDescriptor field)

public MembershipEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MembershipEndpoint.Builder
Overrides

clearGkeCluster()

public MembershipEndpoint.Builder clearGkeCluster()

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearKubernetesMetadata()

public MembershipEndpoint.Builder clearKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipEndpoint.Builder

clearKubernetesResource()

public MembershipEndpoint.Builder clearKubernetesResource()

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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearMultiCloudCluster()

public MembershipEndpoint.Builder clearMultiCloudCluster()

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearOnPremCluster()

public MembershipEndpoint.Builder clearOnPremCluster()

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipEndpoint.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MembershipEndpoint.Builder
Overrides

clearType()

public MembershipEndpoint.Builder clearType()
Returns
Type Description
MembershipEndpoint.Builder

clone()

public MembershipEndpoint.Builder clone()
Returns
Type Description
MembershipEndpoint.Builder
Overrides

getApplianceCluster()

public ApplianceCluster getApplianceCluster()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplianceCluster

The applianceCluster.

getApplianceClusterBuilder()

public ApplianceCluster.Builder getApplianceClusterBuilder()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplianceCluster.Builder

getApplianceClusterOrBuilder()

public ApplianceClusterOrBuilder getApplianceClusterOrBuilder()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ApplianceClusterOrBuilder

getDefaultInstanceForType()

public MembershipEndpoint getDefaultInstanceForType()
Returns
Type Description
MembershipEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEdgeCluster()

public EdgeCluster getEdgeCluster()

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EdgeCluster

The edgeCluster.

getEdgeClusterBuilder()

public EdgeCluster.Builder getEdgeClusterBuilder()

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EdgeCluster.Builder

getEdgeClusterOrBuilder()

public EdgeClusterOrBuilder getEdgeClusterOrBuilder()

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EdgeClusterOrBuilder

getGkeCluster()

public GkeCluster getGkeCluster()

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeCluster

The gkeCluster.

getGkeClusterBuilder()

public GkeCluster.Builder getGkeClusterBuilder()

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeCluster.Builder

getGkeClusterOrBuilder()

public GkeClusterOrBuilder getGkeClusterOrBuilder()

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GkeClusterOrBuilder

getKubernetesMetadata()

public KubernetesMetadata getKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
KubernetesMetadata

The kubernetesMetadata.

getKubernetesMetadataBuilder()

public KubernetesMetadata.Builder getKubernetesMetadataBuilder()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
KubernetesMetadata.Builder

getKubernetesMetadataOrBuilder()

public KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
KubernetesMetadataOrBuilder

getKubernetesResource()

public 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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KubernetesResource

The kubernetesResource.

getKubernetesResourceBuilder()

public KubernetesResource.Builder getKubernetesResourceBuilder()

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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KubernetesResource.Builder

getKubernetesResourceOrBuilder()

public 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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
KubernetesResourceOrBuilder

getMultiCloudCluster()

public MultiCloudCluster getMultiCloudCluster()

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiCloudCluster

The multiCloudCluster.

getMultiCloudClusterBuilder()

public MultiCloudCluster.Builder getMultiCloudClusterBuilder()

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiCloudCluster.Builder

getMultiCloudClusterOrBuilder()

public MultiCloudClusterOrBuilder getMultiCloudClusterOrBuilder()

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MultiCloudClusterOrBuilder

getOnPremCluster()

public OnPremCluster getOnPremCluster()

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnPremCluster

The onPremCluster.

getOnPremClusterBuilder()

public OnPremCluster.Builder getOnPremClusterBuilder()

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnPremCluster.Builder

getOnPremClusterOrBuilder()

public OnPremClusterOrBuilder getOnPremClusterOrBuilder()

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OnPremClusterOrBuilder

getTypeCase()

public MembershipEndpoint.TypeCase getTypeCase()
Returns
Type Description
MembershipEndpoint.TypeCase

hasApplianceCluster()

public boolean hasApplianceCluster()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the applianceCluster field is set.

hasEdgeCluster()

public boolean hasEdgeCluster()

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the edgeCluster field is set.

hasGkeCluster()

public boolean hasGkeCluster()

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the gkeCluster field is set.

hasKubernetesMetadata()

public boolean hasKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the kubernetesMetadata field is set.

hasKubernetesResource()

public 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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the kubernetesResource field is set.

hasMultiCloudCluster()

public boolean hasMultiCloudCluster()

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the multiCloudCluster field is set.

hasOnPremCluster()

public boolean hasOnPremCluster()

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the onPremCluster field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApplianceCluster(ApplianceCluster value)

public MembershipEndpoint.Builder mergeApplianceCluster(ApplianceCluster value)

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ApplianceCluster
Returns
Type Description
MembershipEndpoint.Builder

mergeEdgeCluster(EdgeCluster value)

public MembershipEndpoint.Builder mergeEdgeCluster(EdgeCluster value)

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EdgeCluster
Returns
Type Description
MembershipEndpoint.Builder

mergeFrom(MembershipEndpoint other)

public MembershipEndpoint.Builder mergeFrom(MembershipEndpoint other)
Parameter
Name Description
other MembershipEndpoint
Returns
Type Description
MembershipEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipEndpoint.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MembershipEndpoint.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MembershipEndpoint.Builder
Overrides

mergeGkeCluster(GkeCluster value)

public MembershipEndpoint.Builder mergeGkeCluster(GkeCluster value)

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GkeCluster
Returns
Type Description
MembershipEndpoint.Builder

mergeKubernetesMetadata(KubernetesMetadata value)

public MembershipEndpoint.Builder mergeKubernetesMetadata(KubernetesMetadata value)

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value KubernetesMetadata
Returns
Type Description
MembershipEndpoint.Builder

mergeKubernetesResource(KubernetesResource value)

public MembershipEndpoint.Builder mergeKubernetesResource(KubernetesResource value)

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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value KubernetesResource
Returns
Type Description
MembershipEndpoint.Builder

mergeMultiCloudCluster(MultiCloudCluster value)

public MembershipEndpoint.Builder mergeMultiCloudCluster(MultiCloudCluster value)

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiCloudCluster
Returns
Type Description
MembershipEndpoint.Builder

mergeOnPremCluster(OnPremCluster value)

public MembershipEndpoint.Builder mergeOnPremCluster(OnPremCluster value)

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OnPremCluster
Returns
Type Description
MembershipEndpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipEndpoint.Builder
Overrides

setApplianceCluster(ApplianceCluster value)

public MembershipEndpoint.Builder setApplianceCluster(ApplianceCluster value)

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ApplianceCluster
Returns
Type Description
MembershipEndpoint.Builder

setApplianceCluster(ApplianceCluster.Builder builderForValue)

public MembershipEndpoint.Builder setApplianceCluster(ApplianceCluster.Builder builderForValue)

Optional. Specific information for a GDC Edge Appliance cluster.

.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ApplianceCluster.Builder
Returns
Type Description
MembershipEndpoint.Builder

setEdgeCluster(EdgeCluster value)

public MembershipEndpoint.Builder setEdgeCluster(EdgeCluster value)

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EdgeCluster
Returns
Type Description
MembershipEndpoint.Builder

setEdgeCluster(EdgeCluster.Builder builderForValue)

public MembershipEndpoint.Builder setEdgeCluster(EdgeCluster.Builder builderForValue)

Optional. Specific information for a Google Edge cluster.

.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EdgeCluster.Builder
Returns
Type Description
MembershipEndpoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MembershipEndpoint.Builder
Overrides

setGkeCluster(GkeCluster value)

public MembershipEndpoint.Builder setGkeCluster(GkeCluster value)

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value GkeCluster
Returns
Type Description
MembershipEndpoint.Builder

setGkeCluster(GkeCluster.Builder builderForValue)

public MembershipEndpoint.Builder setGkeCluster(GkeCluster.Builder builderForValue)

Optional. Specific information for a GKE-on-GCP cluster.

.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue GkeCluster.Builder
Returns
Type Description
MembershipEndpoint.Builder

setKubernetesMetadata(KubernetesMetadata value)

public MembershipEndpoint.Builder setKubernetesMetadata(KubernetesMetadata value)

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value KubernetesMetadata
Returns
Type Description
MembershipEndpoint.Builder

setKubernetesMetadata(KubernetesMetadata.Builder builderForValue)

public MembershipEndpoint.Builder setKubernetesMetadata(KubernetesMetadata.Builder builderForValue)

Output only. Useful Kubernetes-specific metadata.

.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue KubernetesMetadata.Builder
Returns
Type Description
MembershipEndpoint.Builder

setKubernetesResource(KubernetesResource value)

public MembershipEndpoint.Builder setKubernetesResource(KubernetesResource value)

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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value KubernetesResource
Returns
Type Description
MembershipEndpoint.Builder

setKubernetesResource(KubernetesResource.Builder builderForValue)

public MembershipEndpoint.Builder setKubernetesResource(KubernetesResource.Builder builderForValue)

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.v1beta1.KubernetesResource kubernetes_resource = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue KubernetesResource.Builder
Returns
Type Description
MembershipEndpoint.Builder

setMultiCloudCluster(MultiCloudCluster value)

public MembershipEndpoint.Builder setMultiCloudCluster(MultiCloudCluster value)

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value MultiCloudCluster
Returns
Type Description
MembershipEndpoint.Builder

setMultiCloudCluster(MultiCloudCluster.Builder builderForValue)

public MembershipEndpoint.Builder setMultiCloudCluster(MultiCloudCluster.Builder builderForValue)

Optional. Specific information for a GKE Multi-Cloud cluster.

.google.cloud.gkehub.v1beta1.MultiCloudCluster multi_cloud_cluster = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue MultiCloudCluster.Builder
Returns
Type Description
MembershipEndpoint.Builder

setOnPremCluster(OnPremCluster value)

public MembershipEndpoint.Builder setOnPremCluster(OnPremCluster value)

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value OnPremCluster
Returns
Type Description
MembershipEndpoint.Builder

setOnPremCluster(OnPremCluster.Builder builderForValue)

public MembershipEndpoint.Builder setOnPremCluster(OnPremCluster.Builder builderForValue)

Optional. Specific information for a GKE On-Prem cluster. An onprem user-cluster who has no resourceLink is not allowed to use this field, it should have a nil "type" instead.

.google.cloud.gkehub.v1beta1.OnPremCluster on_prem_cluster = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue OnPremCluster.Builder
Returns
Type Description
MembershipEndpoint.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MembershipEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MembershipEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MembershipEndpoint.Builder
Overrides