public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilderA collection of virtual machines and connected resources forming a high-performance computing cluster capable of running large-scale, tightly coupled workloads. A cluster combines a set a compute resources that perform computations, storage resources that contain inputs and store outputs, an orchestrator that is responsible for assigning jobs to compute resources, and network resources that connect everything together.
Protobuf type google.cloud.hypercomputecluster.v1beta.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
build()
public Cluster build()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
buildPartial()
public Cluster buildPartial()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
clear()
public Cluster.Builder clear()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearComputeResources()
public Cluster.Builder clearComputeResources()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearCreateTime()
public Cluster.Builder clearCreateTime()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearDescription()
public Cluster.Builder clearDescription()Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearLabels()
public Cluster.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearName()
public Cluster.Builder clearName() Identifier. Relative resource name of the
cluster, in the format
projects/{project}/locations/{location}/clusters/{cluster}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
clearNetworkResources()
public Cluster.Builder clearNetworkResources()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearOrchestrator()
public Cluster.Builder clearOrchestrator()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearReconciling()
public Cluster.Builder clearReconciling() 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 | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
clearStorageResources()
public Cluster.Builder clearStorageResources()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clearUpdateTime()
public Cluster.Builder clearUpdateTime()Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
clone()
public Cluster.Builder clone()| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
containsComputeResources(String key)
public boolean containsComputeResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsLabels(String key)
public boolean containsLabels(String key)Optional. Labels 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsNetworkResources(String key)
public boolean containsNetworkResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsStorageResources(String key)
public boolean containsStorageResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getComputeResources() (deprecated)
public Map<String,ComputeResource> getComputeResources()Use #getComputeResourcesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ComputeResource> |
|
getComputeResourcesCount()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getComputeResourcesMap()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,ComputeResource> |
|
getComputeResourcesOrDefault(String key, ComputeResource defaultValue)
public ComputeResource getComputeResourcesOrDefault(String key, ComputeResource defaultValue)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ComputeResource |
| Returns | |
|---|---|
| Type | Description |
ComputeResource |
|
getComputeResourcesOrThrow(String key)
public ComputeResource getComputeResourcesOrThrow(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ComputeResource |
|
getCreateTime()
public Timestamp getCreateTime()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Cluster |
|
getDescription()
public String getDescription()Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public int getLabelsCount()Optional. Labels 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. Labels 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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. Labels 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. Labels 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableComputeResources() (deprecated)
public Map<String,ComputeResource> getMutableComputeResources()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,ComputeResource> |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableNetworkResources() (deprecated)
public Map<String,NetworkResource> getMutableNetworkResources()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,NetworkResource> |
|
getMutableStorageResources() (deprecated)
public Map<String,StorageResource> getMutableStorageResources()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,StorageResource> |
|
getName()
public String getName() Identifier. Relative resource name of the
cluster, in the format
projects/{project}/locations/{location}/clusters/{cluster}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. Relative resource name of the
cluster, in the format
projects/{project}/locations/{location}/clusters/{cluster}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetworkResources() (deprecated)
public Map<String,NetworkResource> getNetworkResources()Use #getNetworkResourcesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,NetworkResource> |
|
getNetworkResourcesCount()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getNetworkResourcesMap()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,NetworkResource> |
|
getNetworkResourcesOrDefault(String key, NetworkResource defaultValue)
public NetworkResource getNetworkResourcesOrDefault(String key, NetworkResource defaultValue)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
NetworkResource |
| Returns | |
|---|---|
| Type | Description |
NetworkResource |
|
getNetworkResourcesOrThrow(String key)
public NetworkResource getNetworkResourcesOrThrow(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
NetworkResource |
|
getOrchestrator()
public Orchestrator getOrchestrator()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Orchestrator |
The orchestrator. |
getOrchestratorBuilder()
public Orchestrator.Builder getOrchestratorBuilder()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Orchestrator.Builder |
|
getOrchestratorOrBuilder()
public OrchestratorOrBuilder getOrchestratorOrBuilder()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
OrchestratorOrBuilder |
|
getReconciling()
public 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 | |
|---|---|
| Type | Description |
boolean |
The reconciling. |
getStorageResources() (deprecated)
public Map<String,StorageResource> getStorageResources()Use #getStorageResourcesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,StorageResource> |
|
getStorageResourcesCount()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getStorageResourcesMap()
public 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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,StorageResource> |
|
getStorageResourcesOrDefault(String key, StorageResource defaultValue)
public StorageResource getStorageResourcesOrDefault(String key, StorageResource defaultValue)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
StorageResource |
| Returns | |
|---|---|
| Type | Description |
StorageResource |
|
getStorageResourcesOrThrow(String key)
public StorageResource getStorageResourcesOrThrow(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
StorageResource |
|
getUpdateTime()
public 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 | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasOrchestrator()
public boolean hasOrchestrator()Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the orchestrator field is set. |
hasUpdateTime()
public 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 | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Cluster.Builder mergeCreateTime(Timestamp value)Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)| Parameter | |
|---|---|
| Name | Description |
other |
Cluster |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeOrchestrator(Orchestrator value)
public Cluster.Builder mergeOrchestrator(Orchestrator value)Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Orchestrator |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
mergeUpdateTime(Timestamp value)
public Cluster.Builder mergeUpdateTime(Timestamp value)Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putAllComputeResources(Map<String,ComputeResource> values)
public Cluster.Builder putAllComputeResources(Map<String,ComputeResource> values)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,ComputeResource> |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putAllLabels(Map<String,String> values)
public Cluster.Builder putAllLabels(Map<String,String> values)Optional. Labels 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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putAllNetworkResources(Map<String,NetworkResource> values)
public Cluster.Builder putAllNetworkResources(Map<String,NetworkResource> values)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,NetworkResource> |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putAllStorageResources(Map<String,StorageResource> values)
public Cluster.Builder putAllStorageResources(Map<String,StorageResource> values)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,StorageResource> |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putComputeResources(String key, ComputeResource value)
public Cluster.Builder putComputeResources(String key, ComputeResource value)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
ComputeResource |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putComputeResourcesBuilderIfAbsent(String key)
public ComputeResource.Builder putComputeResourcesBuilderIfAbsent(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ComputeResource.Builder |
|
putLabels(String key, String value)
public Cluster.Builder putLabels(String key, String value)Optional. Labels 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putNetworkResources(String key, NetworkResource value)
public Cluster.Builder putNetworkResources(String key, NetworkResource value)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
NetworkResource |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putNetworkResourcesBuilderIfAbsent(String key)
public NetworkResource.Builder putNetworkResourcesBuilderIfAbsent(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
NetworkResource.Builder |
|
putStorageResources(String key, StorageResource value)
public Cluster.Builder putStorageResources(String key, StorageResource value)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
StorageResource |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
putStorageResourcesBuilderIfAbsent(String key)
public StorageResource.Builder putStorageResourcesBuilderIfAbsent(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
StorageResource.Builder |
|
removeComputeResources(String key)
public Cluster.Builder removeComputeResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.ComputeResource> compute_resources = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
removeLabels(String key)
public Cluster.Builder removeLabels(String key)Optional. Labels 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
removeNetworkResources(String key)
public Cluster.Builder removeNetworkResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.NetworkResource> network_resources = 11 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
removeStorageResources(String key)
public Cluster.Builder removeStorageResources(String key)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 (lower-case, alphanumeric, and at most 63 characters).
map<string, .google.cloud.hypercomputecluster.v1beta.StorageResource> storage_resources = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setCreateTime(Timestamp value)
public Cluster.Builder setCreateTime(Timestamp value)Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Time that the cluster was originally created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setDescription(String value)
public Cluster.Builder setDescription(String value)Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Cluster.Builder setDescriptionBytes(ByteString value)Optional. User-provided description of the cluster.
string description = 9 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setName(String value)
public Cluster.Builder setName(String value) Identifier. Relative resource name of the
cluster, in the format
projects/{project}/locations/{location}/clusters/{cluster}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Cluster.Builder setNameBytes(ByteString value) Identifier. Relative resource name of the
cluster, in the format
projects/{project}/locations/{location}/clusters/{cluster}.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setOrchestrator(Orchestrator value)
public Cluster.Builder setOrchestrator(Orchestrator value)Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Orchestrator |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setOrchestrator(Orchestrator.Builder builderForValue)
public Cluster.Builder setOrchestrator(Orchestrator.Builder builderForValue)Optional. Orchestrator that is responsible for scheduling and running jobs on the cluster.
.google.cloud.hypercomputecluster.v1beta.Orchestrator orchestrator = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Orchestrator.Builder |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setReconciling(boolean value)
public Cluster.Builder setReconciling(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe reconciling to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setUpdateTime(Timestamp value)
public Cluster.Builder setUpdateTime(Timestamp value)Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Cluster.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Time that the cluster was most recently updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Cluster.Builder |
|