Interface Generated.ObjectReferenceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getApiVersion()
      API version of the referent.
      com.google.protobuf.ByteString getApiVersionBytes()
      API version of the referent.
      String getFieldPath()
      If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
      com.google.protobuf.ByteString getFieldPathBytes()
      If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
      String getKind()
      Kind of the referent.
      com.google.protobuf.ByteString getKindBytes()
      Kind of the referent.
      String getName()
      Name of the referent.
      com.google.protobuf.ByteString getNameBytes()
      Name of the referent.
      String getNamespace()
      Namespace of the referent.
      com.google.protobuf.ByteString getNamespaceBytes()
      Namespace of the referent.
      String getResourceVersion()
      Specific resourceVersion to which this reference is made, if any.
      com.google.protobuf.ByteString getResourceVersionBytes()
      Specific resourceVersion to which this reference is made, if any.
      String getUid()
      UID of the referent.
      com.google.protobuf.ByteString getUidBytes()
      UID of the referent.
      boolean hasApiVersion()
      API version of the referent.
      boolean hasFieldPath()
      If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
      boolean hasKind()
      Kind of the referent.
      boolean hasName()
      Name of the referent.
      boolean hasNamespace()
      Namespace of the referent.
      boolean hasResourceVersion()
      Specific resourceVersion to which this reference is made, if any.
      boolean hasUid()
      UID 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

      • hasKind

        boolean hasKind()
         Kind of the referent.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        Whether the kind field is set.
      • getKind

        String getKind()
         Kind of the referent.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        The kind.
      • getKindBytes

        com.google.protobuf.ByteString getKindBytes()
         Kind of the referent.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 1;
        Returns:
        The bytes for kind.
      • hasNamespace

        boolean hasNamespace()
         Namespace of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
         +optional
         
        optional string namespace = 2;
        Returns:
        Whether the namespace field is set.
      • getNamespace

        String getNamespace()
         Namespace of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
         +optional
         
        optional string namespace = 2;
        Returns:
        The namespace.
      • getNamespaceBytes

        com.google.protobuf.ByteString getNamespaceBytes()
         Namespace of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
         +optional
         
        optional string namespace = 2;
        Returns:
        The bytes for namespace.
      • hasName

        boolean hasName()
         Name of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         
        optional string name = 3;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         
        optional string name = 3;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
         +optional
         
        optional string name = 3;
        Returns:
        The bytes for name.
      • hasUid

        boolean hasUid()
         UID of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
         +optional
         
        optional string uid = 4;
        Returns:
        Whether the uid field is set.
      • getUid

        String getUid()
         UID of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
         +optional
         
        optional string uid = 4;
        Returns:
        The uid.
      • getUidBytes

        com.google.protobuf.ByteString getUidBytes()
         UID of the referent.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
         +optional
         
        optional string uid = 4;
        Returns:
        The bytes for uid.
      • hasApiVersion

        boolean hasApiVersion()
         API version of the referent.
         +optional
         
        optional string apiVersion = 5;
        Returns:
        Whether the apiVersion field is set.
      • getApiVersion

        String getApiVersion()
         API version of the referent.
         +optional
         
        optional string apiVersion = 5;
        Returns:
        The apiVersion.
      • getApiVersionBytes

        com.google.protobuf.ByteString getApiVersionBytes()
         API version of the referent.
         +optional
         
        optional string apiVersion = 5;
        Returns:
        The bytes for apiVersion.
      • hasResourceVersion

        boolean hasResourceVersion()
         Specific resourceVersion to which this reference is made, if any.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 6;
        Returns:
        Whether the resourceVersion field is set.
      • getResourceVersion

        String getResourceVersion()
         Specific resourceVersion to which this reference is made, if any.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 6;
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        com.google.protobuf.ByteString getResourceVersionBytes()
         Specific resourceVersion to which this reference is made, if any.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
         +optional
         
        optional string resourceVersion = 6;
        Returns:
        The bytes for resourceVersion.
      • hasFieldPath

        boolean hasFieldPath()
         If referring to a piece of an object instead of an entire object, this string
         should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
         For example, if the object reference is to a container within a pod, this would take on a value like:
         "spec.containers{name}" (where "name" refers to the name of the container that triggered
         the event) or if no container name is specified "spec.containers[2]" (container with
         index 2 in this pod). This syntax is chosen only to have some well-defined way of
         referencing a part of an object.
         TODO: this design is not final and this field is subject to change in the future.
         +optional
         
        optional string fieldPath = 7;
        Returns:
        Whether the fieldPath field is set.
      • getFieldPath

        String getFieldPath()
         If referring to a piece of an object instead of an entire object, this string
         should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
         For example, if the object reference is to a container within a pod, this would take on a value like:
         "spec.containers{name}" (where "name" refers to the name of the container that triggered
         the event) or if no container name is specified "spec.containers[2]" (container with
         index 2 in this pod). This syntax is chosen only to have some well-defined way of
         referencing a part of an object.
         TODO: this design is not final and this field is subject to change in the future.
         +optional
         
        optional string fieldPath = 7;
        Returns:
        The fieldPath.
      • getFieldPathBytes

        com.google.protobuf.ByteString getFieldPathBytes()
         If referring to a piece of an object instead of an entire object, this string
         should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
         For example, if the object reference is to a container within a pod, this would take on a value like:
         "spec.containers{name}" (where "name" refers to the name of the container that triggered
         the event) or if no container name is specified "spec.containers[2]" (container with
         index 2 in this pod). This syntax is chosen only to have some well-defined way of
         referencing a part of an object.
         TODO: this design is not final and this field is subject to change in the future.
         +optional
         
        optional string fieldPath = 7;
        Returns:
        The bytes for fieldPath.