Package k8s.io.api.core.v1
Interface Generated.PodResourceClaimOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PodResourceClaim,Generated.PodResourceClaim.Builder
- Enclosing class:
- Generated
public static interface Generated.PodResourceClaimOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Name uniquely identifies this resource claim inside the pod.com.google.protobuf.ByteStringgetNameBytes()Name uniquely identifies this resource claim inside the pod.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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
optional string name = 1;- Returns:
- The bytes for name.
-
hasResourceClaimName
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;- Returns:
- Whether the resourceClaimName field is set.
-
getResourceClaimName
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;- Returns:
- The resourceClaimName.
-
getResourceClaimNameBytes
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;- Returns:
- The bytes for resourceClaimName.
-
hasResourceClaimTemplateName
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;- Returns:
- Whether the resourceClaimTemplateName field is set.
-
getResourceClaimTemplateName
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;- Returns:
- The resourceClaimTemplateName.
-
getResourceClaimTemplateNameBytes
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;- Returns:
- The bytes for resourceClaimTemplateName.
-
-