Package k8s.io.api.core.v1
Interface Generated.VolumeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Volume,Generated.Volume.Builder
- Enclosing class:
- Generated
public static interface Generated.VolumeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()name of the volume.com.google.protobuf.ByteStringgetNameBytes()name of the volume.Generated.VolumeSourcegetVolumeSource()volumeSource represents the location and type of the mounted volume.Generated.VolumeSourceOrBuildergetVolumeSourceOrBuilder()volumeSource represents the location and type of the mounted volume.booleanhasName()name of the volume.booleanhasVolumeSource()volumeSource represents the location and type of the mounted volume.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
optional string name = 1;- Returns:
- The bytes for name.
-
hasVolumeSource
boolean hasVolumeSource()
volumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;- Returns:
- Whether the volumeSource field is set.
-
getVolumeSource
Generated.VolumeSource getVolumeSource()
volumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;- Returns:
- The volumeSource.
-
getVolumeSourceOrBuilder
Generated.VolumeSourceOrBuilder getVolumeSourceOrBuilder()
volumeSource represents the location and type of the mounted volume. If not specified, the Volume is implied to be an EmptyDir. This implied behavior is deprecated and will be removed in a future version.
optional .k8s.io.api.core.v1.VolumeSource volumeSource = 2;
-
-