Interface ClusterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster,Cluster.Builder
@Generated
public interface ClusterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Optional.booleanOptional.booleanOptional.Deprecated.intOptional.Optional.getComputeResourcesOrDefault(String key, ComputeResource defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.Deprecated.intOptional.Optional.getNetworkResourcesOrDefault(String key, NetworkResource defaultValue) Optional.Optional.Optional.Optional.booleanOutput only.Deprecated.intOptional.Optional.getStorageResourcesOrDefault(String key, StorageResource defaultValue) Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. [Relative resource name](https://google.aip.dev/122) of the cluster, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. [Relative resource name](https://google.aip.dev/122) of the cluster, in the format `projects/{project}/locations/{location}/clusters/{cluster}`.string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getDescription
String getDescription()Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getLabelsCount
int getLabelsCount()Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. [Labels](https://cloud.google.com/compute/docs/labeling-resources) applied to the cluster. Labels can be used to organize clusters and to filter them in queries.
map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; -
hasCreateTime
boolean hasCreateTime()Output only. Time that the cluster was originally 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. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time that the cluster was most recently 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. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getReconciling
boolean getReconciling()Output only. Indicates whether changes to the cluster are currently in flight. If this is `true`, then the current state might not match the cluster's intended state.
bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The reconciling.
-
getNetworkResourcesCount
int getNetworkResourcesCount()Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL]; -
containsNetworkResources
Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkResources
Deprecated.UsegetNetworkResourcesMap()instead. -
getNetworkResourcesMap
Map<String,NetworkResource> getNetworkResourcesMap()Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkResourcesOrDefault
Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getNetworkResourcesOrThrow
Optional. Network resources available to the cluster. Must contain at most one value. Keys specify the ID of the network resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageResourcesCount
int getStorageResourcesCount()Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL]; -
containsStorageResources
Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageResources
Deprecated.UsegetStorageResourcesMap()instead. -
getStorageResourcesMap
Map<String,StorageResource> getStorageResourcesMap()Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageResourcesOrDefault
Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getStorageResourcesOrThrow
Optional. Storage resources available to the cluster. Keys specify the ID of the storage resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL]; -
getComputeResourcesCount
int getComputeResourcesCount()Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL]; -
containsComputeResources
Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getComputeResources
Deprecated.UsegetComputeResourcesMap()instead. -
getComputeResourcesMap
Map<String,ComputeResource> getComputeResourcesMap()Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getComputeResourcesOrDefault
Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL]; -
getComputeResourcesOrThrow
Optional. Compute resources available to the cluster. Keys specify the ID of the compute resource by which it can be referenced elsewhere, and must conform to [RFC-1034](https://datatracker.ietf.org/doc/html/rfc1034) (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL]; -
hasOrchestrator
boolean hasOrchestrator()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the orchestrator field is set.
-
getOrchestrator
Orchestrator getOrchestrator()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The orchestrator.
-
getOrchestratorOrBuilder
OrchestratorOrBuilder getOrchestratorOrBuilder()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
-