public static final class V1.NFSVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder> implements V1.NFSVolumeSourceOrBuilder
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.Protobuf type
k8s.io.api.core.v1.NFSVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.NFSVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NFSVolumeSource |
build() |
V1.NFSVolumeSource |
buildPartial() |
V1.NFSVolumeSource.Builder |
clear() |
V1.NFSVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.NFSVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.NFSVolumeSource.Builder |
clearPath()
Path that is exported by the NFS server.
|
V1.NFSVolumeSource.Builder |
clearReadOnly()
ReadOnly here will force
the NFS export to be mounted with read-only permissions.
|
V1.NFSVolumeSource.Builder |
clearServer()
Server is the hostname or IP address of the NFS server.
|
V1.NFSVolumeSource.Builder |
clone() |
V1.NFSVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPath()
Path that is exported by the NFS server.
|
com.google.protobuf.ByteString |
getPathBytes()
Path that is exported by the NFS server.
|
boolean |
getReadOnly()
ReadOnly here will force
the NFS export to be mounted with read-only permissions.
|
String |
getServer()
Server is the hostname or IP address of the NFS server.
|
com.google.protobuf.ByteString |
getServerBytes()
Server is the hostname or IP address of the NFS server.
|
boolean |
hasPath()
Path that is exported by the NFS server.
|
boolean |
hasReadOnly()
ReadOnly here will force
the NFS export to be mounted with read-only permissions.
|
boolean |
hasServer()
Server is the hostname or IP address of the NFS server.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.NFSVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.NFSVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.NFSVolumeSource.Builder |
mergeFrom(V1.NFSVolumeSource other) |
V1.NFSVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.NFSVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.NFSVolumeSource.Builder |
setPath(String value)
Path that is exported by the NFS server.
|
V1.NFSVolumeSource.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path that is exported by the NFS server.
|
V1.NFSVolumeSource.Builder |
setReadOnly(boolean value)
ReadOnly here will force
the NFS export to be mounted with read-only permissions.
|
V1.NFSVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.NFSVolumeSource.Builder |
setServer(String value)
Server is the hostname or IP address of the NFS server.
|
V1.NFSVolumeSource.Builder |
setServerBytes(com.google.protobuf.ByteString value)
Server is the hostname or IP address of the NFS server.
|
V1.NFSVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.NFSVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.NFSVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.NFSVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder mergeFrom(V1.NFSVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public V1.NFSVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.NFSVolumeSource.Builder>IOExceptionpublic boolean hasServer()
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;hasServer in interface V1.NFSVolumeSourceOrBuilderpublic String getServer()
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;getServer in interface V1.NFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getServerBytes()
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;getServerBytes in interface V1.NFSVolumeSourceOrBuilderpublic V1.NFSVolumeSource.Builder setServer(String value)
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;public V1.NFSVolumeSource.Builder clearServer()
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;public V1.NFSVolumeSource.Builder setServerBytes(com.google.protobuf.ByteString value)
Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string server = 1;public boolean hasPath()
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;hasPath in interface V1.NFSVolumeSourceOrBuilderpublic String getPath()
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;getPath in interface V1.NFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;getPathBytes in interface V1.NFSVolumeSourceOrBuilderpublic V1.NFSVolumeSource.Builder setPath(String value)
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;public V1.NFSVolumeSource.Builder clearPath()
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;public V1.NFSVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;public boolean hasReadOnly()
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional bool readOnly = 3;hasReadOnly in interface V1.NFSVolumeSourceOrBuilderpublic boolean getReadOnly()
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional bool readOnly = 3;getReadOnly in interface V1.NFSVolumeSourceOrBuilderpublic V1.NFSVolumeSource.Builder setReadOnly(boolean value)
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional bool readOnly = 3;public V1.NFSVolumeSource.Builder clearReadOnly()
ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs +optional
optional bool readOnly = 3;public final V1.NFSVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>public final V1.NFSVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.NFSVolumeSource.Builder>Copyright © 2018. All rights reserved.