Package io.kubernetes.client.proto
Class V1.AzureDiskVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Host Caching mode: None, Read Only, Read Write.The Name of the data disk in the blob storageThe URI the data disk in the blob storageclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type to mount.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).clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Defaults to false (read/write).clone()
Host Caching mode: None, Read Only, Read Write.com.google.protobuf.ByteString
Host Caching mode: None, Read Only, Read Write.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The Name of the data disk in the blob storagecom.google.protobuf.ByteString
The Name of the data disk in the blob storageThe URI the data disk in the blob storagecom.google.protobuf.ByteString
The URI the data disk in the blob storageFilesystem type to mount.com.google.protobuf.ByteString
Filesystem type to mount.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).com.google.protobuf.ByteString
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).boolean
Defaults to false (read/write).boolean
Host Caching mode: None, Read Only, Read Write.boolean
The Name of the data disk in the blob storageboolean
The URI the data disk in the blob storageboolean
Filesystem type to mount.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).boolean
Defaults to false (read/write).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCachingMode
(String value) Host Caching mode: None, Read Only, Read Write.setCachingModeBytes
(com.google.protobuf.ByteString value) Host Caching mode: None, Read Only, Read Write.setDiskName
(String value) The Name of the data disk in the blob storagesetDiskNameBytes
(com.google.protobuf.ByteString value) The Name of the data disk in the blob storagesetDiskURI
(String value) The URI the data disk in the blob storagesetDiskURIBytes
(com.google.protobuf.ByteString value) The URI the data disk in the blob storageFilesystem type to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type to mount.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).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).setReadOnly
(boolean value) Defaults to false (read/write).setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
clearField
public V1.AzureDiskVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
clearOneof
public V1.AzureDiskVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.AzureDiskVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
getDiskName
The Name of the data disk in the blob storage
optional string diskName = 1;
- Specified by:
getDiskName
in interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setDiskName
The Name of the data disk in the blob storage
optional string diskName = 1;
-
clearDiskName
The Name of the data disk in the blob storage
optional string diskName = 1;
-
setDiskNameBytes
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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
getDiskURI
The URI the data disk in the blob storage
optional string diskURI = 2;
- Specified by:
getDiskURI
in interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setDiskURI
The URI the data disk in the blob storage
optional string diskURI = 2;
-
clearDiskURI
The URI the data disk in the blob storage
optional string diskURI = 2;
-
setDiskURIBytes
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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
getCachingMode
Host Caching mode: None, Read Only, Read Write. +optional
optional string cachingMode = 3;
- Specified by:
getCachingMode
in interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setCachingMode
Host Caching mode: None, Read Only, Read Write. +optional
optional string cachingMode = 3;
-
clearCachingMode
Host Caching mode: None, Read Only, Read Write. +optional
optional string cachingMode = 3;
-
setCachingModeBytes
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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setFsType
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
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
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 interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setReadOnly
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 5;
-
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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
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 interfaceV1.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 interfaceV1.AzureDiskVolumeSourceOrBuilder
-
setKind
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-
mergeUnknownFields
public final V1.AzureDiskVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AzureDiskVolumeSource.Builder>
-