public final class Cluster extends GeneratedMessageV3 implements ClusterOrBuilder
A Google Distributed Cloud Edge Kubernetes cluster.
Protobuf type google.cloud.edgecontainer.v1.Cluster
Static Fields
AUTHORIZATION_FIELD_NUMBER
public static final int AUTHORIZATION_FIELD_NUMBER
Field Value
CLUSTER_CA_CERTIFICATE_FIELD_NUMBER
public static final int CLUSTER_CA_CERTIFICATE_FIELD_NUMBER
Field Value
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER
public static final int DEFAULT_MAX_PODS_PER_NODE_FIELD_NUMBER
Field Value
ENDPOINT_FIELD_NUMBER
public static final int ENDPOINT_FIELD_NUMBER
Field Value
FLEET_FIELD_NUMBER
public static final int FLEET_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
MAINTENANCE_POLICY_FIELD_NUMBER
public static final int MAINTENANCE_POLICY_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NETWORKING_FIELD_NUMBER
public static final int NETWORKING_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Cluster getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Cluster.Builder newBuilder()
Returns
newBuilder(Cluster prototype)
public static Cluster.Builder newBuilder(Cluster prototype)
Parameter
Returns
public static Cluster parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Cluster parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Cluster parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Cluster parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cluster parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cluster parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Cluster parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cluster parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Cluster> parser()
Returns
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthorization()
public 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];
Returns
getAuthorizationOrBuilder()
public 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];
Returns
getClusterCaCertificate()
public 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];
Returns
Type | Description |
String | The clusterCaCertificate.
|
getClusterCaCertificateBytes()
public 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];
Returns
Type | Description |
ByteString | The bytes for clusterCaCertificate.
|
getCreateTime()
public Timestamp getCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Returns
getDefaultMaxPodsPerNode()
public 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];
Returns
Type | Description |
int | The defaultMaxPodsPerNode.
|
getEndpoint()
public String getEndpoint()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The endpoint.
|
getEndpointBytes()
public ByteString getEndpointBytes()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
Fleet | The fleet.
|
getFleetOrBuilder()
public FleetOrBuilder getFleetOrBuilder()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
Parameter
Returns
getMaintenancePolicy()
public MaintenancePolicy getMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
getMaintenancePolicyOrBuilder()
public MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
getName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
getNetworking()
public ClusterNetworking getNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns
getNetworkingOrBuilder()
public ClusterNetworkingOrBuilder getNetworkingOrBuilder()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<Cluster> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
hasAuthorization()
public 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];
Returns
Type | Description |
boolean | Whether the authorization field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the createTime field is set.
|
hasFleet()
public boolean hasFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the fleet field is set.
|
hasMaintenancePolicy()
public boolean hasMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the maintenancePolicy field is set.
|
hasNetworking()
public boolean hasNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the networking field is set.
|
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The time when the cluster was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Cluster.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cluster.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Cluster.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions