Package io.kubernetes.client.proto
Class V1.PersistentVolumeSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.PersistentVolumeSpec
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.PersistentVolumeSpecOrBuilder
,Serializable
- Enclosing class:
- V1
public static final class V1.PersistentVolumeSpec
extends com.google.protobuf.GeneratedMessageV3
implements V1.PersistentVolumeSpecOrBuilder
PersistentVolumeSpec is the specification of a persistent volume.Protobuf type
k8s.io.api.core.v1.PersistentVolumeSpec
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
PersistentVolumeSpec is the specification of a persistent volume.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final com.google.protobuf.Parser<V1.PersistentVolumeSpec>
Deprecated.static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsCapacity
(String key) A description of the persistent volume's resources and capacity.boolean
getAccessModes
(int index) AccessModes contains all ways the volume can be mounted.com.google.protobuf.ByteString
getAccessModesBytes
(int index) AccessModes contains all ways the volume can be mounted.int
AccessModes contains all ways the volume can be mounted.com.google.protobuf.ProtocolStringList
AccessModes contains all ways the volume can be mounted.Deprecated.int
A description of the persistent volume's resources and capacity.A description of the persistent volume's resources and capacity.getCapacityOrDefault
(String key, Resource.Quantity defaultValue) A description of the persistent volume's resources and capacity.getCapacityOrThrow
(String key) A description of the persistent volume's resources and capacity.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.static V1.PersistentVolumeSpec
static final com.google.protobuf.Descriptors.Descriptor
getMountOptions
(int index) A list of mount options, e.g.com.google.protobuf.ByteString
getMountOptionsBytes
(int index) A list of mount options, e.g.int
A list of mount options, e.g.com.google.protobuf.ProtocolStringList
A list of mount options, e.g.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.NodeAffinity defines constraints that limit what nodes this volume can be accessed from.com.google.protobuf.Parser<V1.PersistentVolumeSpec>
What happens to a persistent volume when released from its claim.com.google.protobuf.ByteString
What happens to a persistent volume when released from its claim.The actual volume backing the persistent volume.The actual volume backing the persistent volume.int
Name of StorageClass to which this persistent volume belongs.com.google.protobuf.ByteString
Name of StorageClass to which this persistent volume belongs.final com.google.protobuf.UnknownFieldSet
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.com.google.protobuf.ByteString
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.boolean
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.int
hashCode()
boolean
NodeAffinity defines constraints that limit what nodes this volume can be accessed from.boolean
What happens to a persistent volume when released from its claim.boolean
The actual volume backing the persistent volume.boolean
Name of StorageClass to which this persistent volume belongs.boolean
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) final boolean
newBuilder
(V1.PersistentVolumeSpec prototype) protected V1.PersistentVolumeSpec.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.PersistentVolumeSpec
parseDelimitedFrom
(InputStream input) static V1.PersistentVolumeSpec
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpec
parseFrom
(byte[] data) static V1.PersistentVolumeSpec
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpec
parseFrom
(com.google.protobuf.ByteString data) static V1.PersistentVolumeSpec
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpec
parseFrom
(com.google.protobuf.CodedInputStream input) static V1.PersistentVolumeSpec
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpec
parseFrom
(InputStream input) static V1.PersistentVolumeSpec
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpec
parseFrom
(ByteBuffer data) static V1.PersistentVolumeSpec
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.PersistentVolumeSpec>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
CAPACITY_FIELD_NUMBER
public static final int CAPACITY_FIELD_NUMBER- See Also:
-
PERSISTENTVOLUMESOURCE_FIELD_NUMBER
public static final int PERSISTENTVOLUMESOURCE_FIELD_NUMBER- See Also:
-
ACCESSMODES_FIELD_NUMBER
public static final int ACCESSMODES_FIELD_NUMBER- See Also:
-
CLAIMREF_FIELD_NUMBER
public static final int CLAIMREF_FIELD_NUMBER- See Also:
-
PERSISTENTVOLUMERECLAIMPOLICY_FIELD_NUMBER
public static final int PERSISTENTVOLUMERECLAIMPOLICY_FIELD_NUMBER- See Also:
-
STORAGECLASSNAME_FIELD_NUMBER
public static final int STORAGECLASSNAME_FIELD_NUMBER- See Also:
-
MOUNTOPTIONS_FIELD_NUMBER
public static final int MOUNTOPTIONS_FIELD_NUMBER- See Also:
-
VOLUMEMODE_FIELD_NUMBER
public static final int VOLUMEMODE_FIELD_NUMBER- See Also:
-
NODEAFFINITY_FIELD_NUMBER
public static final int NODEAFFINITY_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getCapacityCount
public int getCapacityCount()Description copied from interface:V1.PersistentVolumeSpecOrBuilder
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
- Specified by:
getCapacityCount
in interfaceV1.PersistentVolumeSpecOrBuilder
-
containsCapacity
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
- Specified by:
containsCapacity
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacity
Deprecated.UsegetCapacityMap()
instead.- Specified by:
getCapacity
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacityMap
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
- Specified by:
getCapacityMap
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacityOrDefault
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
- Specified by:
getCapacityOrDefault
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacityOrThrow
A description of the persistent volume's resources and capacity. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
- Specified by:
getCapacityOrThrow
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasPersistentVolumeSource
public boolean hasPersistentVolumeSource()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;
- Specified by:
hasPersistentVolumeSource
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;
- Specified by:
getPersistentVolumeSource
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeSourceOrBuilder
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;
- Specified by:
getPersistentVolumeSourceOrBuilder
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesList
public com.google.protobuf.ProtocolStringList getAccessModesList()AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;
- Specified by:
getAccessModesList
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesCount
public int getAccessModesCount()AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;
- Specified by:
getAccessModesCount
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModes
AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;
- Specified by:
getAccessModes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getAccessModesBytes
public com.google.protobuf.ByteString getAccessModesBytes(int index) AccessModes contains all ways the volume can be mounted. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes +optional
repeated string accessModes = 3;
- Specified by:
getAccessModesBytes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasClaimRef
public boolean hasClaimRef()ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;
- Specified by:
hasClaimRef
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getClaimRef
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;
- Specified by:
getClaimRef
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getClaimRefOrBuilder
ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding +optional
optional .k8s.io.api.core.v1.ObjectReference claimRef = 4;
- Specified by:
getClaimRefOrBuilder
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasPersistentVolumeReclaimPolicy
public boolean hasPersistentVolumeReclaimPolicy()What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;
- Specified by:
hasPersistentVolumeReclaimPolicy
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeReclaimPolicy
What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;
- Specified by:
getPersistentVolumeReclaimPolicy
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeReclaimPolicyBytes
public com.google.protobuf.ByteString getPersistentVolumeReclaimPolicyBytes()What happens to a persistent volume when released from its claim. Valid options are Retain (default for manually created PersistentVolumes), Delete (default for dynamically provisioned PersistentVolumes), and Recycle (deprecated). Recycle must be supported by the volume plugin underlying this PersistentVolume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming +optional
optional string persistentVolumeReclaimPolicy = 5;
- Specified by:
getPersistentVolumeReclaimPolicyBytes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasStorageClassName
public boolean hasStorageClassName()Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;
- Specified by:
hasStorageClassName
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getStorageClassName
Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;
- Specified by:
getStorageClassName
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getStorageClassNameBytes
public com.google.protobuf.ByteString getStorageClassNameBytes()Name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass. +optional
optional string storageClassName = 6;
- Specified by:
getStorageClassNameBytes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptionsList
public com.google.protobuf.ProtocolStringList getMountOptionsList()A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;
- Specified by:
getMountOptionsList
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptionsCount
public int getMountOptionsCount()A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;
- Specified by:
getMountOptionsCount
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptions
A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;
- Specified by:
getMountOptions
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getMountOptionsBytes
public com.google.protobuf.ByteString getMountOptionsBytes(int index) A list of mount options, e.g. ["ro", "soft"]. Not validated - mount will simply fail if one is invalid. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options +optional
repeated string mountOptions = 7;
- Specified by:
getMountOptionsBytes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasVolumeMode
public boolean hasVolumeMode()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8;
- Specified by:
hasVolumeMode
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getVolumeMode
volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8;
- Specified by:
getVolumeMode
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getVolumeModeBytes
public com.google.protobuf.ByteString getVolumeModeBytes()volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec. +optional
optional string volumeMode = 8;
- Specified by:
getVolumeModeBytes
in interfaceV1.PersistentVolumeSpecOrBuilder
-
hasNodeAffinity
public boolean hasNodeAffinity()NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;
- Specified by:
hasNodeAffinity
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getNodeAffinity
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;
- Specified by:
getNodeAffinity
in interfaceV1.PersistentVolumeSpecOrBuilder
-
getNodeAffinityOrBuilder
NodeAffinity defines constraints that limit what nodes this volume can be accessed from. This field influences the scheduling of pods that use this volume. +optional
optional .k8s.io.api.core.v1.VolumeNodeAffinity nodeAffinity = 9;
- Specified by:
getNodeAffinityOrBuilder
in interfaceV1.PersistentVolumeSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static V1.PersistentVolumeSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static V1.PersistentVolumeSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.PersistentVolumeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-