- 0.54.0 (latest)
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public static final class Resources.Builder extends GeneratedMessageV3.Builder<Resources.Builder> implements ResourcesOrBuilder
The system resources for the pipeline run. At least one zone or region must be specified or the pipeline run will fail.
Protobuf type google.cloud.lifesciences.v2beta.Resources
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Resources.BuilderImplements
ResourcesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllRegions(Iterable<String> values)
public Resources.Builder addAllRegions(Iterable<String> values)
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Name | Description |
values | Iterable<String> The regions to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
addAllZones(Iterable<String> values)
public Resources.Builder addAllZones(Iterable<String> values)
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Name | Description |
values | Iterable<String> The zones to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
addRegions(String value)
public Resources.Builder addRegions(String value)
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Name | Description |
value | String The regions to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
addRegionsBytes(ByteString value)
public Resources.Builder addRegionsBytes(ByteString value)
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Name | Description |
value | ByteString The bytes of the regions to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.Builder |
addZones(String value)
public Resources.Builder addZones(String value)
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Name | Description |
value | String The zones to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
addZonesBytes(ByteString value)
public Resources.Builder addZonesBytes(ByteString value)
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Name | Description |
value | ByteString The bytes of the zones to add. |
Type | Description |
Resources.Builder | This builder for chaining. |
build()
public Resources build()
Type | Description |
Resources |
buildPartial()
public Resources buildPartial()
Type | Description |
Resources |
clear()
public Resources.Builder clear()
Type | Description |
Resources.Builder |
clearField(Descriptors.FieldDescriptor field)
public Resources.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Resources.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Resources.Builder |
clearRegions()
public Resources.Builder clearRegions()
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Type | Description |
Resources.Builder | This builder for chaining. |
clearVirtualMachine()
public Resources.Builder clearVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Type | Description |
Resources.Builder |
clearZones()
public Resources.Builder clearZones()
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Type | Description |
Resources.Builder | This builder for chaining. |
clone()
public Resources.Builder clone()
Type | Description |
Resources.Builder |
getDefaultInstanceForType()
public Resources getDefaultInstanceForType()
Type | Description |
Resources |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRegions(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The regions at the given index. |
getRegionsBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the regions at the given index. |
getRegionsCount()
public int getRegionsCount()
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Type | Description |
int | The count of regions. |
getRegionsList()
public ProtocolStringList getRegionsList()
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Type | Description |
ProtocolStringList | A list containing the regions. |
getVirtualMachine()
public VirtualMachine getVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Type | Description |
VirtualMachine | The virtualMachine. |
getVirtualMachineBuilder()
public VirtualMachine.Builder getVirtualMachineBuilder()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Type | Description |
VirtualMachine.Builder |
getVirtualMachineOrBuilder()
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Type | Description |
VirtualMachineOrBuilder |
getZones(int index)
public 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;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The zones at the given index. |
getZonesBytes(int index)
public 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;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the zones at the given index. |
getZonesCount()
public int getZonesCount()
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Type | Description |
int | The count of zones. |
getZonesList()
public ProtocolStringList getZonesList()
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Type | Description |
ProtocolStringList | A list containing the zones. |
hasVirtualMachine()
public boolean hasVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Type | Description |
boolean | Whether the virtualMachine field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Resources other)
public Resources.Builder mergeFrom(Resources other)
Name | Description |
other | Resources |
Type | Description |
Resources.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Resources.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Resources.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Resources.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.Builder |
mergeVirtualMachine(VirtualMachine value)
public Resources.Builder mergeVirtualMachine(VirtualMachine value)
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Name | Description |
value | VirtualMachine |
Type | Description |
Resources.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Resources.Builder |
setRegions(int index, String value)
public Resources.Builder setRegions(int index, String value)
The list of regions allowed for VM allocation. If set, the zones
field
must not be set.
repeated string regions = 2;
Name | Description |
index | int The index to set the value at. |
value | String The regions to set. |
Type | Description |
Resources.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Resources.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Resources.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Resources.Builder |
setVirtualMachine(VirtualMachine value)
public Resources.Builder setVirtualMachine(VirtualMachine value)
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Name | Description |
value | VirtualMachine |
Type | Description |
Resources.Builder |
setVirtualMachine(VirtualMachine.Builder builderForValue)
public Resources.Builder setVirtualMachine(VirtualMachine.Builder builderForValue)
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Name | Description |
builderForValue | VirtualMachine.Builder |
Type | Description |
Resources.Builder |
setZones(int index, String value)
public Resources.Builder setZones(int index, String value)
The list of zones allowed for VM allocation. If set, the regions
field
must not be set.
repeated string zones = 3;
Name | Description |
index | int The index to set the value at. |
value | String The zones to set. |
Type | Description |
Resources.Builder | This builder for chaining. |