Class EventGroupMarker.Label.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EventGroupMarker.Label.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<EventGroupMarker.Label.Builder>
io.temporal.api.sdk.v1.EventGroupMarker.Label.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, EventGroupMarker.LabelOrBuilder, Cloneable
Enclosing class:
EventGroupMarker.Label

public static final class EventGroupMarker.Label.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventGroupMarker.Label.Builder> implements EventGroupMarker.LabelOrBuilder
 A user-defined short-form string value to be used as the group's label.
 
Protobuf type temporal.api.sdk.v1.EventGroupMarker.Label
  • Method Details

    • 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<EventGroupMarker.Label.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<EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • getDefaultInstanceForType

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

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

      public EventGroupMarker.Label buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<EventGroupMarker.Label.Builder>
    • setField

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • clearField

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • clearOneof

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • setRepeatedField

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • addRepeatedField

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • mergeFrom

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • mergeFrom

    • isInitialized

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

      public EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Opaque identifier assigned by the SDK.
       
      string id = 1;
      Specified by:
      getId in interface EventGroupMarker.LabelOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Opaque identifier assigned by the SDK.
       
      string id = 1;
      Specified by:
      getIdBytes in interface EventGroupMarker.LabelOrBuilder
      Returns:
      The bytes for id.
    • setId

      public EventGroupMarker.Label.Builder setId(String value)
       Opaque identifier assigned by the SDK.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Opaque identifier assigned by the SDK.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public EventGroupMarker.Label.Builder setIdBytes(com.google.protobuf.ByteString value)
       Opaque identifier assigned by the SDK.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasLabel

      public boolean hasLabel()
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
      Specified by:
      hasLabel in interface EventGroupMarker.LabelOrBuilder
      Returns:
      Whether the label field is set.
    • getLabel

      public Payload getLabel()
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
      Specified by:
      getLabel in interface EventGroupMarker.LabelOrBuilder
      Returns:
      The label.
    • setLabel

      public EventGroupMarker.Label.Builder setLabel(Payload value)
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
    • setLabel

      public EventGroupMarker.Label.Builder setLabel(Payload.Builder builderForValue)
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
    • mergeLabel

      public EventGroupMarker.Label.Builder mergeLabel(Payload value)
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
    • clearLabel

      public EventGroupMarker.Label.Builder clearLabel()
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
    • getLabelBuilder

      public Payload.Builder getLabelBuilder()
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
    • getLabelOrBuilder

      public PayloadOrBuilder getLabelOrBuilder()
       This payload should be a "json/plain"-encoded payload that is a single
       JSON string for use in user interfaces. User interface formatting may not
       apply to this text when used in "label" situations. The payload data
       section is limited to 400 bytes by default.
      
       Payload only needs to be set on the first use of a given Marker ID;
       further references to an existing Marker ID reuse existing attributes of
       the referenced Marker -- i.e. further label payloads are ignored.
      
       Note that it is valid to have distinct Markers (i.e. distinct Marker IDs)
       in a given workflow execution that carry the same label, provided that
       they have the distinct ID.
       
      .temporal.api.common.v1.Payload label = 2;
      Specified by:
      getLabelOrBuilder in interface EventGroupMarker.LabelOrBuilder
    • setUnknownFields

      public final EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>
    • mergeUnknownFields

      public final EventGroupMarker.Label.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<EventGroupMarker.Label.Builder>