public static final class PulsarApi.KeyValue extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.KeyValueOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.KeyValue.Builder |
org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage<MessageType>>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.ExtendableMessage>, org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.GeneratedExtension<ContainingType extends org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PulsarApi.KeyValue |
getDefaultInstance() |
PulsarApi.KeyValue |
getDefaultInstanceForType() |
String |
getKey() |
int |
getSerializedSize() |
String |
getValue() |
boolean |
hasKey() |
boolean |
hasValue() |
boolean |
isInitialized() |
static PulsarApi.KeyValue.Builder |
newBuilder() |
static PulsarApi.KeyValue.Builder |
newBuilder(PulsarApi.KeyValue prototype) |
PulsarApi.KeyValue.Builder |
newBuilderForType() |
static PulsarApi.KeyValue |
parseDelimitedFrom(InputStream input) |
static PulsarApi.KeyValue |
parseDelimitedFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.KeyValue |
parseFrom(byte[] data) |
static PulsarApi.KeyValue |
parseFrom(byte[] data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.KeyValue |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) |
static PulsarApi.KeyValue |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.KeyValue |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) |
static PulsarApi.KeyValue |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.KeyValue |
parseFrom(InputStream input) |
static PulsarApi.KeyValue |
parseFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
void |
recycle() |
PulsarApi.KeyValue.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(ByteBufCodedOutputStream output) |
void |
writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output) |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public void recycle()
public static PulsarApi.KeyValue getDefaultInstance()
public PulsarApi.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasKey()
hasKey in interface PulsarApi.KeyValueOrBuilderpublic String getKey()
getKey in interface PulsarApi.KeyValueOrBuilderpublic boolean hasValue()
hasValue in interface PulsarApi.KeyValueOrBuilderpublic String getValue()
getValue in interface PulsarApi.KeyValueOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic void writeTo(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedOutputStream output)
throws IOException
writeTo in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteIOExceptionpublic void writeTo(ByteBufCodedOutputStream output) throws IOException
writeTo in interface ByteBufCodedOutputStream.ByteBufGeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface ByteBufCodedOutputStream.ByteBufGeneratedMessagegetSerializedSize in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLiteObjectStreamExceptionpublic static PulsarApi.KeyValue parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.KeyValue parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.KeyValue parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.KeyValue parseFrom(byte[] data, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.KeyValue parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.KeyValue parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.KeyValue parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.KeyValue parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.KeyValue parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.KeyValue parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.KeyValue.Builder newBuilder()
public PulsarApi.KeyValue.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.KeyValue.Builder newBuilder(PulsarApi.KeyValue prototype)
public PulsarApi.KeyValue.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.