Class V1.AzureDiskVolumeSource.Builder

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

public static final class V1.AzureDiskVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder> implements V1.AzureDiskVolumeSourceOrBuilder
 AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.
 
Protobuf type k8s.io.api.core.v1.AzureDiskVolumeSource
  • 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.AzureDiskVolumeSource.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.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<V1.AzureDiskVolumeSource.Builder>
    • getDefaultInstanceForType

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

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

      public V1.AzureDiskVolumeSource 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.AzureDiskVolumeSource.Builder>
    • setField

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • clearField

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • clearOneof

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • setRepeatedField

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • addRepeatedField

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • mergeFrom

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • mergeFrom

      public V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
      Throws:
      IOException
    • hasDiskName

      public boolean hasDiskName()
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
      Specified by:
      hasDiskName in interface V1.AzureDiskVolumeSourceOrBuilder
    • getDiskName

      public String getDiskName()
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
      Specified by:
      getDiskName in interface V1.AzureDiskVolumeSourceOrBuilder
    • getDiskNameBytes

      public com.google.protobuf.ByteString getDiskNameBytes()
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
      Specified by:
      getDiskNameBytes in interface V1.AzureDiskVolumeSourceOrBuilder
    • setDiskName

      public V1.AzureDiskVolumeSource.Builder setDiskName(String value)
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
    • clearDiskName

      public V1.AzureDiskVolumeSource.Builder clearDiskName()
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
    • setDiskNameBytes

      public V1.AzureDiskVolumeSource.Builder setDiskNameBytes(com.google.protobuf.ByteString value)
       The Name of the data disk in the blob storage
       
      optional string diskName = 1;
    • hasDiskURI

      public boolean hasDiskURI()
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
      Specified by:
      hasDiskURI in interface V1.AzureDiskVolumeSourceOrBuilder
    • getDiskURI

      public String getDiskURI()
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
      Specified by:
      getDiskURI in interface V1.AzureDiskVolumeSourceOrBuilder
    • getDiskURIBytes

      public com.google.protobuf.ByteString getDiskURIBytes()
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
      Specified by:
      getDiskURIBytes in interface V1.AzureDiskVolumeSourceOrBuilder
    • setDiskURI

      public V1.AzureDiskVolumeSource.Builder setDiskURI(String value)
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
    • clearDiskURI

      public V1.AzureDiskVolumeSource.Builder clearDiskURI()
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
    • setDiskURIBytes

      public V1.AzureDiskVolumeSource.Builder setDiskURIBytes(com.google.protobuf.ByteString value)
       The URI the data disk in the blob storage
       
      optional string diskURI = 2;
    • hasCachingMode

      public boolean hasCachingMode()
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
      Specified by:
      hasCachingMode in interface V1.AzureDiskVolumeSourceOrBuilder
    • getCachingMode

      public String getCachingMode()
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
      Specified by:
      getCachingMode in interface V1.AzureDiskVolumeSourceOrBuilder
    • getCachingModeBytes

      public com.google.protobuf.ByteString getCachingModeBytes()
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
      Specified by:
      getCachingModeBytes in interface V1.AzureDiskVolumeSourceOrBuilder
    • setCachingMode

      public V1.AzureDiskVolumeSource.Builder setCachingMode(String value)
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
    • clearCachingMode

      public V1.AzureDiskVolumeSource.Builder clearCachingMode()
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
    • setCachingModeBytes

      public V1.AzureDiskVolumeSource.Builder setCachingModeBytes(com.google.protobuf.ByteString value)
       Host Caching mode: None, Read Only, Read Write.
       +optional
       
      optional string cachingMode = 3;
    • hasFsType

      public boolean hasFsType()
       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
       
      optional string fsType = 4;
      Specified by:
      hasFsType in interface V1.AzureDiskVolumeSourceOrBuilder
    • getFsType

      public String getFsType()
       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
       
      optional string fsType = 4;
      Specified by:
      getFsType in interface V1.AzureDiskVolumeSourceOrBuilder
    • getFsTypeBytes

      public com.google.protobuf.ByteString getFsTypeBytes()
       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
       
      optional string fsType = 4;
      Specified by:
      getFsTypeBytes in interface V1.AzureDiskVolumeSourceOrBuilder
    • setFsType

      public V1.AzureDiskVolumeSource.Builder setFsType(String value)
       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
       
      optional string fsType = 4;
    • clearFsType

      public V1.AzureDiskVolumeSource.Builder clearFsType()
       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
       
      optional string fsType = 4;
    • setFsTypeBytes

      public V1.AzureDiskVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
       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
       
      optional string fsType = 4;
    • hasReadOnly

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

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

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

      public V1.AzureDiskVolumeSource.Builder clearReadOnly()
       Defaults to false (read/write). ReadOnly here will force
       the ReadOnly setting in VolumeMounts.
       +optional
       
      optional bool readOnly = 5;
    • hasKind

      public boolean hasKind()
       Expected values 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
       
      optional string kind = 6;
      Specified by:
      hasKind in interface V1.AzureDiskVolumeSourceOrBuilder
    • getKind

      public String getKind()
       Expected values 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
       
      optional string kind = 6;
      Specified by:
      getKind in interface V1.AzureDiskVolumeSourceOrBuilder
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Expected values 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
       
      optional string kind = 6;
      Specified by:
      getKindBytes in interface V1.AzureDiskVolumeSourceOrBuilder
    • setKind

      public V1.AzureDiskVolumeSource.Builder setKind(String value)
       Expected values 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
       
      optional string kind = 6;
    • clearKind

       Expected values 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
       
      optional string kind = 6;
    • setKindBytes

      public V1.AzureDiskVolumeSource.Builder setKindBytes(com.google.protobuf.ByteString value)
       Expected values 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
       
      optional string kind = 6;
    • setUnknownFields

      public final V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.AzureDiskVolumeSource.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.AzureDiskVolumeSource.Builder>