public static final class PulsarApi.SingleMessageMetadata extends org.apache.pulsar.shaded.com.google.protobuf.v241.GeneratedMessageLite implements PulsarApi.SingleMessageMetadataOrBuilder, ByteBufCodedOutputStream.ByteBufGeneratedMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
PulsarApi.SingleMessageMetadata.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 |
COMPACTED_OUT_FIELD_NUMBER |
static int |
EVENT_TIME_FIELD_NUMBER |
static int |
PARTITION_KEY_B64_ENCODED_FIELD_NUMBER |
static int |
PARTITION_KEY_FIELD_NUMBER |
static int |
PAYLOAD_SIZE_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
newRepeatedGeneratedExtension, newSingularGeneratedExtensionpublic static final int PROPERTIES_FIELD_NUMBER
public static final int PARTITION_KEY_FIELD_NUMBER
public static final int PAYLOAD_SIZE_FIELD_NUMBER
public static final int COMPACTED_OUT_FIELD_NUMBER
public static final int EVENT_TIME_FIELD_NUMBER
public static final int PARTITION_KEY_B64_ENCODED_FIELD_NUMBER
public void recycle()
public static PulsarApi.SingleMessageMetadata getDefaultInstance()
public PulsarApi.SingleMessageMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteOrBuilderpublic List<PulsarApi.KeyValue> getPropertiesList()
getPropertiesList in interface PulsarApi.SingleMessageMetadataOrBuilderpublic List<? extends PulsarApi.KeyValueOrBuilder> getPropertiesOrBuilderList()
public int getPropertiesCount()
getPropertiesCount in interface PulsarApi.SingleMessageMetadataOrBuilderpublic PulsarApi.KeyValue getProperties(int index)
getProperties in interface PulsarApi.SingleMessageMetadataOrBuilderpublic PulsarApi.KeyValueOrBuilder getPropertiesOrBuilder(int index)
public boolean hasPartitionKey()
hasPartitionKey in interface PulsarApi.SingleMessageMetadataOrBuilderpublic String getPartitionKey()
getPartitionKey in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean hasPayloadSize()
hasPayloadSize in interface PulsarApi.SingleMessageMetadataOrBuilderpublic int getPayloadSize()
getPayloadSize in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean hasCompactedOut()
hasCompactedOut in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean getCompactedOut()
getCompactedOut in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean hasEventTime()
hasEventTime in interface PulsarApi.SingleMessageMetadataOrBuilderpublic long getEventTime()
getEventTime in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean hasPartitionKeyB64Encoded()
hasPartitionKeyB64Encoded in interface PulsarApi.SingleMessageMetadataOrBuilderpublic boolean getPartitionKeyB64Encoded()
getPartitionKeyB64Encoded in interface PulsarApi.SingleMessageMetadataOrBuilderpublic 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.SingleMessageMetadata 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.SingleMessageMetadata 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.SingleMessageMetadata parseFrom(byte[] data) throws org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferException
org.apache.pulsar.shaded.com.google.protobuf.v241.InvalidProtocolBufferExceptionpublic static PulsarApi.SingleMessageMetadata 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.SingleMessageMetadata parseFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.SingleMessageMetadata parseFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.SingleMessageMetadata parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PulsarApi.SingleMessageMetadata parseDelimitedFrom(InputStream input, org.apache.pulsar.shaded.com.google.protobuf.v241.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PulsarApi.SingleMessageMetadata parseFrom(org.apache.pulsar.shaded.com.google.protobuf.v241.CodedInputStream input) throws IOException
IOExceptionpublic static PulsarApi.SingleMessageMetadata 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.SingleMessageMetadata.Builder newBuilder()
public PulsarApi.SingleMessageMetadata.Builder newBuilderForType()
newBuilderForType in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLitepublic static PulsarApi.SingleMessageMetadata.Builder newBuilder(PulsarApi.SingleMessageMetadata prototype)
public PulsarApi.SingleMessageMetadata.Builder toBuilder()
toBuilder in interface org.apache.pulsar.shaded.com.google.protobuf.v241.MessageLiteCopyright © 2017–2018 Apache Software Foundation. All rights reserved.