public static final class V1.HostPathVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder> implements V1.HostPathVolumeSourceOrBuilder
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.Protobuf type
k8s.io.api.core.v1.HostPathVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.HostPathVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.HostPathVolumeSource |
build() |
V1.HostPathVolumeSource |
buildPartial() |
V1.HostPathVolumeSource.Builder |
clear() |
V1.HostPathVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.HostPathVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.HostPathVolumeSource.Builder |
clearPath()
Path of the directory on the host.
|
V1.HostPathVolumeSource.Builder |
clearType()
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
V1.HostPathVolumeSource.Builder |
clone() |
V1.HostPathVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPath()
Path of the directory on the host.
|
com.google.protobuf.ByteString |
getPathBytes()
Path of the directory on the host.
|
String |
getType()
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
com.google.protobuf.ByteString |
getTypeBytes()
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
boolean |
hasPath()
Path of the directory on the host.
|
boolean |
hasType()
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.HostPathVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.HostPathVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.HostPathVolumeSource.Builder |
mergeFrom(V1.HostPathVolumeSource other) |
V1.HostPathVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.HostPathVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.HostPathVolumeSource.Builder |
setPath(String value)
Path of the directory on the host.
|
V1.HostPathVolumeSource.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path of the directory on the host.
|
V1.HostPathVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.HostPathVolumeSource.Builder |
setType(String value)
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
V1.HostPathVolumeSource.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Type for HostPath Volume
Defaults to ""
More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
+optional
|
V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.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.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.HostPathVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.HostPathVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.Builder mergeFrom(V1.HostPathVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder>public V1.HostPathVolumeSource.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.HostPathVolumeSource.Builder>IOExceptionpublic boolean hasPath()
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;hasPath in interface V1.HostPathVolumeSourceOrBuilderpublic String getPath()
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;getPath in interface V1.HostPathVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;getPathBytes in interface V1.HostPathVolumeSourceOrBuilderpublic V1.HostPathVolumeSource.Builder setPath(String value)
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;public V1.HostPathVolumeSource.Builder clearPath()
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;public V1.HostPathVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
optional string path = 1;public boolean hasType()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;hasType in interface V1.HostPathVolumeSourceOrBuilderpublic String getType()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;getType in interface V1.HostPathVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;getTypeBytes in interface V1.HostPathVolumeSourceOrBuilderpublic V1.HostPathVolumeSource.Builder setType(String value)
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;public V1.HostPathVolumeSource.Builder clearType()
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;public V1.HostPathVolumeSource.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath +optional
optional string type = 2;public final V1.HostPathVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder>public final V1.HostPathVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.HostPathVolumeSource.Builder>Copyright © 2020. All rights reserved.