Package k8s.io.api.core.v1
Class Generated.PhotonPersistentDiskVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.PhotonPersistentDiskVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.PhotonPersistentDiskVolumeSourceOrBuilder
- Enclosing class:
- Generated.PhotonPersistentDiskVolumeSource
public static final class Generated.PhotonPersistentDiskVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder> implements Generated.PhotonPersistentDiskVolumeSourceOrBuilder
Represents a Photon Controller persistent disk resource.
Protobuf typek8s.io.api.core.v1.PhotonPersistentDiskVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.PhotonPersistentDiskVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PhotonPersistentDiskVolumeSourcebuild()Generated.PhotonPersistentDiskVolumeSourcebuildPartial()Generated.PhotonPersistentDiskVolumeSource.Builderclear()Generated.PhotonPersistentDiskVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.PhotonPersistentDiskVolumeSource.BuilderclearFsType()fsType is the filesystem type to mount.Generated.PhotonPersistentDiskVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.PhotonPersistentDiskVolumeSource.BuilderclearPdID()pdID is the ID that identifies Photon Controller persistent diskGenerated.PhotonPersistentDiskVolumeSource.Builderclone()Generated.PhotonPersistentDiskVolumeSourcegetDefaultInstanceForType()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.StringgetPdID()pdID is the ID that identifies Photon Controller persistent diskcom.google.protobuf.ByteStringgetPdIDBytes()pdID is the ID that identifies Photon Controller persistent diskbooleanhasFsType()fsType is the filesystem type to mount.booleanhasPdID()pdID is the ID that identifies Photon Controller persistent diskprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.PhotonPersistentDiskVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.PhotonPersistentDiskVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.PhotonPersistentDiskVolumeSource.BuildermergeFrom(Generated.PhotonPersistentDiskVolumeSource other)Generated.PhotonPersistentDiskVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PhotonPersistentDiskVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PhotonPersistentDiskVolumeSource.BuildersetFsType(String value)fsType is the filesystem type to mount.Generated.PhotonPersistentDiskVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type to mount.Generated.PhotonPersistentDiskVolumeSource.BuildersetPdID(String value)pdID is the ID that identifies Photon Controller persistent diskGenerated.PhotonPersistentDiskVolumeSource.BuildersetPdIDBytes(com.google.protobuf.ByteString value)pdID is the ID that identifies Photon Controller persistent diskGenerated.PhotonPersistentDiskVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
clear
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.PhotonPersistentDiskVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.PhotonPersistentDiskVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.PhotonPersistentDiskVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
setField
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
clearField
public Generated.PhotonPersistentDiskVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
clearOneof
public Generated.PhotonPersistentDiskVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
setRepeatedField
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
addRepeatedField
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>
-
mergeFrom
public Generated.PhotonPersistentDiskVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
mergeFrom
public Generated.PhotonPersistentDiskVolumeSource.Builder mergeFrom(Generated.PhotonPersistentDiskVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
mergeFrom
public Generated.PhotonPersistentDiskVolumeSource.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.PhotonPersistentDiskVolumeSource.Builder>- Throws:
IOException
-
hasPdID
public boolean hasPdID()
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Specified by:
hasPdIDin interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- Whether the pdID field is set.
-
getPdID
public String getPdID()
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Specified by:
getPdIDin interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- The pdID.
-
getPdIDBytes
public com.google.protobuf.ByteString getPdIDBytes()
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Specified by:
getPdIDBytesin interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- The bytes for pdID.
-
setPdID
public Generated.PhotonPersistentDiskVolumeSource.Builder setPdID(String value)
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Parameters:
value- The pdID to set.- Returns:
- This builder for chaining.
-
clearPdID
public Generated.PhotonPersistentDiskVolumeSource.Builder clearPdID()
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Returns:
- This builder for chaining.
-
setPdIDBytes
public Generated.PhotonPersistentDiskVolumeSource.Builder setPdIDBytes(com.google.protobuf.ByteString value)
pdID is the ID that identifies Photon Controller persistent disk
optional string pdID = 1;- Parameters:
value- The bytes for pdID to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
hasFsTypein interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
getFsTypein interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Specified by:
getFsTypeBytesin interfaceGenerated.PhotonPersistentDiskVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.PhotonPersistentDiskVolumeSource.Builder setFsType(String value)
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". 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.PhotonPersistentDiskVolumeSource.Builder clearFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.PhotonPersistentDiskVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
optional string fsType = 2;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.PhotonPersistentDiskVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.PhotonPersistentDiskVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PhotonPersistentDiskVolumeSource.Builder>
-
-