public static final class Proto.Msg extends com.google.protobuf.GeneratedMessage implements Proto.MsgOrBuilder
| Modifier and Type | Class and Description |
|---|---|
static class |
Proto.Msg.Builder |
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 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() |
Proto.Event |
getEvents(int index) |
int |
getEventsCount() |
List<Proto.Event> |
getEventsList() |
Proto.EventOrBuilder |
getEventsOrBuilder(int index) |
List<? extends Proto.EventOrBuilder> |
getEventsOrBuilderList() |
boolean |
getOk() |
Proto.Query |
getQuery() |
Proto.QueryOrBuilder |
getQueryOrBuilder() |
int |
getSerializedSize() |
Proto.State |
getStates(int index) |
int |
getStatesCount() |
List<Proto.State> |
getStatesList() |
Proto.StateOrBuilder |
getStatesOrBuilder(int index) |
List<? extends Proto.StateOrBuilder> |
getStatesOrBuilderList() |
boolean |
hasError() |
boolean |
hasOk() |
boolean |
hasQuery() |
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, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasOk()
hasOk in interface Proto.MsgOrBuilderpublic boolean getOk()
getOk in interface Proto.MsgOrBuilderpublic boolean hasError()
hasError in interface Proto.MsgOrBuilderpublic String getError()
getError in interface Proto.MsgOrBuilderpublic List<Proto.State> getStatesList()
getStatesList in interface Proto.MsgOrBuilderpublic List<? extends Proto.StateOrBuilder> getStatesOrBuilderList()
getStatesOrBuilderList in interface Proto.MsgOrBuilderpublic int getStatesCount()
getStatesCount in interface Proto.MsgOrBuilderpublic Proto.State getStates(int index)
getStates in interface Proto.MsgOrBuilderpublic Proto.StateOrBuilder getStatesOrBuilder(int index)
getStatesOrBuilder in interface Proto.MsgOrBuilderpublic boolean hasQuery()
hasQuery in interface Proto.MsgOrBuilderpublic Proto.Query getQuery()
getQuery in interface Proto.MsgOrBuilderpublic Proto.QueryOrBuilder getQueryOrBuilder()
getQueryOrBuilder in interface Proto.MsgOrBuilderpublic List<Proto.Event> getEventsList()
getEventsList in interface Proto.MsgOrBuilderpublic List<? extends Proto.EventOrBuilder> getEventsOrBuilderList()
getEventsOrBuilderList in interface Proto.MsgOrBuilderpublic int getEventsCount()
getEventsCount in interface Proto.MsgOrBuilderpublic Proto.Event getEvents(int index)
getEvents in interface Proto.MsgOrBuilderpublic Proto.EventOrBuilder getEventsOrBuilder(int index)
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 © 2014. All rights reserved.