Interface Generated.StatusOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.Status, Generated.Status.Builder
    Enclosing class:
    Generated

    public static interface Generated.StatusOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getCode()
      Suggested HTTP return code for this status, 0 if not set.
      Generated.StatusDetails getDetails()
      Extended data associated with the reason.
      Generated.StatusDetailsOrBuilder getDetailsOrBuilder()
      Extended data associated with the reason.
      String getMessage()
      A human-readable description of the status of this operation.
      com.google.protobuf.ByteString getMessageBytes()
      A human-readable description of the status of this operation.
      Generated.ListMeta getMetadata()
      Standard list metadata.
      Generated.ListMetaOrBuilder getMetadataOrBuilder()
      Standard list metadata.
      String getReason()
      A machine-readable description of why this operation is in the "Failure" status.
      com.google.protobuf.ByteString getReasonBytes()
      A machine-readable description of why this operation is in the "Failure" status.
      String getStatus()
      Status of the operation.
      com.google.protobuf.ByteString getStatusBytes()
      Status of the operation.
      boolean hasCode()
      Suggested HTTP return code for this status, 0 if not set.
      boolean hasDetails()
      Extended data associated with the reason.
      boolean hasMessage()
      A human-readable description of the status of this operation.
      boolean hasMetadata()
      Standard list metadata.
      boolean hasReason()
      A machine-readable description of why this operation is in the "Failure" status.
      boolean hasStatus()
      Status of the operation.
      • 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

      • hasMetadata

        boolean hasMetadata()
         Standard list metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
        Returns:
        Whether the metadata field is set.
      • getMetadata

        Generated.ListMeta getMetadata()
         Standard list metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
        Returns:
        The metadata.
      • getMetadataOrBuilder

        Generated.ListMetaOrBuilder getMetadataOrBuilder()
         Standard list metadata.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
      • hasStatus

        boolean hasStatus()
         Status of the operation.
         One of: "Success" or "Failure".
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
         +optional
         
        optional string status = 2;
        Returns:
        Whether the status field is set.
      • getStatus

        String getStatus()
         Status of the operation.
         One of: "Success" or "Failure".
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
         +optional
         
        optional string status = 2;
        Returns:
        The status.
      • getStatusBytes

        com.google.protobuf.ByteString getStatusBytes()
         Status of the operation.
         One of: "Success" or "Failure".
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
         +optional
         
        optional string status = 2;
        Returns:
        The bytes for status.
      • hasMessage

        boolean hasMessage()
         A human-readable description of the status of this operation.
         +optional
         
        optional string message = 3;
        Returns:
        Whether the message field is set.
      • getMessage

        String getMessage()
         A human-readable description of the status of this operation.
         +optional
         
        optional string message = 3;
        Returns:
        The message.
      • getMessageBytes

        com.google.protobuf.ByteString getMessageBytes()
         A human-readable description of the status of this operation.
         +optional
         
        optional string message = 3;
        Returns:
        The bytes for message.
      • hasReason

        boolean hasReason()
         A machine-readable description of why this operation is in the
         "Failure" status. If this value is empty there
         is no information available. A Reason clarifies an HTTP status
         code but does not override it.
         +optional
         
        optional string reason = 4;
        Returns:
        Whether the reason field is set.
      • getReason

        String getReason()
         A machine-readable description of why this operation is in the
         "Failure" status. If this value is empty there
         is no information available. A Reason clarifies an HTTP status
         code but does not override it.
         +optional
         
        optional string reason = 4;
        Returns:
        The reason.
      • getReasonBytes

        com.google.protobuf.ByteString getReasonBytes()
         A machine-readable description of why this operation is in the
         "Failure" status. If this value is empty there
         is no information available. A Reason clarifies an HTTP status
         code but does not override it.
         +optional
         
        optional string reason = 4;
        Returns:
        The bytes for reason.
      • hasDetails

        boolean hasDetails()
         Extended data associated with the reason.  Each reason may define its
         own extended details. This field is optional and the data returned
         is not guaranteed to conform to any schema except that defined by
         the reason type.
         +optional
         +listType=atomic
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
        Returns:
        Whether the details field is set.
      • getDetails

        Generated.StatusDetails getDetails()
         Extended data associated with the reason.  Each reason may define its
         own extended details. This field is optional and the data returned
         is not guaranteed to conform to any schema except that defined by
         the reason type.
         +optional
         +listType=atomic
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
        Returns:
        The details.
      • getDetailsOrBuilder

        Generated.StatusDetailsOrBuilder getDetailsOrBuilder()
         Extended data associated with the reason.  Each reason may define its
         own extended details. This field is optional and the data returned
         is not guaranteed to conform to any schema except that defined by
         the reason type.
         +optional
         +listType=atomic
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails details = 5;
      • hasCode

        boolean hasCode()
         Suggested HTTP return code for this status, 0 if not set.
         +optional
         
        optional int32 code = 6;
        Returns:
        Whether the code field is set.
      • getCode

        int getCode()
         Suggested HTTP return code for this status, 0 if not set.
         +optional
         
        optional int32 code = 6;
        Returns:
        The code.