Package k8s.io.api.core.v1
Class Generated.ISCSIVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.ISCSIVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ISCSIVolumeSourceOrBuilder
- Enclosing class:
- Generated.ISCSIVolumeSource
public static final class Generated.ISCSIVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder> implements Generated.ISCSIVolumeSourceOrBuilder
Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.
Protobuf typek8s.io.api.core.v1.ISCSIVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.ISCSIVolumeSource.BuilderaddAllPortals(Iterable<String> values)portals is the iSCSI Target Portal List.Generated.ISCSIVolumeSource.BuilderaddPortals(String value)portals is the iSCSI Target Portal List.Generated.ISCSIVolumeSource.BuilderaddPortalsBytes(com.google.protobuf.ByteString value)portals is the iSCSI Target Portal List.Generated.ISCSIVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ISCSIVolumeSourcebuild()Generated.ISCSIVolumeSourcebuildPartial()Generated.ISCSIVolumeSource.Builderclear()Generated.ISCSIVolumeSource.BuilderclearChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalGenerated.ISCSIVolumeSource.BuilderclearChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalGenerated.ISCSIVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ISCSIVolumeSource.BuilderclearFsType()fsType is the filesystem type of the volume that you want to mount.Generated.ISCSIVolumeSource.BuilderclearInitiatorName()initiatorName is the custom iSCSI Initiator Name.Generated.ISCSIVolumeSource.BuilderclearIqn()iqn is the target iSCSI Qualified Name.Generated.ISCSIVolumeSource.BuilderclearIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.Generated.ISCSIVolumeSource.BuilderclearLun()lun represents iSCSI Target Lun number.Generated.ISCSIVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ISCSIVolumeSource.BuilderclearPortals()portals is the iSCSI Target Portal List.Generated.ISCSIVolumeSource.BuilderclearReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.ISCSIVolumeSource.BuilderclearSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.ISCSIVolumeSource.BuilderclearTargetPortal()targetPortal is iSCSI Target Portal.Generated.ISCSIVolumeSource.Builderclone()booleangetChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalbooleangetChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalGenerated.ISCSIVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFsType()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type of the volume that you want to mount.StringgetInitiatorName()initiatorName is the custom iSCSI Initiator Name.com.google.protobuf.ByteStringgetInitiatorNameBytes()initiatorName is the custom iSCSI Initiator Name.StringgetIqn()iqn is the target iSCSI Qualified Name.com.google.protobuf.ByteStringgetIqnBytes()iqn is the target iSCSI Qualified Name.StringgetIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.com.google.protobuf.ByteStringgetIscsiInterfaceBytes()iscsiInterface is the interface Name that uses an iSCSI transport.intgetLun()lun represents iSCSI Target Lun number.StringgetPortals(int index)portals is the iSCSI Target Portal List.com.google.protobuf.ByteStringgetPortalsBytes(int index)portals is the iSCSI Target Portal List.intgetPortalsCount()portals is the iSCSI Target Portal List.com.google.protobuf.ProtocolStringListgetPortalsList()portals is the iSCSI Target Portal List.booleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.LocalObjectReferencegetSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.LocalObjectReference.BuildergetSecretRefBuilder()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalStringgetTargetPortal()targetPortal is iSCSI Target Portal.com.google.protobuf.ByteStringgetTargetPortalBytes()targetPortal is iSCSI Target Portal.booleanhasChapAuthDiscovery()chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalbooleanhasChapAuthSession()chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalbooleanhasFsType()fsType is the filesystem type of the volume that you want to mount.booleanhasInitiatorName()initiatorName is the custom iSCSI Initiator Name.booleanhasIqn()iqn is the target iSCSI Qualified Name.booleanhasIscsiInterface()iscsiInterface is the interface Name that uses an iSCSI transport.booleanhasLun()lun represents iSCSI Target Lun number.booleanhasReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.booleanhasSecretRef()secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalbooleanhasTargetPortal()targetPortal is iSCSI Target Portal.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.ISCSIVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ISCSIVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.ISCSIVolumeSource.BuildermergeFrom(Generated.ISCSIVolumeSource other)Generated.ISCSIVolumeSource.BuildermergeSecretRef(Generated.LocalObjectReference value)secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.ISCSIVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ISCSIVolumeSource.BuildersetChapAuthDiscovery(boolean value)chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optionalGenerated.ISCSIVolumeSource.BuildersetChapAuthSession(boolean value)chapAuthSession defines whether support iSCSI Session CHAP authentication +optionalGenerated.ISCSIVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ISCSIVolumeSource.BuildersetFsType(String value)fsType is the filesystem type of the volume that you want to mount.Generated.ISCSIVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type of the volume that you want to mount.Generated.ISCSIVolumeSource.BuildersetInitiatorName(String value)initiatorName is the custom iSCSI Initiator Name.Generated.ISCSIVolumeSource.BuildersetInitiatorNameBytes(com.google.protobuf.ByteString value)initiatorName is the custom iSCSI Initiator Name.Generated.ISCSIVolumeSource.BuildersetIqn(String value)iqn is the target iSCSI Qualified Name.Generated.ISCSIVolumeSource.BuildersetIqnBytes(com.google.protobuf.ByteString value)iqn is the target iSCSI Qualified Name.Generated.ISCSIVolumeSource.BuildersetIscsiInterface(String value)iscsiInterface is the interface Name that uses an iSCSI transport.Generated.ISCSIVolumeSource.BuildersetIscsiInterfaceBytes(com.google.protobuf.ByteString value)iscsiInterface is the interface Name that uses an iSCSI transport.Generated.ISCSIVolumeSource.BuildersetLun(int value)lun represents iSCSI Target Lun number.Generated.ISCSIVolumeSource.BuildersetPortals(int index, String value)portals is the iSCSI Target Portal List.Generated.ISCSIVolumeSource.BuildersetReadOnly(boolean value)readOnly here will force the ReadOnly setting in VolumeMounts.Generated.ISCSIVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ISCSIVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference value)secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.ISCSIVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference.Builder builderForValue)secretRef is the CHAP Secret for iSCSI target and initiator authentication +optionalGenerated.ISCSIVolumeSource.BuildersetTargetPortal(String value)targetPortal is iSCSI Target Portal.Generated.ISCSIVolumeSource.BuildersetTargetPortalBytes(com.google.protobuf.ByteString value)targetPortal is iSCSI Target Portal.Generated.ISCSIVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
clear
public Generated.ISCSIVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.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.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.ISCSIVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ISCSIVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ISCSIVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ISCSIVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
setField
public Generated.ISCSIVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
clearField
public Generated.ISCSIVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
clearOneof
public Generated.ISCSIVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
setRepeatedField
public Generated.ISCSIVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
addRepeatedField
public Generated.ISCSIVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
mergeFrom
public Generated.ISCSIVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ISCSIVolumeSource.Builder>
-
mergeFrom
public Generated.ISCSIVolumeSource.Builder mergeFrom(Generated.ISCSIVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
mergeFrom
public Generated.ISCSIVolumeSource.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<Generated.ISCSIVolumeSource.Builder>- Throws:
IOException
-
hasTargetPortal
public boolean hasTargetPortal()
targetPortal is 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;- Specified by:
hasTargetPortalin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the targetPortal field is set.
-
getTargetPortal
public String getTargetPortal()
targetPortal is 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;- Specified by:
getTargetPortalin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The targetPortal.
-
getTargetPortalBytes
public com.google.protobuf.ByteString getTargetPortalBytes()
targetPortal is 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;- Specified by:
getTargetPortalBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The bytes for targetPortal.
-
setTargetPortal
public Generated.ISCSIVolumeSource.Builder setTargetPortal(String value)
targetPortal is 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;- Parameters:
value- The targetPortal to set.- Returns:
- This builder for chaining.
-
clearTargetPortal
public Generated.ISCSIVolumeSource.Builder clearTargetPortal()
targetPortal is 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;- Returns:
- This builder for chaining.
-
setTargetPortalBytes
public Generated.ISCSIVolumeSource.Builder setTargetPortalBytes(com.google.protobuf.ByteString value)
targetPortal is 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;- Parameters:
value- The bytes for targetPortal to set.- Returns:
- This builder for chaining.
-
hasIqn
public boolean hasIqn()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Specified by:
hasIqnin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the iqn field is set.
-
getIqn
public String getIqn()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Specified by:
getIqnin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The iqn.
-
getIqnBytes
public com.google.protobuf.ByteString getIqnBytes()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Specified by:
getIqnBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The bytes for iqn.
-
setIqn
public Generated.ISCSIVolumeSource.Builder setIqn(String value)
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Parameters:
value- The iqn to set.- Returns:
- This builder for chaining.
-
clearIqn
public Generated.ISCSIVolumeSource.Builder clearIqn()
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Returns:
- This builder for chaining.
-
setIqnBytes
public Generated.ISCSIVolumeSource.Builder setIqnBytes(com.google.protobuf.ByteString value)
iqn is the target iSCSI Qualified Name.
optional string iqn = 2;- Parameters:
value- The bytes for iqn to set.- Returns:
- This builder for chaining.
-
hasLun
public boolean hasLun()
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Specified by:
hasLunin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the lun field is set.
-
getLun
public int getLun()
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Specified by:
getLunin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The lun.
-
setLun
public Generated.ISCSIVolumeSource.Builder setLun(int value)
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Parameters:
value- The lun to set.- Returns:
- This builder for chaining.
-
clearLun
public Generated.ISCSIVolumeSource.Builder clearLun()
lun represents iSCSI Target Lun number.
optional int32 lun = 3;- Returns:
- This builder for chaining.
-
hasIscsiInterface
public boolean hasIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Specified by:
hasIscsiInterfacein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the iscsiInterface field is set.
-
getIscsiInterface
public String getIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Specified by:
getIscsiInterfacein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The iscsiInterface.
-
getIscsiInterfaceBytes
public com.google.protobuf.ByteString getIscsiInterfaceBytes()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Specified by:
getIscsiInterfaceBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The bytes for iscsiInterface.
-
setIscsiInterface
public Generated.ISCSIVolumeSource.Builder setIscsiInterface(String value)
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Parameters:
value- The iscsiInterface to set.- Returns:
- This builder for chaining.
-
clearIscsiInterface
public Generated.ISCSIVolumeSource.Builder clearIscsiInterface()
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Returns:
- This builder for chaining.
-
setIscsiInterfaceBytes
public Generated.ISCSIVolumeSource.Builder setIscsiInterfaceBytes(com.google.protobuf.ByteString value)
iscsiInterface is the interface Name that uses an iSCSI transport. Defaults to 'default' (tcp). +optional +default="default"
optional string iscsiInterface = 4;- Parameters:
value- The bytes for iscsiInterface to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Specified by:
hasFsTypein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Specified by:
getFsTypein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Specified by:
getFsTypeBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.ISCSIVolumeSource.Builder setFsType(String value)
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.ISCSIVolumeSource.Builder clearFsType()
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.ISCSIVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType is the 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: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 5;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Specified by:
hasReadOnlyin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Specified by:
getReadOnlyin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.ISCSIVolumeSource.Builder setReadOnly(boolean value)
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.ISCSIVolumeSource.Builder clearReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. +optional
optional bool readOnly = 6;- Returns:
- This builder for chaining.
-
getPortalsList
public com.google.protobuf.ProtocolStringList getPortalsList()
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Specified by:
getPortalsListin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- A list containing the portals.
-
getPortalsCount
public int getPortalsCount()
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Specified by:
getPortalsCountin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The count of portals.
-
getPortals
public String getPortals(int index)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Specified by:
getPortalsin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The portals at the given index.
-
getPortalsBytes
public com.google.protobuf.ByteString getPortalsBytes(int index)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Specified by:
getPortalsBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the portals at the given index.
-
setPortals
public Generated.ISCSIVolumeSource.Builder setPortals(int index, String value)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Parameters:
index- The index to set the value at.value- The portals to set.- Returns:
- This builder for chaining.
-
addPortals
public Generated.ISCSIVolumeSource.Builder addPortals(String value)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Parameters:
value- The portals to add.- Returns:
- This builder for chaining.
-
addAllPortals
public Generated.ISCSIVolumeSource.Builder addAllPortals(Iterable<String> values)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Parameters:
values- The portals to add.- Returns:
- This builder for chaining.
-
clearPortals
public Generated.ISCSIVolumeSource.Builder clearPortals()
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Returns:
- This builder for chaining.
-
addPortalsBytes
public Generated.ISCSIVolumeSource.Builder addPortalsBytes(com.google.protobuf.ByteString value)
portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). +optional +listType=atomic
repeated string portals = 7;- Parameters:
value- The bytes of the portals to add.- Returns:
- This builder for chaining.
-
hasChapAuthDiscovery
public boolean hasChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Specified by:
hasChapAuthDiscoveryin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the chapAuthDiscovery field is set.
-
getChapAuthDiscovery
public boolean getChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Specified by:
getChapAuthDiscoveryin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The chapAuthDiscovery.
-
setChapAuthDiscovery
public Generated.ISCSIVolumeSource.Builder setChapAuthDiscovery(boolean value)
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Parameters:
value- The chapAuthDiscovery to set.- Returns:
- This builder for chaining.
-
clearChapAuthDiscovery
public Generated.ISCSIVolumeSource.Builder clearChapAuthDiscovery()
chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication +optional
optional bool chapAuthDiscovery = 8;- Returns:
- This builder for chaining.
-
hasChapAuthSession
public boolean hasChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Specified by:
hasChapAuthSessionin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the chapAuthSession field is set.
-
getChapAuthSession
public boolean getChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Specified by:
getChapAuthSessionin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The chapAuthSession.
-
setChapAuthSession
public Generated.ISCSIVolumeSource.Builder setChapAuthSession(boolean value)
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Parameters:
value- The chapAuthSession to set.- Returns:
- This builder for chaining.
-
clearChapAuthSession
public Generated.ISCSIVolumeSource.Builder clearChapAuthSession()
chapAuthSession defines whether support iSCSI Session CHAP authentication +optional
optional bool chapAuthSession = 11;- Returns:
- This builder for chaining.
-
hasSecretRef
public boolean hasSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;- Specified by:
hasSecretRefin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.LocalObjectReference getSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;- Specified by:
getSecretRefin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The secretRef.
-
setSecretRef
public Generated.ISCSIVolumeSource.Builder setSecretRef(Generated.LocalObjectReference value)
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
setSecretRef
public Generated.ISCSIVolumeSource.Builder setSecretRef(Generated.LocalObjectReference.Builder builderForValue)
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
mergeSecretRef
public Generated.ISCSIVolumeSource.Builder mergeSecretRef(Generated.LocalObjectReference value)
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
clearSecretRef
public Generated.ISCSIVolumeSource.Builder clearSecretRef()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
getSecretRefBuilder
public Generated.LocalObjectReference.Builder getSecretRefBuilder()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
-
getSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef is the CHAP Secret for iSCSI target and initiator authentication +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.ISCSIVolumeSourceOrBuilder
-
hasInitiatorName
public boolean hasInitiatorName()
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Specified by:
hasInitiatorNamein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- Whether the initiatorName field is set.
-
getInitiatorName
public String getInitiatorName()
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Specified by:
getInitiatorNamein interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The initiatorName.
-
getInitiatorNameBytes
public com.google.protobuf.ByteString getInitiatorNameBytes()
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Specified by:
getInitiatorNameBytesin interfaceGenerated.ISCSIVolumeSourceOrBuilder- Returns:
- The bytes for initiatorName.
-
setInitiatorName
public Generated.ISCSIVolumeSource.Builder setInitiatorName(String value)
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Parameters:
value- The initiatorName to set.- Returns:
- This builder for chaining.
-
clearInitiatorName
public Generated.ISCSIVolumeSource.Builder clearInitiatorName()
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Returns:
- This builder for chaining.
-
setInitiatorNameBytes
public Generated.ISCSIVolumeSource.Builder setInitiatorNameBytes(com.google.protobuf.ByteString value)
initiatorName is the custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection. +optional
optional string initiatorName = 12;- Parameters:
value- The bytes for initiatorName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.ISCSIVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.ISCSIVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ISCSIVolumeSource.Builder>
-
-