Package io.kubernetes.client.proto
Class V1.LocalVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
io.kubernetes.client.proto.V1.LocalVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.LocalVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.LocalVolumeSource
public static final class V1.LocalVolumeSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
implements V1.LocalVolumeSourceOrBuilder
Local represents directly-attached storage with node affinity (Beta feature)Protobuf type
k8s.io.api.core.v1.LocalVolumeSource
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type to mount.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The full path to the volume on the node.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Filesystem type to mount.com.google.protobuf.ByteString
Filesystem type to mount.getPath()
The full path to the volume on the node.com.google.protobuf.ByteString
The full path to the volume on the node.boolean
Filesystem type to mount.boolean
hasPath()
The full path to the volume on the node.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.LocalVolumeSource other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Filesystem type to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type to mount.The full path to the volume on the node.setPathBytes
(com.google.protobuf.ByteString value) The full path to the volume on the node.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(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, internalGetMutableMapField, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
setField
public V1.LocalVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
clearField
public V1.LocalVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
clearOneof
public V1.LocalVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
setRepeatedField
public V1.LocalVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
addRepeatedField
public V1.LocalVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.LocalVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
mergeFrom
public V1.LocalVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.LocalVolumeSource.Builder>
- Throws:
IOException
-
hasPath
public boolean hasPath()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:
hasPath
in interfaceV1.LocalVolumeSourceOrBuilder
-
getPath
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:
getPath
in interfaceV1.LocalVolumeSourceOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()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:
getPathBytes
in interfaceV1.LocalVolumeSourceOrBuilder
-
setPath
The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;
-
clearPath
The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;
-
setPathBytes
The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
optional string path = 1;
-
hasFsType
public boolean hasFsType()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:
hasFsType
in interfaceV1.LocalVolumeSourceOrBuilder
-
getFsType
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:
getFsType
in interfaceV1.LocalVolumeSourceOrBuilder
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()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:
getFsTypeBytes
in interfaceV1.LocalVolumeSourceOrBuilder
-
setFsType
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;
-
clearFsType
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;
-
setFsTypeBytes
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;
-
setUnknownFields
public final V1.LocalVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-
mergeUnknownFields
public final V1.LocalVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.LocalVolumeSource.Builder>
-