Class Generated.ScaleIOVolumeSource.Builder

    • Method Detail

      • 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<Generated.ScaleIOVolumeSource.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<Generated.ScaleIOVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.ScaleIOVolumeSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Generated.ScaleIOVolumeSource.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<Generated.ScaleIOVolumeSource.Builder>
        Throws:
        IOException
      • hasGateway

        public boolean hasGateway()
         gateway is the host address of the ScaleIO API Gateway.
         
        optional string gateway = 1;
        Specified by:
        hasGateway in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the gateway field is set.
      • getGatewayBytes

        public com.google.protobuf.ByteString getGatewayBytes()
         gateway is the host address of the ScaleIO API Gateway.
         
        optional string gateway = 1;
        Specified by:
        getGatewayBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for gateway.
      • setGateway

        public Generated.ScaleIOVolumeSource.Builder setGateway​(String value)
         gateway is the host address of the ScaleIO API Gateway.
         
        optional string gateway = 1;
        Parameters:
        value - The gateway to set.
        Returns:
        This builder for chaining.
      • clearGateway

        public Generated.ScaleIOVolumeSource.Builder clearGateway()
         gateway is the host address of the ScaleIO API Gateway.
         
        optional string gateway = 1;
        Returns:
        This builder for chaining.
      • setGatewayBytes

        public Generated.ScaleIOVolumeSource.Builder setGatewayBytes​(com.google.protobuf.ByteString value)
         gateway is the host address of the ScaleIO API Gateway.
         
        optional string gateway = 1;
        Parameters:
        value - The bytes for gateway to set.
        Returns:
        This builder for chaining.
      • hasSystem

        public boolean hasSystem()
         system is the name of the storage system as configured in ScaleIO.
         
        optional string system = 2;
        Specified by:
        hasSystem in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the system field is set.
      • getSystemBytes

        public com.google.protobuf.ByteString getSystemBytes()
         system is the name of the storage system as configured in ScaleIO.
         
        optional string system = 2;
        Specified by:
        getSystemBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for system.
      • setSystem

        public Generated.ScaleIOVolumeSource.Builder setSystem​(String value)
         system is the name of the storage system as configured in ScaleIO.
         
        optional string system = 2;
        Parameters:
        value - The system to set.
        Returns:
        This builder for chaining.
      • clearSystem

        public Generated.ScaleIOVolumeSource.Builder clearSystem()
         system is the name of the storage system as configured in ScaleIO.
         
        optional string system = 2;
        Returns:
        This builder for chaining.
      • setSystemBytes

        public Generated.ScaleIOVolumeSource.Builder setSystemBytes​(com.google.protobuf.ByteString value)
         system is the name of the storage system as configured in ScaleIO.
         
        optional string system = 2;
        Parameters:
        value - The bytes for system to set.
        Returns:
        This builder for chaining.
      • hasSecretRef

        public boolean hasSecretRef()
         secretRef references to the secret for ScaleIO user and other
         sensitive information. If this is not provided, Login operation will fail.
         
        optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
        Specified by:
        hasSecretRef in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the secretRef field is set.
      • clearSecretRef

        public Generated.ScaleIOVolumeSource.Builder clearSecretRef()
         secretRef references to the secret for ScaleIO user and other
         sensitive information. If this is not provided, Login operation will fail.
         
        optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
      • getSecretRefBuilder

        public Generated.LocalObjectReference.Builder getSecretRefBuilder()
         secretRef references to the secret for ScaleIO user and other
         sensitive information. If this is not provided, Login operation will fail.
         
        optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
      • hasSslEnabled

        public boolean hasSslEnabled()
         sslEnabled Flag enable/disable SSL communication with Gateway, default false
         +optional
         
        optional bool sslEnabled = 4;
        Specified by:
        hasSslEnabled in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the sslEnabled field is set.
      • getSslEnabled

        public boolean getSslEnabled()
         sslEnabled Flag enable/disable SSL communication with Gateway, default false
         +optional
         
        optional bool sslEnabled = 4;
        Specified by:
        getSslEnabled in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The sslEnabled.
      • setSslEnabled

        public Generated.ScaleIOVolumeSource.Builder setSslEnabled​(boolean value)
         sslEnabled Flag enable/disable SSL communication with Gateway, default false
         +optional
         
        optional bool sslEnabled = 4;
        Parameters:
        value - The sslEnabled to set.
        Returns:
        This builder for chaining.
      • clearSslEnabled

        public Generated.ScaleIOVolumeSource.Builder clearSslEnabled()
         sslEnabled Flag enable/disable SSL communication with Gateway, default false
         +optional
         
        optional bool sslEnabled = 4;
        Returns:
        This builder for chaining.
      • hasProtectionDomain

        public boolean hasProtectionDomain()
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Specified by:
        hasProtectionDomain in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the protectionDomain field is set.
      • getProtectionDomain

        public String getProtectionDomain()
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Specified by:
        getProtectionDomain in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The protectionDomain.
      • getProtectionDomainBytes

        public com.google.protobuf.ByteString getProtectionDomainBytes()
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Specified by:
        getProtectionDomainBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for protectionDomain.
      • setProtectionDomain

        public Generated.ScaleIOVolumeSource.Builder setProtectionDomain​(String value)
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Parameters:
        value - The protectionDomain to set.
        Returns:
        This builder for chaining.
      • clearProtectionDomain

        public Generated.ScaleIOVolumeSource.Builder clearProtectionDomain()
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Returns:
        This builder for chaining.
      • setProtectionDomainBytes

        public Generated.ScaleIOVolumeSource.Builder setProtectionDomainBytes​(com.google.protobuf.ByteString value)
         protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.
         +optional
         
        optional string protectionDomain = 5;
        Parameters:
        value - The bytes for protectionDomain to set.
        Returns:
        This builder for chaining.
      • hasStoragePool

        public boolean hasStoragePool()
         storagePool is the ScaleIO Storage Pool associated with the protection domain.
         +optional
         
        optional string storagePool = 6;
        Specified by:
        hasStoragePool in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the storagePool field is set.
      • getStoragePoolBytes

        public com.google.protobuf.ByteString getStoragePoolBytes()
         storagePool is the ScaleIO Storage Pool associated with the protection domain.
         +optional
         
        optional string storagePool = 6;
        Specified by:
        getStoragePoolBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for storagePool.
      • setStoragePool

        public Generated.ScaleIOVolumeSource.Builder setStoragePool​(String value)
         storagePool is the ScaleIO Storage Pool associated with the protection domain.
         +optional
         
        optional string storagePool = 6;
        Parameters:
        value - The storagePool to set.
        Returns:
        This builder for chaining.
      • clearStoragePool

        public Generated.ScaleIOVolumeSource.Builder clearStoragePool()
         storagePool is the ScaleIO Storage Pool associated with the protection domain.
         +optional
         
        optional string storagePool = 6;
        Returns:
        This builder for chaining.
      • setStoragePoolBytes

        public Generated.ScaleIOVolumeSource.Builder setStoragePoolBytes​(com.google.protobuf.ByteString value)
         storagePool is the ScaleIO Storage Pool associated with the protection domain.
         +optional
         
        optional string storagePool = 6;
        Parameters:
        value - The bytes for storagePool to set.
        Returns:
        This builder for chaining.
      • hasStorageMode

        public boolean hasStorageMode()
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Specified by:
        hasStorageMode in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the storageMode field is set.
      • getStorageMode

        public String getStorageMode()
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Specified by:
        getStorageMode in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The storageMode.
      • getStorageModeBytes

        public com.google.protobuf.ByteString getStorageModeBytes()
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Specified by:
        getStorageModeBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for storageMode.
      • setStorageMode

        public Generated.ScaleIOVolumeSource.Builder setStorageMode​(String value)
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Parameters:
        value - The storageMode to set.
        Returns:
        This builder for chaining.
      • clearStorageMode

        public Generated.ScaleIOVolumeSource.Builder clearStorageMode()
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Returns:
        This builder for chaining.
      • setStorageModeBytes

        public Generated.ScaleIOVolumeSource.Builder setStorageModeBytes​(com.google.protobuf.ByteString value)
         storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
         Default is ThinProvisioned.
         +optional
         +default="ThinProvisioned"
         
        optional string storageMode = 7;
        Parameters:
        value - The bytes for storageMode to set.
        Returns:
        This builder for chaining.
      • hasVolumeName

        public boolean hasVolumeName()
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Specified by:
        hasVolumeName in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the volumeName field is set.
      • getVolumeName

        public String getVolumeName()
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Specified by:
        getVolumeName in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The volumeName.
      • getVolumeNameBytes

        public com.google.protobuf.ByteString getVolumeNameBytes()
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Specified by:
        getVolumeNameBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for volumeName.
      • setVolumeName

        public Generated.ScaleIOVolumeSource.Builder setVolumeName​(String value)
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Parameters:
        value - The volumeName to set.
        Returns:
        This builder for chaining.
      • clearVolumeName

        public Generated.ScaleIOVolumeSource.Builder clearVolumeName()
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Returns:
        This builder for chaining.
      • setVolumeNameBytes

        public Generated.ScaleIOVolumeSource.Builder setVolumeNameBytes​(com.google.protobuf.ByteString value)
         volumeName is the name of a volume already created in the ScaleIO system
         that is associated with this volume source.
         
        optional string volumeName = 8;
        Parameters:
        value - The bytes for volumeName to set.
        Returns:
        This builder for chaining.
      • hasFsType

        public boolean hasFsType()
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Specified by:
        hasFsType in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the fsType field is set.
      • getFsType

        public String getFsType()
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Specified by:
        getFsType in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The fsType.
      • getFsTypeBytes

        public com.google.protobuf.ByteString getFsTypeBytes()
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Specified by:
        getFsTypeBytes in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • setFsType

        public Generated.ScaleIOVolumeSource.Builder setFsType​(String value)
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Parameters:
        value - The fsType to set.
        Returns:
        This builder for chaining.
      • clearFsType

        public Generated.ScaleIOVolumeSource.Builder clearFsType()
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Returns:
        This builder for chaining.
      • setFsTypeBytes

        public Generated.ScaleIOVolumeSource.Builder setFsTypeBytes​(com.google.protobuf.ByteString value)
         fsType is the filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         Default is "xfs".
         +optional
         +default="xfs"
         
        optional string fsType = 9;
        Parameters:
        value - The bytes for fsType to set.
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly Defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 10;
        Specified by:
        hasReadOnly in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly Defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 10;
        Specified by:
        getReadOnly in interface Generated.ScaleIOVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.ScaleIOVolumeSource.Builder setReadOnly​(boolean value)
         readOnly Defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 10;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.ScaleIOVolumeSource.Builder clearReadOnly()
         readOnly Defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 10;
        Returns:
        This builder for chaining.