Package k8s.io.api.core.v1
Interface Generated.KeyToPathOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.KeyToPath,Generated.KeyToPath.Builder
- Enclosing class:
- Generated
public static interface Generated.KeyToPathOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()key is the key to project.com.google.protobuf.ByteStringgetKeyBytes()key is the key to project.intgetMode()mode is Optional: mode bits used to set permissions on this file.StringgetPath()path is the relative path of the file to map the key to.com.google.protobuf.ByteStringgetPathBytes()path is the relative path of the file to map the key to.booleanhasKey()key is the key to project.booleanhasMode()mode is Optional: mode bits used to set permissions on this file.booleanhasPath()path is the relative path of the file to map the key to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
key is the key to project.
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
String getKey()
key is the key to project.
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
key is the key to project.
optional string key = 1;- Returns:
- The bytes for key.
-
hasPath
boolean hasPath()
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
optional string path = 2;- Returns:
- Whether the path field is set.
-
getPath
String getPath()
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
optional string path = 2;- Returns:
- The path.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes()
path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
optional string path = 2;- Returns:
- The bytes for path.
-
hasMode
boolean hasMode()
mode is 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 = 3;- Returns:
- Whether the mode field is set.
-
getMode
int getMode()
mode is 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 = 3;- Returns:
- The mode.
-
-