public static final class V1.VolumeDevice.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder> implements V1.VolumeDeviceOrBuilder
volumeDevice describes a mapping of a raw block device within a container.Protobuf type
k8s.io.api.core.v1.VolumeDevice| Modifier and Type | Method and Description |
|---|---|
V1.VolumeDevice.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.VolumeDevice |
build() |
V1.VolumeDevice |
buildPartial() |
V1.VolumeDevice.Builder |
clear() |
V1.VolumeDevice.Builder |
clearDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
|
V1.VolumeDevice.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.VolumeDevice.Builder |
clearName()
name must match the name of a persistentVolumeClaim in the pod
|
V1.VolumeDevice.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.VolumeDevice.Builder |
clone() |
V1.VolumeDevice |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
|
com.google.protobuf.ByteString |
getDevicePathBytes()
devicePath is the path inside of the container that the device will be mapped to.
|
String |
getName()
name must match the name of a persistentVolumeClaim in the pod
|
com.google.protobuf.ByteString |
getNameBytes()
name must match the name of a persistentVolumeClaim in the pod
|
boolean |
hasDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
|
boolean |
hasName()
name must match the name of a persistentVolumeClaim in the pod
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.VolumeDevice.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.VolumeDevice.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.VolumeDevice.Builder |
mergeFrom(V1.VolumeDevice other) |
V1.VolumeDevice.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.VolumeDevice.Builder |
setDevicePath(String value)
devicePath is the path inside of the container that the device will be mapped to.
|
V1.VolumeDevice.Builder |
setDevicePathBytes(com.google.protobuf.ByteString value)
devicePath is the path inside of the container that the device will be mapped to.
|
V1.VolumeDevice.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.VolumeDevice.Builder |
setName(String value)
name must match the name of a persistentVolumeClaim in the pod
|
V1.VolumeDevice.Builder |
setNameBytes(com.google.protobuf.ByteString value)
name must match the name of a persistentVolumeClaim in the pod
|
V1.VolumeDevice.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.VolumeDevice.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>public V1.VolumeDevice.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.VolumeDevice.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.VolumeDevice.Builder>public V1.VolumeDevice getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.VolumeDevice build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.VolumeDevice buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.VolumeDevice.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.VolumeDevice.Builder>public V1.VolumeDevice.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.VolumeDevice.Builder>public V1.VolumeDevice.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>public V1.VolumeDevice.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>public V1.VolumeDevice.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.VolumeDevice.Builder>public V1.VolumeDevice.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.VolumeDevice.Builder>public V1.VolumeDevice.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.VolumeDevice.Builder>public V1.VolumeDevice.Builder mergeFrom(V1.VolumeDevice other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>public V1.VolumeDevice.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.VolumeDevice.Builder>IOExceptionpublic boolean hasName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;hasName in interface V1.VolumeDeviceOrBuilderpublic String getName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;getName in interface V1.VolumeDeviceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;getNameBytes in interface V1.VolumeDeviceOrBuilderpublic V1.VolumeDevice.Builder setName(String value)
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;public V1.VolumeDevice.Builder clearName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;public V1.VolumeDevice.Builder setNameBytes(com.google.protobuf.ByteString value)
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;public boolean hasDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;hasDevicePath in interface V1.VolumeDeviceOrBuilderpublic String getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;getDevicePath in interface V1.VolumeDeviceOrBuilderpublic com.google.protobuf.ByteString getDevicePathBytes()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;getDevicePathBytes in interface V1.VolumeDeviceOrBuilderpublic V1.VolumeDevice.Builder setDevicePath(String value)
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;public V1.VolumeDevice.Builder clearDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;public V1.VolumeDevice.Builder setDevicePathBytes(com.google.protobuf.ByteString value)
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;public final V1.VolumeDevice.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>public final V1.VolumeDevice.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeDevice.Builder>Copyright © 2023. All rights reserved.