类 Function.SinkSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
org.apache.pulsar.functions.proto.Function.SinkSpec.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Function.SinkSpecOrBuilder
- 封闭类:
- Function.SinkSpec
public static final class Function.SinkSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
implements Function.SinkSpecOrBuilder
Protobuf type
proto.SinkSpec-
方法概要
修饰符和类型方法说明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;map in json formatclearField(com.google.protobuf.Descriptors.FieldDescriptor field) bool forwardSourceMessageProperty = 8;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .proto.ProducerSpec producerSpec = 11;Builtin schema type or custom schema class namestring serDeClassName = 4;configs used only when functions output to sinkstring typeClassName = 5;clone()booleanmap<string, string> consumerProperties = 10;booleanmap<string, string> schemaProperties = 9;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;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 final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorbooleanbool forwardSourceMessageProperty = 8;已过时。已过时。.proto.ProducerSpec producerSpec = 11;.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;getTopic()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;boolean.proto.ProducerSpec producerSpec = 11;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.SinkSpec other) .proto.ProducerSpec producerSpec = 11;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllConsumerProperties(Map<String, String> values) map<string, string> consumerProperties = 10;putAllSchemaProperties(Map<String, String> values) map<string, string> schemaProperties = 9;putConsumerProperties(String key, String value) map<string, string> consumerProperties = 10;putSchemaProperties(String key, String value) map<string, string> schemaProperties = 9;map<string, string> consumerProperties = 10;map<string, string> schemaProperties = 9;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;setConfigs(String value) map in json formatsetConfigsBytes(com.google.protobuf.ByteString value) map in json formatsetForwardSourceMessageProperty(boolean value) bool forwardSourceMessageProperty = 8;.proto.ProducerSpec producerSpec = 11;setProducerSpec(Function.ProducerSpec.Builder builderForValue) .proto.ProducerSpec producerSpec = 11;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchemaType(String value) Builtin schema type or custom schema class namesetSchemaTypeBytes(com.google.protobuf.ByteString value) Builtin schema type or custom schema class namesetSerDeClassName(String value) string serDeClassName = 4;setSerDeClassNameBytes(com.google.protobuf.ByteString value) string serDeClassName = 4;configs used only when functions output to sinksetTopicBytes(com.google.protobuf.ByteString value) configs used only when functions output to sinksetTypeClassName(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.SinkSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - 覆盖:
internalGetMutableMapField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.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.SinkSpec.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.SinkSpec.Builder>
-
setField
public Function.SinkSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clearField
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
clearOneof
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
setRepeatedField
public Function.SinkSpec.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.SinkSpec.Builder>
-
addRepeatedField
public Function.SinkSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<Function.SinkSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeFrom
public Function.SinkSpec.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.SinkSpec.Builder>- 抛出:
IOException
-
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.
-
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.SinkSpecOrBuilder- 返回:
- The configs.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes()map in json format
string configs = 2;- 指定者:
getConfigsBytes在接口中Function.SinkSpecOrBuilder- 返回:
- 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.SinkSpecOrBuilder- 返回:
- The typeClassName.
-
getTypeClassNameBytes
public com.google.protobuf.ByteString getTypeClassNameBytes()string typeClassName = 5;- 指定者:
getTypeClassNameBytes在接口中Function.SinkSpecOrBuilder- 返回:
- 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.
-
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.
-
setTopic
configs used only when functions output to sink
string topic = 3;- 参数:
value- The topic to set.- 返回:
- This builder for chaining.
-
clearTopic
configs used only when functions output to sink
string topic = 3;- 返回:
- This builder for chaining.
-
setTopicBytes
configs used only when functions output to sink
string topic = 3;- 参数:
value- The bytes for topic to set.- 返回:
- This builder for chaining.
-
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.
-
setProducerSpec
.proto.ProducerSpec producerSpec = 11; -
setProducerSpec
.proto.ProducerSpec producerSpec = 11; -
mergeProducerSpec
.proto.ProducerSpec producerSpec = 11; -
clearProducerSpec
.proto.ProducerSpec producerSpec = 11; -
getProducerSpecBuilder
.proto.ProducerSpec producerSpec = 11; -
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.
-
setSerDeClassName
string serDeClassName = 4;- 参数:
value- The serDeClassName to set.- 返回:
- This builder for chaining.
-
clearSerDeClassName
string serDeClassName = 4;- 返回:
- This builder for chaining.
-
setSerDeClassNameBytes
string serDeClassName = 4;- 参数:
value- The bytes for serDeClassName to set.- 返回:
- This builder for chaining.
-
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.
-
setBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- 参数:
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 = 6;- 返回:
- This builder for chaining.
-
setBuiltinBytes
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- 参数:
value- The bytes for builtin to set.- 返回:
- This builder for chaining.
-
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.
-
setSchemaType
Builtin schema type or custom schema class name
string schemaType = 7;- 参数:
value- The schemaType to set.- 返回:
- This builder for chaining.
-
clearSchemaType
Builtin schema type or custom schema class name
string schemaType = 7;- 返回:
- This builder for chaining.
-
setSchemaTypeBytes
Builtin schema type or custom schema class name
string schemaType = 7;- 参数:
value- The bytes for schemaType to set.- 返回:
- This builder for chaining.
-
getForwardSourceMessageProperty
public boolean getForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;- 指定者:
getForwardSourceMessageProperty在接口中Function.SinkSpecOrBuilder- 返回:
- The forwardSourceMessageProperty.
-
setForwardSourceMessageProperty
bool forwardSourceMessageProperty = 8;- 参数:
value- The forwardSourceMessageProperty to set.- 返回:
- This builder for chaining.
-
clearForwardSourceMessageProperty
bool forwardSourceMessageProperty = 8;- 返回:
- This builder for chaining.
-
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; -
clearSchemaProperties
-
removeSchemaProperties
map<string, string> schemaProperties = 9; -
getMutableSchemaProperties
已过时。Use alternate mutation accessors instead. -
putSchemaProperties
map<string, string> schemaProperties = 9; -
putAllSchemaProperties
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; -
clearConsumerProperties
-
removeConsumerProperties
map<string, string> consumerProperties = 10; -
getMutableConsumerProperties
已过时。Use alternate mutation accessors instead. -
putConsumerProperties
map<string, string> consumerProperties = 10; -
putAllConsumerProperties
map<string, string> consumerProperties = 10; -
setUnknownFields
public final Function.SinkSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-
mergeUnknownFields
public final Function.SinkSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<Function.SinkSpec.Builder>
-