Package k8s.io.api.core.v1
Class Generated.PodResourceClaim
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.PodResourceClaim
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.PodResourceClaimOrBuilder
- Enclosing class:
- Generated
public static final class Generated.PodResourceClaim extends com.google.protobuf.GeneratedMessageV3 implements Generated.PodResourceClaimOrBuilder
PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
Protobuf typek8s.io.api.core.v1.PodResourceClaim- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.PodResourceClaim.BuilderPodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.-
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
-
-
Field Summary
Fields Modifier and Type Field Description static intNAME_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.PodResourceClaim>PARSERDeprecated.static intRESOURCECLAIMNAME_FIELD_NUMBERstatic intRESOURCECLAIMTEMPLATENAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.PodResourceClaimgetDefaultInstance()Generated.PodResourceClaimgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()Name uniquely identifies this resource claim inside the pod.com.google.protobuf.ByteStringgetNameBytes()Name uniquely identifies this resource claim inside the pod.com.google.protobuf.Parser<Generated.PodResourceClaim>getParserForType()StringgetResourceClaimName()ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.com.google.protobuf.ByteStringgetResourceClaimNameBytes()ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.StringgetResourceClaimTemplateName()ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.com.google.protobuf.ByteStringgetResourceClaimTemplateNameBytes()ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.intgetSerializedSize()inthashCode()booleanhasName()Name uniquely identifies this resource claim inside the pod.booleanhasResourceClaimName()ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.booleanhasResourceClaimTemplateName()ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.PodResourceClaim.BuildernewBuilder()static Generated.PodResourceClaim.BuildernewBuilder(Generated.PodResourceClaim prototype)Generated.PodResourceClaim.BuildernewBuilderForType()protected Generated.PodResourceClaim.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.PodResourceClaimparseDelimitedFrom(InputStream input)static Generated.PodResourceClaimparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodResourceClaimparseFrom(byte[] data)static Generated.PodResourceClaimparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodResourceClaimparseFrom(com.google.protobuf.ByteString data)static Generated.PodResourceClaimparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodResourceClaimparseFrom(com.google.protobuf.CodedInputStream input)static Generated.PodResourceClaimparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodResourceClaimparseFrom(InputStream input)static Generated.PodResourceClaimparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.PodResourceClaimparseFrom(ByteBuffer data)static Generated.PodResourceClaimparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.PodResourceClaim>parser()Generated.PodResourceClaim.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCECLAIMNAME_FIELD_NUMBER
public static final int RESOURCECLAIMNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCECLAIMTEMPLATENAME_FIELD_NUMBER
public static final int RESOURCECLAIMTEMPLATENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.PodResourceClaim> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasName
public boolean hasName()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Specified by:
hasNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Specified by:
getNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Specified by:
getNameBytesin interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The bytes for name.
-
hasResourceClaimName
public boolean hasResourceClaimName()
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimName = 3;- Specified by:
hasResourceClaimNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- Whether the resourceClaimName field is set.
-
getResourceClaimName
public String getResourceClaimName()
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimName = 3;- Specified by:
getResourceClaimNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The resourceClaimName.
-
getResourceClaimNameBytes
public com.google.protobuf.ByteString getResourceClaimNameBytes()
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimName = 3;- Specified by:
getResourceClaimNameBytesin interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The bytes for resourceClaimName.
-
hasResourceClaimTemplateName
public boolean hasResourceClaimTemplateName()
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimTemplateName = 4;- Specified by:
hasResourceClaimTemplateNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- Whether the resourceClaimTemplateName field is set.
-
getResourceClaimTemplateName
public String getResourceClaimTemplateName()
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimTemplateName = 4;- Specified by:
getResourceClaimTemplateNamein interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The resourceClaimTemplateName.
-
getResourceClaimTemplateNameBytes
public com.google.protobuf.ByteString getResourceClaimTemplateNameBytes()
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod. The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses. This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim. Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
optional string resourceClaimTemplateName = 4;- Specified by:
getResourceClaimTemplateNameBytesin interfaceGenerated.PodResourceClaimOrBuilder- Returns:
- The bytes for resourceClaimTemplateName.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Generated.PodResourceClaim parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.PodResourceClaim parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.PodResourceClaim parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.PodResourceClaim parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.PodResourceClaim.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.PodResourceClaim.Builder newBuilder()
-
newBuilder
public static Generated.PodResourceClaim.Builder newBuilder(Generated.PodResourceClaim prototype)
-
toBuilder
public Generated.PodResourceClaim.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.PodResourceClaim.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.PodResourceClaim getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.PodResourceClaim> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.PodResourceClaim> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.PodResourceClaim getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-