public static final class V1.KeyToPath.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder> implements V1.KeyToPathOrBuilder
Maps a string key to a path within a volume.Protobuf type
k8s.io.api.core.v1.KeyToPath| Modifier and Type | Method and Description |
|---|---|
V1.KeyToPath.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.KeyToPath |
build() |
V1.KeyToPath |
buildPartial() |
V1.KeyToPath.Builder |
clear() |
V1.KeyToPath.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.KeyToPath.Builder |
clearKey()
The key to project.
|
V1.KeyToPath.Builder |
clearMode()
Optional: mode bits to use on this file, must be a value between 0
and 0777.
|
V1.KeyToPath.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.KeyToPath.Builder |
clearPath()
The relative path of the file to map the key to.
|
V1.KeyToPath.Builder |
clone() |
V1.KeyToPath |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey()
The key to project.
|
com.google.protobuf.ByteString |
getKeyBytes()
The key to project.
|
int |
getMode()
Optional: mode bits to use on this file, must be a value between 0
and 0777.
|
String |
getPath()
The relative path of the file to map the key to.
|
com.google.protobuf.ByteString |
getPathBytes()
The relative path of the file to map the key to.
|
boolean |
hasKey()
The key to project.
|
boolean |
hasMode()
Optional: mode bits to use on this file, must be a value between 0
and 0777.
|
boolean |
hasPath()
The relative path of the file to map the key to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.KeyToPath.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.KeyToPath.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.KeyToPath.Builder |
mergeFrom(V1.KeyToPath other) |
V1.KeyToPath.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.KeyToPath.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.KeyToPath.Builder |
setKey(String value)
The key to project.
|
V1.KeyToPath.Builder |
setKeyBytes(com.google.protobuf.ByteString value)
The key to project.
|
V1.KeyToPath.Builder |
setMode(int value)
Optional: mode bits to use on this file, must be a value between 0
and 0777.
|
V1.KeyToPath.Builder |
setPath(String value)
The relative path of the file to map the key to.
|
V1.KeyToPath.Builder |
setPathBytes(com.google.protobuf.ByteString value)
The relative path of the file to map the key to.
|
V1.KeyToPath.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.KeyToPath.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.KeyToPath build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.KeyToPath buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.KeyToPath.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder mergeFrom(V1.KeyToPath other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public V1.KeyToPath.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.KeyToPath.Builder>IOExceptionpublic boolean hasKey()
The key to project.
optional string key = 1;hasKey in interface V1.KeyToPathOrBuilderpublic String getKey()
The key to project.
optional string key = 1;getKey in interface V1.KeyToPathOrBuilderpublic com.google.protobuf.ByteString getKeyBytes()
The key to project.
optional string key = 1;getKeyBytes in interface V1.KeyToPathOrBuilderpublic V1.KeyToPath.Builder setKey(String value)
The key to project.
optional string key = 1;public V1.KeyToPath.Builder clearKey()
The key to project.
optional string key = 1;public V1.KeyToPath.Builder setKeyBytes(com.google.protobuf.ByteString value)
The key to project.
optional string key = 1;public boolean hasPath()
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;hasPath in interface V1.KeyToPathOrBuilderpublic String getPath()
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;getPath in interface V1.KeyToPathOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
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;getPathBytes in interface V1.KeyToPathOrBuilderpublic V1.KeyToPath.Builder setPath(String value)
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;public V1.KeyToPath.Builder clearPath()
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;public V1.KeyToPath.Builder setPathBytes(com.google.protobuf.ByteString value)
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;public boolean hasMode()
Optional: mode bits to use on this file, must be a value between 0 and 0777. 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;hasMode in interface V1.KeyToPathOrBuilderpublic int getMode()
Optional: mode bits to use on this file, must be a value between 0 and 0777. 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;getMode in interface V1.KeyToPathOrBuilderpublic V1.KeyToPath.Builder setMode(int value)
Optional: mode bits to use on this file, must be a value between 0 and 0777. 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;public V1.KeyToPath.Builder clearMode()
Optional: mode bits to use on this file, must be a value between 0 and 0777. 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;public final V1.KeyToPath.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>public final V1.KeyToPath.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.KeyToPath.Builder>Copyright © 2018. All rights reserved.