Class Generated.PodResourceClaimStatus.Builder

    • Method Detail

      • 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.Builder<Generated.PodResourceClaimStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodResourceClaimStatus.Builder>
      • getDefaultInstanceForType

        public Generated.PodResourceClaimStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.PodResourceClaimStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.PodResourceClaimStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodResourceClaimStatus.Builder>
      • hasName

        public boolean hasName()
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Generated.PodResourceClaimStatus.Builder setName​(String value)
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Generated.PodResourceClaimStatus.Builder clearName()
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Generated.PodResourceClaimStatus.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Name uniquely identifies this resource claim inside the pod.
         This must match the name of an entry in pod.spec.resourceClaims,
         which implies that the string must be a DNS_LABEL.
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasResourceClaimName

        public boolean hasResourceClaimName()
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Specified by:
        hasResourceClaimName in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        Whether the resourceClaimName field is set.
      • getResourceClaimName

        public String getResourceClaimName()
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Specified by:
        getResourceClaimName in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        The resourceClaimName.
      • getResourceClaimNameBytes

        public com.google.protobuf.ByteString getResourceClaimNameBytes()
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Specified by:
        getResourceClaimNameBytes in interface Generated.PodResourceClaimStatusOrBuilder
        Returns:
        The bytes for resourceClaimName.
      • setResourceClaimName

        public Generated.PodResourceClaimStatus.Builder setResourceClaimName​(String value)
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Parameters:
        value - The resourceClaimName to set.
        Returns:
        This builder for chaining.
      • clearResourceClaimName

        public Generated.PodResourceClaimStatus.Builder clearResourceClaimName()
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Returns:
        This builder for chaining.
      • setResourceClaimNameBytes

        public Generated.PodResourceClaimStatus.Builder setResourceClaimNameBytes​(com.google.protobuf.ByteString value)
         ResourceClaimName is the name of the ResourceClaim that was
         generated for the Pod in the namespace of the Pod. If this is
         unset, then generating a ResourceClaim was not necessary. The
         pod.spec.resourceClaims entry can be ignored in this case.
        
         +optional
         
        optional string resourceClaimName = 2;
        Parameters:
        value - The bytes for resourceClaimName to set.
        Returns:
        This builder for chaining.