Class Callback.Builder

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

public static final class Callback.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder> implements CallbackOrBuilder
 Callback to attach to various events in the system, e.g. workflow run completion.
 
Protobuf type temporal.api.common.v1.Callback
  • 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<Callback.Builder>
    • clear

      public Callback.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<Callback.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<Callback.Builder>
    • getDefaultInstanceForType

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

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

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

      public Callback.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<Callback.Builder>
    • setField

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

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

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

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

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

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

      public Callback.Builder mergeFrom(Callback other)
    • isInitialized

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

      public Callback.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<Callback.Builder>
      Throws:
      IOException
    • getVariantCase

      public Callback.VariantCase getVariantCase()
      Specified by:
      getVariantCase in interface CallbackOrBuilder
    • clearVariant

      public Callback.Builder clearVariant()
    • hasNexus

      public boolean hasNexus()
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
      Specified by:
      hasNexus in interface CallbackOrBuilder
      Returns:
      Whether the nexus field is set.
    • getNexus

      public Callback.Nexus getNexus()
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
      Specified by:
      getNexus in interface CallbackOrBuilder
      Returns:
      The nexus.
    • setNexus

      public Callback.Builder setNexus(Callback.Nexus value)
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
    • setNexus

      public Callback.Builder setNexus(Callback.Nexus.Builder builderForValue)
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
    • mergeNexus

      public Callback.Builder mergeNexus(Callback.Nexus value)
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
    • clearNexus

      public Callback.Builder clearNexus()
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
    • getNexusBuilder

      public Callback.Nexus.Builder getNexusBuilder()
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
    • getNexusOrBuilder

      public Callback.NexusOrBuilder getNexusOrBuilder()
      .temporal.api.common.v1.Callback.Nexus nexus = 2;
      Specified by:
      getNexusOrBuilder in interface CallbackOrBuilder
    • hasInternal

      public boolean hasInternal()
      .temporal.api.common.v1.Callback.Internal internal = 3;
      Specified by:
      hasInternal in interface CallbackOrBuilder
      Returns:
      Whether the internal field is set.
    • getInternal

      public Callback.Internal getInternal()
      .temporal.api.common.v1.Callback.Internal internal = 3;
      Specified by:
      getInternal in interface CallbackOrBuilder
      Returns:
      The internal.
    • setInternal

      public Callback.Builder setInternal(Callback.Internal value)
      .temporal.api.common.v1.Callback.Internal internal = 3;
    • setInternal

      public Callback.Builder setInternal(Callback.Internal.Builder builderForValue)
      .temporal.api.common.v1.Callback.Internal internal = 3;
    • mergeInternal

      public Callback.Builder mergeInternal(Callback.Internal value)
      .temporal.api.common.v1.Callback.Internal internal = 3;
    • clearInternal

      public Callback.Builder clearInternal()
      .temporal.api.common.v1.Callback.Internal internal = 3;
    • getInternalBuilder

      public Callback.Internal.Builder getInternalBuilder()
      .temporal.api.common.v1.Callback.Internal internal = 3;
    • getInternalOrBuilder

      public Callback.InternalOrBuilder getInternalOrBuilder()
      .temporal.api.common.v1.Callback.Internal internal = 3;
      Specified by:
      getInternalOrBuilder in interface CallbackOrBuilder
    • getLinksList

      public List<Link> getLinksList()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
      Specified by:
      getLinksList in interface CallbackOrBuilder
    • getLinksCount

      public int getLinksCount()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
      Specified by:
      getLinksCount in interface CallbackOrBuilder
    • getLinks

      public Link getLinks(int index)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
      Specified by:
      getLinks in interface CallbackOrBuilder
    • setLinks

      public Callback.Builder setLinks(int index, Link value)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • setLinks

      public Callback.Builder setLinks(int index, Link.Builder builderForValue)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addLinks

      public Callback.Builder addLinks(Link value)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addLinks

      public Callback.Builder addLinks(int index, Link value)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addLinks

      public Callback.Builder addLinks(Link.Builder builderForValue)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addLinks

      public Callback.Builder addLinks(int index, Link.Builder builderForValue)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addAllLinks

      public Callback.Builder addAllLinks(Iterable<? extends Link> values)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • clearLinks

      public Callback.Builder clearLinks()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • removeLinks

      public Callback.Builder removeLinks(int index)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • getLinksBuilder

      public Link.Builder getLinksBuilder(int index)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • getLinksOrBuilder

      public LinkOrBuilder getLinksOrBuilder(int index)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
      Specified by:
      getLinksOrBuilder in interface CallbackOrBuilder
    • getLinksOrBuilderList

      public List<? extends LinkOrBuilder> getLinksOrBuilderList()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
      Specified by:
      getLinksOrBuilderList in interface CallbackOrBuilder
    • addLinksBuilder

      public Link.Builder addLinksBuilder()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • addLinksBuilder

      public Link.Builder addLinksBuilder(int index)
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • getLinksBuilderList

      public List<Link.Builder> getLinksBuilderList()
       Links associated with the callback. It can be used to link to underlying resources of the
       callback.
       
      repeated .temporal.api.common.v1.Link links = 100;
    • setUnknownFields

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

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