Package k8s.io.api.core.v1
Class Generated.VolumeDevice.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
- k8s.io.api.core.v1.Generated.VolumeDevice.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.VolumeDeviceOrBuilder
- Enclosing class:
- Generated.VolumeDevice
public static final class Generated.VolumeDevice.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder> implements Generated.VolumeDeviceOrBuilder
volumeDevice describes a mapping of a raw block device within a container.
Protobuf typek8s.io.api.core.v1.VolumeDevice
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.VolumeDevice.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.VolumeDevicebuild()Generated.VolumeDevicebuildPartial()Generated.VolumeDevice.Builderclear()Generated.VolumeDevice.BuilderclearDevicePath()devicePath is the path inside of the container that the device will be mapped to.Generated.VolumeDevice.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.VolumeDevice.BuilderclearName()name must match the name of a persistentVolumeClaim in the podGenerated.VolumeDevice.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.VolumeDevice.Builderclone()Generated.VolumeDevicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDevicePath()devicePath is the path inside of the container that the device will be mapped to.com.google.protobuf.ByteStringgetDevicePathBytes()devicePath is the path inside of the container that the device will be mapped to.StringgetName()name must match the name of a persistentVolumeClaim in the podcom.google.protobuf.ByteStringgetNameBytes()name must match the name of a persistentVolumeClaim in the podbooleanhasDevicePath()devicePath is the path inside of the container that the device will be mapped to.booleanhasName()name must match the name of a persistentVolumeClaim in the podprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.VolumeDevice.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.VolumeDevice.BuildermergeFrom(com.google.protobuf.Message other)Generated.VolumeDevice.BuildermergeFrom(Generated.VolumeDevice other)Generated.VolumeDevice.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.VolumeDevice.BuildersetDevicePath(String value)devicePath is the path inside of the container that the device will be mapped to.Generated.VolumeDevice.BuildersetDevicePathBytes(com.google.protobuf.ByteString value)devicePath is the path inside of the container that the device will be mapped to.Generated.VolumeDevice.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.VolumeDevice.BuildersetName(String value)name must match the name of a persistentVolumeClaim in the podGenerated.VolumeDevice.BuildersetNameBytes(com.google.protobuf.ByteString value)name must match the name of a persistentVolumeClaim in the podGenerated.VolumeDevice.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.VolumeDevice.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.VolumeDevice.Builder>
-
clear
public Generated.VolumeDevice.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.VolumeDevice.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.VolumeDevice.Builder>
-
getDefaultInstanceForType
public Generated.VolumeDevice getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.VolumeDevice build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.VolumeDevice buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.VolumeDevice.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.VolumeDevice.Builder>
-
setField
public Generated.VolumeDevice.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.VolumeDevice.Builder>
-
clearField
public Generated.VolumeDevice.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
clearOneof
public Generated.VolumeDevice.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
setRepeatedField
public Generated.VolumeDevice.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.VolumeDevice.Builder>
-
addRepeatedField
public Generated.VolumeDevice.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.VolumeDevice.Builder>
-
mergeFrom
public Generated.VolumeDevice.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.VolumeDevice.Builder>
-
mergeFrom
public Generated.VolumeDevice.Builder mergeFrom(Generated.VolumeDevice other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
mergeFrom
public Generated.VolumeDevice.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.VolumeDevice.Builder>- Throws:
IOException
-
hasName
public boolean hasName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Specified by:
getNamein interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- The bytes for name.
-
setName
public Generated.VolumeDevice.Builder setName(String value)
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Generated.VolumeDevice.Builder clearName()
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Generated.VolumeDevice.Builder setNameBytes(com.google.protobuf.ByteString value)
name must match the name of a persistentVolumeClaim in the pod
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDevicePath
public boolean hasDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;- Specified by:
hasDevicePathin interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- Whether the devicePath field is set.
-
getDevicePath
public String getDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;- Specified by:
getDevicePathin interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- The devicePath.
-
getDevicePathBytes
public com.google.protobuf.ByteString getDevicePathBytes()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;- Specified by:
getDevicePathBytesin interfaceGenerated.VolumeDeviceOrBuilder- Returns:
- The bytes for devicePath.
-
setDevicePath
public Generated.VolumeDevice.Builder setDevicePath(String value)
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;- Parameters:
value- The devicePath to set.- Returns:
- This builder for chaining.
-
clearDevicePath
public Generated.VolumeDevice.Builder clearDevicePath()
devicePath is the path inside of the container that the device will be mapped to.
optional string devicePath = 2;- Returns:
- This builder for chaining.
-
setDevicePathBytes
public Generated.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;- Parameters:
value- The bytes for devicePath to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.VolumeDevice.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
mergeUnknownFields
public final Generated.VolumeDevice.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.VolumeDevice.Builder>
-
-