Interface ResourcesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources,Resources.Builder
public interface ResourcesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetRegions(int index)The list of regions allowed for VM allocation.com.google.protobuf.ByteStringgetRegionsBytes(int index)The list of regions allowed for VM allocation.intgetRegionsCount()The list of regions allowed for VM allocation.List<String>getRegionsList()The list of regions allowed for VM allocation.VirtualMachinegetVirtualMachine()The virtual machine specification.VirtualMachineOrBuildergetVirtualMachineOrBuilder()The virtual machine specification.StringgetZones(int index)The list of zones allowed for VM allocation.com.google.protobuf.ByteStringgetZonesBytes(int index)The list of zones allowed for VM allocation.intgetZonesCount()The list of zones allowed for VM allocation.List<String>getZonesList()The list of zones allowed for VM allocation.booleanhasVirtualMachine()The virtual machine specification.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getRegionsList
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:
- A list containing the regions.
-
getRegionsCount
int getRegionsCount()
The list of regions allowed for VM allocation. If set, the `zones` field must not be set.
repeated string regions = 2;- Returns:
- The count of regions.
-
getRegions
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;- Parameters:
index- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-
getZonesList
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:
- A list containing the zones.
-
getZonesCount
int getZonesCount()
The list of zones allowed for VM allocation. If set, the `regions` field must not be set.
repeated string zones = 3;- Returns:
- The count of zones.
-
getZones
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;- Parameters:
index- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
hasVirtualMachine
boolean hasVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;- Returns:
- Whether the virtualMachine field is set.
-
getVirtualMachine
VirtualMachine getVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;- Returns:
- The virtualMachine.
-
getVirtualMachineOrBuilder
VirtualMachineOrBuilder getVirtualMachineOrBuilder()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
-
-