Package com.google.dataflow.v1beta3
Class DataDiskAssignment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
com.google.dataflow.v1beta3.DataDiskAssignment.Builder
- All Implemented Interfaces:
DataDiskAssignmentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataDiskAssignment
public static final class DataDiskAssignment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
implements DataDiskAssignmentOrBuilder
Data disk assignment for a given VM instance.Protobuf type
google.dataflow.v1beta3.DataDiskAssignment-
Method Summary
Modifier and TypeMethodDescriptionaddAllDataDisks(Iterable<String> values) Mounted data disks.addDataDisks(String value) Mounted data disks.addDataDisksBytes(com.google.protobuf.ByteString value) Mounted data disks.build()clear()Mounted data disks.VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".getDataDisks(int index) Mounted data disks.com.google.protobuf.ByteStringgetDataDisksBytes(int index) Mounted data disks.intMounted data disks.com.google.protobuf.ProtocolStringListMounted data disks.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorVM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".com.google.protobuf.ByteStringVM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(DataDiskAssignment other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataDisks(int index, String value) Mounted data disks.setVmInstance(String value) VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".setVmInstanceBytes(com.google.protobuf.ByteString value) VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDiskAssignment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataDiskAssignment.Builder>
-
mergeFrom
public DataDiskAssignment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataDiskAssignment.Builder>- Throws:
IOException
-
getVmInstance
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;- Specified by:
getVmInstancein interfaceDataDiskAssignmentOrBuilder- Returns:
- The vmInstance.
-
getVmInstanceBytes
public com.google.protobuf.ByteString getVmInstanceBytes()VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;- Specified by:
getVmInstanceBytesin interfaceDataDiskAssignmentOrBuilder- Returns:
- The bytes for vmInstance.
-
setVmInstance
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;- Parameters:
value- The vmInstance to set.- Returns:
- This builder for chaining.
-
clearVmInstance
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;- Returns:
- This builder for chaining.
-
setVmInstanceBytes
VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".
string vm_instance = 1;- Parameters:
value- The bytes for vmInstance to set.- Returns:
- This builder for chaining.
-
getDataDisksList
public com.google.protobuf.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;- Specified by:
getDataDisksListin interfaceDataDiskAssignmentOrBuilder- Returns:
- A list containing the dataDisks.
-
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;- Specified by:
getDataDisksCountin interfaceDataDiskAssignmentOrBuilder- Returns:
- The count of dataDisks.
-
getDataDisks
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;- Specified by:
getDataDisksin interfaceDataDiskAssignmentOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dataDisks at the given index.
-
getDataDisksBytes
public com.google.protobuf.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;- Specified by:
getDataDisksBytesin interfaceDataDiskAssignmentOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the dataDisks at the given index.
-
setDataDisks
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:
index- The index to set the value at.value- The dataDisks to set.- Returns:
- This builder for chaining.
-
addDataDisks
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:
value- The dataDisks to add.- Returns:
- This builder for chaining.
-
addAllDataDisks
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:
values- The dataDisks to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addDataDisksBytes
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:
value- The bytes of the dataDisks to add.- Returns:
- This builder for chaining.
-