类 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,java.io.Serializable,Function.SinkSpecOrBuilder
- 封闭类:
- Function
public static final class Function.SinkSpec extends com.google.protobuf.GeneratedMessageV3 implements Function.SinkSpecOrBuilder
Protobuf typeproto.SinkSpec- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classFunction.SinkSpec.BuilderProtobuf typeproto.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
-
-
字段概要
字段 修饰符和类型 字段 说明 static intBUILTIN_FIELD_NUMBERstatic intCLASSNAME_FIELD_NUMBERstatic intCONFIGS_FIELD_NUMBERstatic intCONSUMERPROPERTIES_FIELD_NUMBERstatic intFORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBERstatic intPRODUCERSPEC_FIELD_NUMBERstatic intSCHEMAPROPERTIES_FIELD_NUMBERstatic intSCHEMATYPE_FIELD_NUMBERstatic intSERDECLASSNAME_FIELD_NUMBERstatic intTOPIC_FIELD_NUMBERstatic intTYPECLASSNAME_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsConsumerProperties(java.lang.String key)map<string, string> consumerProperties = 10;booleancontainsSchemaProperties(java.lang.String key)map<string, string> schemaProperties = 9;booleanequals(java.lang.Object obj)java.lang.StringgetBuiltin()If specified, this will refer to an archive that is already present in the servercom.google.protobuf.ByteStringgetBuiltinBytes()If specified, this will refer to an archive that is already present in the serverjava.lang.StringgetClassName()string className = 1;com.google.protobuf.ByteStringgetClassNameBytes()string className = 1;java.lang.StringgetConfigs()map in json formatcom.google.protobuf.ByteStringgetConfigsBytes()map in json formatjava.util.Map<java.lang.String,java.lang.String>getConsumerProperties()已过时。intgetConsumerPropertiesCount()map<string, string> consumerProperties = 10;java.util.Map<java.lang.String,java.lang.String>getConsumerPropertiesMap()map<string, string> consumerProperties = 10;java.lang.StringgetConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 10;java.lang.StringgetConsumerPropertiesOrThrow(java.lang.String key)map<string, string> consumerProperties = 10;static Function.SinkSpecgetDefaultInstance()Function.SinkSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;com.google.protobuf.Parser<Function.SinkSpec>getParserForType()Function.ProducerSpecgetProducerSpec().proto.ProducerSpec producerSpec = 11;Function.ProducerSpecOrBuildergetProducerSpecOrBuilder().proto.ProducerSpec producerSpec = 11;java.util.Map<java.lang.String,java.lang.String>getSchemaProperties()已过时。intgetSchemaPropertiesCount()map<string, string> schemaProperties = 9;java.util.Map<java.lang.String,java.lang.String>getSchemaPropertiesMap()map<string, string> schemaProperties = 9;java.lang.StringgetSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 9;java.lang.StringgetSchemaPropertiesOrThrow(java.lang.String key)map<string, string> schemaProperties = 9;java.lang.StringgetSchemaType()Builtin schema type or custom schema class namecom.google.protobuf.ByteStringgetSchemaTypeBytes()Builtin schema type or custom schema class namejava.lang.StringgetSerDeClassName()string serDeClassName = 4;com.google.protobuf.ByteStringgetSerDeClassNameBytes()string serDeClassName = 4;intgetSerializedSize()java.lang.StringgetTopic()configs used only when functions output to sinkcom.google.protobuf.ByteStringgetTopicBytes()configs used only when functions output to sinkjava.lang.StringgetTypeClassName()string typeClassName = 5;com.google.protobuf.ByteStringgetTypeClassNameBytes()string typeClassName = 5;com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasProducerSpec().proto.ProducerSpec producerSpec = 11;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Function.SinkSpec.BuildernewBuilder()static Function.SinkSpec.BuildernewBuilder(Function.SinkSpec prototype)Function.SinkSpec.BuildernewBuilderForType()protected Function.SinkSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Function.SinkSpecparseDelimitedFrom(java.io.InputStream input)static Function.SinkSpecparseDelimitedFrom(java.io.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(java.io.InputStream input)static Function.SinkSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Function.SinkSpecparseFrom(java.nio.ByteBuffer data)static Function.SinkSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Function.SinkSpec>parser()Function.SinkSpec.BuildertoBuilder()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
-
-
-
-
字段详细资料
-
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
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public Function.ProducerSpec getProducerSpec()
.proto.ProducerSpec producerSpec = 11;- 指定者:
getProducerSpec在接口中Function.SinkSpecOrBuilder- 返回:
- The producerSpec.
-
getProducerSpecOrBuilder
public Function.ProducerSpecOrBuilder getProducerSpecOrBuilder()
.proto.ProducerSpec producerSpec = 11;
-
getSerDeClassName
public java.lang.String 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
public java.lang.String 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
public java.lang.String 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
public boolean containsSchemaProperties(java.lang.String key)
map<string, string> schemaProperties = 9;
-
getSchemaProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSchemaProperties()
已过时。UsegetSchemaPropertiesMap()instead.
-
getSchemaPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> getSchemaPropertiesMap()
map<string, string> schemaProperties = 9;
-
getSchemaPropertiesOrDefault
public java.lang.String getSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 9;
-
getSchemaPropertiesOrThrow
public java.lang.String getSchemaPropertiesOrThrow(java.lang.String key)
map<string, string> schemaProperties = 9;
-
getConsumerPropertiesCount
public int getConsumerPropertiesCount()
从接口复制的说明:Function.SinkSpecOrBuildermap<string, string> consumerProperties = 10;
-
containsConsumerProperties
public boolean containsConsumerProperties(java.lang.String key)
map<string, string> consumerProperties = 10;
-
getConsumerProperties
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getConsumerProperties()
已过时。UsegetConsumerPropertiesMap()instead.
-
getConsumerPropertiesMap
public java.util.Map<java.lang.String,java.lang.String> getConsumerPropertiesMap()
map<string, string> consumerProperties = 10;
-
getConsumerPropertiesOrDefault
public java.lang.String getConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 10;
-
getConsumerPropertiesOrThrow
public java.lang.String getConsumerPropertiesOrThrow(java.lang.String key)
map<string, string> consumerProperties = 10;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 指定者:
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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(java.nio.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
public static Function.SinkSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.SinkSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Function.SinkSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Function.SinkSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public Function.SinkSpec.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Function.SinkSpec.Builder newBuilder()
-
newBuilder
public static Function.SinkSpec.Builder newBuilder(Function.SinkSpec prototype)
-
toBuilder
public Function.SinkSpec.Builder 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
public static Function.SinkSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Function.SinkSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Function.SinkSpec> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Function.SinkSpec getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-