Class Generated.AzureDiskVolumeSource

    • 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
      • hasDiskName

        public boolean hasDiskName()
         diskName is the Name of the data disk in the blob storage
         
        optional string diskName = 1;
        Specified by:
        hasDiskName in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        Whether the diskName field is set.
      • getDiskNameBytes

        public com.google.protobuf.ByteString getDiskNameBytes()
         diskName is the Name of the data disk in the blob storage
         
        optional string diskName = 1;
        Specified by:
        getDiskNameBytes in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The bytes for diskName.
      • hasCachingMode

        public boolean hasCachingMode()
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Specified by:
        hasCachingMode in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        Whether the cachingMode field is set.
      • getCachingMode

        public String getCachingMode()
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Specified by:
        getCachingMode in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The cachingMode.
      • getCachingModeBytes

        public com.google.protobuf.ByteString getCachingModeBytes()
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Specified by:
        getCachingModeBytes in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The bytes for cachingMode.
      • hasFsType

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

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

        public com.google.protobuf.ByteString getFsTypeBytes()
         fsType is Filesystem type to mount.
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
         +optional
         +default="ext4"
         
        optional string fsType = 4;
        Specified by:
        getFsTypeBytes in interface Generated.AzureDiskVolumeSourceOrBuilder
        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
         +default=false
         
        optional bool readOnly = 5;
        Specified by:
        hasReadOnly in interface Generated.AzureDiskVolumeSourceOrBuilder
        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
         +default=false
         
        optional bool readOnly = 5;
        Specified by:
        getReadOnly in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • hasKind

        public boolean hasKind()
         kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared
         +default=ref(AzureSharedBlobDisk)
         
        optional string kind = 6;
        Specified by:
        hasKind in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared
         +default=ref(AzureSharedBlobDisk)
         
        optional string kind = 6;
        Specified by:
        getKind in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         kind expected values are Shared: multiple blob disks per storage account  Dedicated: single blob disk per storage account  Managed: azure managed data disk (only in managed availability set). defaults to shared
         +default=ref(AzureSharedBlobDisk)
         
        optional string kind = 6;
        Specified by:
        getKindBytes in interface Generated.AzureDiskVolumeSourceOrBuilder
        Returns:
        The bytes for kind.
      • 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.AzureDiskVolumeSource parseFrom​(ByteBuffer data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.AzureDiskVolumeSource 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.AzureDiskVolumeSource parseFrom​(byte[] data)
                                                         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

        public com.google.protobuf.Parser<Generated.AzureDiskVolumeSource> 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.AzureDiskVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder