Package com.mysql.cj.protocol.x
Class XMessage
java.lang.Object
com.mysql.cj.protocol.x.XMessage
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Message
public class XMessage extends java.lang.Object implements Message, com.google.protobuf.Message
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description XMessage(com.google.protobuf.Message mess) -
Method Summary
Modifier and Type Method Description XMessageaddNotices(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.MessagegetDefaultInstanceForType()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.ObjectgetField(com.google.protobuf.Descriptors.FieldDescriptor arg0)java.lang.StringgetInitializationErrorString()com.google.protobuf.MessagegetMessage()java.util.List<Notice>getNotices()com.google.protobuf.Descriptors.FieldDescriptorgetOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0)com.google.protobuf.Parser<? extends com.google.protobuf.Message>getParserForType()intgetPosition()Returns the current position to write to/ read fromjava.lang.ObjectgetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1)intgetRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0)intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasField(com.google.protobuf.Descriptors.FieldDescriptor arg0)booleanhasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0)booleanisInitialized()com.google.protobuf.Message.BuildernewBuilderForType()com.google.protobuf.Message.BuildertoBuilder()byte[]toByteArray()com.google.protobuf.ByteStringtoByteString()voidwriteDelimitedTo(java.io.OutputStream arg0)voidwriteTo(com.google.protobuf.CodedOutputStream arg0)voidwriteTo(java.io.OutputStream arg0)
-
Constructor Details
-
XMessage
public XMessage(com.google.protobuf.Message mess)
-
-
Method Details
-
getMessage
public com.google.protobuf.Message getMessage() -
getByteBuffer
public byte[] getByteBuffer()Description copied from interface:MessageReturns the array of bytes this Buffer is using to read from.- Specified by:
getByteBufferin interfaceMessage- Returns:
- byte array being read from
-
getPosition
public int getPosition()Description copied from interface:MessageReturns the current position to write to/ read from- Specified by:
getPositionin interfaceMessage- Returns:
- the current position to write to/ read from
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite
-
toByteArray
public byte[] toByteArray()- Specified by:
toByteArrayin interfacecom.google.protobuf.MessageLite
-
toByteString
public com.google.protobuf.ByteString toByteString()- Specified by:
toByteStringin interfacecom.google.protobuf.MessageLite
-
writeDelimitedTo
public void writeDelimitedTo(java.io.OutputStream arg0) throws java.io.IOException- Specified by:
writeDelimitedToin interfacecom.google.protobuf.MessageLite- Throws:
java.io.IOException
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream arg0) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Throws:
java.io.IOException
-
writeTo
public void writeTo(java.io.OutputStream arg0) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Throws:
java.io.IOException
-
isInitialized
public boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder
-
findInitializationErrors
public java.util.List<java.lang.String> findInitializationErrors()- Specified by:
findInitializationErrorsin interfacecom.google.protobuf.MessageOrBuilder
-
getAllFields
public java.util.Map<com.google.protobuf.Descriptors.FieldDescriptor,java.lang.Object> getAllFields()- Specified by:
getAllFieldsin interfacecom.google.protobuf.MessageOrBuilder
-
getDefaultInstanceForType
public com.google.protobuf.Message getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder
-
getField
public java.lang.Object getField(com.google.protobuf.Descriptors.FieldDescriptor arg0)- Specified by:
getFieldin interfacecom.google.protobuf.MessageOrBuilder
-
getInitializationErrorString
public java.lang.String getInitializationErrorString()- Specified by:
getInitializationErrorStringin interfacecom.google.protobuf.MessageOrBuilder
-
getOneofFieldDescriptor
public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor(com.google.protobuf.Descriptors.OneofDescriptor arg0)- Specified by:
getOneofFieldDescriptorin interfacecom.google.protobuf.MessageOrBuilder
-
getRepeatedField
public java.lang.Object getRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1)- Specified by:
getRepeatedFieldin interfacecom.google.protobuf.MessageOrBuilder
-
getRepeatedFieldCount
public int getRepeatedFieldCount(com.google.protobuf.Descriptors.FieldDescriptor arg0)- Specified by:
getRepeatedFieldCountin interfacecom.google.protobuf.MessageOrBuilder
-
getUnknownFields
public com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder
-
hasField
public boolean hasField(com.google.protobuf.Descriptors.FieldDescriptor arg0)- Specified by:
hasFieldin interfacecom.google.protobuf.MessageOrBuilder
-
hasOneof
public boolean hasOneof(com.google.protobuf.Descriptors.OneofDescriptor arg0)- Specified by:
hasOneofin interfacecom.google.protobuf.MessageOrBuilder
-
getParserForType
public com.google.protobuf.Parser<? extends com.google.protobuf.Message> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite
-
newBuilderForType
public com.google.protobuf.Message.Builder newBuilderForType()- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
toBuilder
public com.google.protobuf.Message.Builder toBuilder()- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getNotices
-
addNotices
-