Interface ClusterOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster,Cluster.Builder
public interface ClusterOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels associated with this resource.AuthorizationgetAuthorization()Required.AuthorizationOrBuildergetAuthorizationOrBuilder()Required.StringgetClusterCaCertificate()Output only.com.google.protobuf.ByteStringgetClusterCaCertificateBytes()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.intgetDefaultMaxPodsPerNode()Optional.StringgetEndpoint()Output only.com.google.protobuf.ByteStringgetEndpointBytes()Output only.FleetgetFleet()Optional.FleetOrBuildergetFleetOrBuilder()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels associated with this resource.Map<String,String>getLabelsMap()Labels associated with this resource.StringgetLabelsOrDefault(String key, String defaultValue)Labels associated with this resource.StringgetLabelsOrThrow(String key)Labels associated with this resource.MaintenancePolicygetMaintenancePolicy()Optional.MaintenancePolicyOrBuildergetMaintenancePolicyOrBuilder()Optional.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.ClusterNetworkinggetNetworking()Required.ClusterNetworkingOrBuildergetNetworkingOrBuilder()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAuthorization()Required.booleanhasCreateTime()Output only.booleanhasFleet()Optional.booleanhasMaintenancePolicy()Optional.booleanhasNetworking()Required.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The resource name of the cluster.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the cluster was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasUpdateTime
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:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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];
-
getLabelsCount
int getLabelsCount()
Labels associated with this resource.
map<string, string> labels = 4;
-
containsLabels
boolean containsLabels(String key)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this resource.
map<string, string> labels = 4;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels associated with this resource.
map<string, string> labels = 4;
-
hasFleet
boolean hasFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the fleet field is set.
-
getFleet
Fleet getFleet()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The fleet.
-
getFleetOrBuilder
FleetOrBuilder getFleetOrBuilder()
Optional. Fleet configuration.
.google.cloud.edgecontainer.v1.Fleet fleet = 11 [(.google.api.field_behavior) = OPTIONAL];
-
hasNetworking
boolean hasNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the networking field is set.
-
getNetworking
ClusterNetworking getNetworking()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The networking.
-
getNetworkingOrBuilder
ClusterNetworkingOrBuilder getNetworkingOrBuilder()
Required. Cluster-wide networking configuration.
.google.cloud.edgecontainer.v1.ClusterNetworking networking = 7 [(.google.api.field_behavior) = REQUIRED];
-
hasAuthorization
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:
- Whether the authorization field is set.
-
getAuthorization
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:
- The authorization.
-
getAuthorizationOrBuilder
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];
-
getDefaultMaxPodsPerNode
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:
- The defaultMaxPodsPerNode.
-
getEndpoint
String getEndpoint()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()
Output only. The IP address of the Kubernetes API server.
string endpoint = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for endpoint.
-
getClusterCaCertificate
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:
- The clusterCaCertificate.
-
getClusterCaCertificateBytes
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];- Returns:
- The bytes for clusterCaCertificate.
-
hasMaintenancePolicy
boolean hasMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the maintenancePolicy field is set.
-
getMaintenancePolicy
MaintenancePolicy getMaintenancePolicy()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The maintenancePolicy.
-
getMaintenancePolicyOrBuilder
MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder()
Optional. Cluster-wide maintenance policy configuration.
.google.cloud.edgecontainer.v1.MaintenancePolicy maintenance_policy = 12 [(.google.api.field_behavior) = OPTIONAL];
-
-