Package k8s.io.api.core.v1
Class Generated.AttachedVolume.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
- k8s.io.api.core.v1.Generated.AttachedVolume.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.AttachedVolumeOrBuilder
- Enclosing class:
- Generated.AttachedVolume
public static final class Generated.AttachedVolume.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder> implements Generated.AttachedVolumeOrBuilder
AttachedVolume describes a volume attached to a node
Protobuf typek8s.io.api.core.v1.AttachedVolume
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.AttachedVolume.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AttachedVolumebuild()Generated.AttachedVolumebuildPartial()Generated.AttachedVolume.Builderclear()Generated.AttachedVolume.BuilderclearDevicePath()DevicePath represents the device path where the volume should be availableGenerated.AttachedVolume.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.AttachedVolume.BuilderclearName()Name of the attached volumeGenerated.AttachedVolume.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.AttachedVolume.Builderclone()Generated.AttachedVolumegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDevicePath()DevicePath represents the device path where the volume should be availablecom.google.protobuf.ByteStringgetDevicePathBytes()DevicePath represents the device path where the volume should be availableStringgetName()Name of the attached volumecom.google.protobuf.ByteStringgetNameBytes()Name of the attached volumebooleanhasDevicePath()DevicePath represents the device path where the volume should be availablebooleanhasName()Name of the attached volumeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.AttachedVolume.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.AttachedVolume.BuildermergeFrom(com.google.protobuf.Message other)Generated.AttachedVolume.BuildermergeFrom(Generated.AttachedVolume other)Generated.AttachedVolume.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.AttachedVolume.BuildersetDevicePath(String value)DevicePath represents the device path where the volume should be availableGenerated.AttachedVolume.BuildersetDevicePathBytes(com.google.protobuf.ByteString value)DevicePath represents the device path where the volume should be availableGenerated.AttachedVolume.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AttachedVolume.BuildersetName(String value)Name of the attached volumeGenerated.AttachedVolume.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of the attached volumeGenerated.AttachedVolume.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.AttachedVolume.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.AttachedVolume.Builder>
-
clear
public Generated.AttachedVolume.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.AttachedVolume.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.AttachedVolume.Builder>
-
getDefaultInstanceForType
public Generated.AttachedVolume getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.AttachedVolume build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.AttachedVolume buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.AttachedVolume.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.AttachedVolume.Builder>
-
setField
public Generated.AttachedVolume.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.AttachedVolume.Builder>
-
clearField
public Generated.AttachedVolume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
clearOneof
public Generated.AttachedVolume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
setRepeatedField
public Generated.AttachedVolume.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.AttachedVolume.Builder>
-
addRepeatedField
public Generated.AttachedVolume.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.AttachedVolume.Builder>
-
mergeFrom
public Generated.AttachedVolume.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.AttachedVolume.Builder>
-
mergeFrom
public Generated.AttachedVolume.Builder mergeFrom(Generated.AttachedVolume other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
mergeFrom
public Generated.AttachedVolume.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.AttachedVolume.Builder>- Throws:
IOException
-
hasName
public boolean hasName()
Name of the attached volume
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of the attached volume
optional string name = 1;- Specified by:
getNamein interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the attached volume
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- The bytes for name.
-
setName
public Generated.AttachedVolume.Builder setName(String value)
Name of the attached volume
optional string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Generated.AttachedVolume.Builder clearName()
Name of the attached volume
optional string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public Generated.AttachedVolume.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the attached volume
optional string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDevicePath
public boolean hasDevicePath()
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Specified by:
hasDevicePathin interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- Whether the devicePath field is set.
-
getDevicePath
public String getDevicePath()
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Specified by:
getDevicePathin interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- The devicePath.
-
getDevicePathBytes
public com.google.protobuf.ByteString getDevicePathBytes()
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Specified by:
getDevicePathBytesin interfaceGenerated.AttachedVolumeOrBuilder- Returns:
- The bytes for devicePath.
-
setDevicePath
public Generated.AttachedVolume.Builder setDevicePath(String value)
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Parameters:
value- The devicePath to set.- Returns:
- This builder for chaining.
-
clearDevicePath
public Generated.AttachedVolume.Builder clearDevicePath()
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Returns:
- This builder for chaining.
-
setDevicePathBytes
public Generated.AttachedVolume.Builder setDevicePathBytes(com.google.protobuf.ByteString value)
DevicePath represents the device path where the volume should be available
optional string devicePath = 2;- Parameters:
value- The bytes for devicePath to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.AttachedVolume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
mergeUnknownFields
public final Generated.AttachedVolume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AttachedVolume.Builder>
-
-