Interface Generated.LocalObjectReferenceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      Name of the referent.
      com.google.protobuf.ByteString getNameBytes()
      Name of the referent.
      boolean hasName()
      Name of the referent.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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 of the referent.
         This field is effectively required, but due to backwards compatibility is
         allowed to be empty. Instances of this type with an empty value here are
         almost certainly wrong.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         +default=""
         +kubebuilder:default=""
         TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the referent.
         This field is effectively required, but due to backwards compatibility is
         allowed to be empty. Instances of this type with an empty value here are
         almost certainly wrong.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         +default=""
         +kubebuilder:default=""
         TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the referent.
         This field is effectively required, but due to backwards compatibility is
         allowed to be empty. Instances of this type with an empty value here are
         almost certainly wrong.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         +default=""
         +kubebuilder:default=""
         TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
         
        optional string name = 1;
        Returns:
        The bytes for name.