Package k8s.io.api.core.v1
Interface Generated.NFSVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.NFSVolumeSource,Generated.NFSVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.NFSVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPath()path that is exported by the NFS server.com.google.protobuf.ByteStringgetPathBytes()path that is exported by the NFS server.booleangetReadOnly()readOnly here will force the NFS export to be mounted with read-only permissions.StringgetServer()server is the hostname or IP address of the NFS server.com.google.protobuf.ByteStringgetServerBytes()server is the hostname or IP address of the NFS server.booleanhasPath()path that is exported by the NFS server.booleanhasReadOnly()readOnly here will force the NFS export to be mounted with read-only permissions.booleanhasServer()server is the hostname or IP address of the NFS server.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasServer
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;- Returns:
- Whether the server field is set.
-
getServer
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;- Returns:
- The server.
-
getServerBytes
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;- Returns:
- The bytes for server.
-
hasPath
boolean hasPath()
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
optional string path = 2;- Returns:
- The path.
-
getPathBytes
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;- Returns:
- The bytes for path.
-
hasReadOnly
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;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
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;- Returns:
- The readOnly.
-
-