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 Summary
Modifier and TypeMethodDescriptionaddAllLinks(Iterable<? extends Link> values) Links associated with the callback.Links associated with the callback.addLinks(int index, Link.Builder builderForValue) Links associated with the callback.Links associated with the callback.addLinks(Link.Builder builderForValue) Links associated with the callback.Links associated with the callback.addLinksBuilder(int index) Links associated with the callback.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) .temporal.api.common.v1.Callback.Internal internal = 3;Links associated with the callback..temporal.api.common.v1.Callback.Nexus nexus = 2;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.temporal.api.common.v1.Callback.Internal internal = 3;.temporal.api.common.v1.Callback.Internal internal = 3;.temporal.api.common.v1.Callback.Internal internal = 3;getLinks(int index) Links associated with the callback.getLinksBuilder(int index) Links associated with the callback.Links associated with the callback.intLinks associated with the callback.Links associated with the callback.getLinksOrBuilder(int index) Links associated with the callback.List<? extends LinkOrBuilder> Links associated with the callback.getNexus().temporal.api.common.v1.Callback.Nexus nexus = 2;.temporal.api.common.v1.Callback.Nexus nexus = 2;.temporal.api.common.v1.Callback.Nexus nexus = 2;boolean.temporal.api.common.v1.Callback.Internal internal = 3;booleanhasNexus().temporal.api.common.v1.Callback.Nexus nexus = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInternal(Callback.Internal value) .temporal.api.common.v1.Callback.Internal internal = 3;mergeNexus(Callback.Nexus value) .temporal.api.common.v1.Callback.Nexus nexus = 2;final Callback.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeLinks(int index) Links associated with the callback.setInternal(Callback.Internal value) .temporal.api.common.v1.Callback.Internal internal = 3;setInternal(Callback.Internal.Builder builderForValue) .temporal.api.common.v1.Callback.Internal internal = 3;Links associated with the callback.setLinks(int index, Link.Builder builderForValue) Links associated with the callback.setNexus(Callback.Nexus value) .temporal.api.common.v1.Callback.Nexus nexus = 2;setNexus(Callback.Nexus.Builder builderForValue) .temporal.api.common.v1.Callback.Nexus nexus = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
clearOneof
- 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Callback.Builder>
-
mergeFrom
-
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 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:
IOException
-
getVariantCase
- Specified by:
getVariantCasein interfaceCallbackOrBuilder
-
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
.temporal.api.common.v1.Callback.Nexus nexus = 2;- Specified by:
getNexusin interfaceCallbackOrBuilder- Returns:
- The nexus.
-
setNexus
.temporal.api.common.v1.Callback.Nexus nexus = 2; -
setNexus
.temporal.api.common.v1.Callback.Nexus nexus = 2; -
mergeNexus
.temporal.api.common.v1.Callback.Nexus nexus = 2; -
clearNexus
.temporal.api.common.v1.Callback.Nexus nexus = 2; -
getNexusBuilder
.temporal.api.common.v1.Callback.Nexus nexus = 2; -
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
.temporal.api.common.v1.Callback.Internal internal = 3;- Specified by:
getInternalin interfaceCallbackOrBuilder- Returns:
- The internal.
-
setInternal
.temporal.api.common.v1.Callback.Internal internal = 3; -
setInternal
.temporal.api.common.v1.Callback.Internal internal = 3; -
mergeInternal
.temporal.api.common.v1.Callback.Internal internal = 3; -
clearInternal
.temporal.api.common.v1.Callback.Internal internal = 3; -
getInternalBuilder
.temporal.api.common.v1.Callback.Internal internal = 3; -
getInternalOrBuilder
.temporal.api.common.v1.Callback.Internal internal = 3;- Specified by:
getInternalOrBuilderin interfaceCallbackOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Callback.Builder>
-