Class KubernetesPodData.ClaimSource

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
ai.chalk.protos.chalk.kubernetes.v1.KubernetesPodData.ClaimSource
All Implemented Interfaces:
KubernetesPodData.ClaimSourceOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
KubernetesPodData

public static final class KubernetesPodData.ClaimSource extends com.google.protobuf.GeneratedMessageV3 implements KubernetesPodData.ClaimSourceOrBuilder
 ClaimSource describes a reference to a ResourceClaim.

 Exactly one of these fields should be set.  Consumers of this type must
 treat an empty object as if it has an unknown value.
 
Protobuf type chalk.kubernetes.v1.KubernetesPodData.ClaimSource
See Also:
  • Field Details

    • RESOURCE_CLAIM_NAME_FIELD_NUMBER

      public static final int RESOURCE_CLAIM_NAME_FIELD_NUMBER
      See Also:
    • RESOURCE_CLAIM_TEMPLATE_NAME_FIELD_NUMBER

      public static final int RESOURCE_CLAIM_TEMPLATE_NAME_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasResourceClaimName

      public boolean hasResourceClaimName()
       ResourceClaimName is the name of a ResourceClaim object in the same
       namespace as this pod.
       
      optional string resource_claim_name = 1 [json_name = "resourceClaimName"];
      Specified by:
      hasResourceClaimName in interface KubernetesPodData.ClaimSourceOrBuilder
      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.
       
      optional string resource_claim_name = 1 [json_name = "resourceClaimName"];
      Specified by:
      getResourceClaimName in interface KubernetesPodData.ClaimSourceOrBuilder
      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.
       
      optional string resource_claim_name = 1 [json_name = "resourceClaimName"];
      Specified by:
      getResourceClaimNameBytes in interface KubernetesPodData.ClaimSourceOrBuilder
      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.
       
      optional string resource_claim_template_name = 2 [json_name = "resourceClaimTemplateName"];
      Specified by:
      hasResourceClaimTemplateName in interface KubernetesPodData.ClaimSourceOrBuilder
      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.
       
      optional string resource_claim_template_name = 2 [json_name = "resourceClaimTemplateName"];
      Specified by:
      getResourceClaimTemplateName in interface KubernetesPodData.ClaimSourceOrBuilder
      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.
       
      optional string resource_claim_template_name = 2 [json_name = "resourceClaimTemplateName"];
      Specified by:
      getResourceClaimTemplateNameBytes in interface KubernetesPodData.ClaimSourceOrBuilder
      Returns:
      The bytes for resourceClaimTemplateName.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.ClaimSource parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static KubernetesPodData.ClaimSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static KubernetesPodData.ClaimSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public KubernetesPodData.ClaimSource.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static KubernetesPodData.ClaimSource.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected KubernetesPodData.ClaimSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static KubernetesPodData.ClaimSource getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<KubernetesPodData.ClaimSource> parser()
    • getParserForType

      public com.google.protobuf.Parser<KubernetesPodData.ClaimSource> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public KubernetesPodData.ClaimSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder