Package k8s.io.api.core.v1
Class Generated.LocalVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.LocalVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.LocalVolumeSourceOrBuilder
- Enclosing class:
- Generated.LocalVolumeSource
public static final class Generated.LocalVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder> implements Generated.LocalVolumeSourceOrBuilder
Local represents directly-attached storage with node affinity
Protobuf typek8s.io.api.core.v1.LocalVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.LocalVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.LocalVolumeSourcebuild()Generated.LocalVolumeSourcebuildPartial()Generated.LocalVolumeSource.Builderclear()Generated.LocalVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.LocalVolumeSource.BuilderclearFsType()fsType is the filesystem type to mount.Generated.LocalVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.LocalVolumeSource.BuilderclearPath()path of the full path to the volume on the node.Generated.LocalVolumeSource.Builderclone()Generated.LocalVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFsType()fsType is the filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type to mount.StringgetPath()path of the full path to the volume on the node.com.google.protobuf.ByteStringgetPathBytes()path of the full path to the volume on the node.booleanhasFsType()fsType is the filesystem type to mount.booleanhasPath()path of the full path to the volume on the node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.LocalVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.LocalVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.LocalVolumeSource.BuildermergeFrom(Generated.LocalVolumeSource other)Generated.LocalVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.LocalVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.LocalVolumeSource.BuildersetFsType(String value)fsType is the filesystem type to mount.Generated.LocalVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type to mount.Generated.LocalVolumeSource.BuildersetPath(String value)path of the full path to the volume on the node.Generated.LocalVolumeSource.BuildersetPathBytes(com.google.protobuf.ByteString value)path of the full path to the volume on the node.Generated.LocalVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
clear
public Generated.LocalVolumeSource.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.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.LocalVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.LocalVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.LocalVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
setField
public Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
clearField
public Generated.LocalVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
clearOneof
public Generated.LocalVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
setRepeatedField
public Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
addRepeatedField
public Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>
-
mergeFrom
public Generated.LocalVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.LocalVolumeSource.Builder>
-
mergeFrom
public Generated.LocalVolumeSource.Builder mergeFrom(Generated.LocalVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
mergeFrom
public Generated.LocalVolumeSource.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.LocalVolumeSource.Builder>- Throws:
IOException
-
hasPath
public boolean hasPath()
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Specified by:
hasPathin interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Specified by:
getPathin interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Specified by:
getPathBytesin interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- The bytes for path.
-
setPath
public Generated.LocalVolumeSource.Builder setPath(String value)
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Generated.LocalVolumeSource.Builder clearPath()
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Returns:
- This builder for chaining.
-
setPathBytes
public Generated.LocalVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Specified by:
hasFsTypein interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Specified by:
getFsTypein interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Specified by:
getFsTypeBytesin interfaceGenerated.LocalVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.LocalVolumeSource.Builder setFsType(String value)
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.LocalVolumeSource.Builder clearFsType()
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.LocalVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified. +optional
optional string fsType = 2;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.LocalVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.LocalVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.LocalVolumeSource.Builder>
-
-