public static final class V1.DownwardAPIVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder> implements V1.DownwardAPIVolumeSourceOrBuilder
DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.Protobuf type
k8s.io.api.core.v1.DownwardAPIVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.DownwardAPIVolumeSource.Builder |
addAllItems(Iterable<? extends V1.DownwardAPIVolumeFile> values)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
addItems(int index,
V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
addItems(int index,
V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
addItems(V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
addItems(V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeFile.Builder |
addItemsBuilder()
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeFile.Builder |
addItemsBuilder(int index)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.DownwardAPIVolumeSource |
build() |
V1.DownwardAPIVolumeSource |
buildPartial() |
V1.DownwardAPIVolumeSource.Builder |
clear() |
V1.DownwardAPIVolumeSource.Builder |
clearDefaultMode()
Optional: mode bits to use on created files by default.
|
V1.DownwardAPIVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.DownwardAPIVolumeSource.Builder |
clearItems()
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.DownwardAPIVolumeSource.Builder |
clone() |
V1.DownwardAPIVolumeSource |
getDefaultInstanceForType() |
int |
getDefaultMode()
Optional: mode bits to use on created files by default.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
V1.DownwardAPIVolumeFile |
getItems(int index)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeFile.Builder |
getItemsBuilder(int index)
Items is a list of downward API volume file
+optional
|
List<V1.DownwardAPIVolumeFile.Builder> |
getItemsBuilderList()
Items is a list of downward API volume file
+optional
|
int |
getItemsCount()
Items is a list of downward API volume file
+optional
|
List<V1.DownwardAPIVolumeFile> |
getItemsList()
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeFileOrBuilder |
getItemsOrBuilder(int index)
Items is a list of downward API volume file
+optional
|
List<? extends V1.DownwardAPIVolumeFileOrBuilder> |
getItemsOrBuilderList()
Items is a list of downward API volume file
+optional
|
boolean |
hasDefaultMode()
Optional: mode bits to use on created files by default.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.DownwardAPIVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.DownwardAPIVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.DownwardAPIVolumeSource.Builder |
mergeFrom(V1.DownwardAPIVolumeSource other) |
V1.DownwardAPIVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.DownwardAPIVolumeSource.Builder |
removeItems(int index)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
setDefaultMode(int value)
Optional: mode bits to use on created files by default.
|
V1.DownwardAPIVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.DownwardAPIVolumeSource.Builder |
setItems(int index,
V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
setItems(int index,
V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file
+optional
|
V1.DownwardAPIVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.DownwardAPIVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.DownwardAPIVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.Builder mergeFrom(V1.DownwardAPIVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder>public V1.DownwardAPIVolumeSource.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.DownwardAPIVolumeSource.Builder>IOExceptionpublic List<V1.DownwardAPIVolumeFile> getItemsList()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;getItemsList in interface V1.DownwardAPIVolumeSourceOrBuilderpublic int getItemsCount()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;getItemsCount in interface V1.DownwardAPIVolumeSourceOrBuilderpublic V1.DownwardAPIVolumeFile getItems(int index)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;getItems in interface V1.DownwardAPIVolumeSourceOrBuilderpublic V1.DownwardAPIVolumeSource.Builder setItems(int index, V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder setItems(int index, V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder addItems(V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder addItems(int index, V1.DownwardAPIVolumeFile value)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder addItems(V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder addItems(int index, V1.DownwardAPIVolumeFile.Builder builderForValue)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder addAllItems(Iterable<? extends V1.DownwardAPIVolumeFile> values)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder clearItems()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeSource.Builder removeItems(int index)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeFile.Builder getItemsBuilder(int index)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeFileOrBuilder getItemsOrBuilder(int index)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;getItemsOrBuilder in interface V1.DownwardAPIVolumeSourceOrBuilderpublic List<? extends V1.DownwardAPIVolumeFileOrBuilder> getItemsOrBuilderList()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;getItemsOrBuilderList in interface V1.DownwardAPIVolumeSourceOrBuilderpublic V1.DownwardAPIVolumeFile.Builder addItemsBuilder()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public V1.DownwardAPIVolumeFile.Builder addItemsBuilder(int index)
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public List<V1.DownwardAPIVolumeFile.Builder> getItemsBuilderList()
Items is a list of downward API volume file +optional
repeated .k8s.io.api.core.v1.DownwardAPIVolumeFile items = 1;public boolean hasDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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 defaultMode = 2;hasDefaultMode in interface V1.DownwardAPIVolumeSourceOrBuilderpublic int getDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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 defaultMode = 2;getDefaultMode in interface V1.DownwardAPIVolumeSourceOrBuilderpublic V1.DownwardAPIVolumeSource.Builder setDefaultMode(int value)
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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 defaultMode = 2;public V1.DownwardAPIVolumeSource.Builder clearDefaultMode()
Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. 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 defaultMode = 2;public final V1.DownwardAPIVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder>public final V1.DownwardAPIVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.DownwardAPIVolumeSource.Builder>Copyright © 2021. All rights reserved.