类 Function.SinkSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.SinkSpec
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Function.SinkSpecOrBuilder
- 封闭类:
- Function
public static final class Function.SinkSpec
extends com.google.protobuf.GeneratedMessageV3
implements Function.SinkSpecOrBuilder
Protobuf type
proto.SinkSpec- 另请参阅:
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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 int从类继承的字段 com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields从类继承的字段 com.google.protobuf.AbstractMessage
memoizedSize从类继承的字段 com.google.protobuf.AbstractMessageLite
memoizedHashCode -
方法概要
修饰符和类型方法说明booleanmap<string, string> consumerProperties = 10;booleanmap<string, string> schemaProperties = 9;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;map in json formatcom.google.protobuf.ByteStringmap in json format已过时。intmap<string, string> consumerProperties = 10;map<string, string> consumerProperties = 10;getConsumerPropertiesOrDefault(String key, String defaultValue) map<string, string> consumerProperties = 10;map<string, string> consumerProperties = 10;static Function.SinkSpecstatic final com.google.protobuf.Descriptors.Descriptorbooleanbool forwardSourceMessageProperty = 8;com.google.protobuf.Parser<Function.SinkSpec>.proto.ProducerSpec producerSpec = 11;.proto.ProducerSpec producerSpec = 11;已过时。intmap<string, string> schemaProperties = 9;map<string, string> schemaProperties = 9;getSchemaPropertiesOrDefault(String key, String defaultValue) map<string, string> schemaProperties = 9;map<string, string> schemaProperties = 9;Builtin schema type or custom schema class namecom.google.protobuf.ByteStringBuiltin schema type or custom schema class namestring serDeClassName = 4;com.google.protobuf.ByteStringstring serDeClassName = 4;intgetTopic()configs used only when functions output to sinkcom.google.protobuf.ByteStringconfigs used only when functions output to sinkstring typeClassName = 5;com.google.protobuf.ByteStringstring typeClassName = 5;final com.google.protobuf.UnknownFieldSetinthashCode()boolean.proto.ProducerSpec producerSpec = 11;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Function.SinkSpec.Builderstatic Function.SinkSpec.BuildernewBuilder(Function.SinkSpec prototype) protected Function.SinkSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Function.SinkSpecparseDelimitedFrom(InputStream input) static Function.SinkSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SinkSpecparseFrom(byte[] data) static Function.SinkSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SinkSpecparseFrom(com.google.protobuf.ByteString data) static Function.SinkSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SinkSpecparseFrom(com.google.protobuf.CodedInputStream input) static Function.SinkSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SinkSpecparseFrom(InputStream input) static Function.SinkSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.SinkSpecparseFrom(ByteBuffer data) static Function.SinkSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Function.SinkSpec>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- 另请参阅:
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- 另请参阅:
-
PRODUCERSPEC_FIELD_NUMBER
public static final int PRODUCERSPEC_FIELD_NUMBER- 另请参阅:
-
SERDECLASSNAME_FIELD_NUMBER
public static final int SERDECLASSNAME_FIELD_NUMBER- 另请参阅:
-
BUILTIN_FIELD_NUMBER
public static final int BUILTIN_FIELD_NUMBER- 另请参阅:
-
SCHEMATYPE_FIELD_NUMBER
public static final int SCHEMATYPE_FIELD_NUMBER- 另请参阅:
-
FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER
public static final int FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER- 另请参阅:
-
SCHEMAPROPERTIES_FIELD_NUMBER
public static final int SCHEMAPROPERTIES_FIELD_NUMBER- 另请参阅:
-
CONSUMERPROPERTIES_FIELD_NUMBER
public static final int CONSUMERPROPERTIES_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.SinkSpecOrBuilder- 返回:
- The className.
-
getClassNameBytes
public com.google.protobuf.ByteString getClassNameBytes()string className = 1;- 指定者:
getClassNameBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for className.
-
getConfigs
map in json format
string configs = 2;- 指定者:
getConfigs在接口中Function.SinkSpecOrBuilder- 返回:
- The configs.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes()map in json format
string configs = 2;- 指定者:
getConfigsBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for configs.
-
getTypeClassName
string typeClassName = 5;- 指定者:
getTypeClassName在接口中Function.SinkSpecOrBuilder- 返回:
- The typeClassName.
-
getTypeClassNameBytes
public com.google.protobuf.ByteString getTypeClassNameBytes()string typeClassName = 5;- 指定者:
getTypeClassNameBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for typeClassName.
-
getTopic
configs used only when functions output to sink
string topic = 3;- 指定者:
getTopic在接口中Function.SinkSpecOrBuilder- 返回:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()configs used only when functions output to sink
string topic = 3;- 指定者:
getTopicBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for topic.
-
hasProducerSpec
public boolean hasProducerSpec().proto.ProducerSpec producerSpec = 11;- 指定者:
hasProducerSpec在接口中Function.SinkSpecOrBuilder- 返回:
- Whether the producerSpec field is set.
-
getProducerSpec
.proto.ProducerSpec producerSpec = 11;- 指定者:
getProducerSpec在接口中Function.SinkSpecOrBuilder- 返回:
- The producerSpec.
-
getProducerSpecOrBuilder
.proto.ProducerSpec producerSpec = 11; -
getSerDeClassName
string serDeClassName = 4;- 指定者:
getSerDeClassName在接口中Function.SinkSpecOrBuilder- 返回:
- The serDeClassName.
-
getSerDeClassNameBytes
public com.google.protobuf.ByteString getSerDeClassNameBytes()string serDeClassName = 4;- 指定者:
getSerDeClassNameBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for serDeClassName.
-
getBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- 指定者:
getBuiltin在接口中Function.SinkSpecOrBuilder- 返回:
- 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 = 6;- 指定者:
getBuiltinBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for builtin.
-
getSchemaType
Builtin schema type or custom schema class name
string schemaType = 7;- 指定者:
getSchemaType在接口中Function.SinkSpecOrBuilder- 返回:
- The schemaType.
-
getSchemaTypeBytes
public com.google.protobuf.ByteString getSchemaTypeBytes()Builtin schema type or custom schema class name
string schemaType = 7;- 指定者:
getSchemaTypeBytes在接口中Function.SinkSpecOrBuilder- 返回:
- The bytes for schemaType.
-
getForwardSourceMessageProperty
public boolean getForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;- 指定者:
getForwardSourceMessageProperty在接口中Function.SinkSpecOrBuilder- 返回:
- The forwardSourceMessageProperty.
-
getSchemaPropertiesCount
public int getSchemaPropertiesCount()从接口复制的说明:Function.SinkSpecOrBuildermap<string, string> schemaProperties = 9; -
containsSchemaProperties
map<string, string> schemaProperties = 9; -
getSchemaProperties
已过时。UsegetSchemaPropertiesMap()instead. -
getSchemaPropertiesMap
map<string, string> schemaProperties = 9; -
getSchemaPropertiesOrDefault
map<string, string> schemaProperties = 9; -
getSchemaPropertiesOrThrow
map<string, string> schemaProperties = 9; -
getConsumerPropertiesCount
public int getConsumerPropertiesCount()从接口复制的说明:Function.SinkSpecOrBuildermap<string, string> consumerProperties = 10; -
containsConsumerProperties
map<string, string> consumerProperties = 10; -
getConsumerProperties
已过时。UsegetConsumerPropertiesMap()instead. -
getConsumerPropertiesMap
map<string, string> consumerProperties = 10; -
getConsumerPropertiesOrDefault
map<string, string> consumerProperties = 10; -
getConsumerPropertiesOrThrow
map<string, string> consumerProperties = 10; -
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.SinkSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- 抛出:
IOException
-
parseFrom
public static Function.SinkSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseDelimitedFrom
- 抛出:
IOException
-
parseDelimitedFrom
public static Function.SinkSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 抛出:
IOException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - 抛出:
IOException
-
parseFrom
public static Function.SinkSpec 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.SinkSpec.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
-