public static final class PulsarApi.KeyValue.Builder extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.KeyValue,PulsarApi.KeyValue.Builder> implements PulsarApi.KeyValueOrBuilder, ByteBufCodedInputStream.ByteBufMessageBuilder
| Modifier and Type | Method and Description |
|---|---|
PulsarApi.KeyValue |
build() |
PulsarApi.KeyValue |
buildPartial() |
PulsarApi.KeyValue.Builder |
clear() |
PulsarApi.KeyValue.Builder |
clearKey() |
PulsarApi.KeyValue.Builder |
clearValue() |
PulsarApi.KeyValue.Builder |
clone() |
PulsarApi.KeyValue |
getDefaultInstanceForType() |
String |
getKey() |
String |
getValue() |
boolean |
hasKey() |
boolean |
hasValue() |
boolean |
isInitialized() |
PulsarApi.KeyValue.Builder |
mergeFrom(ByteBufCodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
PulsarApi.KeyValue.Builder |
mergeFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
PulsarApi.KeyValue.Builder |
mergeFrom(PulsarApi.KeyValue other) |
void |
recycle() |
PulsarApi.KeyValue.Builder |
setKey(String value) |
PulsarApi.KeyValue.Builder |
setValue(String value) |
parseUnknownFieldpublic void recycle()
public PulsarApi.KeyValue.Builder clear()
clear in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderclear in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.KeyValue,PulsarApi.KeyValue.Builder>public PulsarApi.KeyValue.Builder clone()
clone in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderclone in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.KeyValue,PulsarApi.KeyValue.Builder>public PulsarApi.KeyValue getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuildergetDefaultInstanceForType in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.KeyValue,PulsarApi.KeyValue.Builder>public PulsarApi.KeyValue build()
build in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderpublic PulsarApi.KeyValue buildPartial()
buildPartial in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.Builderpublic PulsarApi.KeyValue.Builder mergeFrom(PulsarApi.KeyValue other)
mergeFrom in class org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite.Builder<PulsarApi.KeyValue,PulsarApi.KeyValue.Builder>public final boolean isInitialized()
isInitialized in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic PulsarApi.KeyValue.Builder mergeFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLite.BuildermergeFrom in class org.apache.pulsar.shaded.com.google.protobuf.v241.AbstractMessageLite.Builder<PulsarApi.KeyValue.Builder>IOExceptionpublic PulsarApi.KeyValue.Builder mergeFrom(ByteBufCodedInputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface ByteBufCodedInputStream.ByteBufMessageBuilderIOExceptionpublic boolean hasKey()
hasKey in interface PulsarApi.KeyValueOrBuilderpublic String getKey()
getKey in interface PulsarApi.KeyValueOrBuilderpublic PulsarApi.KeyValue.Builder setKey(String value)
public PulsarApi.KeyValue.Builder clearKey()
public boolean hasValue()
hasValue in interface PulsarApi.KeyValueOrBuilderpublic String getValue()
getValue in interface PulsarApi.KeyValueOrBuilderpublic PulsarApi.KeyValue.Builder setValue(String value)
public PulsarApi.KeyValue.Builder clearValue()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.