Class MarkerRecordedEventAttributes.Builder

    • Method Detail

      • 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.Builder<MarkerRecordedEventAttributes.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.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<MarkerRecordedEventAttributes.Builder>
      • getDefaultInstanceForType

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

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

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

        public MarkerRecordedEventAttributes.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                      int index,
                                                                      java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
      • addRepeatedField

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MarkerRecordedEventAttributes.Builder>
      • mergeFrom

        public MarkerRecordedEventAttributes.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.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<MarkerRecordedEventAttributes.Builder>
        Throws:
        java.io.IOException
      • getMarkerName

        public java.lang.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.
      • setMarkerName

        public MarkerRecordedEventAttributes.Builder setMarkerName​(java.lang.String value)
         Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
         
        string marker_name = 1;
        Parameters:
        value - The markerName to set.
        Returns:
        This builder for chaining.
      • clearMarkerName

        public MarkerRecordedEventAttributes.Builder clearMarkerName()
         Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
         
        string marker_name = 1;
        Returns:
        This builder for chaining.
      • setMarkerNameBytes

        public MarkerRecordedEventAttributes.Builder setMarkerNameBytes​(com.google.protobuf.ByteString value)
         Workers use this to identify the "types" of various markers. Ex: Local activity, side effect.
         
        string marker_name = 1;
        Parameters:
        value - The bytes for markerName to set.
        Returns:
        This builder for chaining.
      • containsDetails

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

        public MarkerRecordedEventAttributes.Builder removeDetails​(java.lang.String key)
         Serialized information recorded in the marker
         
        map<string, .temporal.api.common.v1.Payloads> details = 2;
      • getMutableDetails

        @Deprecated
        public java.util.Map<java.lang.String,​Payloads> getMutableDetails()
        Deprecated.
        Use alternate mutation accessors instead.
      • putAllDetails

        public MarkerRecordedEventAttributes.Builder putAllDetails​(java.util.Map<java.lang.String,​Payloads> values)
         Serialized information recorded in the marker
         
        map<string, .temporal.api.common.v1.Payloads> details = 2;
      • putDetailsBuilderIfAbsent

        public Payloads.Builder putDetailsBuilderIfAbsent​(java.lang.String key)
         Serialized information recorded in the marker
         
        map<string, .temporal.api.common.v1.Payloads> details = 2;
      • setWorkflowTaskCompletedEventId

        public MarkerRecordedEventAttributes.Builder setWorkflowTaskCompletedEventId​(long value)
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 3;
        Parameters:
        value - The workflowTaskCompletedEventId to set.
        Returns:
        This builder for chaining.
      • clearWorkflowTaskCompletedEventId

        public MarkerRecordedEventAttributes.Builder clearWorkflowTaskCompletedEventId()
         The `WORKFLOW_TASK_COMPLETED` event which this command was reported with
         
        int64 workflow_task_completed_event_id = 3;
        Returns:
        This builder for chaining.
      • getHeaderBuilder

        public Header.Builder getHeaderBuilder()
        .temporal.api.common.v1.Header header = 4;
      • 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.
      • setFailure

        public MarkerRecordedEventAttributes.Builder setFailure​(Failure value)
         Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
         
        .temporal.api.failure.v1.Failure failure = 5;
      • mergeFailure

        public MarkerRecordedEventAttributes.Builder mergeFailure​(Failure value)
         Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
         
        .temporal.api.failure.v1.Failure failure = 5;
      • clearFailure

        public MarkerRecordedEventAttributes.Builder clearFailure()
         Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
         
        .temporal.api.failure.v1.Failure failure = 5;
      • getFailureBuilder

        public Failure.Builder getFailureBuilder()
         Some uses of markers, like a local activity, could "fail". If they did that is recorded here.
         
        .temporal.api.failure.v1.Failure failure = 5;