类 Function.SourceSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.SourceSpec
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Function.SourceSpecOrBuilder
- 封闭类:
- Function
public static final class Function.SourceSpec
extends com.google.protobuf.GeneratedMessageV3
implements Function.SourceSpecOrBuilder
Protobuf type
proto.SourceSpec- 另请参阅:
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
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 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
字段概要
字段修饰符和类型字段说明static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleancontainsInputSpecs(String key) boolean已过时。booleanIf 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 Function.SourceSpecstatic final com.google.protobuf.Descriptors.Descriptor已过时。intgetInputSpecsOrDefault(String key, Function.ConsumerSpec defaultValue) longuint64 negativeAckRedeliveryDelayMs = 13;com.google.protobuf.Parser<Function.SourceSpec>intstring 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;final com.google.protobuf.UnknownFieldSetinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Function.SourceSpec.Builderstatic Function.SourceSpec.BuildernewBuilder(Function.SourceSpec prototype) protected Function.SourceSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Function.SourceSpecparseDelimitedFrom(InputStream input) static Function.SourceSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SourceSpecparseFrom(byte[] data) static Function.SourceSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SourceSpecparseFrom(com.google.protobuf.ByteString data) static Function.SourceSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SourceSpecparseFrom(com.google.protobuf.CodedInputStream input) static Function.SourceSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SourceSpecparseFrom(InputStream input) static Function.SourceSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SourceSpecparseFrom(ByteBuffer data) static Function.SourceSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Function.SourceSpec>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) 从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString从类继承的方法 com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
字段详细资料
-
CLASSNAME_FIELD_NUMBER
public static final int CLASSNAME_FIELD_NUMBER- 另请参阅:
-
CONFIGS_FIELD_NUMBER
public static final int CONFIGS_FIELD_NUMBER- 另请参阅:
-
TYPECLASSNAME_FIELD_NUMBER
public static final int TYPECLASSNAME_FIELD_NUMBER- 另请参阅:
-
SUBSCRIPTIONTYPE_FIELD_NUMBER
public static final int SUBSCRIPTIONTYPE_FIELD_NUMBER- 另请参阅:
-
TOPICSTOSERDECLASSNAME_FIELD_NUMBER
public static final int TOPICSTOSERDECLASSNAME_FIELD_NUMBER- 另请参阅:
-
INPUTSPECS_FIELD_NUMBER
public static final int INPUTSPECS_FIELD_NUMBER- 另请参阅:
-
TIMEOUTMS_FIELD_NUMBER
public static final int TIMEOUTMS_FIELD_NUMBER- 另请参阅:
-
TOPICSPATTERN_FIELD_NUMBER
public static final int TOPICSPATTERN_FIELD_NUMBER- 另请参阅:
-
BUILTIN_FIELD_NUMBER
public static final int BUILTIN_FIELD_NUMBER- 另请参阅:
-
SUBSCRIPTIONNAME_FIELD_NUMBER
public static final int SUBSCRIPTIONNAME_FIELD_NUMBER- 另请参阅:
-
CLEANUPSUBSCRIPTION_FIELD_NUMBER
public static final int CLEANUPSUBSCRIPTION_FIELD_NUMBER- 另请参阅:
-
SUBSCRIPTIONPOSITION_FIELD_NUMBER
public static final int SUBSCRIPTIONPOSITION_FIELD_NUMBER- 另请参阅:
-
NEGATIVEACKREDELIVERYDELAYMS_FIELD_NUMBER
public static final int NEGATIVEACKREDELIVERYDELAYMS_FIELD_NUMBER- 另请参阅:
-
-
方法详细资料
-
newInstance
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
getSubscriptionType
configs used only when source feeds into functions
.proto.SubscriptionType subscriptionType = 3;- 指定者:
getSubscriptionType在接口中Function.SourceSpecOrBuilder- 返回:
- The subscriptionType.
-
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]; -
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; -
getTimeoutMs
public long getTimeoutMs()uint64 timeoutMs = 6;- 指定者:
getTimeoutMs在接口中Function.SourceSpecOrBuilder- 返回:
- The timeoutMs.
-
getTopicsPattern
已过时。string topicsPattern = 7 [deprecated = true];- 指定者:
getTopicsPattern在接口中Function.SourceSpecOrBuilder- 返回:
- The topicsPattern.
-
getTopicsPatternBytes
已过时。string topicsPattern = 7 [deprecated = true];- 指定者:
getTopicsPatternBytes在接口中Function.SourceSpecOrBuilder- 返回:
- The bytes for topicsPattern.
-
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.
-
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.
-
getCleanupSubscription
public boolean getCleanupSubscription()bool cleanupSubscription = 11;- 指定者:
getCleanupSubscription在接口中Function.SourceSpecOrBuilder- 返回:
- The cleanupSubscription.
-
getSubscriptionPositionValue
public int getSubscriptionPositionValue().proto.SubscriptionPosition subscriptionPosition = 12;- 指定者:
getSubscriptionPositionValue在接口中Function.SourceSpecOrBuilder- 返回:
- The enum numeric value on the wire for subscriptionPosition.
-
getSubscriptionPosition
.proto.SubscriptionPosition subscriptionPosition = 12;- 指定者:
getSubscriptionPosition在接口中Function.SourceSpecOrBuilder- 返回:
- The subscriptionPosition.
-
getNegativeAckRedeliveryDelayMs
public long getNegativeAckRedeliveryDelayMs()uint64 negativeAckRedeliveryDelayMs = 13;- 指定者:
getNegativeAckRedeliveryDelayMs在接口中Function.SourceSpecOrBuilder- 返回:
- The negativeAckRedeliveryDelayMs.
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Function.SourceSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SourceSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SourceSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SourceSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SourceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SourceSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Function.SourceSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Function.SourceSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static Function.SourceSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static Function.SourceSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
newBuilderForType
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Function.SourceSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-