Class MembershipEndpoint.Builder (1.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MembershipEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MembershipEndpoint.Builder
Overrides

build()

public MembershipEndpoint build()
Returns
TypeDescription
MembershipEndpoint

buildPartial()

public MembershipEndpoint buildPartial()
Returns
TypeDescription
MembershipEndpoint

clear()

public MembershipEndpoint.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MembershipEndpoint.Builder

clearField(Descriptors.FieldDescriptor field)

public MembershipEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
MembershipEndpoint.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MembershipEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MembershipEndpoint.Builder
Overrides

clearType()

public MembershipEndpoint.Builder clearType()
Returns
TypeDescription
MembershipEndpoint.Builder

clone()

public MembershipEndpoint.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ApplianceClusterOrBuilder

getDefaultInstanceForType()

public MembershipEndpoint getDefaultInstanceForType()
Returns
TypeDescription
MembershipEndpoint

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
OnPremClusterOrBuilder

getTypeCase()

public MembershipEndpoint.TypeCase getTypeCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the onPremCluster field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueApplianceCluster
Returns
TypeDescription
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
NameDescription
valueEdgeCluster
Returns
TypeDescription
MembershipEndpoint.Builder

mergeFrom(MembershipEndpoint other)

public MembershipEndpoint.Builder mergeFrom(MembershipEndpoint other)
Parameter
NameDescription
otherMembershipEndpoint
Returns
TypeDescription
MembershipEndpoint.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MembershipEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MembershipEndpoint.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MembershipEndpoint.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGkeCluster
Returns
TypeDescription
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
NameDescription
valueKubernetesMetadata
Returns
TypeDescription
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
NameDescription
valueKubernetesResource
Returns
TypeDescription
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
NameDescription
valueMultiCloudCluster
Returns
TypeDescription
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
NameDescription
valueOnPremCluster
Returns
TypeDescription
MembershipEndpoint.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MembershipEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueApplianceCluster
Returns
TypeDescription
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
NameDescription
builderForValueApplianceCluster.Builder
Returns
TypeDescription
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
NameDescription
valueEdgeCluster
Returns
TypeDescription
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
NameDescription
builderForValueEdgeCluster.Builder
Returns
TypeDescription
MembershipEndpoint.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MembershipEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGkeCluster
Returns
TypeDescription
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
NameDescription
builderForValueGkeCluster.Builder
Returns
TypeDescription
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
NameDescription
valueKubernetesMetadata
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesMetadata.Builder
Returns
TypeDescription
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
NameDescription
valueKubernetesResource
Returns
TypeDescription
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
NameDescription
builderForValueKubernetesResource.Builder
Returns
TypeDescription
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
NameDescription
valueMultiCloudCluster
Returns
TypeDescription
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
NameDescription
builderForValueMultiCloudCluster.Builder
Returns
TypeDescription
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
NameDescription
valueOnPremCluster
Returns
TypeDescription
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
NameDescription
builderForValueOnPremCluster.Builder
Returns
TypeDescription
MembershipEndpoint.Builder

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

public MembershipEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MembershipEndpoint.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MembershipEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MembershipEndpoint.Builder
Overrides