Interface ManagedInstanceGroupOrBuilder (0.23.0)

public interface ManagedInstanceGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAdditionalDisks(String key)

public abstract boolean containsAdditionalDisks(String key)

Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map.

map<string, .google.cloud.hypercomputecluster.v1beta.Disk> additional_disks = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Labels that should be applied to each VM instance in the managed instance group.

map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdditionalDisks() (deprecated)

public abstract Map<String,Disk> getAdditionalDisks()
Returns
Type Description
Map<String,Disk>

getAdditionalDisksCount()

public abstract int getAdditionalDisksCount()

Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map.

map<string, .google.cloud.hypercomputecluster.v1beta.Disk> additional_disks = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getAdditionalDisksMap()

public abstract Map<String,Disk> getAdditionalDisksMap()

Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map.

map<string, .google.cloud.hypercomputecluster.v1beta.Disk> additional_disks = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Disk>

getAdditionalDisksOrDefault(String key, Disk defaultValue)

public abstract Disk getAdditionalDisksOrDefault(String key, Disk defaultValue)

Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map.

map<string, .google.cloud.hypercomputecluster.v1beta.Disk> additional_disks = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Disk
Returns
Type Description
Disk

getAdditionalDisksOrThrow(String key)

public abstract Disk getAdditionalDisksOrThrow(String key)

Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map.

map<string, .google.cloud.hypercomputecluster.v1beta.Disk> additional_disks = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Disk

getBootDisk()

public abstract BootDisk getBootDisk()

Optional. Boot disk for the managed instance group.

.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BootDisk

The bootDisk.

getBootDiskOrBuilder()

public abstract BootDiskOrBuilder getBootDiskOrBuilder()

Optional. Boot disk for the managed instance group.

.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BootDiskOrBuilder

getComputeId()

public abstract String getComputeId()

Required. ID of the compute resource used to create this managed instance group.

string compute_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The computeId.

getComputeIdBytes()

public abstract ByteString getComputeIdBytes()

Required. ID of the compute resource used to create this managed instance group.

string compute_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for computeId.

getEnableOsLogin()

public abstract boolean getEnableOsLogin()

Optional. Whether OS Login should be enabled on instances in this managed instance group.

bool enable_os_login = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableOsLogin.

getEnablePublicIps()

public abstract boolean getEnablePublicIps()

Optional. Whether to enable public IPs for the instances in the managed instance group.

bool enable_public_ips = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enablePublicIps.

getInstanceGroupManager()

public abstract String getInstanceGroupManager()

Output only. Name of the managed instance group, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}. or projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}

string instance_group_manager = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instanceGroupManager.

getInstanceGroupManagerBytes()

public abstract ByteString getInstanceGroupManagerBytes()

Output only. Name of the managed instance group, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}. or projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}

string instance_group_manager = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instanceGroupManager.

getInstanceTemplate()

public abstract String getInstanceTemplate()

Output only. Instance template used to create instances in this group.

string instance_template = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The instanceTemplate.

getInstanceTemplateBytes()

public abstract ByteString getInstanceTemplateBytes()

Output only. Instance template used to create instances in this group.

string instance_template = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for instanceTemplate.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Labels that should be applied to each VM instance in the managed instance group.

map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Labels that should be applied to each VM instance in the managed instance group.

map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels that should be applied to each VM instance in the managed instance group.

map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Labels that should be applied to each VM instance in the managed instance group.

map<string, string> labels = 14 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMetadata() (deprecated)

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
Type Description
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract String getMetadataOrDefault(String key, String defaultValue)

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

map<string, string> metadata = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getResourcePolicyConfig()

public abstract ResourcePolicyConfig getResourcePolicyConfig()

Optional. Resource policy configuration for this managed instance group.

.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResourcePolicyConfig

The resourcePolicyConfig.

getResourcePolicyConfigOrBuilder()

public abstract ResourcePolicyConfigOrBuilder getResourcePolicyConfigOrBuilder()

Optional. Resource policy configuration for this managed instance group.

.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResourcePolicyConfigOrBuilder

getServiceAccount()

