public final class MembershipEndpoint extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
APPLIANCE_CLUSTER_FIELD_NUMBER
public static final int APPLIANCE_CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EDGE_CLUSTER_FIELD_NUMBER
public static final int EDGE_CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GKE_CLUSTER_FIELD_NUMBER
public static final int GKE_CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GOOGLE_MANAGED_FIELD_NUMBER
public static final int GOOGLE_MANAGED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int KUBERNETES_METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
KUBERNETES_RESOURCE_FIELD_NUMBER
public static final int KUBERNETES_RESOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MULTI_CLOUD_CLUSTER_FIELD_NUMBER
public static final int MULTI_CLOUD_CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ON_PREM_CLUSTER_FIELD_NUMBER
public static final int ON_PREM_CLUSTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MembershipEndpoint getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MembershipEndpoint.Builder newBuilder()
newBuilder(MembershipEndpoint prototype)
public static MembershipEndpoint.Builder newBuilder(MembershipEndpoint prototype)
public static MembershipEndpoint parseDelimitedFrom(InputStream input)
public static MembershipEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MembershipEndpoint parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MembershipEndpoint parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(CodedInputStream input)
public static MembershipEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(InputStream input)
public static MembershipEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MembershipEndpoint parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MembershipEndpoint> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getApplianceCluster()
public ApplianceCluster getApplianceCluster()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;
getApplianceClusterOrBuilder()
public ApplianceClusterOrBuilder getApplianceClusterOrBuilder()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;
getDefaultInstanceForType()
public MembershipEndpoint getDefaultInstanceForType()
getEdgeCluster()
public EdgeCluster getEdgeCluster()
Optional. Specific information for a Google Edge cluster.
.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;
getEdgeClusterOrBuilder()
public EdgeClusterOrBuilder getEdgeClusterOrBuilder()
Optional. Specific information for a Google Edge cluster.
.google.events.cloud.gkehub.v1.EdgeCluster edge_cluster = 6;
getGkeCluster()
public GkeCluster getGkeCluster()
Optional. Specific information for a GKE-on-GCP cluster.
.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;
Returns |
Type |
Description |
GkeCluster |
The gkeCluster.
|
getGkeClusterOrBuilder()
public GkeClusterOrBuilder getGkeClusterOrBuilder()
Optional. Specific information for a GKE-on-GCP cluster.
.google.events.cloud.gkehub.v1.GkeCluster gke_cluster = 1;
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 |
Type |
Description |
boolean |
The googleManaged.
|
public KubernetesMetadata getKubernetesMetadata()
Output only. Useful Kubernetes-specific metadata.
.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;
public KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()
Output only. Useful Kubernetes-specific metadata.
.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;
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;
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;
getMultiCloudCluster()
public MultiCloudCluster getMultiCloudCluster()
Optional. Specific information for a GKE Multi-Cloud cluster.
.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;
getMultiCloudClusterOrBuilder()
public MultiCloudClusterOrBuilder getMultiCloudClusterOrBuilder()
Optional. Specific information for a GKE Multi-Cloud cluster.
.google.events.cloud.gkehub.v1.MultiCloudCluster multi_cloud_cluster = 5;
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;
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;
getParserForType()
public Parser<MembershipEndpoint> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTypeCase()
public MembershipEndpoint.TypeCase getTypeCase()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasApplianceCluster()
public boolean hasApplianceCluster()
Optional. Specific information for a GDC Edge Appliance cluster.
.google.events.cloud.gkehub.v1.ApplianceCluster appliance_cluster = 7;
Returns |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the gkeCluster field is set.
|
public boolean hasKubernetesMetadata()
Output only. Useful Kubernetes-specific metadata.
.google.events.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2;
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.events.cloud.gkehub.v1.KubernetesResource kubernetes_resource = 3;
Returns |
Type |
Description |
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 |
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.events.cloud.gkehub.v1.OnPremCluster on_prem_cluster = 4;
Returns |
Type |
Description |
boolean |
Whether the onPremCluster field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MembershipEndpoint.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MembershipEndpoint.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides