Interface ResourcesOrBuilder (0.48.0)

public interface ResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRegions(int index)

public abstract String getRegions(int index)

The list of regions allowed for VM allocation. If set, the zones field must not be set.

repeated string regions = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The regions at the given index.

getRegionsBytes(int index)

public abstract ByteString getRegionsBytes(int index)

The list of regions allowed for VM allocation. If set, the zones field must not be set.

repeated string regions = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the regions at the given index.

getRegionsCount()

public abstract int getRegionsCount()

The list of regions allowed for VM allocation. If set, the zones field must not be set.

repeated string regions = 2;

Returns
Type Description
int

The count of regions.

getRegionsList()

public abstract List<String> getRegionsList()

The list of regions allowed for VM allocation. If set, the zones field must not be set.

repeated string regions = 2;

Returns
Type Description
List<String>

A list containing the regions.

getVirtualMachine()

public abstract VirtualMachine getVirtualMachine()

The virtual machine specification.

.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;

Returns
Type Description
VirtualMachine

The virtualMachine.

getVirtualMachineOrBuilder()

public abstract VirtualMachineOrBuilder getVirtualMachineOrBuilder()

The virtual machine specification.

.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;

Returns
Type Description
VirtualMachineOrBuilder

getZones(int index)

public abstract String getZones(int index)

The list of zones allowed for VM allocation. If set, the regions field must not be set.

repeated string zones = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

public abstract ByteString getZonesBytes(int index)

The list of zones allowed for VM allocation. If set, the regions field must not be set.

repeated string zones = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

public abstract int getZonesCount()

The list of zones allowed for VM allocation. If set, the regions field must not be set.

repeated string zones = 3;

Returns
Type Description
int

The count of zones.

getZonesList()

public abstract List<String> getZonesList()

The list of zones allowed for VM allocation. If set, the regions field must not be set.

repeated string zones = 3;

Returns
Type Description
List<String>

A list containing the zones.

hasVirtualMachine()

public abstract boolean hasVirtualMachine()

The virtual machine specification.

.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;

Returns
Type Description
boolean

Whether the virtualMachine field is set.