public static final class GameMessageProtoBuf.MessageProtoBuf extends com.google.protobuf.GeneratedMessage implements GameMessageProtoBuf.MessageProtoBufOrBuilder
uk.ac.brighton.uni.ab607.mmorpg.test.MessageProtoBuf| Modifier and Type | Class and Description |
|---|---|
static class |
GameMessageProtoBuf.MessageProtoBuf.Builder
Protobuf type
uk.ac.brighton.uni.ab607.mmorpg.test.MessageProtoBuf |
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 com.google.protobuf.Parser<GameMessageProtoBuf.MessageProtoBuf> |
PARSER |
static int |
TEXT_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
XY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static GameMessageProtoBuf.MessageProtoBuf |
getDefaultInstance() |
GameMessageProtoBuf.MessageProtoBuf |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<GameMessageProtoBuf.MessageProtoBuf> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getText()
required string text = 3; |
com.google.protobuf.ByteString |
getTextBytes()
required string text = 3; |
int |
getType()
required int32 type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getXy()
required int32 xy = 1; |
boolean |
hasText()
required string text = 3; |
boolean |
hasType()
required int32 type = 2; |
boolean |
hasXy()
required int32 xy = 1; |
boolean |
isInitialized() |
static GameMessageProtoBuf.MessageProtoBuf.Builder |
newBuilder() |
static GameMessageProtoBuf.MessageProtoBuf.Builder |
newBuilder(GameMessageProtoBuf.MessageProtoBuf prototype) |
GameMessageProtoBuf.MessageProtoBuf.Builder |
newBuilderForType() |
static GameMessageProtoBuf.MessageProtoBuf |
parseDelimitedFrom(java.io.InputStream input) |
static GameMessageProtoBuf.MessageProtoBuf |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(byte[] data) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(com.google.protobuf.ByteString data) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(java.io.InputStream input) |
static GameMessageProtoBuf.MessageProtoBuf |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GameMessageProtoBuf.MessageProtoBuf.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<GameMessageProtoBuf.MessageProtoBuf> PARSER
public static final int XY_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static GameMessageProtoBuf.MessageProtoBuf getDefaultInstance()
public GameMessageProtoBuf.MessageProtoBuf 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()
public com.google.protobuf.Parser<GameMessageProtoBuf.MessageProtoBuf> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasXy()
required int32 xy = 1;hasXy in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic int getXy()
required int32 xy = 1;getXy in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic boolean hasType()
required int32 type = 2;hasType in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic int getType()
required int32 type = 2;getType in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic boolean hasText()
required string text = 3;hasText in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic java.lang.String getText()
required string text = 3;getText in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
required string text = 3;getTextBytes in interface GameMessageProtoBuf.MessageProtoBufOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static GameMessageProtoBuf.MessageProtoBuf.Builder newBuilder()
public GameMessageProtoBuf.MessageProtoBuf.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GameMessageProtoBuf.MessageProtoBuf.Builder newBuilder(GameMessageProtoBuf.MessageProtoBuf prototype)
public GameMessageProtoBuf.MessageProtoBuf.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLite