public static final class PubSubProtocol.MessageHeader extends com.google.protobuf.GeneratedMessageV3 implements PubSubProtocol.MessageHeaderOrBuilder
message headerProtobuf type
Hedwig.MessageHeader
Modifier and Type | Class and Description |
---|---|
static class |
PubSubProtocol.MessageHeader.Builder
message header
|
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
Modifier and Type | Field and Description |
---|---|
static int |
MESSAGETYPE_FIELD_NUMBER |
static com.google.protobuf.Parser<PubSubProtocol.MessageHeader> |
PARSER
Deprecated.
|
static int |
PROPERTIES_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static PubSubProtocol.MessageHeader |
getDefaultInstance() |
PubSubProtocol.MessageHeader |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMessageType()
following are system properties in message header
|
com.google.protobuf.ByteString |
getMessageTypeBytes()
following are system properties in message header
|
com.google.protobuf.Parser<PubSubProtocol.MessageHeader> |
getParserForType() |
PubSubProtocol.Map |
getProperties()
user customized fields used for message filter
|
PubSubProtocol.MapOrBuilder |
getPropertiesOrBuilder()
user customized fields used for message filter
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMessageType()
following are system properties in message header
|
boolean |
hasProperties()
user customized fields used for message filter
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PubSubProtocol.MessageHeader.Builder |
newBuilder() |
static PubSubProtocol.MessageHeader.Builder |
newBuilder(PubSubProtocol.MessageHeader prototype) |
PubSubProtocol.MessageHeader.Builder |
newBuilderForType() |
protected PubSubProtocol.MessageHeader.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PubSubProtocol.MessageHeader |
parseDelimitedFrom(InputStream input) |
static PubSubProtocol.MessageHeader |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.MessageHeader |
parseFrom(byte[] data) |
static PubSubProtocol.MessageHeader |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.MessageHeader |
parseFrom(ByteBuffer data) |
static PubSubProtocol.MessageHeader |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.MessageHeader |
parseFrom(com.google.protobuf.ByteString data) |
static PubSubProtocol.MessageHeader |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.MessageHeader |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PubSubProtocol.MessageHeader |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PubSubProtocol.MessageHeader |
parseFrom(InputStream input) |
static PubSubProtocol.MessageHeader |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PubSubProtocol.MessageHeader> |
parser() |
PubSubProtocol.MessageHeader.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int PROPERTIES_FIELD_NUMBER
public static final int MESSAGETYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<PubSubProtocol.MessageHeader> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasProperties()
user customized fields used for message filter
optional .Hedwig.Map properties = 1;
hasProperties
in interface PubSubProtocol.MessageHeaderOrBuilder
public PubSubProtocol.Map getProperties()
user customized fields used for message filter
optional .Hedwig.Map properties = 1;
getProperties
in interface PubSubProtocol.MessageHeaderOrBuilder
public PubSubProtocol.MapOrBuilder getPropertiesOrBuilder()
user customized fields used for message filter
optional .Hedwig.Map properties = 1;
getPropertiesOrBuilder
in interface PubSubProtocol.MessageHeaderOrBuilder
public boolean hasMessageType()
following are system properties in message header
optional string messageType = 2;
hasMessageType
in interface PubSubProtocol.MessageHeaderOrBuilder
public String getMessageType()
following are system properties in message header
optional string messageType = 2;
getMessageType
in interface PubSubProtocol.MessageHeaderOrBuilder
public com.google.protobuf.ByteString getMessageTypeBytes()
following are system properties in message header
optional string messageType = 2;
getMessageTypeBytes
in interface PubSubProtocol.MessageHeaderOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static PubSubProtocol.MessageHeader parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PubSubProtocol.MessageHeader parseFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.MessageHeader parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.MessageHeader parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PubSubProtocol.MessageHeader parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PubSubProtocol.MessageHeader parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PubSubProtocol.MessageHeader parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public PubSubProtocol.MessageHeader.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PubSubProtocol.MessageHeader.Builder newBuilder()
public static PubSubProtocol.MessageHeader.Builder newBuilder(PubSubProtocol.MessageHeader prototype)
public PubSubProtocol.MessageHeader.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PubSubProtocol.MessageHeader.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static PubSubProtocol.MessageHeader getDefaultInstance()
public static com.google.protobuf.Parser<PubSubProtocol.MessageHeader> parser()
public com.google.protobuf.Parser<PubSubProtocol.MessageHeader> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public PubSubProtocol.MessageHeader getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.