类 Function.ConsumerSpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.apache.pulsar.functions.proto.Function.ConsumerSpec
-
- 所有已实现的接口:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,Function.ConsumerSpecOrBuilder
- 封闭类:
- Function
public static final class Function.ConsumerSpec extends com.google.protobuf.GeneratedMessageV3 implements Function.ConsumerSpecOrBuilder
Protobuf typeproto.ConsumerSpec- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classFunction.ConsumerSpec.BuilderProtobuf typeproto.ConsumerSpecstatic classFunction.ConsumerSpec.ReceiverQueueSizeProtobuf typeproto.ConsumerSpec.ReceiverQueueSizestatic interfaceFunction.ConsumerSpec.ReceiverQueueSizeOrBuilder-
从类继承的嵌套类/接口 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 intCONSUMERPROPERTIES_FIELD_NUMBERstatic intCRYPTOSPEC_FIELD_NUMBERstatic intISREGEXPATTERN_FIELD_NUMBERstatic intPOOLMESSAGES_FIELD_NUMBERstatic intRECEIVERQUEUESIZE_FIELD_NUMBERstatic intSCHEMAPROPERTIES_FIELD_NUMBERstatic intSCHEMATYPE_FIELD_NUMBERstatic intSERDECLASSNAME_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsConsumerProperties(java.lang.String key)map<string, string> consumerProperties = 6;booleancontainsSchemaProperties(java.lang.String key)map<string, string> schemaProperties = 5;booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,java.lang.String>getConsumerProperties()已过时。intgetConsumerPropertiesCount()map<string, string> consumerProperties = 6;java.util.Map<java.lang.String,java.lang.String>getConsumerPropertiesMap()map<string, string> consumerProperties = 6;java.lang.StringgetConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 6;java.lang.StringgetConsumerPropertiesOrThrow(java.lang.String key)map<string, string> consumerProperties = 6;Function.CryptoSpecgetCryptoSpec().proto.CryptoSpec cryptoSpec = 7;Function.CryptoSpecOrBuildergetCryptoSpecOrBuilder().proto.CryptoSpec cryptoSpec = 7;static Function.ConsumerSpecgetDefaultInstance()Function.ConsumerSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIsRegexPattern()bool isRegexPattern = 3;com.google.protobuf.Parser<Function.ConsumerSpec>getParserForType()booleangetPoolMessages()bool poolMessages = 8;Function.ConsumerSpec.ReceiverQueueSizegetReceiverQueueSize().proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;Function.ConsumerSpec.ReceiverQueueSizeOrBuildergetReceiverQueueSizeOrBuilder().proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;java.util.Map<java.lang.String,java.lang.String>getSchemaProperties()已过时。intgetSchemaPropertiesCount()map<string, string> schemaProperties = 5;java.util.Map<java.lang.String,java.lang.String>getSchemaPropertiesMap()map<string, string> schemaProperties = 5;java.lang.StringgetSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 5;java.lang.StringgetSchemaPropertiesOrThrow(java.lang.String key)map<string, string> schemaProperties = 5;java.lang.StringgetSchemaType()string schemaType = 1;com.google.protobuf.ByteStringgetSchemaTypeBytes()string schemaType = 1;java.lang.StringgetSerdeClassName()string serdeClassName = 2;com.google.protobuf.ByteStringgetSerdeClassNameBytes()string serdeClassName = 2;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCryptoSpec().proto.CryptoSpec cryptoSpec = 7;inthashCode()booleanhasReceiverQueueSize().proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Function.ConsumerSpec.BuildernewBuilder()static Function.ConsumerSpec.BuildernewBuilder(Function.ConsumerSpec prototype)Function.ConsumerSpec.BuildernewBuilderForType()protected Function.ConsumerSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Function.ConsumerSpecparseDelimitedFrom(java.io.InputStream input)static Function.ConsumerSpecparseDelimitedFrom(java.io.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(java.io.InputStream input)static Function.ConsumerSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Function.ConsumerSpecparseFrom(java.nio.ByteBuffer data)static Function.ConsumerSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Function.ConsumerSpec>parser()Function.ConsumerSpec.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
-
-
-
-
字段详细资料
-
SCHEMATYPE_FIELD_NUMBER
public static final int SCHEMATYPE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SERDECLASSNAME_FIELD_NUMBER
public static final int SERDECLASSNAME_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
ISREGEXPATTERN_FIELD_NUMBER
public static final int ISREGEXPATTERN_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
RECEIVERQUEUESIZE_FIELD_NUMBER
public static final int RECEIVERQUEUESIZE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SCHEMAPROPERTIES_FIELD_NUMBER
public static final int SCHEMAPROPERTIES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
CONSUMERPROPERTIES_FIELD_NUMBER
public static final int CONSUMERPROPERTIES_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
CRYPTOSPEC_FIELD_NUMBER
public static final int CRYPTOSPEC_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
POOLMESSAGES_FIELD_NUMBER
public static final int POOLMESSAGES_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
-
getSchemaType
public java.lang.String getSchemaType()
string schemaType = 1;- 指定者:
getSchemaType在接口中Function.ConsumerSpecOrBuilder- 返回:
- The schemaType.
-
getSchemaTypeBytes
public com.google.protobuf.ByteString getSchemaTypeBytes()
string schemaType = 1;- 指定者:
getSchemaTypeBytes在接口中Function.ConsumerSpecOrBuilder- 返回:
- The bytes for schemaType.
-
getSerdeClassName
public java.lang.String getSerdeClassName()
string serdeClassName = 2;- 指定者:
getSerdeClassName在接口中Function.ConsumerSpecOrBuilder- 返回:
- The serdeClassName.
-
getSerdeClassNameBytes
public com.google.protobuf.ByteString getSerdeClassNameBytes()
string serdeClassName = 2;- 指定者:
getSerdeClassNameBytes在接口中Function.ConsumerSpecOrBuilder- 返回:
- The bytes for serdeClassName.
-
getIsRegexPattern
public boolean getIsRegexPattern()
bool isRegexPattern = 3;- 指定者:
getIsRegexPattern在接口中Function.ConsumerSpecOrBuilder- 返回:
- The isRegexPattern.
-
hasReceiverQueueSize
public boolean hasReceiverQueueSize()
.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;- 指定者:
hasReceiverQueueSize在接口中Function.ConsumerSpecOrBuilder- 返回:
- Whether the receiverQueueSize field is set.
-
getReceiverQueueSize
public Function.ConsumerSpec.ReceiverQueueSize getReceiverQueueSize()
.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;- 指定者:
getReceiverQueueSize在接口中Function.ConsumerSpecOrBuilder- 返回:
- The receiverQueueSize.
-
getReceiverQueueSizeOrBuilder
public Function.ConsumerSpec.ReceiverQueueSizeOrBuilder getReceiverQueueSizeOrBuilder()
.proto.ConsumerSpec.ReceiverQueueSize receiverQueueSize = 4;
-
getSchemaPropertiesCount
public int getSchemaPropertiesCount()
从接口复制的说明:Function.ConsumerSpecOrBuildermap<string, string> schemaProperties = 5;
-
containsSchemaProperties
public boolean containsSchemaProperties(java.lang.String key)
map<string, string> schemaProperties = 5;
-
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 = 5;
-
getSchemaPropertiesOrDefault
public java.lang.String getSchemaPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> schemaProperties = 5;
-
getSchemaPropertiesOrThrow
public java.lang.String getSchemaPropertiesOrThrow(java.lang.String key)
map<string, string> schemaProperties = 5;
-
getConsumerPropertiesCount
public int getConsumerPropertiesCount()
从接口复制的说明:Function.ConsumerSpecOrBuildermap<string, string> consumerProperties = 6;
-
containsConsumerProperties
public boolean containsConsumerProperties(java.lang.String key)
map<string, string> consumerProperties = 6;
-
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 = 6;
-
getConsumerPropertiesOrDefault
public java.lang.String getConsumerPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> consumerProperties = 6;
-
getConsumerPropertiesOrThrow
public java.lang.String getConsumerPropertiesOrThrow(java.lang.String key)
map<string, string> consumerProperties = 6;
-
hasCryptoSpec
public boolean hasCryptoSpec()
.proto.CryptoSpec cryptoSpec = 7;- 指定者:
hasCryptoSpec在接口中Function.ConsumerSpecOrBuilder- 返回:
- Whether the cryptoSpec field is set.
-
getCryptoSpec
public Function.CryptoSpec getCryptoSpec()
.proto.CryptoSpec cryptoSpec = 7;- 指定者:
getCryptoSpec在接口中Function.ConsumerSpecOrBuilder- 返回:
- The cryptoSpec.
-
getCryptoSpecOrBuilder
public Function.CryptoSpecOrBuilder getCryptoSpecOrBuilder()
.proto.CryptoSpec cryptoSpec = 7;
-
getPoolMessages
public boolean getPoolMessages()
bool poolMessages = 8;- 指定者:
getPoolMessages在接口中Function.ConsumerSpecOrBuilder- 返回:
- The poolMessages.
-
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.ConsumerSpec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
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
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Function.ConsumerSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.ConsumerSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Function.ConsumerSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseDelimitedFrom
public static Function.ConsumerSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.ConsumerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- 抛出:
java.io.IOException
-
parseFrom
public static Function.ConsumerSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- 抛出:
java.io.IOException
-
newBuilderForType
public Function.ConsumerSpec.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Function.ConsumerSpec.Builder newBuilder()
-
newBuilder
public static Function.ConsumerSpec.Builder newBuilder(Function.ConsumerSpec prototype)
-
toBuilder
public Function.ConsumerSpec.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Function.ConsumerSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Function.ConsumerSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Function.ConsumerSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Function.ConsumerSpec> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Function.ConsumerSpec getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-