public static final class Rpc.RpcMessage extends com.google.protobuf.GeneratedMessage implements Rpc.RpcMessageOrBuilder
ola.rpc.RpcMessage| Modifier and Type | Class and Description |
|---|---|
static class |
Rpc.RpcMessage.Builder
Protobuf type
ola.rpc.RpcMessage |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<Rpc.RpcMessage> |
PARSER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.ByteString |
getBuffer()
optional bytes buffer = 4; |
static Rpc.RpcMessage |
getDefaultInstance() |
Rpc.RpcMessage |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getId()
optional uint32 id = 2; |
String |
getName()
optional string name = 3; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 3; |
com.google.protobuf.Parser<Rpc.RpcMessage> |
getParserForType() |
int |
getSerializedSize() |
Rpc.Type |
getType()
required .ola.rpc.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBuffer()
optional bytes buffer = 4; |
boolean |
hasId()
optional uint32 id = 2; |
boolean |
hasName()
optional string name = 3; |
boolean |
hasType()
required .ola.rpc.Type type = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rpc.RpcMessage.Builder |
newBuilder() |
static Rpc.RpcMessage.Builder |
newBuilder(Rpc.RpcMessage prototype) |
Rpc.RpcMessage.Builder |
newBuilderForType() |
protected Rpc.RpcMessage.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Rpc.RpcMessage |
parseDelimitedFrom(InputStream input) |
static Rpc.RpcMessage |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RpcMessage |
parseFrom(byte[] data) |
static Rpc.RpcMessage |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RpcMessage |
parseFrom(com.google.protobuf.ByteString data) |
static Rpc.RpcMessage |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RpcMessage |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rpc.RpcMessage |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.RpcMessage |
parseFrom(InputStream input) |
static Rpc.RpcMessage |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Rpc.RpcMessage.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<Rpc.RpcMessage> PARSER
public static final int TYPE_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int BUFFER_FIELD_NUMBER
public static Rpc.RpcMessage getDefaultInstance()
public Rpc.RpcMessage getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<Rpc.RpcMessage> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasType()
required .ola.rpc.Type type = 1;hasType in interface Rpc.RpcMessageOrBuilderpublic Rpc.Type getType()
required .ola.rpc.Type type = 1;getType in interface Rpc.RpcMessageOrBuilderpublic boolean hasId()
optional uint32 id = 2;hasId in interface Rpc.RpcMessageOrBuilderpublic int getId()
optional uint32 id = 2;getId in interface Rpc.RpcMessageOrBuilderpublic boolean hasName()
optional string name = 3;hasName in interface Rpc.RpcMessageOrBuilderpublic String getName()
optional string name = 3;getName in interface Rpc.RpcMessageOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 3;getNameBytes in interface Rpc.RpcMessageOrBuilderpublic boolean hasBuffer()
optional bytes buffer = 4;hasBuffer in interface Rpc.RpcMessageOrBuilderpublic com.google.protobuf.ByteString getBuffer()
optional bytes buffer = 4;getBuffer in interface Rpc.RpcMessageOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static Rpc.RpcMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RpcMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RpcMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RpcMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.RpcMessage parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.RpcMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.RpcMessage parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.RpcMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.RpcMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rpc.RpcMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.RpcMessage.Builder newBuilder()
public Rpc.RpcMessage.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Rpc.RpcMessage.Builder newBuilder(Rpc.RpcMessage prototype)
public Rpc.RpcMessage.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Rpc.RpcMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2016. All rights reserved.