public static final class ISCSIVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder> implements ISCSIVolumeSourceOrBuilder
Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.Protobuf type
appscode.kubernetes.v1beta2.ISCSIVolumeSource| Modifier and Type | Method and Description |
|---|---|
ISCSIVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ISCSIVolumeSource |
build() |
ISCSIVolumeSource |
buildPartial() |
ISCSIVolumeSource.Builder |
clear() |
ISCSIVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ISCSIVolumeSource.Builder |
clearFsType()
Filesystem type of the volume that you want to mount.
|
ISCSIVolumeSource.Builder |
clearIqn()
Target iSCSI Qualified Name.
|
ISCSIVolumeSource.Builder |
clearIscsiInterface()
Optional: Defaults to 'default' (tcp).
|
ISCSIVolumeSource.Builder |
clearLun()
iSCSI target lun number.
|
ISCSIVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ISCSIVolumeSource.Builder |
clearReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
ISCSIVolumeSource.Builder |
clearTargetPortal()
iSCSI target portal.
|
ISCSIVolumeSource.Builder |
clone() |
ISCSIVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getFsType()
Filesystem type of the volume that you want to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type of the volume that you want to mount.
|
java.lang.String |
getIqn()
Target iSCSI Qualified Name.
|
com.google.protobuf.ByteString |
getIqnBytes()
Target iSCSI Qualified Name.
|
java.lang.String |
getIscsiInterface()
Optional: Defaults to 'default' (tcp).
|
com.google.protobuf.ByteString |
getIscsiInterfaceBytes()
Optional: Defaults to 'default' (tcp).
|
int |
getLun()
iSCSI target lun number.
|
boolean |
getReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
java.lang.String |
getTargetPortal()
iSCSI target portal.
|
com.google.protobuf.ByteString |
getTargetPortalBytes()
iSCSI target portal.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ISCSIVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ISCSIVolumeSource.Builder |
mergeFrom(ISCSIVolumeSource other) |
ISCSIVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
ISCSIVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ISCSIVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ISCSIVolumeSource.Builder |
setFsType(java.lang.String value)
Filesystem type of the volume that you want to mount.
|
ISCSIVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type of the volume that you want to mount.
|
ISCSIVolumeSource.Builder |
setIqn(java.lang.String value)
Target iSCSI Qualified Name.
|
ISCSIVolumeSource.Builder |
setIqnBytes(com.google.protobuf.ByteString value)
Target iSCSI Qualified Name.
|
ISCSIVolumeSource.Builder |
setIscsiInterface(java.lang.String value)
Optional: Defaults to 'default' (tcp).
|
ISCSIVolumeSource.Builder |
setIscsiInterfaceBytes(com.google.protobuf.ByteString value)
Optional: Defaults to 'default' (tcp).
|
ISCSIVolumeSource.Builder |
setLun(int value)
iSCSI target lun number.
|
ISCSIVolumeSource.Builder |
setReadOnly(boolean value)
ReadOnly here will force the ReadOnly setting in VolumeMounts.
|
ISCSIVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ISCSIVolumeSource.Builder |
setTargetPortal(java.lang.String value)
iSCSI target portal.
|
ISCSIVolumeSource.Builder |
setTargetPortalBytes(com.google.protobuf.ByteString value)
iSCSI target portal.
|
ISCSIVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ISCSIVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ISCSIVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ISCSIVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder mergeFrom(ISCSIVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public ISCSIVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ISCSIVolumeSource.Builder>java.io.IOExceptionpublic java.lang.String getTargetPortal()
iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
optional string targetPortal = 1;getTargetPortal in interface ISCSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTargetPortalBytes()
iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
optional string targetPortal = 1;getTargetPortalBytes in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setTargetPortal(java.lang.String value)
iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
optional string targetPortal = 1;public ISCSIVolumeSource.Builder clearTargetPortal()
iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
optional string targetPortal = 1;public ISCSIVolumeSource.Builder setTargetPortalBytes(com.google.protobuf.ByteString value)
iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
optional string targetPortal = 1;public java.lang.String getIqn()
Target iSCSI Qualified Name.
optional string iqn = 2;getIqn in interface ISCSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getIqnBytes()
Target iSCSI Qualified Name.
optional string iqn = 2;getIqnBytes in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setIqn(java.lang.String value)
Target iSCSI Qualified Name.
optional string iqn = 2;public ISCSIVolumeSource.Builder clearIqn()
Target iSCSI Qualified Name.
optional string iqn = 2;public ISCSIVolumeSource.Builder setIqnBytes(com.google.protobuf.ByteString value)
Target iSCSI Qualified Name.
optional string iqn = 2;public int getLun()
iSCSI target lun number.
optional int32 lun = 3;getLun in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setLun(int value)
iSCSI target lun number.
optional int32 lun = 3;public ISCSIVolumeSource.Builder clearLun()
iSCSI target lun number.
optional int32 lun = 3;public java.lang.String getIscsiInterface()
Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
optional string iscsiInterface = 4;getIscsiInterface in interface ISCSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getIscsiInterfaceBytes()
Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
optional string iscsiInterface = 4;getIscsiInterfaceBytes in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setIscsiInterface(java.lang.String value)
Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
optional string iscsiInterface = 4;public ISCSIVolumeSource.Builder clearIscsiInterface()
Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
optional string iscsiInterface = 4;public ISCSIVolumeSource.Builder setIscsiInterfaceBytes(com.google.protobuf.ByteString value)
Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.
optional string iscsiInterface = 4;public java.lang.String getFsType()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 5;getFsType in interface ISCSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 5;getFsTypeBytes in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setFsType(java.lang.String value)
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 5;public ISCSIVolumeSource.Builder clearFsType()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 5;public ISCSIVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 5;public boolean getReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
optional bool readOnly = 6;getReadOnly in interface ISCSIVolumeSourceOrBuilderpublic ISCSIVolumeSource.Builder setReadOnly(boolean value)
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
optional bool readOnly = 6;public ISCSIVolumeSource.Builder clearReadOnly()
ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
optional bool readOnly = 6;public final ISCSIVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>public final ISCSIVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ISCSIVolumeSource.Builder>