Class Generated.Status
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.apimachinery.pkg.apis.meta.v1.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 typek8s.io.apimachinery.pkg.apis.meta.v1.Status- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.Status.BuilderStatus 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCODE_FIELD_NUMBERstatic intDETAILS_FIELD_NUMBERstatic intMESSAGE_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.Status>PARSERDeprecated.static intREASON_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetCode()Suggested HTTP return code for this status, 0 if not set.static Generated.StatusgetDefaultInstance()Generated.StatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.StatusDetailsgetDetails()Extended data associated with the reason.Generated.StatusDetailsOrBuildergetDetailsOrBuilder()Extended data associated with the reason.StringgetMessage()A human-readable description of the status of this operation.com.google.protobuf.ByteStringgetMessageBytes()A human-readable description of the status of this operation.Generated.ListMetagetMetadata()Standard list metadata.Generated.ListMetaOrBuildergetMetadataOrBuilder()Standard list metadata.com.google.protobuf.Parser<Generated.Status>getParserForType()StringgetReason()A machine-readable description of why this operation is in the "Failure" status.com.google.protobuf.ByteStringgetReasonBytes()A machine-readable description of why this operation is in the "Failure" status.intgetSerializedSize()StringgetStatus()Status of the operation.com.google.protobuf.ByteStringgetStatusBytes()Status of the operation.booleanhasCode()Suggested HTTP return code for this status, 0 if not set.booleanhasDetails()Extended data associated with the reason.inthashCode()booleanhasMessage()A human-readable description of the status of this operation.booleanhasMetadata()Standard list metadata.booleanhasReason()A machine-readable description of why this operation is in the "Failure" status.booleanhasStatus()Status of the operation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.Status.BuildernewBuilder()static Generated.Status.BuildernewBuilder(Generated.Status prototype)Generated.Status.BuildernewBuilderForType()protected Generated.Status.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.StatusparseDelimitedFrom(InputStream input)static Generated.StatusparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StatusparseFrom(byte[] data)static Generated.StatusparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StatusparseFrom(com.google.protobuf.ByteString data)static Generated.StatusparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StatusparseFrom(com.google.protobuf.CodedInputStream input)static Generated.StatusparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StatusparseFrom(InputStream input)static Generated.StatusparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StatusparseFrom(ByteBuffer data)static Generated.StatusparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.Status>parser()Generated.Status.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DETAILS_FIELD_NUMBER
public static final int DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CODE_FIELD_NUMBER
public static final int CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.Status> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.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:
hasMetadatain interfaceGenerated.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:
getMetadatain interfaceGenerated.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:
getMetadataOrBuilderin interfaceGenerated.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:
hasStatusin interfaceGenerated.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:
getStatusin interfaceGenerated.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:
getStatusBytesin interfaceGenerated.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:
hasMessagein interfaceGenerated.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:
getMessagein interfaceGenerated.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:
getMessageBytesin interfaceGenerated.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:
hasReasonin interfaceGenerated.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:
getReasonin interfaceGenerated.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:
getReasonBytesin interfaceGenerated.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:
hasDetailsin interfaceGenerated.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:
getDetailsin interfaceGenerated.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:
getDetailsOrBuilderin interfaceGenerated.StatusOrBuilder
-
hasCode
public boolean hasCode()
Suggested HTTP return code for this status, 0 if not set. +optional
optional int32 code = 6;- Specified by:
hasCodein interfaceGenerated.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:
getCodein interfaceGenerated.StatusOrBuilder- Returns:
- The code.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.Status parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.Status parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.Status parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.Status parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.Status.Builder newBuilder()
-
newBuilder
public static Generated.Status.Builder newBuilder(Generated.Status prototype)
-
toBuilder
public Generated.Status.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.Status.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.Status getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.Status> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.Status> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.Status getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-