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

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

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

        public Generated.AzureDiskVolumeSource 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.AzureDiskVolumeSource.Builder>
      • 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.
      • setDiskName

        public Generated.AzureDiskVolumeSource.Builder setDiskName​(String value)
         diskName is the Name of the data disk in the blob storage
         
        optional string diskName = 1;
        Parameters:
        value - The diskName to set.
        Returns:
        This builder for chaining.
      • clearDiskName

        public Generated.AzureDiskVolumeSource.Builder clearDiskName()
         diskName is the Name of the data disk in the blob storage
         
        optional string diskName = 1;
        Returns:
        This builder for chaining.
      • setDiskNameBytes

        public Generated.AzureDiskVolumeSource.Builder setDiskNameBytes​(com.google.protobuf.ByteString value)
         diskName is the Name of the data disk in the blob storage
         
        optional string diskName = 1;
        Parameters:
        value - The bytes for diskName to set.
        Returns:
        This builder for chaining.
      • setDiskURI

        public Generated.AzureDiskVolumeSource.Builder setDiskURI​(String value)
         diskURI is the URI of data disk in the blob storage
         
        optional string diskURI = 2;
        Parameters:
        value - The diskURI to set.
        Returns:
        This builder for chaining.
      • clearDiskURI

        public Generated.AzureDiskVolumeSource.Builder clearDiskURI()
         diskURI is the URI of data disk in the blob storage
         
        optional string diskURI = 2;
        Returns:
        This builder for chaining.
      • setDiskURIBytes

        public Generated.AzureDiskVolumeSource.Builder setDiskURIBytes​(com.google.protobuf.ByteString value)
         diskURI is the URI of data disk in the blob storage
         
        optional string diskURI = 2;
        Parameters:
        value - The bytes for diskURI to set.
        Returns:
        This builder for chaining.
      • 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.
      • setCachingMode

        public Generated.AzureDiskVolumeSource.Builder setCachingMode​(String value)
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Parameters:
        value - The cachingMode to set.
        Returns:
        This builder for chaining.
      • clearCachingMode

        public Generated.AzureDiskVolumeSource.Builder clearCachingMode()
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Returns:
        This builder for chaining.
      • setCachingModeBytes

        public Generated.AzureDiskVolumeSource.Builder setCachingModeBytes​(com.google.protobuf.ByteString value)
         cachingMode is the Host Caching mode: None, Read Only, Read Write.
         +optional
         +default=ref(AzureDataDiskCachingReadWrite)
         
        optional string cachingMode = 3;
        Parameters:
        value - The bytes for cachingMode to set.
        Returns:
        This builder for chaining.
      • 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.
      • setFsType

        public Generated.AzureDiskVolumeSource.Builder setFsType​(String value)
         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;
        Parameters:
        value - The fsType to set.
        Returns:
        This builder for chaining.
      • clearFsType

        public Generated.AzureDiskVolumeSource.Builder clearFsType()
         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;
        Returns:
        This builder for chaining.
      • setFsTypeBytes

        public Generated.AzureDiskVolumeSource.Builder setFsTypeBytes​(com.google.protobuf.ByteString value)
         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;
        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
         +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.
      • setReadOnly

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

        public Generated.AzureDiskVolumeSource.Builder clearReadOnly()
         readOnly Defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         +default=false
         
        optional bool readOnly = 5;
        Returns:
        This builder for chaining.
      • 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.
      • setKind

        public Generated.AzureDiskVolumeSource.Builder setKind​(String value)
         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;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public Generated.AzureDiskVolumeSource.Builder clearKind()
         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;
        Returns:
        This builder for chaining.
      • setKindBytes

        public Generated.AzureDiskVolumeSource.Builder setKindBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for kind to set.
        Returns:
        This builder for chaining.