Package k8s.io.api.core.v1
Class Generated.Event.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
- k8s.io.api.core.v1.Generated.Event.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.EventOrBuilder
- Enclosing class:
- Generated.Event
public static final class Generated.Event.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder> implements Generated.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 typek8s.io.api.core.v1.Event
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.Event.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.Eventbuild()Generated.EventbuildPartial()Generated.Event.Builderclear()Generated.Event.BuilderclearAction()What action was taken/failed regarding to the Regarding object.Generated.Event.BuilderclearCount()The number of times this event has occurred.Generated.Event.BuilderclearEventTime()Time when this Event was first observed.Generated.Event.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.Event.BuilderclearFirstTimestamp()The time at which the event was first recorded.Generated.Event.BuilderclearInvolvedObject()The object that this event is about.Generated.Event.BuilderclearLastTimestamp()The time at which the most recent occurrence of this event was recorded.Generated.Event.BuilderclearMessage()A human-readable description of the status of this operation.Generated.Event.BuilderclearMetadata()Standard object's metadata.Generated.Event.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.Event.BuilderclearReason()This should be a short, machine understandable string that gives the reason for the transition into the object's current status.Generated.Event.BuilderclearRelated()Optional secondary object for more complex actions.Generated.Event.BuilderclearReportingComponent()Name of the controller that emitted this Event, e.g.Generated.Event.BuilderclearReportingInstance()ID of the controller instance, e.g.Generated.Event.BuilderclearSeries()Data about the Event series this event represents or nil if it's a singleton Event.Generated.Event.BuilderclearSource()The component reporting this event.Generated.Event.BuilderclearType()Type of this event (Normal, Warning), new types could be added in the future +optionalGenerated.Event.Builderclone()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.EventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.MicroTimegetEventTime()Time when this Event was first observed.Generated.MicroTime.BuildergetEventTimeBuilder()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.Time.BuildergetFirstTimestampBuilder()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.ObjectReference.BuildergetInvolvedObjectBuilder()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.Time.BuildergetLastTimestampBuilder()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.ObjectMeta.BuildergetMetadataBuilder()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.ObjectReference.BuildergetRelatedBuilder()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.EventSeries.BuildergetSeriesBuilder()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.EventSource.BuildergetSourceBuilder()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 +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.Event.BuildermergeEventTime(Generated.MicroTime value)Time when this Event was first observed.Generated.Event.BuildermergeFirstTimestamp(Generated.Time value)The time at which the event was first recorded.Generated.Event.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.Event.BuildermergeFrom(com.google.protobuf.Message other)Generated.Event.BuildermergeFrom(Generated.Event other)Generated.Event.BuildermergeInvolvedObject(Generated.ObjectReference value)The object that this event is about.Generated.Event.BuildermergeLastTimestamp(Generated.Time value)The time at which the most recent occurrence of this event was recorded.Generated.Event.BuildermergeMetadata(Generated.ObjectMeta value)Standard object's metadata.Generated.Event.BuildermergeRelated(Generated.ObjectReference value)Optional secondary object for more complex actions.Generated.Event.BuildermergeSeries(Generated.EventSeries value)Data about the Event series this event represents or nil if it's a singleton Event.Generated.Event.BuildermergeSource(Generated.EventSource value)The component reporting this event.Generated.Event.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.Event.BuildersetAction(String value)What action was taken/failed regarding to the Regarding object.Generated.Event.BuildersetActionBytes(com.google.protobuf.ByteString value)What action was taken/failed regarding to the Regarding object.Generated.Event.BuildersetCount(int value)The number of times this event has occurred.Generated.Event.BuildersetEventTime(Generated.MicroTime value)Time when this Event was first observed.Generated.Event.BuildersetEventTime(Generated.MicroTime.Builder builderForValue)Time when this Event was first observed.Generated.Event.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.Event.BuildersetFirstTimestamp(Generated.Time value)The time at which the event was first recorded.Generated.Event.BuildersetFirstTimestamp(Generated.Time.Builder builderForValue)The time at which the event was first recorded.Generated.Event.BuildersetInvolvedObject(Generated.ObjectReference value)The object that this event is about.Generated.Event.BuildersetInvolvedObject(Generated.ObjectReference.Builder builderForValue)The object that this event is about.Generated.Event.BuildersetLastTimestamp(Generated.Time value)The time at which the most recent occurrence of this event was recorded.Generated.Event.BuildersetLastTimestamp(Generated.Time.Builder builderForValue)The time at which the most recent occurrence of this event was recorded.Generated.Event.BuildersetMessage(String value)A human-readable description of the status of this operation.Generated.Event.BuildersetMessageBytes(com.google.protobuf.ByteString value)A human-readable description of the status of this operation.Generated.Event.BuildersetMetadata(Generated.ObjectMeta value)Standard object's metadata.Generated.Event.BuildersetMetadata(Generated.ObjectMeta.Builder builderForValue)Standard object's metadata.Generated.Event.BuildersetReason(String value)This should be a short, machine understandable string that gives the reason for the transition into the object's current status.Generated.Event.BuildersetReasonBytes(com.google.protobuf.ByteString value)This should be a short, machine understandable string that gives the reason for the transition into the object's current status.Generated.Event.BuildersetRelated(Generated.ObjectReference value)Optional secondary object for more complex actions.Generated.Event.BuildersetRelated(Generated.ObjectReference.Builder builderForValue)Optional secondary object for more complex actions.Generated.Event.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.Event.BuildersetReportingComponent(String value)Name of the controller that emitted this Event, e.g.Generated.Event.BuildersetReportingComponentBytes(com.google.protobuf.ByteString value)Name of the controller that emitted this Event, e.g.Generated.Event.BuildersetReportingInstance(String value)ID of the controller instance, e.g.Generated.Event.BuildersetReportingInstanceBytes(com.google.protobuf.ByteString value)ID of the controller instance, e.g.Generated.Event.BuildersetSeries(Generated.EventSeries value)Data about the Event series this event represents or nil if it's a singleton Event.Generated.Event.BuildersetSeries(Generated.EventSeries.Builder builderForValue)Data about the Event series this event represents or nil if it's a singleton Event.Generated.Event.BuildersetSource(Generated.EventSource value)The component reporting this event.Generated.Event.BuildersetSource(Generated.EventSource.Builder builderForValue)The component reporting this event.Generated.Event.BuildersetType(String value)Type of this event (Normal, Warning), new types could be added in the future +optionalGenerated.Event.BuildersetTypeBytes(com.google.protobuf.ByteString value)Type of this event (Normal, Warning), new types could be added in the future +optionalGenerated.Event.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Generated.Event.Builder>
-
clear
public Generated.Event.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
getDefaultInstanceForType
public Generated.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.Event build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.Event buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.Event.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
setField
public Generated.Event.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
clearField
public Generated.Event.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
clearOneof
public Generated.Event.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
setRepeatedField
public Generated.Event.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
addRepeatedField
public Generated.Event.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
mergeFrom
public Generated.Event.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.Event.Builder>
-
mergeFrom
public Generated.Event.Builder mergeFrom(Generated.Event other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
mergeFrom
public Generated.Event.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.Event.Builder>- Throws:
IOException
-
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:
hasMetadatain interfaceGenerated.EventOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public 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;- Specified by:
getMetadatain interfaceGenerated.EventOrBuilder- Returns:
- The metadata.
-
setMetadata
public Generated.Event.Builder setMetadata(Generated.ObjectMeta value)
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;
-
setMetadata
public Generated.Event.Builder setMetadata(Generated.ObjectMeta.Builder builderForValue)
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;
-
mergeMetadata
public Generated.Event.Builder mergeMetadata(Generated.ObjectMeta value)
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;
-
clearMetadata
public Generated.Event.Builder clearMetadata()
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;
-
getMetadataBuilder
public Generated.ObjectMeta.Builder getMetadataBuilder()
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;
-
getMetadataOrBuilder
public 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;- Specified by:
getMetadataOrBuilderin interfaceGenerated.EventOrBuilder
-
hasInvolvedObject
public boolean hasInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;- Specified by:
hasInvolvedObjectin interfaceGenerated.EventOrBuilder- Returns:
- Whether the involvedObject field is set.
-
getInvolvedObject
public Generated.ObjectReference getInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;- Specified by:
getInvolvedObjectin interfaceGenerated.EventOrBuilder- Returns:
- The involvedObject.
-
setInvolvedObject
public Generated.Event.Builder setInvolvedObject(Generated.ObjectReference value)
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
setInvolvedObject
public Generated.Event.Builder setInvolvedObject(Generated.ObjectReference.Builder builderForValue)
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
mergeInvolvedObject
public Generated.Event.Builder mergeInvolvedObject(Generated.ObjectReference value)
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
clearInvolvedObject
public Generated.Event.Builder clearInvolvedObject()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
getInvolvedObjectBuilder
public Generated.ObjectReference.Builder getInvolvedObjectBuilder()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;
-
getInvolvedObjectOrBuilder
public Generated.ObjectReferenceOrBuilder getInvolvedObjectOrBuilder()
The object that this event is about.
optional .k8s.io.api.core.v1.ObjectReference involvedObject = 2;- Specified by:
getInvolvedObjectOrBuilderin interfaceGenerated.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:
hasReasonin interfaceGenerated.EventOrBuilder- Returns:
- Whether the reason field is set.
-
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:
getReasonin interfaceGenerated.EventOrBuilder- Returns:
- The reason.
-
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:
getReasonBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for reason.
-
setReason
public Generated.Event.Builder setReason(String value)
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;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
public Generated.Event.Builder clearReason()
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:
- This builder for chaining.
-
setReasonBytes
public Generated.Event.Builder setReasonBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
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:
hasMessagein interfaceGenerated.EventOrBuilder- Returns:
- Whether the message field is set.
-
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:
getMessagein interfaceGenerated.EventOrBuilder- Returns:
- The message.
-
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:
getMessageBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for message.
-
setMessage
public Generated.Event.Builder setMessage(String value)
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
public Generated.Event.Builder clearMessage()
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;- Returns:
- This builder for chaining.
-
setMessageBytes
public Generated.Event.Builder setMessageBytes(com.google.protobuf.ByteString value)
A human-readable description of the status of this operation. TODO: decide on maximum length. +optional
optional string message = 4;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-
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:
hasSourcein interfaceGenerated.EventOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public 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;- Specified by:
getSourcein interfaceGenerated.EventOrBuilder- Returns:
- The source.
-
setSource
public Generated.Event.Builder setSource(Generated.EventSource value)
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
setSource
public Generated.Event.Builder setSource(Generated.EventSource.Builder builderForValue)
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
mergeSource
public Generated.Event.Builder mergeSource(Generated.EventSource value)
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
clearSource
public Generated.Event.Builder clearSource()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
getSourceBuilder
public Generated.EventSource.Builder getSourceBuilder()
The component reporting this event. Should be a short machine understandable string. +optional
optional .k8s.io.api.core.v1.EventSource source = 5;
-
getSourceOrBuilder
public 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;- Specified by:
getSourceOrBuilderin interfaceGenerated.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:
hasFirstTimestampin interfaceGenerated.EventOrBuilder- Returns:
- Whether the firstTimestamp field is set.
-
getFirstTimestamp
public 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;- Specified by:
getFirstTimestampin interfaceGenerated.EventOrBuilder- Returns:
- The firstTimestamp.
-
setFirstTimestamp
public Generated.Event.Builder setFirstTimestamp(Generated.Time value)
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;
-
setFirstTimestamp
public Generated.Event.Builder setFirstTimestamp(Generated.Time.Builder builderForValue)
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;
-
mergeFirstTimestamp
public Generated.Event.Builder mergeFirstTimestamp(Generated.Time value)
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;
-
clearFirstTimestamp
public Generated.Event.Builder clearFirstTimestamp()
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;
-
getFirstTimestampBuilder
public Generated.Time.Builder getFirstTimestampBuilder()
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
public 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;- Specified by:
getFirstTimestampOrBuilderin interfaceGenerated.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:
hasLastTimestampin interfaceGenerated.EventOrBuilder- Returns:
- Whether the lastTimestamp field is set.
-
getLastTimestamp
public 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;- Specified by:
getLastTimestampin interfaceGenerated.EventOrBuilder- Returns:
- The lastTimestamp.
-
setLastTimestamp
public Generated.Event.Builder setLastTimestamp(Generated.Time value)
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;
-
setLastTimestamp
public Generated.Event.Builder setLastTimestamp(Generated.Time.Builder builderForValue)
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;
-
mergeLastTimestamp
public Generated.Event.Builder mergeLastTimestamp(Generated.Time value)
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;
-
clearLastTimestamp
public Generated.Event.Builder clearLastTimestamp()
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;
-
getLastTimestampBuilder
public Generated.Time.Builder getLastTimestampBuilder()
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
public 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;- Specified by:
getLastTimestampOrBuilderin interfaceGenerated.EventOrBuilder
-
hasCount
public boolean hasCount()
The number of times this event has occurred. +optional
optional int32 count = 8;- Specified by:
hasCountin interfaceGenerated.EventOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public int getCount()
The number of times this event has occurred. +optional
optional int32 count = 8;- Specified by:
getCountin interfaceGenerated.EventOrBuilder- Returns:
- The count.
-
setCount
public Generated.Event.Builder setCount(int value)
The number of times this event has occurred. +optional
optional int32 count = 8;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
public Generated.Event.Builder clearCount()
The number of times this event has occurred. +optional
optional int32 count = 8;- Returns:
- This builder for chaining.
-
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:
hasTypein interfaceGenerated.EventOrBuilder- Returns:
- Whether the type field is set.
-
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:
getTypein interfaceGenerated.EventOrBuilder- Returns:
- The type.
-
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:
getTypeBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for type.
-
setType
public Generated.Event.Builder setType(String value)
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Generated.Event.Builder clearType()
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Returns:
- This builder for chaining.
-
setTypeBytes
public Generated.Event.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type of this event (Normal, Warning), new types could be added in the future +optional
optional string type = 9;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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:
hasEventTimein interfaceGenerated.EventOrBuilder- Returns:
- Whether the eventTime field is set.
-
getEventTime
public Generated.MicroTime getEventTime()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;- Specified by:
getEventTimein interfaceGenerated.EventOrBuilder- Returns:
- The eventTime.
-
setEventTime
public Generated.Event.Builder setEventTime(Generated.MicroTime value)
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
setEventTime
public Generated.Event.Builder setEventTime(Generated.MicroTime.Builder builderForValue)
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
mergeEventTime
public Generated.Event.Builder mergeEventTime(Generated.MicroTime value)
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
clearEventTime
public Generated.Event.Builder clearEventTime()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
getEventTimeBuilder
public Generated.MicroTime.Builder getEventTimeBuilder()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;
-
getEventTimeOrBuilder
public Generated.MicroTimeOrBuilder getEventTimeOrBuilder()
Time when this Event was first observed. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 10;- Specified by:
getEventTimeOrBuilderin interfaceGenerated.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:
hasSeriesin interfaceGenerated.EventOrBuilder- Returns:
- Whether the series field is set.
-
getSeries
public 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;- Specified by:
getSeriesin interfaceGenerated.EventOrBuilder- Returns:
- The series.
-
setSeries
public Generated.Event.Builder setSeries(Generated.EventSeries value)
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;
-
setSeries
public Generated.Event.Builder setSeries(Generated.EventSeries.Builder builderForValue)
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;
-
mergeSeries
public Generated.Event.Builder mergeSeries(Generated.EventSeries value)
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;
-
clearSeries
public Generated.Event.Builder clearSeries()
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;
-
getSeriesBuilder
public Generated.EventSeries.Builder getSeriesBuilder()
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;
-
getSeriesOrBuilder
public 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;- Specified by:
getSeriesOrBuilderin interfaceGenerated.EventOrBuilder
-
hasAction
public boolean hasAction()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Specified by:
hasActionin interfaceGenerated.EventOrBuilder- Returns:
- Whether the action field is set.
-
getAction
public String getAction()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Specified by:
getActionin interfaceGenerated.EventOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Specified by:
getActionBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for action.
-
setAction
public Generated.Event.Builder setAction(String value)
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
public Generated.Event.Builder clearAction()
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Returns:
- This builder for chaining.
-
setActionBytes
public Generated.Event.Builder setActionBytes(com.google.protobuf.ByteString value)
What action was taken/failed regarding to the Regarding object. +optional
optional string action = 12;- Parameters:
value- The bytes for action to set.- Returns:
- This builder for chaining.
-
hasRelated
public boolean hasRelated()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;- Specified by:
hasRelatedin interfaceGenerated.EventOrBuilder- Returns:
- Whether the related field is set.
-
getRelated
public Generated.ObjectReference getRelated()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;- Specified by:
getRelatedin interfaceGenerated.EventOrBuilder- Returns:
- The related.
-
setRelated
public Generated.Event.Builder setRelated(Generated.ObjectReference value)
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
setRelated
public Generated.Event.Builder setRelated(Generated.ObjectReference.Builder builderForValue)
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
mergeRelated
public Generated.Event.Builder mergeRelated(Generated.ObjectReference value)
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
clearRelated
public Generated.Event.Builder clearRelated()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
getRelatedBuilder
public Generated.ObjectReference.Builder getRelatedBuilder()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;
-
getRelatedOrBuilder
public Generated.ObjectReferenceOrBuilder getRelatedOrBuilder()
Optional secondary object for more complex actions. +optional
optional .k8s.io.api.core.v1.ObjectReference related = 13;- Specified by:
getRelatedOrBuilderin interfaceGenerated.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:
hasReportingComponentin interfaceGenerated.EventOrBuilder- Returns:
- Whether the reportingComponent field is set.
-
getReportingComponent
public String getReportingComponent()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Specified by:
getReportingComponentin interfaceGenerated.EventOrBuilder- Returns:
- The reportingComponent.
-
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:
getReportingComponentBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for reportingComponent.
-
setReportingComponent
public Generated.Event.Builder setReportingComponent(String value)
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Parameters:
value- The reportingComponent to set.- Returns:
- This builder for chaining.
-
clearReportingComponent
public Generated.Event.Builder clearReportingComponent()
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Returns:
- This builder for chaining.
-
setReportingComponentBytes
public Generated.Event.Builder setReportingComponentBytes(com.google.protobuf.ByteString value)
Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. +optional
optional string reportingComponent = 14;- Parameters:
value- The bytes for reportingComponent to set.- Returns:
- This builder for chaining.
-
hasReportingInstance
public boolean hasReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Specified by:
hasReportingInstancein interfaceGenerated.EventOrBuilder- Returns:
- Whether the reportingInstance field is set.
-
getReportingInstance
public String getReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Specified by:
getReportingInstancein interfaceGenerated.EventOrBuilder- Returns:
- The reportingInstance.
-
getReportingInstanceBytes
public com.google.protobuf.ByteString getReportingInstanceBytes()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Specified by:
getReportingInstanceBytesin interfaceGenerated.EventOrBuilder- Returns:
- The bytes for reportingInstance.
-
setReportingInstance
public Generated.Event.Builder setReportingInstance(String value)
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Parameters:
value- The reportingInstance to set.- Returns:
- This builder for chaining.
-
clearReportingInstance
public Generated.Event.Builder clearReportingInstance()
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Returns:
- This builder for chaining.
-
setReportingInstanceBytes
public Generated.Event.Builder setReportingInstanceBytes(com.google.protobuf.ByteString value)
ID of the controller instance, e.g. `kubelet-xyzf`. +optional
optional string reportingInstance = 15;- Parameters:
value- The bytes for reportingInstance to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.Event.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
mergeUnknownFields
public final Generated.Event.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
-
-