Class Generated.ScaleIOVolumeSource

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(com.google.protobuf.ByteString data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(com.google.protobuf.ByteString data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(byte[] data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ScaleIOVolumeSource parseFrom​(byte[] data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

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

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

        protected Generated.ScaleIOVolumeSource.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.ScaleIOVolumeSource> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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