public static final class Proto.Msg extends com.google.protobuf.GeneratedMessage implements Proto.MsgOrBuilder
Msg| Modifier and Type | Class and Description |
|---|---|
static class |
Proto.Msg.Builder
Protobuf type
Msg |
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 |
ERROR_FIELD_NUMBER |
static int |
EVENTS_FIELD_NUMBER |
static int |
OK_FIELD_NUMBER |
static com.google.protobuf.Parser<Proto.Msg> |
PARSER |
static int |
QUERY_FIELD_NUMBER |
static int |
STATES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static Proto.Msg |
getDefaultInstance() |
Proto.Msg |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getError()
optional string error = 3; |
com.google.protobuf.ByteString |
getErrorBytes()
optional string error = 3; |
Proto.Event |
getEvents(int index)
repeated .Event events = 6; |
int |
getEventsCount()
repeated .Event events = 6; |
List<Proto.Event> |
getEventsList()
repeated .Event events = 6; |
Proto.EventOrBuilder |
getEventsOrBuilder(int index)
repeated .Event events = 6; |
List<? extends Proto.EventOrBuilder> |
getEventsOrBuilderList()
repeated .Event events = 6; |
boolean |
getOk()
optional bool ok = 2; |
com.google.protobuf.Parser<Proto.Msg> |
getParserForType() |
Proto.Query |
getQuery()
optional .Query query = 5; |
Proto.QueryOrBuilder |
getQueryOrBuilder()
optional .Query query = 5; |
int |
getSerializedSize() |
Proto.State |
getStates(int index)
repeated .State states = 4; |
int |
getStatesCount()
repeated .State states = 4; |
List<Proto.State> |
getStatesList()
repeated .State states = 4; |
Proto.StateOrBuilder |
getStatesOrBuilder(int index)
repeated .State states = 4; |
List<? extends Proto.StateOrBuilder> |
getStatesOrBuilderList()
repeated .State states = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasError()
optional string error = 3; |
boolean |
hasOk()
optional bool ok = 2; |
boolean |
hasQuery()
optional .Query query = 5; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Proto.Msg.Builder |
newBuilder() |
static Proto.Msg.Builder |
newBuilder(Proto.Msg prototype) |
Proto.Msg.Builder |
newBuilderForType() |
protected Proto.Msg.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Proto.Msg |
parseDelimitedFrom(InputStream input) |
static Proto.Msg |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.Msg |
parseFrom(byte[] data) |
static Proto.Msg |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.Msg |
parseFrom(com.google.protobuf.ByteString data) |
static Proto.Msg |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.Msg |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Proto.Msg |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Proto.Msg |
parseFrom(InputStream input) |
static Proto.Msg |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Proto.Msg.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<Proto.Msg> PARSER
public static final int OK_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int STATES_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
public static final int EVENTS_FIELD_NUMBER
public static Proto.Msg getDefaultInstance()
public Proto.Msg 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<Proto.Msg> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasOk()
optional bool ok = 2;hasOk in interface Proto.MsgOrBuilderpublic boolean getOk()
optional bool ok = 2;getOk in interface Proto.MsgOrBuilderpublic boolean hasError()
optional string error = 3;hasError in interface Proto.MsgOrBuilderpublic String getError()
optional string error = 3;getError in interface Proto.MsgOrBuilderpublic com.google.protobuf.ByteString getErrorBytes()
optional string error = 3;getErrorBytes in interface Proto.MsgOrBuilderpublic List<Proto.State> getStatesList()
repeated .State states = 4;getStatesList in interface Proto.MsgOrBuilderpublic List<? extends Proto.StateOrBuilder> getStatesOrBuilderList()
repeated .State states = 4;getStatesOrBuilderList in interface Proto.MsgOrBuilderpublic int getStatesCount()
repeated .State states = 4;getStatesCount in interface Proto.MsgOrBuilderpublic Proto.State getStates(int index)
repeated .State states = 4;getStates in interface Proto.MsgOrBuilderpublic Proto.StateOrBuilder getStatesOrBuilder(int index)
repeated .State states = 4;getStatesOrBuilder in interface Proto.MsgOrBuilderpublic boolean hasQuery()
optional .Query query = 5;hasQuery in interface Proto.MsgOrBuilderpublic Proto.Query getQuery()
optional .Query query = 5;getQuery in interface Proto.MsgOrBuilderpublic Proto.QueryOrBuilder getQueryOrBuilder()
optional .Query query = 5;getQueryOrBuilder in interface Proto.MsgOrBuilderpublic List<Proto.Event> getEventsList()
repeated .Event events = 6;getEventsList in interface Proto.MsgOrBuilderpublic List<? extends Proto.EventOrBuilder> getEventsOrBuilderList()
repeated .Event events = 6;getEventsOrBuilderList in interface Proto.MsgOrBuilderpublic int getEventsCount()
repeated .Event events = 6;getEventsCount in interface Proto.MsgOrBuilderpublic Proto.Event getEvents(int index)
repeated .Event events = 6;getEvents in interface Proto.MsgOrBuilderpublic Proto.EventOrBuilder getEventsOrBuilder(int index)
repeated .Event events = 6;getEventsOrBuilder in interface Proto.MsgOrBuilderpublic 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 Proto.Msg parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.Msg parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.Msg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.Msg parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Proto.Msg parseFrom(InputStream input) throws IOException
IOExceptionpublic static Proto.Msg parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.Msg parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Proto.Msg parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.Msg parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Proto.Msg parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Proto.Msg.Builder newBuilder()
public Proto.Msg.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Proto.Msg.Builder newBuilder(Proto.Msg prototype)
public Proto.Msg.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Proto.Msg.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.