Class Generated.StatusDetails

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

    public static final class Generated.StatusDetails
    extends com.google.protobuf.GeneratedMessageV3
    implements Generated.StatusDetailsOrBuilder
     StatusDetails is a set of additional properties that MAY be set by the
     server to provide additional information about a response. The Reason
     field of a Status object defines what attributes will be set. Clients
     must ignore fields that do not match the defined type of each attribute,
     and should assume that any attribute may be empty, invalid, or under
     defined.
     
    Protobuf type k8s.io.apimachinery.pkg.apis.meta.v1.StatusDetails
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Generated.StatusDetails.Builder
      StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response.
      • 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
      • hasName

        public boolean hasName()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        hasName in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public String getName()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        getName in interface Generated.StatusDetailsOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name attribute of the resource associated with the status StatusReason
         (when there is a single name which can be described).
         +optional
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for name.
      • hasGroup

        public boolean hasGroup()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        hasGroup in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the group field is set.
      • getGroup

        public String getGroup()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        getGroup in interface Generated.StatusDetailsOrBuilder
        Returns:
        The group.
      • getGroupBytes

        public com.google.protobuf.ByteString getGroupBytes()
         The group attribute of the resource associated with the status StatusReason.
         +optional
         
        optional string group = 2;
        Specified by:
        getGroupBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for group.
      • hasKind

        public boolean hasKind()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        hasKind in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        getKind in interface Generated.StatusDetailsOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         The kind attribute of the resource associated with the status StatusReason.
         On some operations may differ from the requested resource Kind.
         More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
         +optional
         
        optional string kind = 3;
        Specified by:
        getKindBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for kind.
      • hasUid

        public boolean hasUid()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        hasUid in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the uid field is set.
      • getUid

        public String getUid()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        getUid in interface Generated.StatusDetailsOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         UID of the resource.
         (when there is a single resource which can be described).
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids
         +optional
         
        optional string uid = 6;
        Specified by:
        getUidBytes in interface Generated.StatusDetailsOrBuilder
        Returns:
        The bytes for uid.
      • getCausesList

        public List<Generated.StatusCause> getCausesList()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesList in interface Generated.StatusDetailsOrBuilder
      • getCausesCount

        public int getCausesCount()
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesCount in interface Generated.StatusDetailsOrBuilder
      • getCauses

        public Generated.StatusCause getCauses​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCauses in interface Generated.StatusDetailsOrBuilder
      • getCausesOrBuilder

        public Generated.StatusCauseOrBuilder getCausesOrBuilder​(int index)
         The Causes array includes more details associated with the StatusReason
         failure. Not all StatusReasons may provide detailed causes.
         +optional
         +listType=atomic
         
        repeated .k8s.io.apimachinery.pkg.apis.meta.v1.StatusCause causes = 4;
        Specified by:
        getCausesOrBuilder in interface Generated.StatusDetailsOrBuilder
      • hasRetryAfterSeconds

        public boolean hasRetryAfterSeconds()
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Specified by:
        hasRetryAfterSeconds in interface Generated.StatusDetailsOrBuilder
        Returns:
        Whether the retryAfterSeconds field is set.
      • getRetryAfterSeconds

        public int getRetryAfterSeconds()
         If specified, the time in seconds before the operation should be retried. Some errors may indicate
         the client must take an alternate action - for those errors this field may indicate how long to wait
         before taking the alternate action.
         +optional
         
        optional int32 retryAfterSeconds = 5;
        Specified by:
        getRetryAfterSeconds in interface Generated.StatusDetailsOrBuilder
        Returns:
        The retryAfterSeconds.
      • 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.StatusDetails parseFrom​(ByteBuffer data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Generated.StatusDetails 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.StatusDetails parseFrom​(byte[] data)
                                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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