Package k8s.io.api.core.v1
Class Generated.KeyToPath.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
- k8s.io.api.core.v1.Generated.KeyToPath.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.KeyToPathOrBuilder
- Enclosing class:
- Generated.KeyToPath
public static final class Generated.KeyToPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder> implements Generated.KeyToPathOrBuilder
Maps a string key to a path within a volume.
Protobuf typek8s.io.api.core.v1.KeyToPath
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.KeyToPath.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.KeyToPathbuild()Generated.KeyToPathbuildPartial()Generated.KeyToPath.Builderclear()Generated.KeyToPath.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.KeyToPath.BuilderclearKey()key is the key to project.Generated.KeyToPath.BuilderclearMode()mode is Optional: mode bits used to set permissions on this file.Generated.KeyToPath.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.KeyToPath.BuilderclearPath()path is the relative path of the file to map the key to.Generated.KeyToPath.Builderclone()Generated.KeyToPathgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.KeyToPath.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.KeyToPath.BuildermergeFrom(com.google.protobuf.Message other)Generated.KeyToPath.BuildermergeFrom(Generated.KeyToPath other)Generated.KeyToPath.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.KeyToPath.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.KeyToPath.BuildersetKey(String value)key is the key to project.Generated.KeyToPath.BuildersetKeyBytes(com.google.protobuf.ByteString value)key is the key to project.Generated.KeyToPath.BuildersetMode(int value)mode is Optional: mode bits used to set permissions on this file.Generated.KeyToPath.BuildersetPath(String value)path is the relative path of the file to map the key to.Generated.KeyToPath.BuildersetPathBytes(com.google.protobuf.ByteString value)path is the relative path of the file to map the key to.Generated.KeyToPath.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.KeyToPath.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
clear
public Generated.KeyToPath.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
getDefaultInstanceForType
public Generated.KeyToPath getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.KeyToPath build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.KeyToPath buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.KeyToPath.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
setField
public Generated.KeyToPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
clearField
public Generated.KeyToPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
clearOneof
public Generated.KeyToPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
setRepeatedField
public Generated.KeyToPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
addRepeatedField
public Generated.KeyToPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
mergeFrom
public Generated.KeyToPath.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.KeyToPath.Builder>
-
mergeFrom
public Generated.KeyToPath.Builder mergeFrom(Generated.KeyToPath other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
mergeFrom
public Generated.KeyToPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.KeyToPath.Builder>- Throws:
IOException
-
hasKey
public boolean hasKey()
key is the key to project.
optional string key = 1;- Specified by:
hasKeyin interfaceGenerated.KeyToPathOrBuilder- Returns:
- Whether the key field is set.
-
getKey
public String getKey()
key is the key to project.
optional string key = 1;- Specified by:
getKeyin interfaceGenerated.KeyToPathOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()
key is the key to project.
optional string key = 1;- Specified by:
getKeyBytesin interfaceGenerated.KeyToPathOrBuilder- Returns:
- The bytes for key.
-
setKey
public Generated.KeyToPath.Builder setKey(String value)
key is the key to project.
optional string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
public Generated.KeyToPath.Builder clearKey()
key is the key to project.
optional string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
public Generated.KeyToPath.Builder setKeyBytes(com.google.protobuf.ByteString value)
key is the key to project.
optional string key = 1;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasPath
public 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;- Specified by:
hasPathin interfaceGenerated.KeyToPathOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public 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;- Specified by:
getPathin interfaceGenerated.KeyToPathOrBuilder- Returns:
- The path.
-
getPathBytes
public 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;- Specified by:
getPathBytesin interfaceGenerated.KeyToPathOrBuilder- Returns:
- The bytes for path.
-
setPath
public Generated.KeyToPath.Builder setPath(String value)
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;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Generated.KeyToPath.Builder clearPath()
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:
- This builder for chaining.
-
setPathBytes
public Generated.KeyToPath.Builder setPathBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasMode
public 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;- Specified by:
hasModein interfaceGenerated.KeyToPathOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
public 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;- Specified by:
getModein interfaceGenerated.KeyToPathOrBuilder- Returns:
- The mode.
-
setMode
public Generated.KeyToPath.Builder setMode(int value)
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;- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
public Generated.KeyToPath.Builder clearMode()
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:
- This builder for chaining.
-
setUnknownFields
public final Generated.KeyToPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
mergeUnknownFields
public final Generated.KeyToPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.KeyToPath.Builder>
-
-