Package org.apache.flink.fnexecution.v1
Class FlinkFnApi.StateDescriptor.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
- org.apache.flink.fnexecution.v1.FlinkFnApi.StateDescriptor.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,FlinkFnApi.StateDescriptorOrBuilder
- Enclosing class:
- FlinkFnApi.StateDescriptor
public static final class FlinkFnApi.StateDescriptor.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder> implements FlinkFnApi.StateDescriptorOrBuilder
A representation of State
Protobuf typeorg.apache.flink.fn_execution.v1.StateDescriptor
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlinkFnApi.StateDescriptor.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FlinkFnApi.StateDescriptor
build()
FlinkFnApi.StateDescriptor
buildPartial()
FlinkFnApi.StateDescriptor.Builder
clear()
FlinkFnApi.StateDescriptor.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
FlinkFnApi.StateDescriptor.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
FlinkFnApi.StateDescriptor.Builder
clearStateName()
string state_name = 1;
FlinkFnApi.StateDescriptor.Builder
clearStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.Builder
clone()
FlinkFnApi.StateDescriptor
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getStateName()
string state_name = 1;
com.google.protobuf.ByteString
getStateNameBytes()
string state_name = 1;
FlinkFnApi.StateDescriptor.StateTTLConfig
getStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.StateTTLConfig.Builder
getStateTtlConfigBuilder()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.StateTTLConfigOrBuilder
getStateTtlConfigOrBuilder()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
boolean
hasStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
FlinkFnApi.StateDescriptor.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
FlinkFnApi.StateDescriptor.Builder
mergeFrom(com.google.protobuf.Message other)
FlinkFnApi.StateDescriptor.Builder
mergeFrom(FlinkFnApi.StateDescriptor other)
FlinkFnApi.StateDescriptor.Builder
mergeStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig value)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
FlinkFnApi.StateDescriptor.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
FlinkFnApi.StateDescriptor.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
FlinkFnApi.StateDescriptor.Builder
setStateName(String value)
string state_name = 1;
FlinkFnApi.StateDescriptor.Builder
setStateNameBytes(com.google.protobuf.ByteString value)
string state_name = 1;
FlinkFnApi.StateDescriptor.Builder
setStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig value)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.Builder
setStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig.Builder builderForValue)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
FlinkFnApi.StateDescriptor.Builder
setUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
clear
public FlinkFnApi.StateDescriptor.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
getDefaultInstanceForType
public FlinkFnApi.StateDescriptor getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FlinkFnApi.StateDescriptor build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FlinkFnApi.StateDescriptor buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FlinkFnApi.StateDescriptor.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
setField
public FlinkFnApi.StateDescriptor.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
clearField
public FlinkFnApi.StateDescriptor.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
clearOneof
public FlinkFnApi.StateDescriptor.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
setRepeatedField
public FlinkFnApi.StateDescriptor.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
addRepeatedField
public FlinkFnApi.StateDescriptor.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
mergeFrom
public FlinkFnApi.StateDescriptor.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FlinkFnApi.StateDescriptor.Builder>
-
mergeFrom
public FlinkFnApi.StateDescriptor.Builder mergeFrom(FlinkFnApi.StateDescriptor other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
mergeFrom
public FlinkFnApi.StateDescriptor.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FlinkFnApi.StateDescriptor.Builder>
- Throws:
IOException
-
getStateName
public String getStateName()
string state_name = 1;
- Specified by:
getStateName
in interfaceFlinkFnApi.StateDescriptorOrBuilder
- Returns:
- The stateName.
-
getStateNameBytes
public com.google.protobuf.ByteString getStateNameBytes()
string state_name = 1;
- Specified by:
getStateNameBytes
in interfaceFlinkFnApi.StateDescriptorOrBuilder
- Returns:
- The bytes for stateName.
-
setStateName
public FlinkFnApi.StateDescriptor.Builder setStateName(String value)
string state_name = 1;
- Parameters:
value
- The stateName to set.- Returns:
- This builder for chaining.
-
clearStateName
public FlinkFnApi.StateDescriptor.Builder clearStateName()
string state_name = 1;
- Returns:
- This builder for chaining.
-
setStateNameBytes
public FlinkFnApi.StateDescriptor.Builder setStateNameBytes(com.google.protobuf.ByteString value)
string state_name = 1;
- Parameters:
value
- The bytes for stateName to set.- Returns:
- This builder for chaining.
-
hasStateTtlConfig
public boolean hasStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
- Specified by:
hasStateTtlConfig
in interfaceFlinkFnApi.StateDescriptorOrBuilder
- Returns:
- Whether the stateTtlConfig field is set.
-
getStateTtlConfig
public FlinkFnApi.StateDescriptor.StateTTLConfig getStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
- Specified by:
getStateTtlConfig
in interfaceFlinkFnApi.StateDescriptorOrBuilder
- Returns:
- The stateTtlConfig.
-
setStateTtlConfig
public FlinkFnApi.StateDescriptor.Builder setStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig value)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
-
setStateTtlConfig
public FlinkFnApi.StateDescriptor.Builder setStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig.Builder builderForValue)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
-
mergeStateTtlConfig
public FlinkFnApi.StateDescriptor.Builder mergeStateTtlConfig(FlinkFnApi.StateDescriptor.StateTTLConfig value)
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
-
clearStateTtlConfig
public FlinkFnApi.StateDescriptor.Builder clearStateTtlConfig()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
-
getStateTtlConfigBuilder
public FlinkFnApi.StateDescriptor.StateTTLConfig.Builder getStateTtlConfigBuilder()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
-
getStateTtlConfigOrBuilder
public FlinkFnApi.StateDescriptor.StateTTLConfigOrBuilder getStateTtlConfigOrBuilder()
.org.apache.flink.fn_execution.v1.StateDescriptor.StateTTLConfig state_ttl_config = 2;
- Specified by:
getStateTtlConfigOrBuilder
in interfaceFlinkFnApi.StateDescriptorOrBuilder
-
setUnknownFields
public final FlinkFnApi.StateDescriptor.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
mergeUnknownFields
public final FlinkFnApi.StateDescriptor.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FlinkFnApi.StateDescriptor.Builder>
-
-