Class MembershipEndpoint.Builder (0.14.1)

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.events.cloud.gkehub.v1.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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

Returns
TypeDescription
MembershipEndpoint.Builder

clearEdgeCluster()

public MembershipEndpoint.Builder clearEdgeCluster()

Optional. Specific information for a Google Edge cluster.

.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

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.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Returns
TypeDescription
MembershipEndpoint.Builder

clearGoogleManaged()

public MembershipEndpoint.Builder clearGoogleManaged()

Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.

bool google_managed = 8;

Returns
TypeDescription
MembershipEndpoint.Builder

This builder for chaining.

clearKubernetesMetadata()

public MembershipEndpoint.Builder clearKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

Returns
TypeDescription
MembershipEndpoint.Builder

clearMultiCloudCluster()

public MembershipEndpoint.Builder clearMultiCloudCluster()

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

.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

Returns
TypeDescription
ApplianceCluster

The applianceCluster.

getApplianceClusterBuilder()

public ApplianceCluster.Builder getApplianceClusterBuilder()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

Returns
TypeDescription
ApplianceCluster.Builder

getApplianceClusterOrBuilder()

public ApplianceClusterOrBuilder getApplianceClusterOrBuilder()

Optional. Specific information for a GDC Edge Appliance cluster.

.google.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

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.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

Returns
TypeDescription
EdgeCluster

The edgeCluster.

getEdgeClusterBuilder()

public EdgeCluster.Builder getEdgeClusterBuilder()

Optional. Specific information for a Google Edge cluster.

.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

Returns
TypeDescription
EdgeCluster.Builder

getEdgeClusterOrBuilder()

public EdgeClusterOrBuilder getEdgeClusterOrBuilder()

Optional. Specific information for a Google Edge cluster.

.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

Returns
TypeDescription
EdgeClusterOrBuilder

getGkeCluster()

public GkeCluster getGkeCluster()

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

.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Returns
TypeDescription
GkeCluster

The gkeCluster.

getGkeClusterBuilder()

public GkeCluster.Builder getGkeClusterBuilder()

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

.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Returns
TypeDescription
GkeCluster.Builder

getGkeClusterOrBuilder()

public GkeClusterOrBuilder getGkeClusterOrBuilder()

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

.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Returns
TypeDescription
GkeClusterOrBuilder

getGoogleManaged()

public boolean getGoogleManaged()

Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.

bool google_managed = 8;

Returns
TypeDescription
boolean

The googleManaged.

getKubernetesMetadata()

public KubernetesMetadata getKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

Returns
TypeDescription
KubernetesMetadata

The kubernetesMetadata.

getKubernetesMetadataBuilder()

public KubernetesMetadata.Builder getKubernetesMetadataBuilder()

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

Returns
TypeDescription
KubernetesMetadata.Builder

getKubernetesMetadataOrBuilder()

public KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

Returns
TypeDescription
KubernetesResourceOrBuilder

getMultiCloudCluster()

public MultiCloudCluster getMultiCloudCluster()

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

.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

Returns
TypeDescription
MultiCloudCluster

The multiCloudCluster.

getMultiCloudClusterBuilder()

public MultiCloudCluster.Builder getMultiCloudClusterBuilder()

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

.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

Returns
TypeDescription
MultiCloudCluster.Builder

getMultiCloudClusterOrBuilder()

public MultiCloudClusterOrBuilder getMultiCloudClusterOrBuilder()

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

.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

Returns
TypeDescription
boolean

Whether the applianceCluster field is set.

hasEdgeCluster()

public boolean hasEdgeCluster()

Optional. Specific information for a Google Edge cluster.

.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

Returns
TypeDescription
boolean

Whether the edgeCluster field is set.

hasGkeCluster()

public boolean hasGkeCluster()

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

.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Returns
TypeDescription
boolean

Whether the gkeCluster field is set.

hasKubernetesMetadata()

public boolean hasKubernetesMetadata()

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

Returns
TypeDescription
boolean

Whether the kubernetesResource field is set.

hasMultiCloudCluster()

public boolean hasMultiCloudCluster()

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

.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

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.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

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.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Parameter
NameDescription
valueGkeCluster
Returns
TypeDescription
MembershipEndpoint.Builder

mergeKubernetesMetadata(KubernetesMetadata value)

public MembershipEndpoint.Builder mergeKubernetesMetadata(KubernetesMetadata value)

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

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.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

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.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;

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.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

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.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;

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.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

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.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;

Parameter
NameDescription
builderForValueGkeCluster.Builder
Returns
TypeDescription
MembershipEndpoint.Builder

setGoogleManaged(boolean value)

public MembershipEndpoint.Builder setGoogleManaged(boolean value)

Output only. Whether the lifecycle of this membership is managed by a google cluster platform service.

bool google_managed = 8;

Parameter
NameDescription
valueboolean

The googleManaged to set.

Returns
TypeDescription
MembershipEndpoint.Builder

This builder for chaining.

setKubernetesMetadata(KubernetesMetadata value)

public MembershipEndpoint.Builder setKubernetesMetadata(KubernetesMetadata value)

Output only. Useful Kubernetes-specific metadata.

.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;

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.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;

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