Class MarkerRecordedEventAttributes

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.history.v1.MarkerRecordedEventAttributes
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MarkerRecordedEventAttributesOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:MarkerRecordedEventAttributes.java.pb.meta") public final class MarkerRecordedEventAttributes extends com.google.protobuf.GeneratedMessageV3 implements MarkerRecordedEventAttributesOrBuilder
Protobuf type temporal.api.history.v1.MarkerRecordedEventAttributes
See Also:
  • Field Details

    • MARKER_NAME_FIELD_NUMBER

      public static final int MARKER_NAME_FIELD_NUMBER
      See Also:
    • DETAILS_FIELD_NUMBER

      public static final int DETAILS_FIELD_NUMBER
      See Also:
    • WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER

      public static final int WORKFLOW_TASK_COMPLETED_EVENT_ID_FIELD_NUMBER
      See Also:
    • HEADER_FIELD_NUMBER

      public static final int HEADER_FIELD_NUMBER
      See Also:
    • FAILURE_FIELD_NUMBER

      public static final int FAILURE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getMarkerName

      public String getMarkerName()
       Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
       
      string marker_name = 1;
      Specified by:
      getMarkerName in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      The markerName.
    • getMarkerNameBytes

      public com.google.protobuf.ByteString getMarkerNameBytes()
       Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
       
      string marker_name = 1;
      Specified by:
      getMarkerNameBytes in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      The bytes for markerName.
    • getDetailsCount

      public int getDetailsCount()
      Description copied from interface: MarkerRecordedEventAttributesOrBuilder
       Serialized information recorded in the marker
       
      map<string, .temporal.api.common.v1.Payloads> details = 2;
      Specified by:
      getDetailsCount in interface MarkerRecordedEventAttributesOrBuilder
    • containsDetails

      public boolean containsDetails(String key)
       Serialized information recorded in the marker
       
      map<string, .temporal.api.common.v1.Payloads> details = 2;
      Specified by:
      containsDetails in interface MarkerRecordedEventAttributesOrBuilder
    • getDetails

      @Deprecated public Map<String,Payloads> getDetails()
      Deprecated.
      Use getDetailsMap() instead.
      Specified by:
      getDetails in interface MarkerRecordedEventAttributesOrBuilder
    • getDetailsMap

      public Map<String,Payloads> getDetailsMap()
       Serialized information recorded in the marker
       
      map<string, .temporal.api.common.v1.Payloads> details = 2;
      Specified by:
      getDetailsMap in interface MarkerRecordedEventAttributesOrBuilder
    • getDetailsOrDefault

      public Payloads getDetailsOrDefault(String key, Payloads defaultValue)
       Serialized information recorded in the marker
       
      map<string, .temporal.api.common.v1.Payloads> details = 2;
      Specified by:
      getDetailsOrDefault in interface MarkerRecordedEventAttributesOrBuilder
    • getDetailsOrThrow

      public Payloads getDetailsOrThrow(String key)
       Serialized information recorded in the marker
       
      map<string, .temporal.api.common.v1.Payloads> details = 2;
      Specified by:
      getDetailsOrThrow in interface MarkerRecordedEventAttributesOrBuilder
    • getWorkflowTaskCompletedEventId

      public long getWorkflowTaskCompletedEventId()
       The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
       
      int64 workflow_task_completed_event_id = 3;
      Specified by:
      getWorkflowTaskCompletedEventId in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      The workflowTaskCompletedEventId.
    • hasHeader

      public boolean hasHeader()
      .temporal.api.common.v1.Header header = 4;
      Specified by:
      hasHeader in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      Whether the header field is set.
    • getHeader

      public Header getHeader()
      .temporal.api.common.v1.Header header = 4;
      Specified by:
      getHeader in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      The header.
    • getHeaderOrBuilder

      public HeaderOrBuilder getHeaderOrBuilder()
      .temporal.api.common.v1.Header header = 4;
      Specified by:
      getHeaderOrBuilder in interface MarkerRecordedEventAttributesOrBuilder
    • hasFailure

      public boolean hasFailure()
       Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      hasFailure in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      Whether the failure field is set.
    • getFailure

      public Failure getFailure()
       Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      getFailure in interface MarkerRecordedEventAttributesOrBuilder
      Returns:
      The failure.
    • getFailureOrBuilder

      public FailureOrBuilder getFailureOrBuilder()
       Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
       
      .temporal.api.failure.v1.Failure failure = 5;
      Specified by:
      getFailureOrBuilder in interface MarkerRecordedEventAttributesOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MarkerRecordedEventAttributes parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static MarkerRecordedEventAttributes parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static MarkerRecordedEventAttributes parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static MarkerRecordedEventAttributes.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static MarkerRecordedEventAttributes getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MarkerRecordedEventAttributes> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MarkerRecordedEventAttributes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder