public final class RequestMeta extends com.google.protobuf.GeneratedMessage implements RequestMetaOrBuilder
RequestMeta
The common meta message for all requests
| Modifier and Type | Class and Description |
|---|---|
static class |
RequestMeta.Builder
Protobuf type
RequestMeta |
| Modifier and Type | Field and Description |
|---|---|
static int |
ID_FIELD_NUMBER |
static int |
IS_REQUEST_FIELD_NUMBER |
static int |
MESSAGE_TYPE_FIELD_NUMBER |
static <any> |
PARSER |
| Modifier and Type | Method and Description |
|---|---|
static RequestMeta |
getDefaultInstance() |
RequestMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
boolean |
getIsRequest()
optional bool is_request = 3 [default = true]; |
MessageType |
getMessageType()
optional .MessageType message_type = 2 [default = REQUEST]; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasId()
required string id = 1; |
boolean |
hasIsRequest()
optional bool is_request = 3 [default = true]; |
boolean |
hasMessageType()
optional .MessageType message_type = 2 [default = REQUEST]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RequestMeta.Builder |
newBuilder() |
static RequestMeta.Builder |
newBuilder(RequestMeta prototype) |
RequestMeta.Builder |
newBuilderForType() |
protected RequestMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static RequestMeta |
parseDelimitedFrom(java.io.InputStream input) |
static RequestMeta |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMeta |
parseFrom(com.google.protobuf.ByteString data) |
static RequestMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RequestMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMeta |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RequestMeta.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static <any> PARSER
public static final int ID_FIELD_NUMBER
public static final int MESSAGE_TYPE_FIELD_NUMBER
public static final int IS_REQUEST_FIELD_NUMBER
public static RequestMeta getDefaultInstance()
public RequestMeta getDefaultInstanceForType()
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public <any> getParserForType()
public boolean hasId()
required string id = 1;hasId in interface RequestMetaOrBuilderpublic java.lang.String getId()
required string id = 1;getId in interface RequestMetaOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
required string id = 1;getIdBytes in interface RequestMetaOrBuilderpublic boolean hasMessageType()
optional .MessageType message_type = 2 [default = REQUEST];hasMessageType in interface RequestMetaOrBuilderpublic MessageType getMessageType()
optional .MessageType message_type = 2 [default = REQUEST];getMessageType in interface RequestMetaOrBuilderpublic boolean hasIsRequest()
optional bool is_request = 3 [default = true];hasIsRequest in interface RequestMetaOrBuilderpublic boolean getIsRequest()
optional bool is_request = 3 [default = true];getIsRequest in interface RequestMetaOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.ObjectStreamExceptionpublic static RequestMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RequestMeta parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RequestMeta parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RequestMeta parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RequestMeta parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RequestMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RequestMeta.Builder newBuilder()
public RequestMeta.Builder newBuilderForType()
public static RequestMeta.Builder newBuilder(RequestMeta prototype)
public RequestMeta.Builder toBuilder()
protected RequestMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)