Package k8s.io.api.core.v1
Interface Generated.DownwardAPIVolumeFileOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.DownwardAPIVolumeFile,Generated.DownwardAPIVolumeFile.Builder
- Enclosing class:
- Generated
public static interface Generated.DownwardAPIVolumeFileOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.ObjectFieldSelectorgetFieldRef()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.Generated.ObjectFieldSelectorOrBuildergetFieldRefOrBuilder()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.intgetMode()Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.StringgetPath()Required: Path is the relative path name of the file to be created.com.google.protobuf.ByteStringgetPathBytes()Required: Path is the relative path name of the file to be created.Generated.ResourceFieldSelectorgetResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.Generated.ResourceFieldSelectorOrBuildergetResourceFieldRefOrBuilder()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.booleanhasFieldRef()Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.booleanhasMode()Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.booleanhasPath()Required: Path is the relative path name of the file to be created.booleanhasResourceFieldRef()Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPath
boolean hasPath()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;- Returns:
- The bytes for path.
-
hasFieldRef
boolean hasFieldRef()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;- Returns:
- Whether the fieldRef field is set.
-
getFieldRef
Generated.ObjectFieldSelector getFieldRef()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;- Returns:
- The fieldRef.
-
getFieldRefOrBuilder
Generated.ObjectFieldSelectorOrBuilder getFieldRefOrBuilder()
Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported. +optional
optional .k8s.io.api.core.v1.ObjectFieldSelector fieldRef = 2;
-
hasResourceFieldRef
boolean hasResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;- Returns:
- Whether the resourceFieldRef field is set.
-
getResourceFieldRef
Generated.ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;- Returns:
- The resourceFieldRef.
-
getResourceFieldRefOrBuilder
Generated.ResourceFieldSelectorOrBuilder getResourceFieldRefOrBuilder()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. +optional
optional .k8s.io.api.core.v1.ResourceFieldSelector resourceFieldRef = 3;
-
hasMode
boolean hasMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 mode = 4;- Returns:
- Whether the mode field is set.
-
getMode
int getMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. +optional
optional int32 mode = 4;- Returns:
- The mode.
-
-