Class HistoryEvent
- Namespace
- Temporalio.Api.History.V1
- Assembly
- Temporalio.dll
History events are the method by which Temporal SDKs advance (or recreate) workflow state.
See the EventType
enum for more info about what each event is for.
public sealed class HistoryEvent : IMessage<HistoryEvent>, IEquatable<HistoryEvent>, IDeepCloneable<HistoryEvent>, IBufferMessage, IMessage
- Inheritance
-
HistoryEvent
- Implements
-
IMessage<HistoryEvent>IDeepCloneable<HistoryEvent>IBufferMessageIMessage
- Inherited Members
Constructors
HistoryEvent()
public HistoryEvent()
HistoryEvent(HistoryEvent)
public HistoryEvent(HistoryEvent other)
Parameters
other
HistoryEvent
Fields
ActivityPropertiesModifiedExternallyEventAttributesFieldNumber
Field number for the "activity_properties_modified_externally_event_attributes" field.
public const int ActivityPropertiesModifiedExternallyEventAttributesFieldNumber = 50
Field Value
ActivityTaskCancelRequestedEventAttributesFieldNumber
Field number for the "activity_task_cancel_requested_event_attributes" field.
public const int ActivityTaskCancelRequestedEventAttributesFieldNumber = 22
Field Value
ActivityTaskCanceledEventAttributesFieldNumber
Field number for the "activity_task_canceled_event_attributes" field.
public const int ActivityTaskCanceledEventAttributesFieldNumber = 23
Field Value
ActivityTaskCompletedEventAttributesFieldNumber
Field number for the "activity_task_completed_event_attributes" field.
public const int ActivityTaskCompletedEventAttributesFieldNumber = 17
Field Value
ActivityTaskFailedEventAttributesFieldNumber
Field number for the "activity_task_failed_event_attributes" field.
public const int ActivityTaskFailedEventAttributesFieldNumber = 18
Field Value
ActivityTaskScheduledEventAttributesFieldNumber
Field number for the "activity_task_scheduled_event_attributes" field.
public const int ActivityTaskScheduledEventAttributesFieldNumber = 15
Field Value
ActivityTaskStartedEventAttributesFieldNumber
Field number for the "activity_task_started_event_attributes" field.
public const int ActivityTaskStartedEventAttributesFieldNumber = 16
Field Value
ActivityTaskTimedOutEventAttributesFieldNumber
Field number for the "activity_task_timed_out_event_attributes" field.
public const int ActivityTaskTimedOutEventAttributesFieldNumber = 19
Field Value
ChildWorkflowExecutionCanceledEventAttributesFieldNumber
Field number for the "child_workflow_execution_canceled_event_attributes" field.
public const int ChildWorkflowExecutionCanceledEventAttributesFieldNumber = 39
Field Value
ChildWorkflowExecutionCompletedEventAttributesFieldNumber
Field number for the "child_workflow_execution_completed_event_attributes" field.
public const int ChildWorkflowExecutionCompletedEventAttributesFieldNumber = 37
Field Value
ChildWorkflowExecutionFailedEventAttributesFieldNumber
Field number for the "child_workflow_execution_failed_event_attributes" field.
public const int ChildWorkflowExecutionFailedEventAttributesFieldNumber = 38
Field Value
ChildWorkflowExecutionStartedEventAttributesFieldNumber
Field number for the "child_workflow_execution_started_event_attributes" field.
public const int ChildWorkflowExecutionStartedEventAttributesFieldNumber = 36
Field Value
ChildWorkflowExecutionTerminatedEventAttributesFieldNumber
Field number for the "child_workflow_execution_terminated_event_attributes" field.
public const int ChildWorkflowExecutionTerminatedEventAttributesFieldNumber = 41
Field Value
ChildWorkflowExecutionTimedOutEventAttributesFieldNumber
Field number for the "child_workflow_execution_timed_out_event_attributes" field.
public const int ChildWorkflowExecutionTimedOutEventAttributesFieldNumber = 40
Field Value
EventIdFieldNumber
Field number for the "event_id" field.
public const int EventIdFieldNumber = 1
Field Value
EventTimeFieldNumber
Field number for the "event_time" field.
public const int EventTimeFieldNumber = 2
Field Value
EventTypeFieldNumber
Field number for the "event_type" field.
public const int EventTypeFieldNumber = 3
Field Value
ExternalWorkflowExecutionCancelRequestedEventAttributesFieldNumber
Field number for the "external_workflow_execution_cancel_requested_event_attributes" field.
public const int ExternalWorkflowExecutionCancelRequestedEventAttributesFieldNumber = 32
Field Value
ExternalWorkflowExecutionSignaledEventAttributesFieldNumber
Field number for the "external_workflow_execution_signaled_event_attributes" field.
public const int ExternalWorkflowExecutionSignaledEventAttributesFieldNumber = 44
Field Value
MarkerRecordedEventAttributesFieldNumber
Field number for the "marker_recorded_event_attributes" field.
public const int MarkerRecordedEventAttributesFieldNumber = 25
Field Value
NexusOperationCancelRequestedEventAttributesFieldNumber
Field number for the "nexus_operation_cancel_requested_event_attributes" field.
public const int NexusOperationCancelRequestedEventAttributesFieldNumber = 59
Field Value
NexusOperationCanceledEventAttributesFieldNumber
Field number for the "nexus_operation_canceled_event_attributes" field.
public const int NexusOperationCanceledEventAttributesFieldNumber = 57
Field Value
NexusOperationCompletedEventAttributesFieldNumber
Field number for the "nexus_operation_completed_event_attributes" field.
public const int NexusOperationCompletedEventAttributesFieldNumber = 55
Field Value
NexusOperationFailedEventAttributesFieldNumber
Field number for the "nexus_operation_failed_event_attributes" field.
public const int NexusOperationFailedEventAttributesFieldNumber = 56
Field Value
NexusOperationScheduledEventAttributesFieldNumber
Field number for the "nexus_operation_scheduled_event_attributes" field.
public const int NexusOperationScheduledEventAttributesFieldNumber = 53
Field Value
NexusOperationStartedEventAttributesFieldNumber
Field number for the "nexus_operation_started_event_attributes" field.
public const int NexusOperationStartedEventAttributesFieldNumber = 54
Field Value
NexusOperationTimedOutEventAttributesFieldNumber
Field number for the "nexus_operation_timed_out_event_attributes" field.
public const int NexusOperationTimedOutEventAttributesFieldNumber = 58
Field Value
RequestCancelExternalWorkflowExecutionFailedEventAttributesFieldNumber
Field number for the "request_cancel_external_workflow_execution_failed_event_attributes" field.
public const int RequestCancelExternalWorkflowExecutionFailedEventAttributesFieldNumber = 31
Field Value
RequestCancelExternalWorkflowExecutionInitiatedEventAttributesFieldNumber
Field number for the "request_cancel_external_workflow_execution_initiated_event_attributes" field.
public const int RequestCancelExternalWorkflowExecutionInitiatedEventAttributesFieldNumber = 30
Field Value
SignalExternalWorkflowExecutionFailedEventAttributesFieldNumber
Field number for the "signal_external_workflow_execution_failed_event_attributes" field.
public const int SignalExternalWorkflowExecutionFailedEventAttributesFieldNumber = 43
Field Value
SignalExternalWorkflowExecutionInitiatedEventAttributesFieldNumber
Field number for the "signal_external_workflow_execution_initiated_event_attributes" field.
public const int SignalExternalWorkflowExecutionInitiatedEventAttributesFieldNumber = 42
Field Value
StartChildWorkflowExecutionFailedEventAttributesFieldNumber
Field number for the "start_child_workflow_execution_failed_event_attributes" field.
public const int StartChildWorkflowExecutionFailedEventAttributesFieldNumber = 35
Field Value
StartChildWorkflowExecutionInitiatedEventAttributesFieldNumber
Field number for the "start_child_workflow_execution_initiated_event_attributes" field.
public const int StartChildWorkflowExecutionInitiatedEventAttributesFieldNumber = 34
Field Value
TaskIdFieldNumber
Field number for the "task_id" field.
public const int TaskIdFieldNumber = 5
Field Value
TimerCanceledEventAttributesFieldNumber
Field number for the "timer_canceled_event_attributes" field.
public const int TimerCanceledEventAttributesFieldNumber = 24
Field Value
TimerFiredEventAttributesFieldNumber
Field number for the "timer_fired_event_attributes" field.
public const int TimerFiredEventAttributesFieldNumber = 21
Field Value
TimerStartedEventAttributesFieldNumber
Field number for the "timer_started_event_attributes" field.
public const int TimerStartedEventAttributesFieldNumber = 20
Field Value
UpsertWorkflowSearchAttributesEventAttributesFieldNumber
Field number for the "upsert_workflow_search_attributes_event_attributes" field.
public const int UpsertWorkflowSearchAttributesEventAttributesFieldNumber = 45
Field Value
UserMetadataFieldNumber
Field number for the "user_metadata" field.
public const int UserMetadataFieldNumber = 301
Field Value
VersionFieldNumber
Field number for the "version" field.
public const int VersionFieldNumber = 4
Field Value
WorkerMayIgnoreFieldNumber
Field number for the "worker_may_ignore" field.
public const int WorkerMayIgnoreFieldNumber = 300
Field Value
WorkflowExecutionCancelRequestedEventAttributesFieldNumber
Field number for the "workflow_execution_cancel_requested_event_attributes" field.
public const int WorkflowExecutionCancelRequestedEventAttributesFieldNumber = 28
Field Value
WorkflowExecutionCanceledEventAttributesFieldNumber
Field number for the "workflow_execution_canceled_event_attributes" field.
public const int WorkflowExecutionCanceledEventAttributesFieldNumber = 29
Field Value
WorkflowExecutionCompletedEventAttributesFieldNumber
Field number for the "workflow_execution_completed_event_attributes" field.
public const int WorkflowExecutionCompletedEventAttributesFieldNumber = 7
Field Value
WorkflowExecutionContinuedAsNewEventAttributesFieldNumber
Field number for the "workflow_execution_continued_as_new_event_attributes" field.
public const int WorkflowExecutionContinuedAsNewEventAttributesFieldNumber = 33
Field Value
WorkflowExecutionFailedEventAttributesFieldNumber
Field number for the "workflow_execution_failed_event_attributes" field.
public const int WorkflowExecutionFailedEventAttributesFieldNumber = 8
Field Value
WorkflowExecutionSignaledEventAttributesFieldNumber
Field number for the "workflow_execution_signaled_event_attributes" field.
public const int WorkflowExecutionSignaledEventAttributesFieldNumber = 26
Field Value
WorkflowExecutionStartedEventAttributesFieldNumber
Field number for the "workflow_execution_started_event_attributes" field.
public const int WorkflowExecutionStartedEventAttributesFieldNumber = 6
Field Value
WorkflowExecutionTerminatedEventAttributesFieldNumber
Field number for the "workflow_execution_terminated_event_attributes" field.
public const int WorkflowExecutionTerminatedEventAttributesFieldNumber = 27
Field Value
WorkflowExecutionTimedOutEventAttributesFieldNumber
Field number for the "workflow_execution_timed_out_event_attributes" field.
public const int WorkflowExecutionTimedOutEventAttributesFieldNumber = 9
Field Value
WorkflowExecutionUpdateAcceptedEventAttributesFieldNumber
Field number for the "workflow_execution_update_accepted_event_attributes" field.
public const int WorkflowExecutionUpdateAcceptedEventAttributesFieldNumber = 46
Field Value
WorkflowExecutionUpdateAdmittedEventAttributesFieldNumber
Field number for the "workflow_execution_update_admitted_event_attributes" field.
public const int WorkflowExecutionUpdateAdmittedEventAttributesFieldNumber = 52
Field Value
WorkflowExecutionUpdateCompletedEventAttributesFieldNumber
Field number for the "workflow_execution_update_completed_event_attributes" field.
public const int WorkflowExecutionUpdateCompletedEventAttributesFieldNumber = 48
Field Value
WorkflowExecutionUpdateRejectedEventAttributesFieldNumber
Field number for the "workflow_execution_update_rejected_event_attributes" field.
public const int WorkflowExecutionUpdateRejectedEventAttributesFieldNumber = 47
Field Value
WorkflowPropertiesModifiedEventAttributesFieldNumber
Field number for the "workflow_properties_modified_event_attributes" field.
public const int WorkflowPropertiesModifiedEventAttributesFieldNumber = 51
Field Value
WorkflowPropertiesModifiedExternallyEventAttributesFieldNumber
Field number for the "workflow_properties_modified_externally_event_attributes" field.
public const int WorkflowPropertiesModifiedExternallyEventAttributesFieldNumber = 49
Field Value
WorkflowTaskCompletedEventAttributesFieldNumber
Field number for the "workflow_task_completed_event_attributes" field.
public const int WorkflowTaskCompletedEventAttributesFieldNumber = 12
Field Value
WorkflowTaskFailedEventAttributesFieldNumber
Field number for the "workflow_task_failed_event_attributes" field.
public const int WorkflowTaskFailedEventAttributesFieldNumber = 14
Field Value
WorkflowTaskScheduledEventAttributesFieldNumber
Field number for the "workflow_task_scheduled_event_attributes" field.
public const int WorkflowTaskScheduledEventAttributesFieldNumber = 10
Field Value
WorkflowTaskStartedEventAttributesFieldNumber
Field number for the "workflow_task_started_event_attributes" field.
public const int WorkflowTaskStartedEventAttributesFieldNumber = 11
Field Value
WorkflowTaskTimedOutEventAttributesFieldNumber
Field number for the "workflow_task_timed_out_event_attributes" field.
public const int WorkflowTaskTimedOutEventAttributesFieldNumber = 13
Field Value
Properties
ActivityPropertiesModifiedExternallyEventAttributes
public ActivityPropertiesModifiedExternallyEventAttributes ActivityPropertiesModifiedExternallyEventAttributes { get; set; }
Property Value
ActivityTaskCancelRequestedEventAttributes
public ActivityTaskCancelRequestedEventAttributes ActivityTaskCancelRequestedEventAttributes { get; set; }
Property Value
ActivityTaskCanceledEventAttributes
public ActivityTaskCanceledEventAttributes ActivityTaskCanceledEventAttributes { get; set; }
Property Value
ActivityTaskCompletedEventAttributes
public ActivityTaskCompletedEventAttributes ActivityTaskCompletedEventAttributes { get; set; }
Property Value
ActivityTaskFailedEventAttributes
public ActivityTaskFailedEventAttributes ActivityTaskFailedEventAttributes { get; set; }
Property Value
ActivityTaskScheduledEventAttributes
public ActivityTaskScheduledEventAttributes ActivityTaskScheduledEventAttributes { get; set; }
Property Value
ActivityTaskStartedEventAttributes
public ActivityTaskStartedEventAttributes ActivityTaskStartedEventAttributes { get; set; }
Property Value
ActivityTaskTimedOutEventAttributes
public ActivityTaskTimedOutEventAttributes ActivityTaskTimedOutEventAttributes { get; set; }
Property Value
AttributesCase
public HistoryEvent.AttributesOneofCase AttributesCase { get; }
Property Value
ChildWorkflowExecutionCanceledEventAttributes
public ChildWorkflowExecutionCanceledEventAttributes ChildWorkflowExecutionCanceledEventAttributes { get; set; }
Property Value
ChildWorkflowExecutionCompletedEventAttributes
public ChildWorkflowExecutionCompletedEventAttributes ChildWorkflowExecutionCompletedEventAttributes { get; set; }
Property Value
ChildWorkflowExecutionFailedEventAttributes
public ChildWorkflowExecutionFailedEventAttributes ChildWorkflowExecutionFailedEventAttributes { get; set; }
Property Value
ChildWorkflowExecutionStartedEventAttributes
public ChildWorkflowExecutionStartedEventAttributes ChildWorkflowExecutionStartedEventAttributes { get; set; }
Property Value
ChildWorkflowExecutionTerminatedEventAttributes
public ChildWorkflowExecutionTerminatedEventAttributes ChildWorkflowExecutionTerminatedEventAttributes { get; set; }
Property Value
ChildWorkflowExecutionTimedOutEventAttributes
public ChildWorkflowExecutionTimedOutEventAttributes ChildWorkflowExecutionTimedOutEventAttributes { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EventId
Monotonically increasing event number, starts at 1.
public long EventId { get; set; }
Property Value
EventTime
public Timestamp EventTime { get; set; }
Property Value
- Timestamp
EventType
public EventType EventType { get; set; }
Property Value
ExternalWorkflowExecutionCancelRequestedEventAttributes
public ExternalWorkflowExecutionCancelRequestedEventAttributes ExternalWorkflowExecutionCancelRequestedEventAttributes { get; set; }
Property Value
ExternalWorkflowExecutionSignaledEventAttributes
public ExternalWorkflowExecutionSignaledEventAttributes ExternalWorkflowExecutionSignaledEventAttributes { get; set; }
Property Value
MarkerRecordedEventAttributes
public MarkerRecordedEventAttributes MarkerRecordedEventAttributes { get; set; }
Property Value
NexusOperationCancelRequestedEventAttributes
public NexusOperationCancelRequestedEventAttributes NexusOperationCancelRequestedEventAttributes { get; set; }
Property Value
NexusOperationCanceledEventAttributes
public NexusOperationCanceledEventAttributes NexusOperationCanceledEventAttributes { get; set; }
Property Value
NexusOperationCompletedEventAttributes
public NexusOperationCompletedEventAttributes NexusOperationCompletedEventAttributes { get; set; }
Property Value
NexusOperationFailedEventAttributes
public NexusOperationFailedEventAttributes NexusOperationFailedEventAttributes { get; set; }
Property Value
NexusOperationScheduledEventAttributes
public NexusOperationScheduledEventAttributes NexusOperationScheduledEventAttributes { get; set; }
Property Value
NexusOperationStartedEventAttributes
public NexusOperationStartedEventAttributes NexusOperationStartedEventAttributes { get; set; }
Property Value
NexusOperationTimedOutEventAttributes
public NexusOperationTimedOutEventAttributes NexusOperationTimedOutEventAttributes { get; set; }
Property Value
Parser
public static MessageParser<HistoryEvent> Parser { get; }
Property Value
- MessageParser<HistoryEvent>
RequestCancelExternalWorkflowExecutionFailedEventAttributes
public RequestCancelExternalWorkflowExecutionFailedEventAttributes RequestCancelExternalWorkflowExecutionFailedEventAttributes { get; set; }
Property Value
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
public RequestCancelExternalWorkflowExecutionInitiatedEventAttributes RequestCancelExternalWorkflowExecutionInitiatedEventAttributes { get; set; }
Property Value
SignalExternalWorkflowExecutionFailedEventAttributes
public SignalExternalWorkflowExecutionFailedEventAttributes SignalExternalWorkflowExecutionFailedEventAttributes { get; set; }
Property Value
SignalExternalWorkflowExecutionInitiatedEventAttributes
public SignalExternalWorkflowExecutionInitiatedEventAttributes SignalExternalWorkflowExecutionInitiatedEventAttributes { get; set; }
Property Value
StartChildWorkflowExecutionFailedEventAttributes
public StartChildWorkflowExecutionFailedEventAttributes StartChildWorkflowExecutionFailedEventAttributes { get; set; }
Property Value
StartChildWorkflowExecutionInitiatedEventAttributes
public StartChildWorkflowExecutionInitiatedEventAttributes StartChildWorkflowExecutionInitiatedEventAttributes { get; set; }
Property Value
TaskId
TODO: What is this? Appears unused by SDKs
public long TaskId { get; set; }
Property Value
TimerCanceledEventAttributes
public TimerCanceledEventAttributes TimerCanceledEventAttributes { get; set; }
Property Value
TimerFiredEventAttributes
public TimerFiredEventAttributes TimerFiredEventAttributes { get; set; }
Property Value
TimerStartedEventAttributes
public TimerStartedEventAttributes TimerStartedEventAttributes { get; set; }
Property Value
UpsertWorkflowSearchAttributesEventAttributes
public UpsertWorkflowSearchAttributesEventAttributes UpsertWorkflowSearchAttributesEventAttributes { get; set; }
Property Value
UserMetadata
Metadata on the event. This is often carried over from commands and client calls. Most events won't have this information, and how this information is used is dependent upon the interface that reads it.
Current well-known uses:
- workflow_execution_started_event_attributes - summary and details from start workflow.
- timer_started_event_attributes - summary represents an identifier for the timer for use by user interfaces.
public UserMetadata UserMetadata { get; set; }
Property Value
Version
TODO: What is this? Appears unused by SDKs
public long Version { get; set; }
Property Value
WorkerMayIgnore
Set to true when the SDK may ignore the event as it does not impact workflow state or information in any way that the SDK need be concerned with. If an SDK encounters an event type which it does not understand, it must error unless this is true. If it is true, it's acceptable for the event type and/or attributes to be uninterpretable.
public bool WorkerMayIgnore { get; set; }
Property Value
WorkflowExecutionCancelRequestedEventAttributes
public WorkflowExecutionCancelRequestedEventAttributes WorkflowExecutionCancelRequestedEventAttributes { get; set; }
Property Value
WorkflowExecutionCanceledEventAttributes
public WorkflowExecutionCanceledEventAttributes WorkflowExecutionCanceledEventAttributes { get; set; }
Property Value
WorkflowExecutionCompletedEventAttributes
public WorkflowExecutionCompletedEventAttributes WorkflowExecutionCompletedEventAttributes { get; set; }
Property Value
WorkflowExecutionContinuedAsNewEventAttributes
public WorkflowExecutionContinuedAsNewEventAttributes WorkflowExecutionContinuedAsNewEventAttributes { get; set; }
Property Value
WorkflowExecutionFailedEventAttributes
public WorkflowExecutionFailedEventAttributes WorkflowExecutionFailedEventAttributes { get; set; }
Property Value
WorkflowExecutionSignaledEventAttributes
public WorkflowExecutionSignaledEventAttributes WorkflowExecutionSignaledEventAttributes { get; set; }
Property Value
WorkflowExecutionStartedEventAttributes
public WorkflowExecutionStartedEventAttributes WorkflowExecutionStartedEventAttributes { get; set; }
Property Value
WorkflowExecutionTerminatedEventAttributes
public WorkflowExecutionTerminatedEventAttributes WorkflowExecutionTerminatedEventAttributes { get; set; }
Property Value
WorkflowExecutionTimedOutEventAttributes
public WorkflowExecutionTimedOutEventAttributes WorkflowExecutionTimedOutEventAttributes { get; set; }
Property Value
WorkflowExecutionUpdateAcceptedEventAttributes
public WorkflowExecutionUpdateAcceptedEventAttributes WorkflowExecutionUpdateAcceptedEventAttributes { get; set; }
Property Value
WorkflowExecutionUpdateAdmittedEventAttributes
public WorkflowExecutionUpdateAdmittedEventAttributes WorkflowExecutionUpdateAdmittedEventAttributes { get; set; }
Property Value
WorkflowExecutionUpdateCompletedEventAttributes
public WorkflowExecutionUpdateCompletedEventAttributes WorkflowExecutionUpdateCompletedEventAttributes { get; set; }
Property Value
WorkflowExecutionUpdateRejectedEventAttributes
public WorkflowExecutionUpdateRejectedEventAttributes WorkflowExecutionUpdateRejectedEventAttributes { get; set; }
Property Value
WorkflowPropertiesModifiedEventAttributes
public WorkflowPropertiesModifiedEventAttributes WorkflowPropertiesModifiedEventAttributes { get; set; }
Property Value
WorkflowPropertiesModifiedExternallyEventAttributes
public WorkflowPropertiesModifiedExternallyEventAttributes WorkflowPropertiesModifiedExternallyEventAttributes { get; set; }
Property Value
WorkflowTaskCompletedEventAttributes
public WorkflowTaskCompletedEventAttributes WorkflowTaskCompletedEventAttributes { get; set; }
Property Value
WorkflowTaskFailedEventAttributes
public WorkflowTaskFailedEventAttributes WorkflowTaskFailedEventAttributes { get; set; }
Property Value
WorkflowTaskScheduledEventAttributes
public WorkflowTaskScheduledEventAttributes WorkflowTaskScheduledEventAttributes { get; set; }
Property Value
WorkflowTaskStartedEventAttributes
public WorkflowTaskStartedEventAttributes WorkflowTaskStartedEventAttributes { get; set; }
Property Value
WorkflowTaskTimedOutEventAttributes
public WorkflowTaskTimedOutEventAttributes WorkflowTaskTimedOutEventAttributes { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearAttributes()
public void ClearAttributes()
Clone()
Creates a deep clone of this object.
public HistoryEvent Clone()
Returns
- HistoryEvent
A deep clone of this object.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
Equals(HistoryEvent)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(HistoryEvent other)
Parameters
other
HistoryEventAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
input
CodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(HistoryEvent)
Merges the given message into this one.
public void MergeFrom(HistoryEvent other)
Parameters
other
HistoryEvent
Remarks
See the user guide for precise merge semantics.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
output
CodedOutputStreamCoded output stream to write the data to. Must not be null.