Package k8s.io.api.core.v1
Class Generated.PortworxVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.PortworxVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.PortworxVolumeSourceOrBuilder
- Enclosing class:
- Generated.PortworxVolumeSource
public static final class Generated.PortworxVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder> implements Generated.PortworxVolumeSourceOrBuilder
PortworxVolumeSource represents a Portworx volume resource.
Protobuf typek8s.io.api.core.v1.PortworxVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.PortworxVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PortworxVolumeSourcebuild()Generated.PortworxVolumeSourcebuildPartial()Generated.PortworxVolumeSource.Builderclear()Generated.PortworxVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.PortworxVolumeSource.BuilderclearFsType()fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.Generated.PortworxVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.PortworxVolumeSource.BuilderclearReadOnly()readOnly defaults to false (read/write).Generated.PortworxVolumeSource.BuilderclearVolumeID()volumeID uniquely identifies a Portworx volumeGenerated.PortworxVolumeSource.Builderclone()Generated.PortworxVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFsType()fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.com.google.protobuf.ByteStringgetFsTypeBytes()fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.booleangetReadOnly()readOnly defaults to false (read/write).StringgetVolumeID()volumeID uniquely identifies a Portworx volumecom.google.protobuf.ByteStringgetVolumeIDBytes()volumeID uniquely identifies a Portworx volumebooleanhasFsType()fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.booleanhasReadOnly()readOnly defaults to false (read/write).booleanhasVolumeID()volumeID uniquely identifies a Portworx volumeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.PortworxVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.PortworxVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.PortworxVolumeSource.BuildermergeFrom(Generated.PortworxVolumeSource other)Generated.PortworxVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PortworxVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PortworxVolumeSource.BuildersetFsType(String value)fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.Generated.PortworxVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system.Generated.PortworxVolumeSource.BuildersetReadOnly(boolean value)readOnly defaults to false (read/write).Generated.PortworxVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.PortworxVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PortworxVolumeSource.BuildersetVolumeID(String value)volumeID uniquely identifies a Portworx volumeGenerated.PortworxVolumeSource.BuildersetVolumeIDBytes(com.google.protobuf.ByteString value)volumeID uniquely identifies a Portworx volume-
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.PortworxVolumeSource.Builder>
-
clear
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.PortworxVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.PortworxVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.PortworxVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
-
setField
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
-
clearField
public Generated.PortworxVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
clearOneof
public Generated.PortworxVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
setRepeatedField
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
-
addRepeatedField
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
-
mergeFrom
public Generated.PortworxVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PortworxVolumeSource.Builder>
-
mergeFrom
public Generated.PortworxVolumeSource.Builder mergeFrom(Generated.PortworxVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
mergeFrom
public Generated.PortworxVolumeSource.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.PortworxVolumeSource.Builder>- Throws:
IOException
-
hasVolumeID
public boolean hasVolumeID()
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Specified by:
hasVolumeIDin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- Whether the volumeID field is set.
-
getVolumeID
public String getVolumeID()
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Specified by:
getVolumeIDin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- The volumeID.
-
getVolumeIDBytes
public com.google.protobuf.ByteString getVolumeIDBytes()
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Specified by:
getVolumeIDBytesin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- The bytes for volumeID.
-
setVolumeID
public Generated.PortworxVolumeSource.Builder setVolumeID(String value)
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Parameters:
value- The volumeID to set.- Returns:
- This builder for chaining.
-
clearVolumeID
public Generated.PortworxVolumeSource.Builder clearVolumeID()
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Returns:
- This builder for chaining.
-
setVolumeIDBytes
public Generated.PortworxVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
volumeID uniquely identifies a Portworx volume
optional string volumeID = 1;- Parameters:
value- The bytes for volumeID to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
hasFsTypein interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
getFsTypein interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
getFsTypeBytesin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.PortworxVolumeSource.Builder setFsType(String value)
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.PortworxVolumeSource.Builder clearFsType()
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.PortworxVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Specified by:
hasReadOnlyin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Specified by:
getReadOnlyin interfaceGenerated.PortworxVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.PortworxVolumeSource.Builder setReadOnly(boolean value)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.PortworxVolumeSource.Builder clearReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.PortworxVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.PortworxVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PortworxVolumeSource.Builder>
-
-