@Generated(value="proto") public final class FromFunction extends GeneratedMessageV3 implements FromFunctionOrBuilder
The following section contains messages sent from a remote function back to Flink.Protobuf type
io.statefun.sdk.reqreply.FromFunction
Modifier and Type | Class and Description |
---|---|
static class |
FromFunction.Builder
The following section contains messages sent from a remote function back to Flink.
|
static class |
FromFunction.DelayedInvocation
DelayedInvocation represents a delayed remote function call with a target address, an argument
and a delay in milliseconds, after which this message to be sent.
|
static interface |
FromFunction.DelayedInvocationOrBuilder |
static class |
FromFunction.EgressMessage
EgressMessage an argument to forward to an egress.
|
static interface |
FromFunction.EgressMessageOrBuilder |
static class |
FromFunction.ExpirationSpec
ExpirationSpec represents TTL (Time-To-Live) configuration for persisted states.
|
static interface |
FromFunction.ExpirationSpecOrBuilder |
static class |
FromFunction.IncompleteInvocationContext
IncompleteInvocationContext represents a result of an io.statefun.sdk.reqreply.ToFunction.InvocationBatchRequest,
which should be used as the response if the InvocationBatchRequest provided incomplete information about the
invocation, e.g.
|
static interface |
FromFunction.IncompleteInvocationContextOrBuilder |
static class |
FromFunction.Invocation
Invocation represents a remote function call, it associated with a (mandatory) target address,
and an argument.
|
static interface |
FromFunction.InvocationOrBuilder |
static class |
FromFunction.InvocationResponse
InvocationResponse represents a result of an io.statefun.sdk.reqreply.ToFunction.InvocationBatchRequest
it contains a list of state mutation to preform as a result of computing this batch, and a list of outgoing messages.
|
static interface |
FromFunction.InvocationResponseOrBuilder |
static class |
FromFunction.PersistedValueMutation
MutatePersistedValueCommand represents a command sent from a remote function to Flink,
requesting a change to a persisted value.
|
static interface |
FromFunction.PersistedValueMutationOrBuilder |
static class |
FromFunction.PersistedValueSpec
PersistedValueSpec represents specifications of a function's persisted value state.
|
static interface |
FromFunction.PersistedValueSpecOrBuilder |
static class |
FromFunction.ResponseCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
INCOMPLETE_INVOCATION_CONTEXT_FIELD_NUMBER |
static int |
INVOCATION_RESULT_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this message for equality.
|
static FromFunction |
getDefaultInstance() |
FromFunction |
getDefaultInstanceForType()
Get an instance of the type with no fields set.
|
static Descriptors.Descriptor |
getDescriptor() |
FromFunction.IncompleteInvocationContext |
getIncompleteInvocationContext()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101; |
FromFunction.IncompleteInvocationContextOrBuilder |
getIncompleteInvocationContextOrBuilder()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101; |
FromFunction.InvocationResponse |
getInvocationResult()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100; |
FromFunction.InvocationResponseOrBuilder |
getInvocationResultOrBuilder()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100; |
Parser<FromFunction> |
getParserForType()
Gets the parser for a message of the same type as this message.
|
FromFunction.ResponseCase |
getResponseCase() |
int |
getSerializedSize()
Get the number of bytes required to encode this message.
|
UnknownFieldSet |
getUnknownFields()
Get the
UnknownFieldSet for this message. |
int |
hashCode()
Returns the hash code value for this message.
|
boolean |
hasIncompleteInvocationContext()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101; |
boolean |
hasInvocationResult()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.
|
boolean |
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false
otherwise.
|
static FromFunction.Builder |
newBuilder() |
static FromFunction.Builder |
newBuilder(FromFunction prototype) |
FromFunction.Builder |
newBuilderForType()
Constructs a new builder for a message of the same type as this message.
|
protected FromFunction.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
TODO(xiaofeng): remove this together with GeneratedMessageV3.BuilderParent.
|
static FromFunction |
parseDelimitedFrom(java.io.InputStream input) |
static FromFunction |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static FromFunction |
parseFrom(byte[] data) |
static FromFunction |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static FromFunction |
parseFrom(java.nio.ByteBuffer data) |
static FromFunction |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static FromFunction |
parseFrom(ByteString data) |
static FromFunction |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static FromFunction |
parseFrom(CodedInputStream input) |
static FromFunction |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static FromFunction |
parseFrom(java.io.InputStream input) |
static FromFunction |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<FromFunction> |
parser() |
FromFunction.Builder |
toBuilder()
Constructs a builder initialized with the current message.
|
void |
writeTo(CodedOutputStream output)
Serializes the message and writes it to
output . |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int INVOCATION_RESULT_FIELD_NUMBER
public static final int INCOMPLETE_INVOCATION_CONTEXT_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
MessageOrBuilder
UnknownFieldSet
for this message.getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
GeneratedMessageV3
internalGetFieldAccessorTable
in class GeneratedMessageV3
public FromFunction.ResponseCase getResponseCase()
getResponseCase
in interface FromFunctionOrBuilder
public boolean hasInvocationResult()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100;
hasInvocationResult
in interface FromFunctionOrBuilder
public FromFunction.InvocationResponse getInvocationResult()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100;
getInvocationResult
in interface FromFunctionOrBuilder
public FromFunction.InvocationResponseOrBuilder getInvocationResultOrBuilder()
.io.statefun.sdk.reqreply.FromFunction.InvocationResponse invocation_result = 100;
getInvocationResultOrBuilder
in interface FromFunctionOrBuilder
public boolean hasIncompleteInvocationContext()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101;
hasIncompleteInvocationContext
in interface FromFunctionOrBuilder
public FromFunction.IncompleteInvocationContext getIncompleteInvocationContext()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101;
getIncompleteInvocationContext
in interface FromFunctionOrBuilder
public FromFunction.IncompleteInvocationContextOrBuilder getIncompleteInvocationContextOrBuilder()
.io.statefun.sdk.reqreply.FromFunction.IncompleteInvocationContext incomplete_invocation_context = 101;
getIncompleteInvocationContextOrBuilder
in interface FromFunctionOrBuilder
public final boolean isInitialized()
MessageLiteOrBuilder
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
MessageLite
output
. This does not flush or close the
stream.writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
MessageLite
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
Message
true
if the given
object is a message of the same type (as defined by getDescriptorForType()
) and has
identical values for all of its fields. Subclasses must implement this; inheriting Object.equals()
is incorrect.equals
in interface Message
equals
in class AbstractMessage
obj
- object to be compared for equality with this messagetrue
if the specified object is equal to this messagepublic int hashCode()
Message
Object.hashCode()
is incorrect.hashCode
in interface Message
hashCode
in class AbstractMessage
Map.hashCode()
public static FromFunction parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static FromFunction parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FromFunction parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FromFunction parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static FromFunction parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static FromFunction parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static FromFunction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public FromFunction.Builder newBuilderForType()
MessageLite
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static FromFunction.Builder newBuilder()
public static FromFunction.Builder newBuilder(FromFunction prototype)
public FromFunction.Builder toBuilder()
MessageLite
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected FromFunction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
GeneratedMessageV3
newBuilderForType
in class GeneratedMessageV3
public static FromFunction getDefaultInstance()
public static Parser<FromFunction> parser()
public Parser<FromFunction> getParserForType()
MessageLite
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public FromFunction getDefaultInstanceForType()
MessageLiteOrBuilder
getDefaultInstance()
method of generated
message classes in that this method is an abstract method of the MessageLite
interface
whereas getDefaultInstance()
is a static method of a specific class. They return the
same thing.getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.