Class Generated.Status

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Generated.StatusOrBuilder
    Enclosing class:
    Generated

    public static final class Generated.Status
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.StatusOrBuilder
     Status is a return value for calls that don't return other objects.
     
    Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.Status
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Generated.Status.Builder
      Status is a return value for calls that don't return other objects.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • 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
      • hasMetadata

        public 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;
        Specified by:
        hasMetadata in interface Generated.StatusOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public 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;
        Specified by:
        getMetadata in interface Generated.StatusOrBuilder
        Returns:
        The metadata.
      • getMetadataOrBuilder

        public 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;
        Specified by:
        getMetadataOrBuilder in interface Generated.StatusOrBuilder
      • hasStatus

        public 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;
        Specified by:
        hasStatus in interface Generated.StatusOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public 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;
        Specified by:
        getStatus in interface Generated.StatusOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public 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;
        Specified by:
        getStatusBytes in interface Generated.StatusOrBuilder
        Returns:
        The bytes for status.
      • hasMessage

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

        public String getMessage()
         A human-readable description of the status of this operation.
         +optional
         
        optional string message = 3;
        Specified by:
        getMessage in interface Generated.StatusOrBuilder
        Returns:
        The message.
      • getMessageBytes

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

        public 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;
        Specified by:
        hasReason in interface Generated.StatusOrBuilder
        Returns:
        Whether the reason field is set.
      • getReason

        public 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;
        Specified by:
        getReason in interface Generated.StatusOrBuilder
        Returns:
        The reason.
      • getReasonBytes

        public 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;
        Specified by:
        getReasonBytes in interface Generated.StatusOrBuilder
        Returns:
        The bytes for reason.
      • hasDetails

        public 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;
        Specified by:
        hasDetails in interface Generated.StatusOrBuilder
        Returns:
        Whether the details field is set.
      • getDetails

        public 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;
        Specified by:
        getDetails in interface Generated.StatusOrBuilder
        Returns:
        The details.
      • getDetailsOrBuilder

        public 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;
        Specified by:
        getDetailsOrBuilder in interface Generated.StatusOrBuilder
      • hasCode

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

        public int getCode()
         Suggested HTTP return code for this status, 0 if not set.
         +optional
         
        optional int32 code = 6;
        Specified by:
        getCode in interface Generated.StatusOrBuilder
        Returns:
        The code.
      • 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 Generated.Status parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.Status parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.Status parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.Status parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.Status parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public Generated.Status.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Generated.Status.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.Status.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.Status> 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 Generated.Status getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder