- 0.55.0 (latest)
- 0.54.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The regions to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The zones to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The regions to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the regions to add. |
Returns | |
---|---|
Type | Description |
Resources.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The zones to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the zones to add. |
Returns | |
---|---|
Type | Description |
Resources.Builder |
This builder for chaining. |
build()
public Resources build()
Returns | |
---|---|
Type | Description |
Resources |
buildPartial()
public Resources buildPartial()
Returns | |
---|---|
Type | Description |
Resources |
clear()
public Resources.Builder clear()
Returns | |
---|---|
Type | Description |
Resources.Builder |
clearField(Descriptors.FieldDescriptor field)
public Resources.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Resources.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Resources.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Resources.Builder |
This builder for chaining. |
clone()
public Resources.Builder clone()
Returns | |
---|---|
Type | Description |
Resources.Builder |
getDefaultInstanceForType()
public Resources getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Resources |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
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 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 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the regions. |
getVirtualMachine()
public VirtualMachine getVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Returns | |
---|---|
Type | Description |
VirtualMachine |
The virtualMachine. |
getVirtualMachineBuilder()
public VirtualMachine.Builder getVirtualMachineBuilder()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Returns | |
---|---|
Type | Description |
VirtualMachine.Builder |
getVirtualMachineOrBuilder()
public VirtualMachineOrBuilder getVirtualMachineOrBuilder()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Returns | |
---|---|
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;
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 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 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the zones. |
hasVirtualMachine()
public boolean hasVirtualMachine()
The virtual machine specification.
.google.cloud.lifesciences.v2beta.VirtualMachine virtual_machine = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the virtualMachine field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Resources other)
public Resources.Builder mergeFrom(Resources other)
Parameter | |
---|---|
Name | Description |
other |
Resources |
Returns | |
---|---|
Type | Description |
Resources.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Resources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Resources.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Resources.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Resources.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
VirtualMachine |
Returns | |
---|---|
Type | Description |
Resources.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Resources.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The regions to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Resources.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Resources.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
VirtualMachine |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
VirtualMachine.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The zones to set. |
Returns | |
---|---|
Type | Description |
Resources.Builder |
This builder for chaining. |