public static final class V1.Event extends com.google.protobuf.GeneratedMessageV3 implements V1.EventOrBuilder
Event is a report of an event somewhere in the cluster. TODO: Decide whether to store these separately or with the object they apply to.Protobuf type
k8s.io.api.core.v1.Event| Modifier and Type | Class and Description |
|---|---|
static class |
V1.Event.Builder
Event is a report of an event somewhere in the cluster.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
COUNT_FIELD_NUMBER |
static int |
FIRSTTIMESTAMP_FIELD_NUMBER |
static int |
INVOLVEDOBJECT_FIELD_NUMBER |
static int |
LASTTIMESTAMP_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.Event> |
PARSER
Deprecated.
|
static int |
REASON_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCount()
The number of times this event has occurred.
|
static V1.Event |
getDefaultInstance() |
V1.Event |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Meta.Time |
getFirstTimestamp()
The time at which the event was first recorded.
|
Meta.TimeOrBuilder |
getFirstTimestampOrBuilder()
The time at which the event was first recorded.
|
V1.ObjectReference |
getInvolvedObject()
The object that this event is about.
|
V1.ObjectReferenceOrBuilder |
getInvolvedObjectOrBuilder()
The object that this event is about.
|
Meta.Time |
getLastTimestamp()
The time at which the most recent occurrence of this event was recorded.
|
Meta.TimeOrBuilder |
getLastTimestampOrBuilder()
The time at which the most recent occurrence of this event was recorded.
|
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.
|
Meta.ObjectMeta |
getMetadata()
Standard object's metadata.
|
Meta.ObjectMetaOrBuilder |
getMetadataOrBuilder()
Standard object's metadata.
|
com.google.protobuf.Parser<V1.Event> |
getParserForType() |
String |
getReason()
This should be a short, machine understandable string that gives the reason
for the transition into the object's current status.
|
com.google.protobuf.ByteString |
getReasonBytes()
This should be a short, machine understandable string that gives the reason
for the transition into the object's current status.
|
int |
getSerializedSize() |
V1.EventSource |
getSource()
The component reporting this event.
|
V1.EventSourceOrBuilder |
getSourceOrBuilder()
The component reporting this event.
|
String |
getType()
Type of this event (Normal, Warning), new types could be added in the future
+optional
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of this event (Normal, Warning), new types could be added in the future
+optional
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCount()
The number of times this event has occurred.
|
boolean |
hasFirstTimestamp()
The time at which the event was first recorded.
|
int |
hashCode() |
boolean |
hasInvolvedObject()
The object that this event is about.
|
boolean |
hasLastTimestamp()
The time at which the most recent occurrence of this event was recorded.
|
boolean |
hasMessage()
A human-readable description of the status of this operation.
|
boolean |
hasMetadata()
Standard object's metadata.
|
boolean |
hasReason()
This should be a short, machine understandable string that gives the reason
for the transition into the object's current status.
|
boolean |
hasSource()
The component reporting this event.
|
boolean |
hasType()
Type of this event (Normal, Warning), new types could be added in the future
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.Event.Builder |
newBuilder() |
static V1.Event.Builder |
newBuilder(V1.Event prototype) |
V1.Event.Builder |
newBuilderForType() |
protected V1.Event.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.Event |
parseDelimitedFrom(InputStream input) |
static V1.Event |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Event |
parseFrom(byte[] data) |
static V1.Event |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Event |
parseFrom(ByteBuffer data) |
static V1.Event |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Event |
parseFrom(com.google.protobuf.ByteString data) |
static V1.Event |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Event |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.Event |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Event |
parseFrom(InputStream input) |
static V1.Event |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.Event> |
parser() |
V1.Event.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int METADATA_FIELD_NUMBER
public static final int INVOLVEDOBJECT_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int FIRSTTIMESTAMP_FIELD_NUMBER
public static final int LASTTIMESTAMP_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.Event> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;hasMetadata in interface V1.EventOrBuilderpublic Meta.ObjectMeta getMetadata()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadata in interface V1.EventOrBuilderpublic Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;getMetadataOrBuilder in interface V1.EventOrBuilderpublic boolean hasInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;hasInvolvedObject in interface V1.EventOrBuilderpublic V1.ObjectReference getInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;getInvolvedObject in interface V1.EventOrBuilderpublic V1.ObjectReferenceOrBuilder getInvolvedObjectOrBuilder()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;getInvolvedObjectOrBuilder in interface V1.EventOrBuilderpublic boolean hasReason()
This should be a short, machine understandable string that gives the reason for the transition into the object's current status. TODO: provide exact specification for format. +optional
optional string reason = 3;hasReason in interface V1.EventOrBuilderpublic String getReason()
This should be a short, machine understandable string that gives the reason for the transition into the object's current status. TODO: provide exact specification for format. +optional
optional string reason = 3;getReason in interface V1.EventOrBuilderpublic com.google.protobuf.ByteString getReasonBytes()
This should be a short, machine understandable string that gives the reason for the transition into the object's current status. TODO: provide exact specification for format. +optional
optional string reason = 3;getReasonBytes in interface V1.EventOrBuilderpublic boolean hasMessage()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;hasMessage in interface V1.EventOrBuilderpublic String getMessage()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;getMessage in interface V1.EventOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;getMessageBytes in interface V1.EventOrBuilderpublic boolean hasSource()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;hasSource in interface V1.EventOrBuilderpublic V1.EventSource getSource()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;getSource in interface V1.EventOrBuilderpublic V1.EventSourceOrBuilder getSourceOrBuilder()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;getSourceOrBuilder in interface V1.EventOrBuilderpublic boolean hasFirstTimestamp()
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time firstTimestamp = 6;hasFirstTimestamp in interface V1.EventOrBuilderpublic Meta.Time getFirstTimestamp()
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time firstTimestamp = 6;getFirstTimestamp in interface V1.EventOrBuilderpublic Meta.TimeOrBuilder getFirstTimestampOrBuilder()
The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time firstTimestamp = 6;getFirstTimestampOrBuilder in interface V1.EventOrBuilderpublic boolean hasLastTimestamp()
The time at which the most recent occurrence of this event was recorded. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTimestamp = 7;hasLastTimestamp in interface V1.EventOrBuilderpublic Meta.Time getLastTimestamp()
The time at which the most recent occurrence of this event was recorded. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTimestamp = 7;getLastTimestamp in interface V1.EventOrBuilderpublic Meta.TimeOrBuilder getLastTimestampOrBuilder()
The time at which the most recent occurrence of this event was recorded. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTimestamp = 7;getLastTimestampOrBuilder in interface V1.EventOrBuilderpublic boolean hasCount()
The number of times this event has occurred. +optional
optional int32 count = 8;hasCount in interface V1.EventOrBuilderpublic int getCount()
The number of times this event has occurred. +optional
optional int32 count = 8;getCount in interface V1.EventOrBuilderpublic boolean hasType()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;hasType in interface V1.EventOrBuilderpublic String getType()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;getType in interface V1.EventOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;getTypeBytes in interface V1.EventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Event parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Event parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.Event.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.Event.Builder newBuilder()
public static V1.Event.Builder newBuilder(V1.Event prototype)
public V1.Event.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.Event getDefaultInstance()
public static com.google.protobuf.Parser<V1.Event> parser()
public com.google.protobuf.Parser<V1.Event> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.Event getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.