public static interface FromFunction.DelayedInvocationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
TypedValue |
getArgument()
the invocation argument
|
TypedValueOrBuilder |
getArgumentOrBuilder()
the invocation argument
|
java.lang.String |
getCancellationToken()
an optional cancellation token that can be used to request the "unsending" of a delayed message.
|
ByteString |
getCancellationTokenBytes()
an optional cancellation token that can be used to request the "unsending" of a delayed message.
|
long |
getDelayInMs()
the amount of milliseconds to wait before sending this message
|
boolean |
getIsCancellationRequest()
a boolean value (default false) that indicates rather this is a regular delayed message, or (true) a message
cancellation request.
|
Address |
getTarget()
the target address to send this message to
|
AddressOrBuilder |
getTargetOrBuilder()
the target address to send this message to
|
boolean |
hasArgument()
the invocation argument
|
boolean |
hasTarget()
the target address to send this message to
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean getIsCancellationRequest()
a boolean value (default false) that indicates rather this is a regular delayed message, or (true) a message cancellation request. in case of a regular delayed message all other fields are expected to be preset, otherwise only the cancellation_token is expected
bool is_cancellation_request = 10;
java.lang.String getCancellationToken()
an optional cancellation token that can be used to request the "unsending" of a delayed message.
string cancellation_token = 11;
ByteString getCancellationTokenBytes()
an optional cancellation token that can be used to request the "unsending" of a delayed message.
string cancellation_token = 11;
long getDelayInMs()
the amount of milliseconds to wait before sending this message
int64 delay_in_ms = 1;
boolean hasTarget()
the target address to send this message to
.io.statefun.sdk.reqreply.Address target = 2;
Address getTarget()
the target address to send this message to
.io.statefun.sdk.reqreply.Address target = 2;
AddressOrBuilder getTargetOrBuilder()
the target address to send this message to
.io.statefun.sdk.reqreply.Address target = 2;
boolean hasArgument()
the invocation argument
.io.statefun.sdk.reqreply.TypedValue argument = 3;
TypedValue getArgument()
the invocation argument
.io.statefun.sdk.reqreply.TypedValue argument = 3;
TypedValueOrBuilder getArgumentOrBuilder()
the invocation argument
.io.statefun.sdk.reqreply.TypedValue argument = 3;
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.