Package org.apache.flink.fnexecution.v1
Class FlinkFnApi.AsyncOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- org.apache.flink.fnexecution.v1.FlinkFnApi.AsyncOptions
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FlinkFnApi.AsyncOptionsOrBuilder
- Enclosing class:
- FlinkFnApi
public static final class FlinkFnApi.AsyncOptions extends com.google.protobuf.GeneratedMessage implements FlinkFnApi.AsyncOptionsOrBuilder
Async execution configuration for async functions
Protobuf typeorg.apache.flink.fn_execution.v1.AsyncOptions- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlinkFnApi.AsyncOptions.BuilderAsync execution configuration for async functions-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_CONCURRENT_OPERATIONS_FIELD_NUMBERstatic intRETRY_DELAY_MS_FIELD_NUMBERstatic intRETRY_ENABLED_FIELD_NUMBERstatic intRETRY_MAX_ATTEMPTS_FIELD_NUMBERstatic intTIMEOUT_MS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static FlinkFnApi.AsyncOptionsgetDefaultInstance()FlinkFnApi.AsyncOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()intgetMaxConcurrentOperations()Max number of concurrent async operationscom.google.protobuf.Parser<FlinkFnApi.AsyncOptions>getParserForType()longgetRetryDelayMs()Delay between retries in millisecondsbooleangetRetryEnabled()Async retry strategy configurationintgetRetryMaxAttempts()Maximum number of retry attemptsintgetSerializedSize()longgetTimeoutMs()Timeout in milliseconds for async operationsinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static FlinkFnApi.AsyncOptions.BuildernewBuilder()static FlinkFnApi.AsyncOptions.BuildernewBuilder(FlinkFnApi.AsyncOptions prototype)FlinkFnApi.AsyncOptions.BuildernewBuilderForType()protected FlinkFnApi.AsyncOptions.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static FlinkFnApi.AsyncOptionsparseDelimitedFrom(InputStream input)static FlinkFnApi.AsyncOptionsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlinkFnApi.AsyncOptionsparseFrom(byte[] data)static FlinkFnApi.AsyncOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlinkFnApi.AsyncOptionsparseFrom(com.google.protobuf.ByteString data)static FlinkFnApi.AsyncOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlinkFnApi.AsyncOptionsparseFrom(com.google.protobuf.CodedInputStream input)static FlinkFnApi.AsyncOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlinkFnApi.AsyncOptionsparseFrom(InputStream input)static FlinkFnApi.AsyncOptionsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FlinkFnApi.AsyncOptionsparseFrom(ByteBuffer data)static FlinkFnApi.AsyncOptionsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FlinkFnApi.AsyncOptions>parser()FlinkFnApi.AsyncOptions.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MAX_CONCURRENT_OPERATIONS_FIELD_NUMBER
public static final int MAX_CONCURRENT_OPERATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMEOUT_MS_FIELD_NUMBER
public static final int TIMEOUT_MS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_ENABLED_FIELD_NUMBER
public static final int RETRY_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_MAX_ATTEMPTS_FIELD_NUMBER
public static final int RETRY_MAX_ATTEMPTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETRY_DELAY_MS_FIELD_NUMBER
public static final int RETRY_DELAY_MS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getMaxConcurrentOperations
public int getMaxConcurrentOperations()
Max number of concurrent async operations
int32 max_concurrent_operations = 1;- Specified by:
getMaxConcurrentOperationsin interfaceFlinkFnApi.AsyncOptionsOrBuilder- Returns:
- The maxConcurrentOperations.
-
getTimeoutMs
public long getTimeoutMs()
Timeout in milliseconds for async operations
int64 timeout_ms = 2;- Specified by:
getTimeoutMsin interfaceFlinkFnApi.AsyncOptionsOrBuilder- Returns:
- The timeoutMs.
-
getRetryEnabled
public boolean getRetryEnabled()
Async retry strategy configuration
bool retry_enabled = 3;- Specified by:
getRetryEnabledin interfaceFlinkFnApi.AsyncOptionsOrBuilder- Returns:
- The retryEnabled.
-
getRetryMaxAttempts
public int getRetryMaxAttempts()
Maximum number of retry attempts
int32 retry_max_attempts = 4;- Specified by:
getRetryMaxAttemptsin interfaceFlinkFnApi.AsyncOptionsOrBuilder- Returns:
- The retryMaxAttempts.
-
getRetryDelayMs
public long getRetryDelayMs()
Delay between retries in milliseconds
int64 retry_delay_ms = 5;- Specified by:
getRetryDelayMsin interfaceFlinkFnApi.AsyncOptionsOrBuilder- Returns:
- The retryDelayMs.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FlinkFnApi.AsyncOptions parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FlinkFnApi.AsyncOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FlinkFnApi.AsyncOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FlinkFnApi.AsyncOptions.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FlinkFnApi.AsyncOptions.Builder newBuilder()
-
newBuilder
public static FlinkFnApi.AsyncOptions.Builder newBuilder(FlinkFnApi.AsyncOptions prototype)
-
toBuilder
public FlinkFnApi.AsyncOptions.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FlinkFnApi.AsyncOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static FlinkFnApi.AsyncOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FlinkFnApi.AsyncOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<FlinkFnApi.AsyncOptions> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public FlinkFnApi.AsyncOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-