Class ComputeEngineOrchestrator.Builder (0.23.0)

public static final class ComputeEngineOrchestrator.Builder extends GeneratedMessage.Builder<ComputeEngineOrchestrator.Builder> implements ComputeEngineOrchestratorOrBuilder

When set in Orchestrator, indicates that the cluster should create nodes using Compute Engine.

Protobuf type google.cloud.hypercomputecluster.v1beta.ComputeEngineOrchestrator

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ComputeEngineOrchestrator build()
Returns
Type Description
ComputeEngineOrchestrator

buildPartial()

public ComputeEngineOrchestrator buildPartial()
Returns
Type Description
ComputeEngineOrchestrator

clear()

public ComputeEngineOrchestrator.Builder clear()
Returns
Type Description
ComputeEngineOrchestrator.Builder
Overrides

clearExistingInstances()

public ComputeEngineOrchestrator.Builder clearExistingInstances()
Returns
Type Description
ComputeEngineOrchestrator.Builder

clearManagedInstanceGroups()

public ComputeEngineOrchestrator.Builder clearManagedInstanceGroups()
Returns
Type Description
ComputeEngineOrchestrator.Builder

containsExistingInstances(String key)

public boolean containsExistingInstances(String key)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsManagedInstanceGroups(String key)

public boolean containsManagedInstanceGroups(String key)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public ComputeEngineOrchestrator getDefaultInstanceForType()
Returns
Type Description
ComputeEngineOrchestrator

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExistingInstances() (deprecated)

public Map<String,ExistingInstances> getExistingInstances()
Returns
Type Description
Map<String,ExistingInstances>

getExistingInstancesCount()

public int getExistingInstancesCount()

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getExistingInstancesMap()

public Map<String,ExistingInstances> getExistingInstancesMap()

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,ExistingInstances>

getExistingInstancesOrDefault(String key, ExistingInstances defaultValue)

public ExistingInstances getExistingInstancesOrDefault(String key, ExistingInstances defaultValue)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue ExistingInstances
Returns
Type Description
ExistingInstances

getExistingInstancesOrThrow(String key)

public ExistingInstances getExistingInstancesOrThrow(String key)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ExistingInstances

getManagedInstanceGroups() (deprecated)

public Map<String,ManagedInstanceGroup> getManagedInstanceGroups()
Returns
Type Description
Map<String,ManagedInstanceGroup>

getManagedInstanceGroupsCount()

public int getManagedInstanceGroupsCount()

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getManagedInstanceGroupsMap()

public Map<String,ManagedInstanceGroup> getManagedInstanceGroupsMap()

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,ManagedInstanceGroup>

getManagedInstanceGroupsOrDefault(String key, ManagedInstanceGroup defaultValue)

public ManagedInstanceGroup getManagedInstanceGroupsOrDefault(String key, ManagedInstanceGroup defaultValue)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue ManagedInstanceGroup
Returns
Type Description
ManagedInstanceGroup

getManagedInstanceGroupsOrThrow(String key)

public ManagedInstanceGroup getManagedInstanceGroupsOrThrow(String key)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ManagedInstanceGroup

getMutableExistingInstances() (deprecated)

public Map<String,ExistingInstances> getMutableExistingInstances()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ExistingInstances>

getMutableManagedInstanceGroups() (deprecated)

public Map<String,ManagedInstanceGroup> getMutableManagedInstanceGroups()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,ManagedInstanceGroup>

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ComputeEngineOrchestrator other)

public ComputeEngineOrchestrator.Builder mergeFrom(ComputeEngineOrchestrator other)
Parameter
Name Description
other ComputeEngineOrchestrator
Returns
Type Description
ComputeEngineOrchestrator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComputeEngineOrchestrator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComputeEngineOrchestrator.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ComputeEngineOrchestrator.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ComputeEngineOrchestrator.Builder
Overrides

putAllExistingInstances(Map<String,ExistingInstances> values)

public ComputeEngineOrchestrator.Builder putAllExistingInstances(Map<String,ExistingInstances> values)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,ExistingInstances>
Returns
Type Description
ComputeEngineOrchestrator.Builder

putAllManagedInstanceGroups(Map<String,ManagedInstanceGroup> values)

public ComputeEngineOrchestrator.Builder putAllManagedInstanceGroups(Map<String,ManagedInstanceGroup> values)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,ManagedInstanceGroup>
Returns
Type Description
ComputeEngineOrchestrator.Builder

putExistingInstances(String key, ExistingInstances value)

public ComputeEngineOrchestrator.Builder putExistingInstances(String key, ExistingInstances value)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value ExistingInstances
Returns
Type Description
ComputeEngineOrchestrator.Builder

putExistingInstancesBuilderIfAbsent(String key)

public ExistingInstances.Builder putExistingInstancesBuilderIfAbsent(String key)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ExistingInstances.Builder

putManagedInstanceGroups(String key, ManagedInstanceGroup value)

public ComputeEngineOrchestrator.Builder putManagedInstanceGroups(String key, ManagedInstanceGroup value)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value ManagedInstanceGroup
Returns
Type Description
ComputeEngineOrchestrator.Builder

putManagedInstanceGroupsBuilderIfAbsent(String key)

public ManagedInstanceGroup.Builder putManagedInstanceGroupsBuilderIfAbsent(String key)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ManagedInstanceGroup.Builder

removeExistingInstances(String key)

public ComputeEngineOrchestrator.Builder removeExistingInstances(String key)

Optional. Existing instances that will be governed by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ExistingInstances> existing_instances = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ComputeEngineOrchestrator.Builder

removeManagedInstanceGroups(String key)

public ComputeEngineOrchestrator.Builder removeManagedInstanceGroups(String key)

Optional. Managed instance groups that should be created by the orchestrator. Keys must conform to RFC-1034 (lower-case, alphanumeric, and at most 63 characters).

map<string, .google.cloud.hypercomputecluster.v1beta.ManagedInstanceGroup> managed_instance_groups = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ComputeEngineOrchestrator.Builder