Package io.temporal.api.common.v1
Class Callback.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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,java.lang.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 typetemporal.api.common.v1.Callback
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Callback.BuilderaddAllLinks(java.lang.Iterable<? extends Link> values)Links associated with the callback.Callback.BuilderaddLinks(int index, Link value)Links associated with the callback.Callback.BuilderaddLinks(int index, Link.Builder builderForValue)Links associated with the callback.Callback.BuilderaddLinks(Link value)Links associated with the callback.Callback.BuilderaddLinks(Link.Builder builderForValue)Links associated with the callback.Link.BuilderaddLinksBuilder()Links associated with the callback.Link.BuilderaddLinksBuilder(int index)Links associated with the callback.Callback.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Callbackbuild()CallbackbuildPartial()Callback.Builderclear()Callback.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Callback.BuilderclearInternal().temporal.api.common.v1.Callback.Internal internal = 3;Callback.BuilderclearLinks()Links associated with the callback.Callback.BuilderclearNexus().temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Callback.BuilderclearVariant()Callback.Builderclone()CallbackgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Callback.InternalgetInternal().temporal.api.common.v1.Callback.Internal internal = 3;Callback.Internal.BuildergetInternalBuilder().temporal.api.common.v1.Callback.Internal internal = 3;Callback.InternalOrBuildergetInternalOrBuilder().temporal.api.common.v1.Callback.Internal internal = 3;LinkgetLinks(int index)Links associated with the callback.Link.BuildergetLinksBuilder(int index)Links associated with the callback.java.util.List<Link.Builder>getLinksBuilderList()Links associated with the callback.intgetLinksCount()Links associated with the callback.java.util.List<Link>getLinksList()Links associated with the callback.LinkOrBuildergetLinksOrBuilder(int index)Links associated with the callback.java.util.List<? extends LinkOrBuilder>getLinksOrBuilderList()Links associated with the callback.Callback.NexusgetNexus().temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.Nexus.BuildergetNexusBuilder().temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.NexusOrBuildergetNexusOrBuilder().temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.VariantCasegetVariantCase()booleanhasInternal().temporal.api.common.v1.Callback.Internal internal = 3;booleanhasNexus().temporal.api.common.v1.Callback.Nexus nexus = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Callback.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Callback.BuildermergeFrom(com.google.protobuf.Message other)Callback.BuildermergeFrom(Callback other)Callback.BuildermergeInternal(Callback.Internal value).temporal.api.common.v1.Callback.Internal internal = 3;Callback.BuildermergeNexus(Callback.Nexus value).temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Callback.BuilderremoveLinks(int index)Links associated with the callback.Callback.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Callback.BuildersetInternal(Callback.Internal value).temporal.api.common.v1.Callback.Internal internal = 3;Callback.BuildersetInternal(Callback.Internal.Builder builderForValue).temporal.api.common.v1.Callback.Internal internal = 3;Callback.BuildersetLinks(int index, Link value)Links associated with the callback.Callback.BuildersetLinks(int index, Link.Builder builderForValue)Links associated with the callback.Callback.BuildersetNexus(Callback.Nexus value).temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.BuildersetNexus(Callback.Nexus.Builder builderForValue).temporal.api.common.v1.Callback.Nexus nexus = 2;Callback.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Callback.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
clear
public Callback.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
getDefaultInstanceForType
public Callback getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Callback build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Callback buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Callback.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
setField
public Callback.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
clearField
public Callback.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
clearOneof
public Callback.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
setRepeatedField
public Callback.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
addRepeatedField
public Callback.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
mergeFrom
public Callback.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Callback.Builder>
-
mergeFrom
public Callback.Builder mergeFrom(Callback other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
mergeFrom
public Callback.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Callback.Builder>- Throws:
java.io.IOException
-
getVariantCase
public Callback.VariantCase getVariantCase()
- Specified by:
getVariantCasein interfaceCallbackOrBuilder
-
clearVariant
public Callback.Builder clearVariant()
-
hasNexus
public boolean hasNexus()
.temporal.api.common.v1.Callback.Nexus nexus = 2;- Specified by:
hasNexusin interfaceCallbackOrBuilder- Returns:
- Whether the nexus field is set.
-
getNexus
public Callback.Nexus getNexus()
.temporal.api.common.v1.Callback.Nexus nexus = 2;- Specified by:
getNexusin interfaceCallbackOrBuilder- 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:
getNexusOrBuilderin interfaceCallbackOrBuilder
-
hasInternal
public boolean hasInternal()
.temporal.api.common.v1.Callback.Internal internal = 3;- Specified by:
hasInternalin interfaceCallbackOrBuilder- Returns:
- Whether the internal field is set.
-
getInternal
public Callback.Internal getInternal()
.temporal.api.common.v1.Callback.Internal internal = 3;- Specified by:
getInternalin interfaceCallbackOrBuilder- 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:
getInternalOrBuilderin interfaceCallbackOrBuilder
-
getLinksList
public java.util.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:
getLinksListin interfaceCallbackOrBuilder
-
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:
getLinksCountin interfaceCallbackOrBuilder
-
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:
getLinksin interfaceCallbackOrBuilder
-
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(java.lang.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:
getLinksOrBuilderin interfaceCallbackOrBuilder
-
getLinksOrBuilderList
public java.util.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:
getLinksOrBuilderListin interfaceCallbackOrBuilder
-
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 java.util.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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
mergeUnknownFields
public final Callback.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
-