Interface ResourcesOrBuilder (0.21.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
VirtualMachine

The virtualMachine.

getVirtualMachineOrBuilder()

public abstract VirtualMachineOrBuilder getVirtualMachineOrBuilder()

The virtual machine specification.

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

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the virtualMachine field is set.