public final class Cluster extends com.google.protobuf.GeneratedMessageV3 implements ClusterOrBuilder
A Google Distributed Cloud Edge Kubernetes cluster.Protobuf type
google.cloud.edgecontainer.v1.Cluster| Modifier and Type | Class and Description |
|---|---|
static class |
Cluster.Builder
A Google Distributed Cloud Edge Kubernetes cluster.
|
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 |
AUTHORIZATION_FIELD_NUMBER |
static int |
CLUSTER_CA_CERTIFICATE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER |
static int |
ENDPOINT_FIELD_NUMBER |
static int |
FLEET_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
MAINTENANCE_POLICY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NETWORKING_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this resource.
|
boolean |
equals(Object obj) |
Authorization |
getAuthorization()
Required.
|
AuthorizationOrBuilder |
getAuthorizationOrBuilder()
Required.
|
String |
getClusterCaCertificate()
Output only.
|
com.google.protobuf.ByteString |
getClusterCaCertificateBytes()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Cluster |
getDefaultInstance() |
Cluster |
getDefaultInstanceForType() |
int |
getDefaultMaxPodsPerNode()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndpoint()
Output only.
|
com.google.protobuf.ByteString |
getEndpointBytes()
Output only.
|
Fleet |
getFleet()
Optional.
|
FleetOrBuilder |
getFleetOrBuilder()
Optional.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this resource.
|
Map<String,String> |
getLabelsMap()
Labels associated with this resource.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this resource.
|
String |
getLabelsOrThrow(String key)
Labels associated with this resource.
|
MaintenancePolicy |
getMaintenancePolicy()
Optional.
|
MaintenancePolicyOrBuilder |
getMaintenancePolicyOrBuilder()
Optional.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
ClusterNetworking |
getNetworking()
Required.
|
ClusterNetworkingOrBuilder |
getNetworkingOrBuilder()
Required.
|
com.google.protobuf.Parser<Cluster> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasAuthorization()
Required.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasFleet()
Optional.
|
int |
hashCode() |
boolean |
hasMaintenancePolicy()
Optional.
|
boolean |
hasNetworking()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Cluster.Builder |
newBuilder() |
static Cluster.Builder |
newBuilder(Cluster prototype) |
Cluster.Builder |
newBuilderForType() |
protected Cluster.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Cluster |
parseDelimitedFrom(InputStream input) |
static Cluster |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(byte[] data) |
static Cluster |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(ByteBuffer data) |
static Cluster |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(com.google.protobuf.ByteString data) |
static Cluster |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Cluster |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Cluster |
parseFrom(InputStream input) |
static Cluster |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Cluster> |
parser() |
Cluster.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, 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 NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int FLEET_FIELD_NUMBER
public static final int NETWORKING_FIELD_NUMBER
public static final int AUTHORIZATION_FIELD_NUMBER
public static final int DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ClusterOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ClusterOrBuilderpublic boolean hasCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface ClusterOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface ClusterOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface ClusterOrBuilderpublic boolean hasUpdateTime()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface ClusterOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface ClusterOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface ClusterOrBuilderpublic int getLabelsCount()
ClusterOrBuilderLabels associated with this resource.
map<string, string> labels = 4;getLabelsCount in interface ClusterOrBuilderpublic boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;containsLabels in interface ClusterOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ClusterOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;getLabelsMap in interface ClusterOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrDefault in interface ClusterOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;getLabelsOrThrow in interface ClusterOrBuilderpublic boolean hasFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
hasFleet in interface ClusterOrBuilderpublic Fleet getFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
getFleet in interface ClusterOrBuilderpublic FleetOrBuilder getFleetOrBuilder()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
getFleetOrBuilder in interface ClusterOrBuilderpublic boolean hasNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
hasNetworking in interface ClusterOrBuilderpublic ClusterNetworking getNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
getNetworking in interface ClusterOrBuilderpublic ClusterNetworkingOrBuilder getNetworkingOrBuilder()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
getNetworkingOrBuilder in interface ClusterOrBuilderpublic boolean hasAuthorization()
Required. Immutable. RBAC policy that will be applied and managed by GEC.
.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
hasAuthorization in interface ClusterOrBuilderpublic Authorization getAuthorization()
Required. Immutable. RBAC policy that will be applied and managed by GEC.
.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getAuthorization in interface ClusterOrBuilderpublic AuthorizationOrBuilder getAuthorizationOrBuilder()
Required. Immutable. RBAC policy that will be applied and managed by GEC.
.google.cloud.edgecontainer.v1.Authorization authorization = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
getAuthorizationOrBuilder in interface ClusterOrBuilderpublic int getDefaultMaxPodsPerNode()
Optional. The default maximum number of pods per node used if a maximum value is not specified explicitly for a node pool in this cluster. If unspecified, the Kubernetes default value will be used.
int32 default_max_pods_per_node = 8 [(.google.api.field_behavior) = OPTIONAL];getDefaultMaxPodsPerNode in interface ClusterOrBuilderpublic String getEndpoint()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getEndpoint in interface ClusterOrBuilderpublic com.google.protobuf.ByteString getEndpointBytes()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getEndpointBytes in interface ClusterOrBuilderpublic String getClusterCaCertificate()
Output only. The PEM-encoded public certificate of the cluster's CA.
string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterCaCertificate in interface ClusterOrBuilderpublic com.google.protobuf.ByteString getClusterCaCertificateBytes()
Output only. The PEM-encoded public certificate of the cluster's CA.
string cluster_ca_certificate = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterCaCertificateBytes in interface ClusterOrBuilderpublic boolean hasMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
hasMaintenancePolicy in interface ClusterOrBuilderpublic MaintenancePolicy getMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
getMaintenancePolicy in interface ClusterOrBuilderpublic MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
getMaintenancePolicyOrBuilder in interface ClusterOrBuilderpublic 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 Cluster parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Cluster parseFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Cluster parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Cluster parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Cluster parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Cluster.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Cluster.Builder newBuilder()
public static Cluster.Builder newBuilder(Cluster prototype)
public Cluster.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Cluster.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Cluster getDefaultInstance()
public static com.google.protobuf.Parser<Cluster> parser()
public com.google.protobuf.Parser<Cluster> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Cluster getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.