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

    Nested classes/interfaces inherited from interface com.google.protobuf.Message

    com.google.protobuf.Message.Builder
  • Constructor Summary

    Constructors 
    Constructor Description
    XMessage​(com.google.protobuf.Message mess)  
  • Method Summary

    Modifier and Type Method 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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message

    equals, hashCode, toString
  • 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: Message
      Returns the array of bytes this Buffer is using to read from.
      Specified by:
      getByteBuffer in interface Message
      Returns:
      byte array being read from
    • getPosition

      public int getPosition()
      Description copied from interface: Message
      Returns the current position to write to/ read from
      Specified by:
      getPosition in interface Message
      Returns:
      the current position to write to/ read from
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
    • toByteArray

      public byte[] toByteArray()
      Specified by:
      toByteArray in interface com.google.protobuf.MessageLite
    • toByteString

      public com.google.protobuf.ByteString toByteString()
      Specified by:
      toByteString in interface com.google.protobuf.MessageLite
    • writeDelimitedTo

      public void writeDelimitedTo​(java.io.OutputStream arg0) throws java.io.IOException
      Specified by:
      writeDelimitedTo in interface com.google.protobuf.MessageLite
      Throws:
      java.io.IOException
    • writeTo

      public void writeTo​(com.google.protobuf.CodedOutputStream arg0) throws java.io.IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Throws:
      java.io.IOException
    • writeTo

      public void writeTo​(java.io.OutputStream arg0) throws java.io.IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Throws:
      java.io.IOException
    • isInitialized

      public boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
    • findInitializationErrors

      public java.util.List<java.lang.String> findInitializationErrors()
      Specified by:
      findInitializationErrors in interface com.google.protobuf.MessageOrBuilder
    • getAllFields

      public java.util.Map<com.google.protobuf.Descriptors.FieldDescriptor,​java.lang.Object> getAllFields()
      Specified by:
      getAllFields in interface com.google.protobuf.MessageOrBuilder
    • getDefaultInstanceForType

      public com.google.protobuf.Message getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
    • getField

      public java.lang.Object getField​(com.google.protobuf.Descriptors.FieldDescriptor arg0)
      Specified by:
      getField in interface com.google.protobuf.MessageOrBuilder
    • getInitializationErrorString

      public java.lang.String getInitializationErrorString()
      Specified by:
      getInitializationErrorString in interface com.google.protobuf.MessageOrBuilder
    • getOneofFieldDescriptor

      public com.google.protobuf.Descriptors.FieldDescriptor getOneofFieldDescriptor​(com.google.protobuf.Descriptors.OneofDescriptor arg0)
      Specified by:
      getOneofFieldDescriptor in interface com.google.protobuf.MessageOrBuilder
    • getRepeatedField

      public java.lang.Object getRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor arg0, int arg1)
      Specified by:
      getRepeatedField in interface com.google.protobuf.MessageOrBuilder
    • getRepeatedFieldCount

      public int getRepeatedFieldCount​(com.google.protobuf.Descriptors.FieldDescriptor arg0)
      Specified by:
      getRepeatedFieldCount in interface com.google.protobuf.MessageOrBuilder
    • getUnknownFields

      public com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
    • hasField

      public boolean hasField​(com.google.protobuf.Descriptors.FieldDescriptor arg0)
      Specified by:
      hasField in interface com.google.protobuf.MessageOrBuilder
    • hasOneof

      public boolean hasOneof​(com.google.protobuf.Descriptors.OneofDescriptor arg0)
      Specified by:
      hasOneof in interface com.google.protobuf.MessageOrBuilder
    • getParserForType

      public com.google.protobuf.Parser<? extends com.google.protobuf.Message> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
    • newBuilderForType

      public com.google.protobuf.Message.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • toBuilder

      public com.google.protobuf.Message.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • getNotices

      public java.util.List<Notice> getNotices()
    • addNotices

      public XMessage addNotices​(java.util.List<Notice> n)