public static final class ToFunction.InvocationBatchRequest extends com.google.protobuf.GeneratedMessageV3 implements ToFunction.InvocationBatchRequestOrBuilder
InvocationBatchRequest represents a request to invoke a remote function. It is always associated with a target address (the function to invoke), a list of eager state values.Protobuf type
org.apache.flink.statefun.flink.core.polyglot.ToFunction.InvocationBatchRequest
Modifier and Type | Class and Description |
---|---|
static class |
ToFunction.InvocationBatchRequest.Builder
InvocationBatchRequest represents a request to invoke a remote function.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
INVOCATIONS_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TARGET_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static ToFunction.InvocationBatchRequest |
getDefaultInstance() |
ToFunction.InvocationBatchRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ToFunction.Invocation |
getInvocations(int index)
A non empty (at least one) list of invocations
|
int |
getInvocationsCount()
A non empty (at least one) list of invocations
|
java.util.List<ToFunction.Invocation> |
getInvocationsList()
A non empty (at least one) list of invocations
|
ToFunction.InvocationOrBuilder |
getInvocationsOrBuilder(int index)
A non empty (at least one) list of invocations
|
java.util.List<? extends ToFunction.InvocationOrBuilder> |
getInvocationsOrBuilderList()
A non empty (at least one) list of invocations
|
com.google.protobuf.Parser<ToFunction.InvocationBatchRequest> |
getParserForType() |
int |
getSerializedSize() |
ToFunction.PersistedValue |
getState(int index)
A list of PersistedValues that were registered as an eager state.
|
int |
getStateCount()
A list of PersistedValues that were registered as an eager state.
|
java.util.List<ToFunction.PersistedValue> |
getStateList()
A list of PersistedValues that were registered as an eager state.
|
ToFunction.PersistedValueOrBuilder |
getStateOrBuilder(int index)
A list of PersistedValues that were registered as an eager state.
|
java.util.List<? extends ToFunction.PersistedValueOrBuilder> |
getStateOrBuilderList()
A list of PersistedValues that were registered as an eager state.
|
Address |
getTarget()
The address of the function to invoke
|
AddressOrBuilder |
getTargetOrBuilder()
The address of the function to invoke
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTarget()
The address of the function to invoke
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ToFunction.InvocationBatchRequest.Builder |
newBuilder() |
static ToFunction.InvocationBatchRequest.Builder |
newBuilder(ToFunction.InvocationBatchRequest prototype) |
ToFunction.InvocationBatchRequest.Builder |
newBuilderForType() |
protected ToFunction.InvocationBatchRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ToFunction.InvocationBatchRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ToFunction.InvocationBatchRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToFunction.InvocationBatchRequest |
parseFrom(byte[] data) |
static ToFunction.InvocationBatchRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToFunction.InvocationBatchRequest |
parseFrom(java.nio.ByteBuffer data) |
static ToFunction.InvocationBatchRequest |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToFunction.InvocationBatchRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ToFunction.InvocationBatchRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToFunction.InvocationBatchRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ToFunction.InvocationBatchRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ToFunction.InvocationBatchRequest |
parseFrom(java.io.InputStream input) |
static ToFunction.InvocationBatchRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ToFunction.InvocationBatchRequest> |
parser() |
ToFunction.InvocationBatchRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream 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, newInstance, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TARGET_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int INVOCATIONS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasTarget()
The address of the function to invoke
.org.apache.flink.statefun.flink.core.polyglot.Address target = 1;
hasTarget
in interface ToFunction.InvocationBatchRequestOrBuilder
public Address getTarget()
The address of the function to invoke
.org.apache.flink.statefun.flink.core.polyglot.Address target = 1;
getTarget
in interface ToFunction.InvocationBatchRequestOrBuilder
public AddressOrBuilder getTargetOrBuilder()
The address of the function to invoke
.org.apache.flink.statefun.flink.core.polyglot.Address target = 1;
getTargetOrBuilder
in interface ToFunction.InvocationBatchRequestOrBuilder
public java.util.List<ToFunction.PersistedValue> getStateList()
A list of PersistedValues that were registered as an eager state.
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.PersistedValue state = 2;
getStateList
in interface ToFunction.InvocationBatchRequestOrBuilder
public java.util.List<? extends ToFunction.PersistedValueOrBuilder> getStateOrBuilderList()
A list of PersistedValues that were registered as an eager state.
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.PersistedValue state = 2;
getStateOrBuilderList
in interface ToFunction.InvocationBatchRequestOrBuilder
public int getStateCount()
A list of PersistedValues that were registered as an eager state.
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.PersistedValue state = 2;
getStateCount
in interface ToFunction.InvocationBatchRequestOrBuilder
public ToFunction.PersistedValue getState(int index)
A list of PersistedValues that were registered as an eager state.
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.PersistedValue state = 2;
getState
in interface ToFunction.InvocationBatchRequestOrBuilder
public ToFunction.PersistedValueOrBuilder getStateOrBuilder(int index)
A list of PersistedValues that were registered as an eager state.
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.PersistedValue state = 2;
getStateOrBuilder
in interface ToFunction.InvocationBatchRequestOrBuilder
public java.util.List<ToFunction.Invocation> getInvocationsList()
A non empty (at least one) list of invocations
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.Invocation invocations = 3;
getInvocationsList
in interface ToFunction.InvocationBatchRequestOrBuilder
public java.util.List<? extends ToFunction.InvocationOrBuilder> getInvocationsOrBuilderList()
A non empty (at least one) list of invocations
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.Invocation invocations = 3;
getInvocationsOrBuilderList
in interface ToFunction.InvocationBatchRequestOrBuilder
public int getInvocationsCount()
A non empty (at least one) list of invocations
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.Invocation invocations = 3;
getInvocationsCount
in interface ToFunction.InvocationBatchRequestOrBuilder
public ToFunction.Invocation getInvocations(int index)
A non empty (at least one) list of invocations
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.Invocation invocations = 3;
getInvocations
in interface ToFunction.InvocationBatchRequestOrBuilder
public ToFunction.InvocationOrBuilder getInvocationsOrBuilder(int index)
A non empty (at least one) list of invocations
repeated .org.apache.flink.statefun.flink.core.polyglot.ToFunction.Invocation invocations = 3;
getInvocationsOrBuilder
in interface ToFunction.InvocationBatchRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ToFunction.InvocationBatchRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ToFunction.InvocationBatchRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ToFunction.InvocationBatchRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ToFunction.InvocationBatchRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static ToFunction.InvocationBatchRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static ToFunction.InvocationBatchRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static ToFunction.InvocationBatchRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public ToFunction.InvocationBatchRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ToFunction.InvocationBatchRequest.Builder newBuilder()
public static ToFunction.InvocationBatchRequest.Builder newBuilder(ToFunction.InvocationBatchRequest prototype)
public ToFunction.InvocationBatchRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ToFunction.InvocationBatchRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static ToFunction.InvocationBatchRequest getDefaultInstance()
public static com.google.protobuf.Parser<ToFunction.InvocationBatchRequest> parser()
public com.google.protobuf.Parser<ToFunction.InvocationBatchRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ToFunction.InvocationBatchRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.