类 Function.SourceSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
org.apache.pulsar.functions.proto.Function.SourceSpec.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Function.SourceSpecOrBuilder
- 封闭类:
- Function.SourceSpec
public static final class Function.SourceSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
implements Function.SourceSpecOrBuilder
Protobuf type
proto.SourceSpec-
方法概要
修饰符和类型方法说明addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If specified, this will refer to an archive that is already present in the serverstring className = 1;bool cleanupSubscription = 11;map in json formatclearField(com.google.protobuf.Descriptors.FieldDescriptor field) uint64 negativeAckRedeliveryDelayMs = 13;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) string subscriptionName = 9;.proto.SubscriptionPosition subscriptionPosition = 12;configs used only when source feeds into functionsuint64 timeoutMs = 6;已过时。已过时。string typeClassName = 5;clone()booleancontainsInputSpecs(String key) boolean已过时。If specified, this will refer to an archive that is already present in the servercom.google.protobuf.ByteStringIf specified, this will refer to an archive that is already present in the serverstring className = 1;com.google.protobuf.ByteStringstring className = 1;booleanbool cleanupSubscription = 11;map in json formatcom.google.protobuf.ByteStringmap in json formatstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor已过时。intgetInputSpecsOrDefault(String key, Function.ConsumerSpec defaultValue) 已过时。已过时。longuint64 negativeAckRedeliveryDelayMs = 13;string subscriptionName = 9;com.google.protobuf.ByteStringstring subscriptionName = 9;.proto.SubscriptionPosition subscriptionPosition = 12;int.proto.SubscriptionPosition subscriptionPosition = 12;configs used only when source feeds into functionsintconfigs used only when source feeds into functionslonguint64 timeoutMs = 6;已过时。com.google.protobuf.ByteString已过时。已过时。int已过时。已过时。getTopicsToSerDeClassNameOrDefault(String key, String defaultValue) 已过时。已过时。string typeClassName = 5;com.google.protobuf.ByteStringstring typeClassName = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Function.SourceSpec other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllInputSpecs(Map<String, Function.ConsumerSpec> values) putAllTopicsToSerDeClassName(Map<String, String> values) 已过时。putInputSpecs(String key, Function.ConsumerSpec value) putTopicsToSerDeClassName(String key, String value) 已过时。removeInputSpecs(String key) 已过时。setBuiltin(String value) If specified, this will refer to an archive that is already present in the serversetBuiltinBytes(com.google.protobuf.ByteString value) If specified, this will refer to an archive that is already present in the serversetClassName(String value) string className = 1;setClassNameBytes(com.google.protobuf.ByteString value) string className = 1;setCleanupSubscription(boolean value) bool cleanupSubscription = 11;setConfigs(String value) map in json formatsetConfigsBytes(com.google.protobuf.ByteString value) map in json formatsetNegativeAckRedeliveryDelayMs(long value) uint64 negativeAckRedeliveryDelayMs = 13;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSubscriptionName(String value) string subscriptionName = 9;setSubscriptionNameBytes(com.google.protobuf.ByteString value) string subscriptionName = 9;.proto.SubscriptionPosition subscriptionPosition = 12;setSubscriptionPositionValue(int value) .proto.SubscriptionPosition subscriptionPosition = 12;configs used only when source feeds into functionssetSubscriptionTypeValue(int value) configs used only when source feeds into functionssetTimeoutMs(long value) uint64 timeoutMs = 6;setTopicsPattern(String value) 已过时。setTopicsPatternBytes(com.google.protobuf.ByteString value) 已过时。setTypeClassName(String value) string typeClassName = 5;setTypeClassNameBytes(com.google.protobuf.ByteString value) string typeClassName = 5;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - 覆盖:
internalGetMutableMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
setField
public Function.SourceSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
clearField
public Function.SourceSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
clearOneof
public Function.SourceSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
setRepeatedField
public Function.SourceSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
addRepeatedField
public Function.SourceSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.SourceSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
mergeFrom
public Function.SourceSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.SourceSpec.Builder>- 抛出:
IOException
-
getClassName
string className = 1;- 指定者:
getClassName在接口中Function.SourceSpecOrBuilder- 返回:
- The className.
-
getClassNameBytes
public com.google.protobuf.ByteString getClassNameBytes()string className = 1;- 指定者:
getClassNameBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for className.
-
setClassName
string className = 1;- 参数:
value- The className to set.- 返回:
- This builder for chaining.
-
clearClassName
string className = 1;- 返回:
- This builder for chaining.
-
setClassNameBytes
string className = 1;- 参数:
value- The bytes for className to set.- 返回:
- This builder for chaining.
-
getConfigs
map in json format
string configs = 2;- 指定者:
getConfigs在接口中Function.SourceSpecOrBuilder- 返回:
- The configs.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes()map in json format
string configs = 2;- 指定者:
getConfigsBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for configs.
-
setConfigs
map in json format
string configs = 2;- 参数:
value- The configs to set.- 返回:
- This builder for chaining.
-
clearConfigs
map in json format
string configs = 2;- 返回:
- This builder for chaining.
-
setConfigsBytes
map in json format
string configs = 2;- 参数:
value- The bytes for configs to set.- 返回:
- This builder for chaining.
-
getTypeClassName
string typeClassName = 5;- 指定者:
getTypeClassName在接口中Function.SourceSpecOrBuilder- 返回:
- The typeClassName.
-
getTypeClassNameBytes
public com.google.protobuf.ByteString getTypeClassNameBytes()string typeClassName = 5;- 指定者:
getTypeClassNameBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for typeClassName.
-
setTypeClassName
string typeClassName = 5;- 参数:
value- The typeClassName to set.- 返回:
- This builder for chaining.
-
clearTypeClassName
string typeClassName = 5;- 返回:
- This builder for chaining.
-
setTypeClassNameBytes
string typeClassName = 5;- 参数:
value- The bytes for typeClassName to set.- 返回:
- This builder for chaining.
-
getSubscriptionTypeValue
public int getSubscriptionTypeValue()configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 指定者:
getSubscriptionTypeValue在接口中Function.SourceSpecOrBuilder- 返回:
- The enum numeric value on the wire for subscriptionType.
-
setSubscriptionTypeValue
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 参数:
value- The enum numeric value on the wire for subscriptionType to set.- 返回:
- This builder for chaining.
-
getSubscriptionType
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 指定者:
getSubscriptionType在接口中Function.SourceSpecOrBuilder- 返回:
- The subscriptionType.
-
setSubscriptionType
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 参数:
value- The subscriptionType to set.- 返回:
- This builder for chaining.
-
clearSubscriptionType
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 返回:
- This builder for chaining.
-
getTopicsToSerDeClassNameCount
已过时。从接口复制的说明:Function.SourceSpecOrBuilder@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
containsTopicsToSerDeClassName
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassName
已过时。UsegetTopicsToSerDeClassNameMap()instead. -
getTopicsToSerDeClassNameMap
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassNameOrDefault
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getTopicsToSerDeClassNameOrThrow
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
clearTopicsToSerDeClassName
已过时。 -
removeTopicsToSerDeClassName
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getMutableTopicsToSerDeClassName
已过时。Use alternate mutation accessors instead. -
putTopicsToSerDeClassName
已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
putAllTopicsToSerDeClassName
@Deprecated public Function.SourceSpec.Builder putAllTopicsToSerDeClassName(Map<String, String> values) 已过时。@deprecated -- use topicsToSchema
map<string, string> topicsToSerDeClassName = 4 [deprecated = true]; -
getInputSpecsCount
public int getInputSpecsCount()从接口复制的说明:Function.SourceSpecOrBuildermap<string, .proto.ConsumerSpec> inputSpecs = 10; -
containsInputSpecs
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getInputSpecs
已过时。UsegetInputSpecsMap()instead.- 指定者:
getInputSpecs在接口中Function.SourceSpecOrBuilder
-
getInputSpecsMap
map<string, .proto.ConsumerSpec> inputSpecs = 10;- 指定者:
getInputSpecsMap在接口中Function.SourceSpecOrBuilder
-
getInputSpecsOrDefault
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getInputSpecsOrThrow
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
clearInputSpecs
-
removeInputSpecs
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getMutableInputSpecs
已过时。Use alternate mutation accessors instead. -
putInputSpecs
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
putAllInputSpecs
map<string, .proto.ConsumerSpec> inputSpecs = 10; -
getTimeoutMs
public long getTimeoutMs()uint64 timeoutMs = 6;- 指定者:
getTimeoutMs在接口中Function.SourceSpecOrBuilder- 返回:
- The timeoutMs.
-
setTimeoutMs
uint64 timeoutMs = 6;- 参数:
value- The timeoutMs to set.- 返回:
- This builder for chaining.
-
clearTimeoutMs
uint64 timeoutMs = 6;- 返回:
- This builder for chaining.
-
getTopicsPattern
已过时。string topicsPattern = 7 [deprecated = true];- 指定者:
getTopicsPattern在接口中Function.SourceSpecOrBuilder- 返回:
- The topicsPattern.
-
getTopicsPatternBytes
已过时。string topicsPattern = 7 [deprecated = true];- 指定者:
getTopicsPatternBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for topicsPattern.
-
setTopicsPattern
已过时。string topicsPattern = 7 [deprecated = true];- 参数:
value- The topicsPattern to set.- 返回:
- This builder for chaining.
-
clearTopicsPattern
已过时。string topicsPattern = 7 [deprecated = true];- 返回:
- This builder for chaining.
-
setTopicsPatternBytes
@Deprecated public Function.SourceSpec.Builder setTopicsPatternBytes(com.google.protobuf.ByteString value) 已过时。string topicsPattern = 7 [deprecated = true];- 参数:
value- The bytes for topicsPattern to set.- 返回:
- This builder for chaining.
-
getBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 8;- 指定者:
getBuiltin在接口中Function.SourceSpecOrBuilder- 返回:
- The builtin.
-
getBuiltinBytes
public com.google.protobuf.ByteString getBuiltinBytes()If specified, this will refer to an archive that is already present in the server
string builtin = 8;- 指定者:
getBuiltinBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for builtin.
-
setBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 8;- 参数:
value- The builtin to set.- 返回:
- This builder for chaining.
-
clearBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 8;- 返回:
- This builder for chaining.
-
setBuiltinBytes
If specified, this will refer to an archive that is already present in the server
string builtin = 8;- 参数:
value- The bytes for builtin to set.- 返回:
- This builder for chaining.
-
getSubscriptionName
string subscriptionName = 9;- 指定者:
getSubscriptionName在接口中Function.SourceSpecOrBuilder- 返回:
- The subscriptionName.
-
getSubscriptionNameBytes
public com.google.protobuf.ByteString getSubscriptionNameBytes()string subscriptionName = 9;- 指定者:
getSubscriptionNameBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for subscriptionName.
-
setSubscriptionName
string subscriptionName = 9;- 参数:
value- The subscriptionName to set.- 返回:
- This builder for chaining.
-
clearSubscriptionName
string subscriptionName = 9;- 返回:
- This builder for chaining.
-
setSubscriptionNameBytes
string subscriptionName = 9;- 参数:
value- The bytes for subscriptionName to set.- 返回:
- This builder for chaining.
-
getCleanupSubscription
public boolean getCleanupSubscription()bool cleanupSubscription = 11;- 指定者:
getCleanupSubscription在接口中Function.SourceSpecOrBuilder- 返回:
- The cleanupSubscription.
-
setCleanupSubscription
bool cleanupSubscription = 11;- 参数:
value- The cleanupSubscription to set.- 返回:
- This builder for chaining.
-
clearCleanupSubscription
bool cleanupSubscription = 11;- 返回:
- This builder for chaining.
-
getSubscriptionPositionValue
public int getSubscriptionPositionValue().proto.SubscriptionPosition subscriptionPosition = 12;- 指定者:
getSubscriptionPositionValue在接口中Function.SourceSpecOrBuilder- 返回:
- The enum numeric value on the wire for subscriptionPosition.
-
setSubscriptionPositionValue
.proto.SubscriptionPosition subscriptionPosition = 12;- 参数:
value- The enum numeric value on the wire for subscriptionPosition to set.- 返回:
- This builder for chaining.
-
getSubscriptionPosition
.proto.SubscriptionPosition subscriptionPosition = 12;- 指定者:
getSubscriptionPosition在接口中Function.SourceSpecOrBuilder- 返回:
- The subscriptionPosition.
-
setSubscriptionPosition
.proto.SubscriptionPosition subscriptionPosition = 12;- 参数:
value- The subscriptionPosition to set.- 返回:
- This builder for chaining.
-
clearSubscriptionPosition
.proto.SubscriptionPosition subscriptionPosition = 12;- 返回:
- This builder for chaining.
-
getNegativeAckRedeliveryDelayMs
public long getNegativeAckRedeliveryDelayMs()uint64 negativeAckRedeliveryDelayMs = 13;- 指定者:
getNegativeAckRedeliveryDelayMs在接口中Function.SourceSpecOrBuilder- 返回:
- The negativeAckRedeliveryDelayMs.
-
setNegativeAckRedeliveryDelayMs
uint64 negativeAckRedeliveryDelayMs = 13;- 参数:
value- The negativeAckRedeliveryDelayMs to set.- 返回:
- This builder for chaining.
-
clearNegativeAckRedeliveryDelayMs
uint64 negativeAckRedeliveryDelayMs = 13;- 返回:
- This builder for chaining.
-
setUnknownFields
public final Function.SourceSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-
mergeUnknownFields
public final Function.SourceSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SourceSpec.Builder>
-