Class V1.Event

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.kubernetes.client.proto.V1.Event
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.EventOrBuilder, Serializable
Enclosing class:
V1

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.  Events
 have a limited retention time and triggers and messages may evolve
 with time.  Event consumers should not rely on the timing of an event
 with a given Reason reflecting a consistent underlying trigger, or the
 continued existence of events with that Reason.  Events should be
 treated as informative, best-effort, supplemental data.
 
Protobuf type k8s.io.api.core.v1.Event
See Also:
  • Field Details

  • Method Details

    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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 object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      hasMetadata in interface V1.EventOrBuilder
    • getMetadata

      public Meta.ObjectMeta getMetadata()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      getMetadata in interface V1.EventOrBuilder
    • getMetadataOrBuilder

      public Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
      Specified by:
      getMetadataOrBuilder in interface V1.EventOrBuilder
    • hasInvolvedObject

      public boolean hasInvolvedObject()
       The object that this event is about.
       
      optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
      Specified by:
      hasInvolvedObject in interface V1.EventOrBuilder
    • getInvolvedObject

      public V1.ObjectReference getInvolvedObject()
       The object that this event is about.
       
      optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
      Specified by:
      getInvolvedObject in interface V1.EventOrBuilder
    • getInvolvedObjectOrBuilder

      public V1.ObjectReferenceOrBuilder getInvolvedObjectOrBuilder()
       The object that this event is about.
       
      optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
      Specified by:
      getInvolvedObjectOrBuilder in interface V1.EventOrBuilder
    • hasReason

      public 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;
      Specified by:
      hasReason in interface V1.EventOrBuilder
    • getReason

      public 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;
      Specified by:
      getReason in interface V1.EventOrBuilder
    • getReasonBytes

      public 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;
      Specified by:
      getReasonBytes in interface V1.EventOrBuilder
    • hasMessage

      public boolean hasMessage()
       A human-readable description of the status of this operation.
       TODO: decide on maximum length.
       +optional
       
      optional string message = 4;
      Specified by:
      hasMessage in interface V1.EventOrBuilder
    • getMessage

      public String getMessage()
       A human-readable description of the status of this operation.
       TODO: decide on maximum length.
       +optional
       
      optional string message = 4;
      Specified by:
      getMessage in interface V1.EventOrBuilder
    • getMessageBytes

      public 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;
      Specified by:
      getMessageBytes in interface V1.EventOrBuilder
    • hasSource

      public boolean hasSource()
       The component reporting this event. Should be a short machine understandable string.
       +optional
       
      optional .k8s.io.api.core.v1.EventSource source = 5;
      Specified by:
      hasSource in interface V1.EventOrBuilder
    • getSource

      public 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;
      Specified by:
      getSource in interface V1.EventOrBuilder
    • getSourceOrBuilder

      public 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;
      Specified by:
      getSourceOrBuilder in interface V1.EventOrBuilder
    • hasFirstTimestamp

      public 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;
      Specified by:
      hasFirstTimestamp in interface V1.EventOrBuilder
    • getFirstTimestamp

      public 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;
      Specified by:
      getFirstTimestamp in interface V1.EventOrBuilder
    • getFirstTimestampOrBuilder

      public 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;
      Specified by:
      getFirstTimestampOrBuilder in interface V1.EventOrBuilder
    • hasLastTimestamp

      public 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;
      Specified by:
      hasLastTimestamp in interface V1.EventOrBuilder
    • getLastTimestamp

      public 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;
      Specified by:
      getLastTimestamp in interface V1.EventOrBuilder
    • getLastTimestampOrBuilder

      public 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;
      Specified by:
      getLastTimestampOrBuilder in interface V1.EventOrBuilder
    • hasCount

      public boolean hasCount()
       The number of times this event has occurred.
       +optional
       
      optional int32 count = 8;
      Specified by:
      hasCount in interface V1.EventOrBuilder
    • getCount

      public int getCount()
       The number of times this event has occurred.
       +optional
       
      optional int32 count = 8;
      Specified by:
      getCount in interface V1.EventOrBuilder
    • hasType

      public boolean hasType()
       Type of this event (Normal, Warning), new types could be added in the future
       +optional
       
      optional string type = 9;
      Specified by:
      hasType in interface V1.EventOrBuilder
    • getType

      public String getType()
       Type of this event (Normal, Warning), new types could be added in the future
       +optional
       
      optional string type = 9;
      Specified by:
      getType in interface V1.EventOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Type of this event (Normal, Warning), new types could be added in the future
       +optional
       
      optional string type = 9;
      Specified by:
      getTypeBytes in interface V1.EventOrBuilder
    • hasEventTime

      public boolean hasEventTime()
       Time when this Event was first observed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
      Specified by:
      hasEventTime in interface V1.EventOrBuilder
    • getEventTime

      public Meta.MicroTime getEventTime()
       Time when this Event was first observed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
      Specified by:
      getEventTime in interface V1.EventOrBuilder
    • getEventTimeOrBuilder

      public Meta.MicroTimeOrBuilder getEventTimeOrBuilder()
       Time when this Event was first observed.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
      Specified by:
      getEventTimeOrBuilder in interface V1.EventOrBuilder
    • hasSeries

      public boolean hasSeries()
       Data about the Event series this event represents or nil if it's a singleton Event.
       +optional
       
      optional .k8s.io.api.core.v1.EventSeries series = 11;
      Specified by:
      hasSeries in interface V1.EventOrBuilder
    • getSeries

      public V1.EventSeries getSeries()
       Data about the Event series this event represents or nil if it's a singleton Event.
       +optional
       
      optional .k8s.io.api.core.v1.EventSeries series = 11;
      Specified by:
      getSeries in interface V1.EventOrBuilder
    • getSeriesOrBuilder

      public V1.EventSeriesOrBuilder getSeriesOrBuilder()
       Data about the Event series this event represents or nil if it's a singleton Event.
       +optional
       
      optional .k8s.io.api.core.v1.EventSeries series = 11;
      Specified by:
      getSeriesOrBuilder in interface V1.EventOrBuilder
    • hasAction

      public boolean hasAction()
       What action was taken/failed regarding to the Regarding object.
       +optional
       
      optional string action = 12;
      Specified by:
      hasAction in interface V1.EventOrBuilder
    • getAction

      public String getAction()
       What action was taken/failed regarding to the Regarding object.
       +optional
       
      optional string action = 12;
      Specified by:
      getAction in interface V1.EventOrBuilder
    • getActionBytes

      public com.google.protobuf.ByteString getActionBytes()
       What action was taken/failed regarding to the Regarding object.
       +optional
       
      optional string action = 12;
      Specified by:
      getActionBytes in interface V1.EventOrBuilder
    • hasRelated

      public boolean hasRelated()
       Optional secondary object for more complex actions.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectReference related = 13;
      Specified by:
      hasRelated in interface V1.EventOrBuilder
    • getRelated

      public V1.ObjectReference getRelated()
       Optional secondary object for more complex actions.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectReference related = 13;
      Specified by:
      getRelated in interface V1.EventOrBuilder
    • getRelatedOrBuilder

      public V1.ObjectReferenceOrBuilder getRelatedOrBuilder()
       Optional secondary object for more complex actions.
       +optional
       
      optional .k8s.io.api.core.v1.ObjectReference related = 13;
      Specified by:
      getRelatedOrBuilder in interface V1.EventOrBuilder
    • hasReportingComponent

      public boolean hasReportingComponent()
       Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
       +optional
       
      optional string reportingComponent = 14;
      Specified by:
      hasReportingComponent in interface V1.EventOrBuilder
    • getReportingComponent

      public String getReportingComponent()
       Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
       +optional
       
      optional string reportingComponent = 14;
      Specified by:
      getReportingComponent in interface V1.EventOrBuilder
    • getReportingComponentBytes

      public com.google.protobuf.ByteString getReportingComponentBytes()
       Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
       +optional
       
      optional string reportingComponent = 14;
      Specified by:
      getReportingComponentBytes in interface V1.EventOrBuilder
    • hasReportingInstance

      public boolean hasReportingInstance()
       ID of the controller instance, e.g. `kubelet-xyzf`.
       +optional
       
      optional string reportingInstance = 15;
      Specified by:
      hasReportingInstance in interface V1.EventOrBuilder
    • getReportingInstance

      public String getReportingInstance()
       ID of the controller instance, e.g. `kubelet-xyzf`.
       +optional
       
      optional string reportingInstance = 15;
      Specified by:
      getReportingInstance in interface V1.EventOrBuilder
    • getReportingInstanceBytes

      public com.google.protobuf.ByteString getReportingInstanceBytes()
       ID of the controller instance, e.g. `kubelet-xyzf`.
       +optional
       
      optional string reportingInstance = 15;
      Specified by:
      getReportingInstanceBytes in interface V1.EventOrBuilder
    • 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 V1.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1.Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static V1.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static V1.Event parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.Event parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static V1.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static V1.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public V1.Event.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static V1.Event.Builder newBuilder()
    • newBuilder

      public static V1.Event.Builder newBuilder(V1.Event prototype)
    • toBuilder

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

      protected V1.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static V1.Event getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<V1.Event> parser()
    • getParserForType

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