Class V1.ISCSIVolumeSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
io.kubernetes.client.proto.V1.ISCSIVolumeSource.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.ISCSIVolumeSourceOrBuilder, Cloneable
Enclosing class:
V1.ISCSIVolumeSource

public static final class V1.ISCSIVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder> implements V1.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 k8s.io.api.core.v1.ISCSIVolumeSource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • getDefaultInstanceForType

      public V1.ISCSIVolumeSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public V1.ISCSIVolumeSource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1.ISCSIVolumeSource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • setField

      public V1.ISCSIVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • clearField

      public V1.ISCSIVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • clearOneof

      public V1.ISCSIVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • setRepeatedField

      public V1.ISCSIVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • addRepeatedField

      public V1.ISCSIVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • mergeFrom

      public V1.ISCSIVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ISCSIVolumeSource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • mergeFrom

      public V1.ISCSIVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ISCSIVolumeSource.Builder>
      Throws:
      IOException
    • hasTargetPortal

      public boolean hasTargetPortal()
       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:
      hasTargetPortal in interface V1.ISCSIVolumeSourceOrBuilder
    • getTargetPortal

      public 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;
      Specified by:
      getTargetPortal in interface V1.ISCSIVolumeSourceOrBuilder
    • getTargetPortalBytes

      public 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;
      Specified by:
      getTargetPortalBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setTargetPortal

      public V1.ISCSIVolumeSource.Builder setTargetPortal(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;
    • clearTargetPortal

      public V1.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;
    • setTargetPortalBytes

      public V1.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;
    • hasIqn

      public boolean hasIqn()
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
      Specified by:
      hasIqn in interface V1.ISCSIVolumeSourceOrBuilder
    • getIqn

      public String getIqn()
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
      Specified by:
      getIqn in interface V1.ISCSIVolumeSourceOrBuilder
    • getIqnBytes

      public com.google.protobuf.ByteString getIqnBytes()
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
      Specified by:
      getIqnBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setIqn

      public V1.ISCSIVolumeSource.Builder setIqn(String value)
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
    • clearIqn

      public V1.ISCSIVolumeSource.Builder clearIqn()
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
    • setIqnBytes

      public V1.ISCSIVolumeSource.Builder setIqnBytes(com.google.protobuf.ByteString value)
       Target iSCSI Qualified Name.
       
      optional string iqn = 2;
    • hasLun

      public boolean hasLun()
       iSCSI Target Lun number.
       
      optional int32 lun = 3;
      Specified by:
      hasLun in interface V1.ISCSIVolumeSourceOrBuilder
    • getLun

      public int getLun()
       iSCSI Target Lun number.
       
      optional int32 lun = 3;
      Specified by:
      getLun in interface V1.ISCSIVolumeSourceOrBuilder
    • setLun

      public V1.ISCSIVolumeSource.Builder setLun(int value)
       iSCSI Target Lun number.
       
      optional int32 lun = 3;
    • clearLun

      public V1.ISCSIVolumeSource.Builder clearLun()
       iSCSI Target Lun number.
       
      optional int32 lun = 3;
    • hasIscsiInterface

      public boolean hasIscsiInterface()
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
      Specified by:
      hasIscsiInterface in interface V1.ISCSIVolumeSourceOrBuilder
    • getIscsiInterface

      public String getIscsiInterface()
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
      Specified by:
      getIscsiInterface in interface V1.ISCSIVolumeSourceOrBuilder
    • getIscsiInterfaceBytes

      public com.google.protobuf.ByteString getIscsiInterfaceBytes()
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
      Specified by:
      getIscsiInterfaceBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setIscsiInterface

      public V1.ISCSIVolumeSource.Builder setIscsiInterface(String value)
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
    • clearIscsiInterface

      public V1.ISCSIVolumeSource.Builder clearIscsiInterface()
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
    • setIscsiInterfaceBytes

      public V1.ISCSIVolumeSource.Builder setIscsiInterfaceBytes(com.google.protobuf.ByteString value)
       iSCSI Interface Name that uses an iSCSI transport.
       Defaults to 'default' (tcp).
       +optional
       
      optional string iscsiInterface = 4;
    • hasFsType

      public boolean hasFsType()
       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:
      hasFsType in interface V1.ISCSIVolumeSourceOrBuilder
    • getFsType

      public 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: 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:
      getFsType in interface V1.ISCSIVolumeSourceOrBuilder
    • getFsTypeBytes

      public 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: 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:
      getFsTypeBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setFsType

      public V1.ISCSIVolumeSource.Builder setFsType(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: 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;
    • clearFsType

      public V1.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: 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;
    • setFsTypeBytes

      public V1.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: 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;
    • hasReadOnly

      public boolean hasReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       +optional
       
      optional bool readOnly = 6;
      Specified by:
      hasReadOnly in interface V1.ISCSIVolumeSourceOrBuilder
    • getReadOnly

      public boolean getReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       +optional
       
      optional bool readOnly = 6;
      Specified by:
      getReadOnly in interface V1.ISCSIVolumeSourceOrBuilder
    • setReadOnly

      public V1.ISCSIVolumeSource.Builder setReadOnly(boolean value)
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       +optional
       
      optional bool readOnly = 6;
    • clearReadOnly

      public V1.ISCSIVolumeSource.Builder clearReadOnly()
       ReadOnly here will force the ReadOnly setting in VolumeMounts.
       Defaults to false.
       +optional
       
      optional bool readOnly = 6;
    • getPortalsList

      public com.google.protobuf.ProtocolStringList getPortalsList()
       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
       
      repeated string portals = 7;
      Specified by:
      getPortalsList in interface V1.ISCSIVolumeSourceOrBuilder
    • getPortalsCount

      public int getPortalsCount()
       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
       
      repeated string portals = 7;
      Specified by:
      getPortalsCount in interface V1.ISCSIVolumeSourceOrBuilder
    • getPortals

      public String getPortals(int index)
       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
       
      repeated string portals = 7;
      Specified by:
      getPortals in interface V1.ISCSIVolumeSourceOrBuilder
    • getPortalsBytes

      public com.google.protobuf.ByteString getPortalsBytes(int index)
       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
       
      repeated string portals = 7;
      Specified by:
      getPortalsBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setPortals

      public V1.ISCSIVolumeSource.Builder setPortals(int index, String value)
       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
       
      repeated string portals = 7;
    • addPortals

      public V1.ISCSIVolumeSource.Builder addPortals(String value)
       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
       
      repeated string portals = 7;
    • addAllPortals

      public V1.ISCSIVolumeSource.Builder addAllPortals(Iterable<String> values)
       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
       
      repeated string portals = 7;
    • clearPortals

      public V1.ISCSIVolumeSource.Builder clearPortals()
       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
       
      repeated string portals = 7;
    • addPortalsBytes

      public V1.ISCSIVolumeSource.Builder addPortalsBytes(com.google.protobuf.ByteString value)
       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
       
      repeated string portals = 7;
    • hasChapAuthDiscovery

      public boolean hasChapAuthDiscovery()
       whether support iSCSI Discovery CHAP authentication
       +optional
       
      optional bool chapAuthDiscovery = 8;
      Specified by:
      hasChapAuthDiscovery in interface V1.ISCSIVolumeSourceOrBuilder
    • getChapAuthDiscovery

      public boolean getChapAuthDiscovery()
       whether support iSCSI Discovery CHAP authentication
       +optional
       
      optional bool chapAuthDiscovery = 8;
      Specified by:
      getChapAuthDiscovery in interface V1.ISCSIVolumeSourceOrBuilder
    • setChapAuthDiscovery

      public V1.ISCSIVolumeSource.Builder setChapAuthDiscovery(boolean value)
       whether support iSCSI Discovery CHAP authentication
       +optional
       
      optional bool chapAuthDiscovery = 8;
    • clearChapAuthDiscovery

      public V1.ISCSIVolumeSource.Builder clearChapAuthDiscovery()
       whether support iSCSI Discovery CHAP authentication
       +optional
       
      optional bool chapAuthDiscovery = 8;
    • hasChapAuthSession

      public boolean hasChapAuthSession()
       whether support iSCSI Session CHAP authentication
       +optional
       
      optional bool chapAuthSession = 11;
      Specified by:
      hasChapAuthSession in interface V1.ISCSIVolumeSourceOrBuilder
    • getChapAuthSession

      public boolean getChapAuthSession()
       whether support iSCSI Session CHAP authentication
       +optional
       
      optional bool chapAuthSession = 11;
      Specified by:
      getChapAuthSession in interface V1.ISCSIVolumeSourceOrBuilder
    • setChapAuthSession

      public V1.ISCSIVolumeSource.Builder setChapAuthSession(boolean value)
       whether support iSCSI Session CHAP authentication
       +optional
       
      optional bool chapAuthSession = 11;
    • clearChapAuthSession

      public V1.ISCSIVolumeSource.Builder clearChapAuthSession()
       whether support iSCSI Session CHAP authentication
       +optional
       
      optional bool chapAuthSession = 11;
    • hasSecretRef

      public boolean hasSecretRef()
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
      Specified by:
      hasSecretRef in interface V1.ISCSIVolumeSourceOrBuilder
    • getSecretRef

      public V1.LocalObjectReference getSecretRef()
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
      Specified by:
      getSecretRef in interface V1.ISCSIVolumeSourceOrBuilder
    • setSecretRef

       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
    • setSecretRef

      public V1.ISCSIVolumeSource.Builder setSecretRef(V1.LocalObjectReference.Builder builderForValue)
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
    • mergeSecretRef

       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
    • clearSecretRef

      public V1.ISCSIVolumeSource.Builder clearSecretRef()
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
    • getSecretRefBuilder

      public V1.LocalObjectReference.Builder getSecretRefBuilder()
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
    • getSecretRefOrBuilder

      public V1.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
       CHAP Secret for iSCSI target and initiator authentication
       +optional
       
      optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 10;
      Specified by:
      getSecretRefOrBuilder in interface V1.ISCSIVolumeSourceOrBuilder
    • hasInitiatorName

      public boolean hasInitiatorName()
       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:
      hasInitiatorName in interface V1.ISCSIVolumeSourceOrBuilder
    • getInitiatorName

      public String getInitiatorName()
       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:
      getInitiatorName in interface V1.ISCSIVolumeSourceOrBuilder
    • getInitiatorNameBytes

      public com.google.protobuf.ByteString getInitiatorNameBytes()
       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:
      getInitiatorNameBytes in interface V1.ISCSIVolumeSourceOrBuilder
    • setInitiatorName

      public V1.ISCSIVolumeSource.Builder setInitiatorName(String value)
       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;
    • clearInitiatorName

      public V1.ISCSIVolumeSource.Builder clearInitiatorName()
       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;
    • setInitiatorNameBytes

      public V1.ISCSIVolumeSource.Builder setInitiatorNameBytes(com.google.protobuf.ByteString value)
       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;
    • setUnknownFields

      public final V1.ISCSIVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.ISCSIVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ISCSIVolumeSource.Builder>