public static final class RequestMeta.Builder extends <any> implements RequestMetaOrBuilder
RequestMeta
The common meta message for all requests
| Modifier and Type | Method and Description |
|---|---|
RequestMeta |
build() |
RequestMeta |
buildPartial() |
RequestMeta.Builder |
clear() |
RequestMeta.Builder |
clearId()
required string id = 1; |
RequestMeta.Builder |
clearIsRequest()
optional bool is_request = 3 [default = true]; |
RequestMeta.Builder |
clearMessageType()
optional .MessageType message_type = 2 [default = REQUEST]; |
RequestMeta.Builder |
clone() |
RequestMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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]; |
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() |
RequestMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RequestMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
RequestMeta.Builder |
setId(java.lang.String value)
required string id = 1; |
RequestMeta.Builder |
setIdBytes(com.google.protobuf.ByteString value)
required string id = 1; |
RequestMeta.Builder |
setIsRequest(boolean value)
optional bool is_request = 3 [default = true]; |
RequestMeta.Builder |
setMessageType(MessageType value)
optional .MessageType message_type = 2 [default = REQUEST]; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
public RequestMeta.Builder clear()
public RequestMeta.Builder clone()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public RequestMeta getDefaultInstanceForType()
public RequestMeta build()
public RequestMeta buildPartial()
public RequestMeta.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public RequestMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic 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 RequestMeta.Builder setId(java.lang.String value)
required string id = 1;public RequestMeta.Builder clearId()
required string id = 1;public RequestMeta.Builder setIdBytes(com.google.protobuf.ByteString value)
required string id = 1;public 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 RequestMeta.Builder setMessageType(MessageType value)
optional .MessageType message_type = 2 [default = REQUEST];public RequestMeta.Builder clearMessageType()
optional .MessageType message_type = 2 [default = REQUEST];public 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 RequestMeta.Builder setIsRequest(boolean value)
optional bool is_request = 3 [default = true];public RequestMeta.Builder clearIsRequest()
optional bool is_request = 3 [default = true];