Class 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 type k8s.io.api.core.v1.Event
    • Method Detail

      • 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.Builder<Generated.Event.Builder>
      • clear

        public Generated.Event.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • getDefaultInstanceForType

        public Generated.Event getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.Event build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.Event buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Generated.Event.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • setField

        public Generated.Event.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • clearField

        public Generated.Event.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • clearOneof

        public Generated.Event.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • addRepeatedField

        public Generated.Event.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                        Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • mergeFrom

        public Generated.Event.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Generated.Event.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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:
        hasMetadata in interface Generated.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:
        getMetadata in interface Generated.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;
      • 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 Generated.EventOrBuilder
        Returns:
        Whether the involvedObject field is set.
      • 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;
      • 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 Generated.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:
        getReason in interface Generated.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:
        getReasonBytes in interface Generated.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:
        hasMessage in interface Generated.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:
        getMessage in interface Generated.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:
        getMessageBytes in interface Generated.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:
        hasSource in interface Generated.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:
        getSource in interface Generated.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;
      • 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;
      • 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 Generated.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:
        getFirstTimestamp in interface Generated.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;
      • 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 Generated.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:
        getLastTimestamp in interface Generated.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;
      • hasCount

        public boolean hasCount()
         The number of times this event has occurred.
         +optional
         
        optional int32 count = 8;
        Specified by:
        hasCount in interface Generated.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:
        getCount in interface Generated.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:
        hasType in interface Generated.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:
        getType in interface Generated.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:
        getTypeBytes in interface Generated.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:
        hasEventTime in interface Generated.EventOrBuilder
        Returns:
        Whether the eventTime field is set.
      • 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;
      • 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;
      • 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 Generated.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:
        getSeries in interface Generated.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;
      • 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;
      • hasAction

        public boolean hasAction()
         What action was taken/failed regarding to the Regarding object.
         +optional
         
        optional string action = 12;
        Specified by:
        hasAction in interface Generated.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:
        getAction in interface Generated.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:
        getActionBytes in interface Generated.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:
        hasRelated in interface Generated.EventOrBuilder
        Returns:
        Whether the related field is set.
      • 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;
      • 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 Generated.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:
        getReportingComponent in interface Generated.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:
        getReportingComponentBytes in interface Generated.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:
        hasReportingInstance in interface Generated.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:
        getReportingInstance in interface Generated.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:
        getReportingInstanceBytes in interface Generated.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:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>
      • mergeUnknownFields

        public final Generated.Event.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.Event.Builder>