public abstract ServiceAccount getServiceAccount()

Required. Immutable. Service account to be used by the instances in the managed instance group.

.google.cloud.hypercomputecluster.v1beta.ServiceAccount service_account = 13 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ServiceAccount

The serviceAccount.

getServiceAccountOrBuilder()

public abstract ServiceAccountOrBuilder getServiceAccountOrBuilder()

Required. Immutable. Service account to be used by the instances in the managed instance group.

.google.cloud.hypercomputecluster.v1beta.ServiceAccount service_account = 13 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ServiceAccountOrBuilder

getStartupScript()

public abstract String getStartupScript()

Optional. Startup script to be run on each VM instance in the nodeset.

string startup_script = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The startupScript.

getStartupScriptBytes()

public abstract ByteString getStartupScriptBytes()

Optional. Startup script to be run on each VM instance in the nodeset.

string startup_script = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for startupScript.

getStartupScriptTimeout()

public abstract Duration getStartupScriptTimeout()

Optional. The maximum time to wait for the startup script to complete. If the script exceeds this duration, the instance setup will be considered failed. This value must be positive. If this value is unset, a default timeout of 5 minutes (300 seconds) will be used by the system.

.google.protobuf.Duration startup_script_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The startupScriptTimeout.

getStartupScriptTimeoutOrBuilder()

public abstract DurationOrBuilder getStartupScriptTimeoutOrBuilder()

Optional. The maximum time to wait for the startup script to complete. If the script exceeds this duration, the instance setup will be considered failed. This value must be positive. If this value is unset, a default timeout of 5 minutes (300 seconds) will be used by the system.

.google.protobuf.Duration startup_script_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getStorageConfigs(int index)

public abstract StorageConfig getStorageConfigs(int index)

Optional. How storage resources should be mounted on each instance in this managed instance group.

repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageConfig

getStorageConfigsCount()

public abstract int getStorageConfigsCount()

Optional. How storage resources should be mounted on each instance in this managed instance group.

repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getStorageConfigsList()

public abstract List<StorageConfig> getStorageConfigsList()

Optional. How storage resources should be mounted on each instance in this managed instance group.

repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<StorageConfig>

getStorageConfigsOrBuilder(int index)

public abstract StorageConfigOrBuilder getStorageConfigsOrBuilder(int index)

Optional. How storage resources should be mounted on each instance in this managed instance group.

repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
StorageConfigOrBuilder

getStorageConfigsOrBuilderList()

public abstract List<? extends StorageConfigOrBuilder> getStorageConfigsOrBuilderList()

Optional. How storage resources should be mounted on each instance in this managed instance group.

repeated .google.cloud.hypercomputecluster.v1beta.StorageConfig storage_configs = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.hypercomputecluster.v1beta.StorageConfigOrBuilder>

getTargetSize()

public abstract long getTargetSize()

Optional. Target number of running instances for this managed instance group.

int64 target_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The targetSize.

hasBootDisk()

public abstract boolean hasBootDisk()

Optional. Boot disk for the managed instance group.

.google.cloud.hypercomputecluster.v1beta.BootDisk boot_disk = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bootDisk field is set.

hasResourcePolicyConfig()

public abstract boolean hasResourcePolicyConfig()

Optional. Resource policy configuration for this managed instance group.

.google.cloud.hypercomputecluster.v1beta.ResourcePolicyConfig resource_policy_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the resourcePolicyConfig field is set.

hasServiceAccount()

public abstract boolean hasServiceAccount()

Required. Immutable. Service account to be used by the instances in the managed instance group.

.google.cloud.hypercomputecluster.v1beta.ServiceAccount service_account = 13 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the serviceAccount field is set.

hasStartupScriptTimeout()

public abstract boolean hasStartupScriptTimeout()

Optional. The maximum time to wait for the startup script to complete. If the script exceeds this duration, the instance setup will be considered failed. This value must be positive. If this value is unset, a default timeout of 5 minutes (300 seconds) will be used by the system.

.google.protobuf.Duration startup_script_timeout = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the startupScriptTimeout field is set.