public final class MembershipEndpoint extends com.google.protobuf.GeneratedMessageV3 implements MembershipEndpointOrBuilder
MembershipEndpoint contains information needed to contact a Kubernetes API, endpoint and any additional Kubernetes metadata.Protobuf type
google.cloud.gkehub.v1beta1.MembershipEndpoint| Modifier and Type | Class and Description |
|---|---|
static class |
MembershipEndpoint.Builder
MembershipEndpoint contains information needed to contact a Kubernetes API,
endpoint and any additional Kubernetes metadata.
|
static class |
MembershipEndpoint.TypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
APPLIANCE_CLUSTER_FIELD_NUMBER |
static int |
EDGE_CLUSTER_FIELD_NUMBER |
static int |
GKE_CLUSTER_FIELD_NUMBER |
static int |
KUBERNETES_METADATA_FIELD_NUMBER |
static int |
KUBERNETES_RESOURCE_FIELD_NUMBER |
static int |
MULTI_CLOUD_CLUSTER_FIELD_NUMBER |
static int |
ON_PREM_CLUSTER_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GKE_CLUSTER_FIELD_NUMBER
public static final int ON_PREM_CLUSTER_FIELD_NUMBER
public static final int MULTI_CLOUD_CLUSTER_FIELD_NUMBER
public static final int EDGE_CLUSTER_FIELD_NUMBER
public static final int APPLIANCE_CLUSTER_FIELD_NUMBER
public static final int KUBERNETES_METADATA_FIELD_NUMBER
public static final int KUBERNETES_RESOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public MembershipEndpoint.TypeCase getTypeCase()
getTypeCase in interface MembershipEndpointOrBuilderpublic boolean hasGkeCluster()
Optional. Specific information for a GKE-on-GCP cluster.
.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];
hasGkeCluster in interface MembershipEndpointOrBuilderpublic GkeCluster getGkeCluster()
Optional. Specific information for a GKE-on-GCP cluster.
.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];
getGkeCluster in interface MembershipEndpointOrBuilderpublic GkeClusterOrBuilder getGkeClusterOrBuilder()
Optional. Specific information for a GKE-on-GCP cluster.
.google.cloud.gkehub.v1beta1.GkeCluster gke_cluster = 4 [(.google.api.field_behavior) = OPTIONAL];
getGkeClusterOrBuilder in interface MembershipEndpointOrBuilderpublic 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];
hasOnPremCluster in interface MembershipEndpointOrBuilderpublic 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];
getOnPremCluster in interface MembershipEndpointOrBuilderpublic 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];
getOnPremClusterOrBuilder in interface MembershipEndpointOrBuilderpublic 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];
hasMultiCloudCluster in interface MembershipEndpointOrBuilderpublic 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];
getMultiCloudCluster in interface MembershipEndpointOrBuilderpublic 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];
getMultiCloudClusterOrBuilder in interface MembershipEndpointOrBuilderpublic boolean hasEdgeCluster()
Optional. Specific information for a Google Edge cluster.
.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];
hasEdgeCluster in interface MembershipEndpointOrBuilderpublic EdgeCluster getEdgeCluster()
Optional. Specific information for a Google Edge cluster.
.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];
getEdgeCluster in interface MembershipEndpointOrBuilderpublic EdgeClusterOrBuilder getEdgeClusterOrBuilder()
Optional. Specific information for a Google Edge cluster.
.google.cloud.gkehub.v1beta1.EdgeCluster edge_cluster = 9 [(.google.api.field_behavior) = OPTIONAL];
getEdgeClusterOrBuilder in interface MembershipEndpointOrBuilderpublic boolean hasApplianceCluster()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];
hasApplianceCluster in interface MembershipEndpointOrBuilderpublic ApplianceCluster getApplianceCluster()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];
getApplianceCluster in interface MembershipEndpointOrBuilderpublic ApplianceClusterOrBuilder getApplianceClusterOrBuilder()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.cloud.gkehub.v1beta1.ApplianceCluster appliance_cluster = 10 [(.google.api.field_behavior) = OPTIONAL];
getApplianceClusterOrBuilder in interface MembershipEndpointOrBuilderpublic boolean hasKubernetesMetadata()
Output only. Useful Kubernetes-specific metadata.
.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasKubernetesMetadata in interface MembershipEndpointOrBuilderpublic KubernetesMetadata getKubernetesMetadata()
Output only. Useful Kubernetes-specific metadata.
.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getKubernetesMetadata in interface MembershipEndpointOrBuilderpublic KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()
Output only. Useful Kubernetes-specific metadata.
.google.cloud.gkehub.v1beta1.KubernetesMetadata kubernetes_metadata = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getKubernetesMetadataOrBuilder in interface MembershipEndpointOrBuilderpublic 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];
hasKubernetesResource in interface MembershipEndpointOrBuilderpublic 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];
getKubernetesResource in interface MembershipEndpointOrBuilderpublic 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];
getKubernetesResourceOrBuilder in interface MembershipEndpointOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MembershipEndpoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MembershipEndpoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static MembershipEndpoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MembershipEndpoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MembershipEndpoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MembershipEndpoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MembershipEndpoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MembershipEndpoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MembershipEndpoint.Builder newBuilder()
public static MembershipEndpoint.Builder newBuilder(MembershipEndpoint prototype)
public MembershipEndpoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MembershipEndpoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MembershipEndpoint getDefaultInstance()
public static com.google.protobuf.Parser<MembershipEndpoint> parser()
public com.google.protobuf.Parser<MembershipEndpoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MembershipEndpoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.