public static final class PulsarApi.EncryptionKeys extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.EncryptionKeysOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.EncryptionKeys.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 |
METADATA_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static PulsarApi.EncryptionKeys |
getDefaultInstance() |
PulsarApi.EncryptionKeys |
getDefaultInstanceForType() |
String |
getKey() |
PulsarApi.KeyValue |
getMetadata(int index) |
int |
getMetadataCount() |
List<PulsarApi.KeyValue> |
getMetadataList() |
PulsarApi.KeyValueOrBuilder |
getMetadataOrBuilder(int index) |
List<? extends PulsarApi.KeyValueOrBuilder> |
getMetadataOrBuilderList() |
int |
getSerializedSize() |
org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString |
getValue() |
boolean |
hasKey() |
boolean |
hasValue() |
boolean |
isInitialized() |
static PulsarApi.EncryptionKeys.Builder |
newBuilder() |
static PulsarApi.EncryptionKeys.Builder |
newBuilder(PulsarApi.EncryptionKeys prototype) |
PulsarApi.EncryptionKeys.Builder |
newBuilderForType() |
static PulsarApi.EncryptionKeys |
parseDelimitedFrom(InputStream input) |
static PulsarApi.EncryptionKeys |
parseDelimitedFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.EncryptionKeys |
parseFrom(byte[] data) |
static PulsarApi.EncryptionKeys |
parseFrom(byte[] data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.EncryptionKeys |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data) |
static PulsarApi.EncryptionKeys |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString data,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.EncryptionKeys |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) |
static PulsarApi.EncryptionKeys |
parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
static PulsarApi.EncryptionKeys |
parseFrom(InputStream input) |
static PulsarApi.EncryptionKeys |
parseFrom(InputStream input,
org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) |
void |
recycle() |
PulsarApi.EncryptionKeys.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 static final int METADATA_FIELD_NUMBER
public void recycle()
public static PulsarApi.EncryptionKeys getDefaultInstance()
public PulsarApi.EncryptionKeys getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic boolean hasKey()
hasKey in interface PulsarApi.EncryptionKeysOrBuilderpublic String getKey()
getKey in interface PulsarApi.EncryptionKeysOrBuilderpublic boolean hasValue()
hasValue in interface PulsarApi.EncryptionKeysOrBuilderpublic org.apache.pulsar.shaded.com.google.protobuf.v241.ByteString getValue()
getValue in interface PulsarApi.EncryptionKeysOrBuilderpublic List<PulsarApi.KeyValue> getMetadataList()
getMetadataList in interface PulsarApi.EncryptionKeysOrBuilderpublic List<? extends PulsarApi.KeyValueOrBuilder> getMetadataOrBuilderList()
public int getMetadataCount()
getMetadataCount in interface PulsarApi.EncryptionKeysOrBuilderpublic PulsarApi.KeyValue getMetadata(int index)
getMetadata in interface PulsarApi.EncryptionKeysOrBuilderpublic PulsarApi.KeyValueOrBuilder getMetadataOrBuilder(int index)
public 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.EncryptionKeys 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.EncryptionKeys 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.EncryptionKeys parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.EncryptionKeys 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.EncryptionKeys parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.EncryptionKeys parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.EncryptionKeys parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.EncryptionKeys parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.EncryptionKeys parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.EncryptionKeys 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.EncryptionKeys.Builder newBuilder()
public PulsarApi.EncryptionKeys.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.EncryptionKeys.Builder newBuilder(PulsarApi.EncryptionKeys prototype)
public PulsarApi.EncryptionKeys.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2021 Apache Software Foundation. All rights reserved.