- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
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.cloud.gkehub.v1.MembershipEndpoint
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MembershipEndpointImplements
MembershipEndpointOrBuilderStatic Fields
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 |
KUBERNETES_METADATA_FIELD_NUMBER
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 |
Static Methods
getDefaultInstance()
public static MembershipEndpoint getDefaultInstance()
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static MembershipEndpoint.Builder newBuilder()
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
newBuilder(MembershipEndpoint prototype)
public static MembershipEndpoint.Builder newBuilder(MembershipEndpoint prototype)
Parameter | |
---|---|
Name | Description |
prototype | MembershipEndpoint |
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
parseDelimitedFrom(InputStream input)
public static MembershipEndpoint parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static MembershipEndpoint parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static MembershipEndpoint parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static MembershipEndpoint parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static MembershipEndpoint parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static MembershipEndpoint parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipEndpoint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<MembershipEndpoint> parser()
Returns | |
---|---|
Type | Description |
Parser<MembershipEndpoint> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public MembershipEndpoint getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MembershipEndpoint |
getGkeCluster()
public GkeCluster getGkeCluster()
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GkeCluster | The gkeCluster. |
getGkeClusterOrBuilder()
public GkeClusterOrBuilder getGkeClusterOrBuilder()
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The googleManaged. |
getKubernetesMetadata()
public KubernetesMetadata getKubernetesMetadata()
Output only. Useful Kubernetes-specific metadata.
.google.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
KubernetesMetadata | The kubernetesMetadata. |
getKubernetesMetadataOrBuilder()
public KubernetesMetadataOrBuilder getKubernetesMetadataOrBuilder()
Output only. Useful Kubernetes-specific metadata.
.google.cloud.gkehub.v1.KubernetesMetadata kubernetes_metadata = 2 [(.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.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
KubernetesResource | The kubernetesResource. |
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.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
KubernetesResourceOrBuilder |
getParserForType()
public Parser<MembershipEndpoint> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<MembershipEndpoint> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasGkeCluster()
public boolean hasGkeCluster()
Optional. GKE-specific information. Only present if this Membership is a GKE cluster.
.google.cloud.gkehub.v1.GkeCluster gke_cluster = 1 [(.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.v1.KubernetesMetadata kubernetes_metadata = 2 [(.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.v1.KubernetesResource kubernetes_resource = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean | Whether the kubernetesResource field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public MembershipEndpoint.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipEndpoint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public MembershipEndpoint.Builder toBuilder()
Returns | |
---|---|
Type | Description |
MembershipEndpoint.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |