public interface InstanceFlexibilityPolicyInstanceSelectionOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDisks(int index)
public abstract AttachedDisk getDisks(int index)Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk |
|
getDisksCount()
public abstract int getDisksCount()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDisksList()
public abstract List<AttachedDisk> getDisksList()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
| Returns | |
|---|---|
| Type | Description |
List<AttachedDisk> |
|
getDisksOrBuilder(int index)
public abstract AttachedDiskOrBuilder getDisksOrBuilder(int index)Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDiskOrBuilder |
|
getDisksOrBuilderList()
public abstract List<? extends AttachedDiskOrBuilder> getDisksOrBuilderList()Disks to be attached to the instances created from in this selection. They override the disks specified in the instance properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.compute.v1.AttachedDiskOrBuilder> |
|
getMachineTypes(int index)
public abstract String getMachineTypes(int index) Alternative machine types to use for instances that are created from
these properties. This field only accepts a machine type names, for
example n2-standard-4 and not URLs or partial URLs.
repeated string machine_types = 79720065;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The machineTypes at the given index. |
getMachineTypesBytes(int index)
public abstract ByteString getMachineTypesBytes(int index) Alternative machine types to use for instances that are created from
these properties. This field only accepts a machine type names, for
example n2-standard-4 and not URLs or partial URLs.
repeated string machine_types = 79720065;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the machineTypes at the given index. |
getMachineTypesCount()
public abstract int getMachineTypesCount() Alternative machine types to use for instances that are created from
these properties. This field only accepts a machine type names, for
example n2-standard-4 and not URLs or partial URLs.
repeated string machine_types = 79720065;
| Returns | |
|---|---|
| Type | Description |
int |
The count of machineTypes. |
getMachineTypesList()
public abstract List<String> getMachineTypesList() Alternative machine types to use for instances that are created from
these properties. This field only accepts a machine type names, for
example n2-standard-4 and not URLs or partial URLs.
repeated string machine_types = 79720065;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the machineTypes. |
getMinCpuPlatform()
public abstract String getMinCpuPlatform()Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
optional string min_cpu_platform = 242912759;
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public abstract ByteString getMinCpuPlatformBytes()Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
optional string min_cpu_platform = 242912759;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getRank()
public abstract long getRank()Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.
optional int64 rank = 3492908;
| Returns | |
|---|---|
| Type | Description |
long |
The rank. |
hasMinCpuPlatform()
public abstract boolean hasMinCpuPlatform()Name of the minimum CPU platform to be used by this instance selection. e.g. 'Intel Ice Lake'.
optional string min_cpu_platform = 242912759;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minCpuPlatform field is set. |
hasRank()
public abstract boolean hasRank()Rank when prioritizing the shape flexibilities. The instance selections with rank are considered first, in the ascending order of the rank. If not set, defaults to 0.
optional int64 rank = 3492908;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rank field is set. |