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, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<Rpc.RpcMessage> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasType()
required .ola.rpc.Type type = 1;
hasType
in interface Rpc.RpcMessageOrBuilder
public Rpc.Type getType()
required .ola.rpc.Type type = 1;
getType
in interface Rpc.RpcMessageOrBuilder
public boolean hasId()
optional uint32 id = 2;
hasId
in interface Rpc.RpcMessageOrBuilder
public int getId()
optional uint32 id = 2;
getId
in interface Rpc.RpcMessageOrBuilder
public boolean hasName()
optional string name = 3;
hasName
in interface Rpc.RpcMessageOrBuilder
public String getName()
optional string name = 3;
getName
in interface Rpc.RpcMessageOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 3;
getNameBytes
in interface Rpc.RpcMessageOrBuilder
public boolean hasBuffer()
optional bytes buffer = 4;
hasBuffer
in interface Rpc.RpcMessageOrBuilder
public com.google.protobuf.ByteString getBuffer()
optional bytes buffer = 4;
getBuffer
in interface Rpc.RpcMessageOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public static Rpc.RpcMessage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Rpc.RpcMessage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Rpc.RpcMessage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Rpc.RpcMessage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Rpc.RpcMessage parseFrom(InputStream input) throws IOException
IOException
public static Rpc.RpcMessage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Rpc.RpcMessage parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Rpc.RpcMessage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Rpc.RpcMessage parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Rpc.RpcMessage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Rpc.RpcMessage.Builder newBuilder()
public Rpc.RpcMessage.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Rpc.RpcMessage.Builder newBuilder(Rpc.RpcMessage prototype)
public Rpc.RpcMessage.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Rpc.RpcMessage.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2016. All rights reserved.