Class Function.SinkSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.SinkSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Function.SinkSpecOrBuilder
- Enclosing class:
- Function
public static final class Function.SinkSpec
extends com.google.protobuf.GeneratedMessageV3
implements Function.SinkSpecOrBuilder
Protobuf type
proto.SinkSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeproto.SinkSpecNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanmap<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 formatDeprecated.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;Deprecated.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;inthashCode()boolean.proto.ProducerSpec producerSpec = 11;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(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) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLASSNAME_FIELD_NUMBER
public static final int CLASSNAME_FIELD_NUMBER- See Also:
-
CONFIGS_FIELD_NUMBER
public static final int CONFIGS_FIELD_NUMBER- See Also:
-
TYPECLASSNAME_FIELD_NUMBER
public static final int TYPECLASSNAME_FIELD_NUMBER- See Also:
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- See Also:
-
PRODUCERSPEC_FIELD_NUMBER
public static final int PRODUCERSPEC_FIELD_NUMBER- See Also:
-
SERDECLASSNAME_FIELD_NUMBER
public static final int SERDECLASSNAME_FIELD_NUMBER- See Also:
-
BUILTIN_FIELD_NUMBER
public static final int BUILTIN_FIELD_NUMBER- See Also:
-
SCHEMATYPE_FIELD_NUMBER
public static final int SCHEMATYPE_FIELD_NUMBER- See Also:
-
FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER
public static final int FORWARDSOURCEMESSAGEPROPERTY_FIELD_NUMBER- See Also:
-
SCHEMAPROPERTIES_FIELD_NUMBER
public static final int SCHEMAPROPERTIES_FIELD_NUMBER- See Also:
-
CONSUMERPROPERTIES_FIELD_NUMBER
public static final int CONSUMERPROPERTIES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getClassName
string className = 1;- Specified by:
getClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The className.
-
getClassNameBytes
public com.google.protobuf.ByteString getClassNameBytes()string className = 1;- Specified by:
getClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for className.
-
getConfigs
map in json format
string configs = 2;- Specified by:
getConfigsin interfaceFunction.SinkSpecOrBuilder- Returns:
- The configs.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes()map in json format
string configs = 2;- Specified by:
getConfigsBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for configs.
-
getTypeClassName
string typeClassName = 5;- Specified by:
getTypeClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The typeClassName.
-
getTypeClassNameBytes
public com.google.protobuf.ByteString getTypeClassNameBytes()string typeClassName = 5;- Specified by:
getTypeClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for typeClassName.
-
getTopic
configs used only when functions output to sink
string topic = 3;- Specified by:
getTopicin interfaceFunction.SinkSpecOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()configs used only when functions output to sink
string topic = 3;- Specified by:
getTopicBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for topic.
-
hasProducerSpec
public boolean hasProducerSpec().proto.ProducerSpec producerSpec = 11;- Specified by:
hasProducerSpecin interfaceFunction.SinkSpecOrBuilder- Returns:
- Whether the producerSpec field is set.
-
getProducerSpec
.proto.ProducerSpec producerSpec = 11;- Specified by:
getProducerSpecin interfaceFunction.SinkSpecOrBuilder- Returns:
- The producerSpec.
-
getProducerSpecOrBuilder
.proto.ProducerSpec producerSpec = 11;- Specified by:
getProducerSpecOrBuilderin interfaceFunction.SinkSpecOrBuilder
-
getSerDeClassName
string serDeClassName = 4;- Specified by:
getSerDeClassNamein interfaceFunction.SinkSpecOrBuilder- Returns:
- The serDeClassName.
-
getSerDeClassNameBytes
public com.google.protobuf.ByteString getSerDeClassNameBytes()string serDeClassName = 4;- Specified by:
getSerDeClassNameBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for serDeClassName.
-
getBuiltin
If specified, this will refer to an archive that is already present in the server
string builtin = 6;- Specified by:
getBuiltinin interfaceFunction.SinkSpecOrBuilder- Returns:
- 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;- Specified by:
getBuiltinBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for builtin.
-
getSchemaType
Builtin schema type or custom schema class name
string schemaType = 7;- Specified by:
getSchemaTypein interfaceFunction.SinkSpecOrBuilder- Returns:
- The schemaType.
-
getSchemaTypeBytes
public com.google.protobuf.ByteString getSchemaTypeBytes()Builtin schema type or custom schema class name
string schemaType = 7;- Specified by:
getSchemaTypeBytesin interfaceFunction.SinkSpecOrBuilder- Returns:
- The bytes for schemaType.
-
getForwardSourceMessageProperty
public boolean getForwardSourceMessageProperty()bool forwardSourceMessageProperty = 8;- Specified by:
getForwardSourceMessagePropertyin interfaceFunction.SinkSpecOrBuilder- Returns:
- The forwardSourceMessageProperty.
-
getSchemaPropertiesCount
public int getSchemaPropertiesCount()Description copied from interface:Function.SinkSpecOrBuildermap<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesCountin interfaceFunction.SinkSpecOrBuilder
-
containsSchemaProperties
map<string, string> schemaProperties = 9;- Specified by:
containsSchemaPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getSchemaProperties
Deprecated.UsegetSchemaPropertiesMap()instead.- Specified by:
getSchemaPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesMap
map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesMapin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesOrDefault
map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesOrDefaultin interfaceFunction.SinkSpecOrBuilder
-
getSchemaPropertiesOrThrow
map<string, string> schemaProperties = 9;- Specified by:
getSchemaPropertiesOrThrowin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesCount
public int getConsumerPropertiesCount()Description copied from interface:Function.SinkSpecOrBuildermap<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesCountin interfaceFunction.SinkSpecOrBuilder
-
containsConsumerProperties
map<string, string> consumerProperties = 10;- Specified by:
containsConsumerPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getConsumerProperties
Deprecated.UsegetConsumerPropertiesMap()instead.- Specified by:
getConsumerPropertiesin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesMap
map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesMapin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesOrDefault
map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesOrDefaultin interfaceFunction.SinkSpecOrBuilder
-
getConsumerPropertiesOrThrow
map<string, string> consumerProperties = 10;- Specified by:
getConsumerPropertiesOrThrowin interfaceFunction.SinkSpecOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Function.SinkSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
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 - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.SinkSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Function.SinkSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Function.SinkSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Function.SinkSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Function.SinkSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-