public static final class DataDiskAssignment.Builder extends GeneratedMessageV3.Builder<DataDiskAssignment.Builder> implements DataDiskAssignmentOrBuilderData disk assignment for a given VM instance.
Protobuf type google.dataflow.v1beta3.DataDiskAssignment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataDiskAssignment.BuilderImplements
DataDiskAssignmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDataDisks(Iterable<String> values)
public DataDiskAssignment.Builder addAllDataDisks(Iterable<String> values)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The dataDisks to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
addDataDisks(String value)
public DataDiskAssignment.Builder addDataDisks(String value)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataDisks to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
addDataDisksBytes(ByteString value)
public DataDiskAssignment.Builder addDataDisksBytes(ByteString value)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the dataDisks to add. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataDiskAssignment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
build()
public DataDiskAssignment build()| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment |
|
buildPartial()
public DataDiskAssignment buildPartial()| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment |
|
clear()
public DataDiskAssignment.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
clearDataDisks()
public DataDiskAssignment.Builder clearDataDisks()Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataDiskAssignment.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DataDiskAssignment.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
clearVmInstance()
public DataDiskAssignment.Builder clearVmInstance()VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
clone()
public DataDiskAssignment.Builder clone()| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
getDataDisks(int index)
public String getDataDisks(int index)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The dataDisks at the given index. |
getDataDisksBytes(int index)
public ByteString getDataDisksBytes(int index)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the dataDisks at the given index. |
getDataDisksCount()
public int getDataDisksCount()Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of dataDisks. |
getDataDisksList()
public ProtocolStringList getDataDisksList()Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the dataDisks. |
getDefaultInstanceForType()
public DataDiskAssignment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getVmInstance()
public String getVmInstance()VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The vmInstance. |
getVmInstanceBytes()
public ByteString getVmInstanceBytes()VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vmInstance. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataDiskAssignment other)
public DataDiskAssignment.Builder mergeFrom(DataDiskAssignment other)| Parameter | |
|---|---|
| Name | Description |
other |
DataDiskAssignment |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataDiskAssignment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataDiskAssignment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataDiskAssignment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
setDataDisks(int index, String value)
public DataDiskAssignment.Builder setDataDisks(int index, String value)Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.
repeated string data_disks = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe dataDisks to set. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataDiskAssignment.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataDiskAssignment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DataDiskAssignment.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
|
setVmInstance(String value)
public DataDiskAssignment.Builder setVmInstance(String value)VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmInstance to set. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |
setVmInstanceBytes(ByteString value)
public DataDiskAssignment.Builder setVmInstanceBytes(ByteString value)VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmInstance to set. |
| Returns | |
|---|---|
| Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |