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 classPersistentVolumeSpec 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, 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 intstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<V1.PersistentVolumeSpec>Deprecated.static final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsCapacity(String key) A description of the persistent volume's resources and capacity.booleangetAccessModes(int index) AccessModes contains all ways the volume can be mounted.com.google.protobuf.ByteStringgetAccessModesBytes(int index) AccessModes contains all ways the volume can be mounted.intAccessModes contains all ways the volume can be mounted.com.google.protobuf.ProtocolStringListAccessModes contains all ways the volume can be mounted.Deprecated.intA 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.PersistentVolumeSpecstatic final com.google.protobuf.Descriptors.DescriptorgetMountOptions(int index) A list of mount options, e.g.com.google.protobuf.ByteStringgetMountOptionsBytes(int index) A list of mount options, e.g.intA list of mount options, e.g.com.google.protobuf.ProtocolStringListA 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.ByteStringWhat happens to a persistent volume when released from its claim.The actual volume backing the persistent volume.The actual volume backing the persistent volume.intName of StorageClass to which this persistent volume belongs.com.google.protobuf.ByteStringName of StorageClass to which this persistent volume belongs.final com.google.protobuf.UnknownFieldSetvolumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.com.google.protobuf.ByteStringvolumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state.booleanClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.inthashCode()booleanNodeAffinity defines constraints that limit what nodes this volume can be accessed from.booleanWhat happens to a persistent volume when released from its claim.booleanThe actual volume backing the persistent volume.booleanName of StorageClass to which this persistent volume belongs.booleanvolumeMode 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.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleannewBuilder(V1.PersistentVolumeSpec prototype) protected V1.PersistentVolumeSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) static V1.PersistentVolumeSpecparseDelimitedFrom(InputStream input) static V1.PersistentVolumeSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpecparseFrom(byte[] data) static V1.PersistentVolumeSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpecparseFrom(com.google.protobuf.ByteString data) static V1.PersistentVolumeSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpecparseFrom(com.google.protobuf.CodedInputStream input) static V1.PersistentVolumeSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpecparseFrom(InputStream input) static V1.PersistentVolumeSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static V1.PersistentVolumeSpecparseFrom(ByteBuffer data) static V1.PersistentVolumeSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<V1.PersistentVolumeSpec>parser()voidwriteTo(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, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCapacityCount
public int getCapacityCount()Description copied from interface:V1.PersistentVolumeSpecOrBuilderA 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:
getCapacityCountin 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:
containsCapacityin interfaceV1.PersistentVolumeSpecOrBuilder
-
getCapacity
Deprecated.UsegetCapacityMap()instead.- Specified by:
getCapacityin 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:
getCapacityMapin 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:
getCapacityOrDefaultin 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:
getCapacityOrThrowin interfaceV1.PersistentVolumeSpecOrBuilder
-
hasPersistentVolumeSource
public boolean hasPersistentVolumeSource()The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
hasPersistentVolumeSourcein interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeSource
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
getPersistentVolumeSourcein interfaceV1.PersistentVolumeSpecOrBuilder
-
getPersistentVolumeSourceOrBuilder
The actual volume backing the persistent volume.
optional .k8s.io.api.core.v1.PersistentVolumeSource persistentVolumeSource = 2;- Specified by:
getPersistentVolumeSourceOrBuilderin 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:
getAccessModesListin 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:
getAccessModesCountin 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:
getAccessModesin 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:
getAccessModesBytesin 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:
hasClaimRefin 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:
getClaimRefin 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:
getClaimRefOrBuilderin 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:
hasPersistentVolumeReclaimPolicyin 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:
getPersistentVolumeReclaimPolicyin 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:
getPersistentVolumeReclaimPolicyBytesin 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:
hasStorageClassNamein 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:
getStorageClassNamein 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:
getStorageClassNameBytesin 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:
getMountOptionsListin 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:
getMountOptionsCountin 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:
getMountOptionsin 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:
getMountOptionsBytesin 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:
hasVolumeModein 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:
getVolumeModein 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:
getVolumeModeBytesin 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:
hasNodeAffinityin 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:
getNodeAffinityin 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:
getNodeAffinityOrBuilderin interfaceV1.PersistentVolumeSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected V1.PersistentVolumeSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-