- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.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.41.0
- 0.40.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.28.0
- 0.27.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.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class DataDiskAssignment.Builder extends GeneratedMessageV3.Builder<DataDiskAssignment.Builder> implements DataDiskAssignmentOrBuilder
Data 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 |
String The 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 |
ByteString The 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 |
int The 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 |
int The 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 |
int The index to set the value at. |
value |
String The 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 |
String The 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 |
ByteString The bytes for vmInstance to set. |
Returns | |
---|---|
Type | Description |
DataDiskAssignment.Builder |
This builder for chaining. |