Package k8s.io.api.core.v1
Interface Generated.EventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.Event,Generated.Event.Builder
- Enclosing class:
- Generated
public static interface Generated.EventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()What action was taken/failed regarding to the Regarding object.com.google.protobuf.ByteStringgetActionBytes()What action was taken/failed regarding to the Regarding object.intgetCount()The number of times this event has occurred.Generated.MicroTimegetEventTime()Time when this Event was first observed.Generated.MicroTimeOrBuildergetEventTimeOrBuilder()Time when this Event was first observed.Generated.TimegetFirstTimestamp()The time at which the event was first recorded.Generated.TimeOrBuildergetFirstTimestampOrBuilder()The time at which the event was first recorded.Generated.ObjectReferencegetInvolvedObject()The object that this event is about.Generated.ObjectReferenceOrBuildergetInvolvedObjectOrBuilder()The object that this event is about.Generated.TimegetLastTimestamp()The time at which the most recent occurrence of this event was recorded.Generated.TimeOrBuildergetLastTimestampOrBuilder()The time at which the most recent occurrence of this event was recorded.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.ObjectMetagetMetadata()Standard object's metadata.Generated.ObjectMetaOrBuildergetMetadataOrBuilder()Standard object's metadata.StringgetReason()This should be a short, machine understandable string that gives the reason for the transition into the object's current status.com.google.protobuf.ByteStringgetReasonBytes()This should be a short, machine understandable string that gives the reason for the transition into the object's current status.Generated.ObjectReferencegetRelated()Optional secondary object for more complex actions.Generated.ObjectReferenceOrBuildergetRelatedOrBuilder()Optional secondary object for more complex actions.StringgetReportingComponent()Name of the controller that emitted this Event, e.g.com.google.protobuf.ByteStringgetReportingComponentBytes()Name of the controller that emitted this Event, e.g.StringgetReportingInstance()ID of the controller instance, e.g.com.google.protobuf.ByteStringgetReportingInstanceBytes()ID of the controller instance, e.g.Generated.EventSeriesgetSeries()Data about the Event series this event represents or nil if it's a singleton Event.Generated.EventSeriesOrBuildergetSeriesOrBuilder()Data about the Event series this event represents or nil if it's a singleton Event.Generated.EventSourcegetSource()The component reporting this event.Generated.EventSourceOrBuildergetSourceOrBuilder()The component reporting this event.StringgetType()Type of this event (Normal, Warning), new types could be added in the future +optionalcom.google.protobuf.ByteStringgetTypeBytes()Type of this event (Normal, Warning), new types could be added in the future +optionalbooleanhasAction()What action was taken/failed regarding to the Regarding object.booleanhasCount()The number of times this event has occurred.booleanhasEventTime()Time when this Event was first observed.booleanhasFirstTimestamp()The time at which the event was first recorded.booleanhasInvolvedObject()The object that this event is about.booleanhasLastTimestamp()The time at which the most recent occurrence of this event was recorded.booleanhasMessage()A human-readable description of the status of this operation.booleanhasMetadata()Standard object's metadata.booleanhasReason()This should be a short, machine understandable string that gives the reason for the transition into the object's current status.booleanhasRelated()Optional secondary object for more complex actions.booleanhasReportingComponent()Name of the controller that emitted this Event, e.g.booleanhasReportingInstance()ID of the controller instance, e.g.booleanhasSeries()Data about the Event series this event represents or nil if it's a singleton Event.booleanhasSource()The component reporting this event.booleanhasType()Type of this event (Normal, Warning), new types could be added in the future +optional-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetadata
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;- Returns:
- Whether the metadata field is set.
-
getMetadata
Generated.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;- Returns:
- The metadata.
-
getMetadataOrBuilder
Generated.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;
-
hasInvolvedObject
boolean hasInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;- Returns:
- Whether the involvedObject field is set.
-
getInvolvedObject
Generated.ObjectReference getInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;- Returns:
- The involvedObject.
-
getInvolvedObjectOrBuilder
Generated.ObjectReferenceOrBuilder getInvolvedObjectOrBuilder()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
hasReason
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;- Returns:
- Whether the reason field is set.
-
getReason
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;- Returns:
- The reason.
-
getReasonBytes
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;- Returns:
- The bytes for reason.
-
hasMessage
boolean hasMessage()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;- Returns:
- The message.
-
getMessageBytes
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;- Returns:
- The bytes for message.
-
hasSource
boolean hasSource()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;- Returns:
- Whether the source field is set.
-
getSource
Generated.EventSource getSource()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;- Returns:
- The source.
-
getSourceOrBuilder
Generated.EventSourceOrBuilder getSourceOrBuilder()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
hasFirstTimestamp
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;- Returns:
- Whether the firstTimestamp field is set.
-
getFirstTimestamp
Generated.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;- Returns:
- The firstTimestamp.
-
getFirstTimestampOrBuilder
Generated.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;
-
hasLastTimestamp
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;- Returns:
- Whether the lastTimestamp field is set.
-
getLastTimestamp
Generated.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;- Returns:
- The lastTimestamp.
-
getLastTimestampOrBuilder
Generated.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;
-
hasCount
boolean hasCount()
The number of times this event has occurred. +optional
optional int32 count = 8;- Returns:
- Whether the count field is set.
-
getCount
int getCount()
The number of times this event has occurred. +optional
optional int32 count = 8;- Returns:
- The count.
-
hasType
boolean hasType()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Returns:
- Whether the type field is set.
-
getType
String getType()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Returns:
- The bytes for type.
-
hasEventTime
boolean hasEventTime()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;- Returns:
- Whether the eventTime field is set.
-
getEventTime
Generated.MicroTime getEventTime()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;- Returns:
- The eventTime.
-
getEventTimeOrBuilder
Generated.MicroTimeOrBuilder getEventTimeOrBuilder()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
hasSeries
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;- Returns:
- Whether the series field is set.
-
getSeries
Generated.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;- Returns:
- The series.
-
getSeriesOrBuilder
Generated.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;
-
hasAction
boolean hasAction()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Returns:
- Whether the action field is set.
-
getAction
String getAction()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Returns:
- The bytes for action.
-
hasRelated
boolean hasRelated()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;- Returns:
- Whether the related field is set.
-
getRelated
Generated.ObjectReference getRelated()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;- Returns:
- The related.
-
getRelatedOrBuilder
Generated.ObjectReferenceOrBuilder getRelatedOrBuilder()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
hasReportingComponent
boolean hasReportingComponent()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Returns:
- Whether the reportingComponent field is set.
-
getReportingComponent
String getReportingComponent()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Returns:
- The reportingComponent.
-
getReportingComponentBytes
com.google.protobuf.ByteString getReportingComponentBytes()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Returns:
- The bytes for reportingComponent.
-
hasReportingInstance
boolean hasReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Returns:
- Whether the reportingInstance field is set.
-
getReportingInstance
String getReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Returns:
- The reportingInstance.
-
getReportingInstanceBytes
com.google.protobuf.ByteString getReportingInstanceBytes()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Returns:
- The bytes for reportingInstance.
-
-