Package k8s.io.api.core.v1
Class Generated.AzureFilePersistentVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.AzureFilePersistentVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.AzureFilePersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated.AzureFilePersistentVolumeSource
public static final class Generated.AzureFilePersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder> implements Generated.AzureFilePersistentVolumeSourceOrBuilder
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
Protobuf typek8s.io.api.core.v1.AzureFilePersistentVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.AzureFilePersistentVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AzureFilePersistentVolumeSourcebuild()Generated.AzureFilePersistentVolumeSourcebuildPartial()Generated.AzureFilePersistentVolumeSource.Builderclear()Generated.AzureFilePersistentVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.AzureFilePersistentVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.AzureFilePersistentVolumeSource.BuilderclearReadOnly()readOnly defaults to false (read/write).Generated.AzureFilePersistentVolumeSource.BuilderclearSecretName()secretName is the name of secret that contains Azure Storage Account Name and KeyGenerated.AzureFilePersistentVolumeSource.BuilderclearSecretNamespace()secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalGenerated.AzureFilePersistentVolumeSource.BuilderclearShareName()shareName is the azure Share NameGenerated.AzureFilePersistentVolumeSource.Builderclone()Generated.AzureFilePersistentVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetReadOnly()readOnly defaults to false (read/write).StringgetSecretName()secretName is the name of secret that contains Azure Storage Account Name and Keycom.google.protobuf.ByteStringgetSecretNameBytes()secretName is the name of secret that contains Azure Storage Account Name and KeyStringgetSecretNamespace()secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalcom.google.protobuf.ByteStringgetSecretNamespaceBytes()secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalStringgetShareName()shareName is the azure Share Namecom.google.protobuf.ByteStringgetShareNameBytes()shareName is the azure Share NamebooleanhasReadOnly()readOnly defaults to false (read/write).booleanhasSecretName()secretName is the name of secret that contains Azure Storage Account Name and KeybooleanhasSecretNamespace()secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalbooleanhasShareName()shareName is the azure Share Nameprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.AzureFilePersistentVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.AzureFilePersistentVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.AzureFilePersistentVolumeSource.BuildermergeFrom(Generated.AzureFilePersistentVolumeSource other)Generated.AzureFilePersistentVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.AzureFilePersistentVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AzureFilePersistentVolumeSource.BuildersetReadOnly(boolean value)readOnly defaults to false (read/write).Generated.AzureFilePersistentVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.AzureFilePersistentVolumeSource.BuildersetSecretName(String value)secretName is the name of secret that contains Azure Storage Account Name and KeyGenerated.AzureFilePersistentVolumeSource.BuildersetSecretNameBytes(com.google.protobuf.ByteString value)secretName is the name of secret that contains Azure Storage Account Name and KeyGenerated.AzureFilePersistentVolumeSource.BuildersetSecretNamespace(String value)secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalGenerated.AzureFilePersistentVolumeSource.BuildersetSecretNamespaceBytes(com.google.protobuf.ByteString value)secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optionalGenerated.AzureFilePersistentVolumeSource.BuildersetShareName(String value)shareName is the azure Share NameGenerated.AzureFilePersistentVolumeSource.BuildersetShareNameBytes(com.google.protobuf.ByteString value)shareName is the azure Share NameGenerated.AzureFilePersistentVolumeSource.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
clear
public Generated.AzureFilePersistentVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.AzureFilePersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.AzureFilePersistentVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.AzureFilePersistentVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.AzureFilePersistentVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
setField
public Generated.AzureFilePersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
clearField
public Generated.AzureFilePersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
clearOneof
public Generated.AzureFilePersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
setRepeatedField
public Generated.AzureFilePersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
addRepeatedField
public Generated.AzureFilePersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
mergeFrom
public Generated.AzureFilePersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
mergeFrom
public Generated.AzureFilePersistentVolumeSource.Builder mergeFrom(Generated.AzureFilePersistentVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
mergeFrom
public Generated.AzureFilePersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.AzureFilePersistentVolumeSource.Builder>- Throws:
IOException
-
hasSecretName
public boolean hasSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Specified by:
hasSecretNamein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- Whether the secretName field is set.
-
getSecretName
public String getSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Specified by:
getSecretNamein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The secretName.
-
getSecretNameBytes
public com.google.protobuf.ByteString getSecretNameBytes()
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Specified by:
getSecretNameBytesin interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The bytes for secretName.
-
setSecretName
public Generated.AzureFilePersistentVolumeSource.Builder setSecretName(String value)
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Parameters:
value- The secretName to set.- Returns:
- This builder for chaining.
-
clearSecretName
public Generated.AzureFilePersistentVolumeSource.Builder clearSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Returns:
- This builder for chaining.
-
setSecretNameBytes
public Generated.AzureFilePersistentVolumeSource.Builder setSecretNameBytes(com.google.protobuf.ByteString value)
secretName is the name of secret that contains Azure Storage Account Name and Key
optional string secretName = 1;- Parameters:
value- The bytes for secretName to set.- Returns:
- This builder for chaining.
-
hasShareName
public boolean hasShareName()
shareName is the azure Share Name
optional string shareName = 2;- Specified by:
hasShareNamein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- Whether the shareName field is set.
-
getShareName
public String getShareName()
shareName is the azure Share Name
optional string shareName = 2;- Specified by:
getShareNamein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The shareName.
-
getShareNameBytes
public com.google.protobuf.ByteString getShareNameBytes()
shareName is the azure Share Name
optional string shareName = 2;- Specified by:
getShareNameBytesin interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The bytes for shareName.
-
setShareName
public Generated.AzureFilePersistentVolumeSource.Builder setShareName(String value)
shareName is the azure Share Name
optional string shareName = 2;- Parameters:
value- The shareName to set.- Returns:
- This builder for chaining.
-
clearShareName
public Generated.AzureFilePersistentVolumeSource.Builder clearShareName()
shareName is the azure Share Name
optional string shareName = 2;- Returns:
- This builder for chaining.
-
setShareNameBytes
public Generated.AzureFilePersistentVolumeSource.Builder setShareNameBytes(com.google.protobuf.ByteString value)
shareName is the azure Share Name
optional string shareName = 2;- Parameters:
value- The bytes for shareName 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
optional bool readOnly = 3;- Specified by:
hasReadOnlyin interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- 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 = 3;- Specified by:
getReadOnlyin interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.AzureFilePersistentVolumeSource.Builder setReadOnly(boolean value)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.AzureFilePersistentVolumeSource.Builder clearReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Returns:
- This builder for chaining.
-
hasSecretNamespace
public boolean hasSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Specified by:
hasSecretNamespacein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- Whether the secretNamespace field is set.
-
getSecretNamespace
public String getSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Specified by:
getSecretNamespacein interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The secretNamespace.
-
getSecretNamespaceBytes
public com.google.protobuf.ByteString getSecretNamespaceBytes()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Specified by:
getSecretNamespaceBytesin interfaceGenerated.AzureFilePersistentVolumeSourceOrBuilder- Returns:
- The bytes for secretNamespace.
-
setSecretNamespace
public Generated.AzureFilePersistentVolumeSource.Builder setSecretNamespace(String value)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Parameters:
value- The secretNamespace to set.- Returns:
- This builder for chaining.
-
clearSecretNamespace
public Generated.AzureFilePersistentVolumeSource.Builder clearSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Returns:
- This builder for chaining.
-
setSecretNamespaceBytes
public Generated.AzureFilePersistentVolumeSource.Builder setSecretNamespaceBytes(com.google.protobuf.ByteString value)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod +optional
optional string secretNamespace = 4;- Parameters:
value- The bytes for secretNamespace to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.AzureFilePersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.AzureFilePersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AzureFilePersistentVolumeSource.Builder>
-
-