public class XMessage extends java.lang.Object implements Message, com.google.protobuf.Message
Constructor and Description |
---|
XMessage(com.google.protobuf.Message mess) |
Modifier and Type | Method and Description |
---|---|
XMessage |
addNotices(java.util.List<Notice> n) |
java.util.List<java.lang.String> |
findInitializationErrors() |
java.util.Map<com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object> |
getAllFields() |
byte[] |
getByteBuffer()
Returns the array of bytes this Buffer is using to read from.
|
com.google.protobuf.Message |
getDefaultInstanceForType() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.Object |
getField(com.google.protobuf.Descriptors.FieldDescriptor arg0) |
java.lang.String |
getInitializationErrorString() |
com.google.protobuf.Message |
getMessage() |
java.util.List<Notice> |
getNotices() |
com.google.protobuf.Descriptors.FieldDescriptor |
getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0) |
com.google.protobuf.Parser<? extends com.google.protobuf.Message> |
getParserForType() |
int |
getPosition()
Returns the current position to write to/ read from
|
java.lang.Object |
getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0,
int arg1) |
int |
getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0) |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0) |
boolean |
hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0) |
boolean |
isInitialized() |
com.google.protobuf.Message.Builder |
newBuilderForType() |
com.google.protobuf.Message.Builder |
toBuilder() |
byte[] |
toByteArray() |
com.google.protobuf.ByteString |
toByteString() |
void |
writeDelimitedTo(java.io.OutputStream arg0) |
void |
writeTo(com.google.protobuf.CodedOutputStream arg0) |
void |
writeTo(java.io.OutputStream arg0) |
public com.google.protobuf.Message getMessage()
public byte[] getByteBuffer()
Message
public int getPosition()
Message
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
public byte[] toByteArray()
toByteArray
in interface com.google.protobuf.MessageLite
public com.google.protobuf.ByteString toByteString()
toByteString
in interface com.google.protobuf.MessageLite
public void writeDelimitedTo(java.io.OutputStream arg0) throws java.io.IOException
writeDelimitedTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public void writeTo(com.google.protobuf.CodedOutputStream arg0) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public void writeTo(java.io.OutputStream arg0) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
java.io.IOException
public boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
public java.util.List<java.lang.String> findInitializationErrors()
findInitializationErrors
in interface com.google.protobuf.MessageOrBuilder
public java.util.Map<com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object> getAllFields()
getAllFields
in interface com.google.protobuf.MessageOrBuilder
public com.google.protobuf.Message getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
public java.lang.Object getField(com.google.protobuf.Descriptors.FieldDescriptor arg0)
getField
in interface com.google.protobuf.MessageOrBuilder
public java.lang.String getInitializationErrorString()
getInitializationErrorString
in interface com.google.protobuf.MessageOrBuilder
public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0)
getOneofFieldDescriptor
in interface com.google.protobuf.MessageOrBuilder
public java.lang.Object getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1)
getRepeatedField
in interface com.google.protobuf.MessageOrBuilder
public int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0)
getRepeatedFieldCount
in interface com.google.protobuf.MessageOrBuilder
public com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
public boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0)
hasField
in interface com.google.protobuf.MessageOrBuilder
public boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0)
hasOneof
in interface com.google.protobuf.MessageOrBuilder
public com.google.protobuf.Parser<? extends com.google.protobuf.Message> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
public com.google.protobuf.Message.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public com.google.protobuf.Message.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public java.util.List<Notice> getNotices()