Class Function.ConsumerSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.pulsar.functions.proto.Function.ConsumerSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Function.ConsumerSpecOrBuilder
- Enclosing class:
- Function
public static final class Function.ConsumerSpec
extends com.google.protobuf.GeneratedMessageV3
implements Function.ConsumerSpecOrBuilder
Protobuf type
proto.ConsumerSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeproto.ConsumerSpecstatic final classProtobuf typeproto.ConsumerSpec.ReceiverQueueSizestatic interfaceNested 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 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 = 6;booleanmap<string, string> schemaProperties = 5;booleanDeprecated.intmap<string, string> consumerProperties = 6;map<string, string> consumerProperties = 6;getConsumerPropertiesOrDefault(String key, String defaultValue) map<string, string> consumerProperties = 6;map<string, string> consumerProperties = 6;.proto.CryptoSpec cryptoSpec = 7;.proto.CryptoSpec cryptoSpec = 7;static Function.ConsumerSpecstatic final com.google.protobuf.Descriptors.Descriptorbooleanbool isRegexPattern = 3;com.google.protobuf.Parser<Function.ConsumerSpec>booleanbool poolMessages = 8;.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;Deprecated.intmap<string, string> schemaProperties = 5;map<string, string> schemaProperties = 5;getSchemaPropertiesOrDefault(String key, String defaultValue) map<string, string> schemaProperties = 5;map<string, string> schemaProperties = 5;string schemaType = 1;com.google.protobuf.ByteStringstring schemaType = 1;string serdeClassName = 2;com.google.protobuf.ByteStringstring serdeClassName = 2;intboolean.proto.CryptoSpec cryptoSpec = 7;inthashCode()boolean.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleannewBuilder(Function.ConsumerSpec prototype) protected Function.ConsumerSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Function.ConsumerSpecparseDelimitedFrom(InputStream input) static Function.ConsumerSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.ConsumerSpecparseFrom(byte[] data) static Function.ConsumerSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.ConsumerSpecparseFrom(com.google.protobuf.ByteString data) static Function.ConsumerSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.ConsumerSpecparseFrom(com.google.protobuf.CodedInputStream input) static Function.ConsumerSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.ConsumerSpecparseFrom(InputStream input) static Function.ConsumerSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Function.ConsumerSpecparseFrom(ByteBuffer data) static Function.ConsumerSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Function.ConsumerSpec>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
-
SCHEMATYPE_FIELD_NUMBER
public static final int SCHEMATYPE_FIELD_NUMBER- See Also:
-
SERDECLASSNAME_FIELD_NUMBER
public static final int SERDECLASSNAME_FIELD_NUMBER- See Also:
-
ISREGEXPATTERN_FIELD_NUMBER
public static final int ISREGEXPATTERN_FIELD_NUMBER- See Also:
-
RECEIVERQUEUESIZE_FIELD_NUMBER
public static final int RECEIVERQUEUESIZE_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:
-
CRYPTOSPEC_FIELD_NUMBER
public static final int CRYPTOSPEC_FIELD_NUMBER- See Also:
-
POOLMESSAGES_FIELD_NUMBER
public static final int POOLMESSAGES_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
-
getSchemaType
string schemaType = 1;- Specified by:
getSchemaTypein interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The schemaType.
-
getSchemaTypeBytes
public com.google.protobuf.ByteString getSchemaTypeBytes()string schemaType = 1;- Specified by:
getSchemaTypeBytesin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The bytes for schemaType.
-
getSerdeClassName
string serdeClassName = 2;- Specified by:
getSerdeClassNamein interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The serdeClassName.
-
getSerdeClassNameBytes
public com.google.protobuf.ByteString getSerdeClassNameBytes()string serdeClassName = 2;- Specified by:
getSerdeClassNameBytesin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The bytes for serdeClassName.
-
getIsRegexPattern
public boolean getIsRegexPattern()bool isRegexPattern = 3;- Specified by:
getIsRegexPatternin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The isRegexPattern.
-
hasReceiverQueueSize
public boolean hasReceiverQueueSize().proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;- Specified by:
hasReceiverQueueSizein interfaceFunction.ConsumerSpecOrBuilder- Returns:
- Whether the receiverQueueSize field is set.
-
getReceiverQueueSize
.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;- Specified by:
getReceiverQueueSizein interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The receiverQueueSize.
-
getReceiverQueueSizeOrBuilder
.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;- Specified by:
getReceiverQueueSizeOrBuilderin interfaceFunction.ConsumerSpecOrBuilder
-
getSchemaPropertiesCount
public int getSchemaPropertiesCount()Description copied from interface:Function.ConsumerSpecOrBuildermap<string, string> schemaProperties = 5;- Specified by:
getSchemaPropertiesCountin interfaceFunction.ConsumerSpecOrBuilder
-
containsSchemaProperties
map<string, string> schemaProperties = 5;- Specified by:
containsSchemaPropertiesin interfaceFunction.ConsumerSpecOrBuilder
-
getSchemaProperties
Deprecated.UsegetSchemaPropertiesMap()instead.- Specified by:
getSchemaPropertiesin interfaceFunction.ConsumerSpecOrBuilder
-
getSchemaPropertiesMap
map<string, string> schemaProperties = 5;- Specified by:
getSchemaPropertiesMapin interfaceFunction.ConsumerSpecOrBuilder
-
getSchemaPropertiesOrDefault
map<string, string> schemaProperties = 5;- Specified by:
getSchemaPropertiesOrDefaultin interfaceFunction.ConsumerSpecOrBuilder
-
getSchemaPropertiesOrThrow
map<string, string> schemaProperties = 5;- Specified by:
getSchemaPropertiesOrThrowin interfaceFunction.ConsumerSpecOrBuilder
-
getConsumerPropertiesCount
public int getConsumerPropertiesCount()Description copied from interface:Function.ConsumerSpecOrBuildermap<string, string> consumerProperties = 6;- Specified by:
getConsumerPropertiesCountin interfaceFunction.ConsumerSpecOrBuilder
-
containsConsumerProperties
map<string, string> consumerProperties = 6;- Specified by:
containsConsumerPropertiesin interfaceFunction.ConsumerSpecOrBuilder
-
getConsumerProperties
Deprecated.UsegetConsumerPropertiesMap()instead.- Specified by:
getConsumerPropertiesin interfaceFunction.ConsumerSpecOrBuilder
-
getConsumerPropertiesMap
map<string, string> consumerProperties = 6;- Specified by:
getConsumerPropertiesMapin interfaceFunction.ConsumerSpecOrBuilder
-
getConsumerPropertiesOrDefault
map<string, string> consumerProperties = 6;- Specified by:
getConsumerPropertiesOrDefaultin interfaceFunction.ConsumerSpecOrBuilder
-
getConsumerPropertiesOrThrow
map<string, string> consumerProperties = 6;- Specified by:
getConsumerPropertiesOrThrowin interfaceFunction.ConsumerSpecOrBuilder
-
hasCryptoSpec
public boolean hasCryptoSpec().proto.CryptoSpec cryptoSpec = 7;- Specified by:
hasCryptoSpecin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- Whether the cryptoSpec field is set.
-
getCryptoSpec
.proto.CryptoSpec cryptoSpec = 7;- Specified by:
getCryptoSpecin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The cryptoSpec.
-
getCryptoSpecOrBuilder
.proto.CryptoSpec cryptoSpec = 7;- Specified by:
getCryptoSpecOrBuilderin interfaceFunction.ConsumerSpecOrBuilder
-
getPoolMessages
public boolean getPoolMessages()bool poolMessages = 8;- Specified by:
getPoolMessagesin interfaceFunction.ConsumerSpecOrBuilder- Returns:
- The poolMessages.
-
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.ConsumerSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec 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.ConsumerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec 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.ConsumerSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Function.ConsumerSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Function.ConsumerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Function.ConsumerSpec 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.ConsumerSpec.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
-