All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mysql.cj.x.protobuf.Mysqlx Maven / Gradle / Ivy

There is a newer version: 8.0.33
Show newest version
/*
 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License, version 2.0, as published by the
 * Free Software Foundation.
 *
 * This program is also distributed with certain software (including but not
 * limited to OpenSSL) that is licensed under separate terms, as designated in a
 * particular file or component or in included license documentation. The
 * authors of MySQL hereby grant you an additional permission to link the
 * program and your derivative works with the separately licensed software that
 * they have included with MySQL.
 *
 * Without limiting anything contained in the foregoing, this file, which is
 * part of MySQL Connector/J, is also subject to the Universal FOSS Exception,
 * version 1.0, a copy of which can be found at
 * http://oss.oracle.com/licenses/universal-foss-exception.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0,
 * for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
 */

package com.mysql.cj.x.protobuf;

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: mysqlx.proto

public final class Mysqlx {
  private Mysqlx() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registry.add(com.mysql.cj.x.protobuf.Mysqlx.clientMessageId);
    registry.add(com.mysql.cj.x.protobuf.Mysqlx.serverMessageId);
  }
  public interface ClientMessagesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:Mysqlx.ClientMessages)
      com.google.protobuf.MessageOrBuilder {
  }
  /**
   * Protobuf type {@code Mysqlx.ClientMessages}
   *
   * 
   * IDs of messages that can be sent from client to the server
   * .. note::
   *   this message is never sent on the wire. It is only used to let ``protoc``
   *   * generate constants
   *   * check for uniqueness
   * 
*/ public static final class ClientMessages extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Mysqlx.ClientMessages) ClientMessagesOrBuilder { // Use ClientMessages.newBuilder() to construct. private ClientMessages(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ClientMessages(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ClientMessages defaultInstance; public static ClientMessages getDefaultInstance() { return defaultInstance; } public ClientMessages getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientMessages( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ClientMessages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ClientMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.class, com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ClientMessages parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientMessages(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code Mysqlx.ClientMessages.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * CON_CAPABILITIES_GET = 1; */ CON_CAPABILITIES_GET(0, 1), /** * CON_CAPABILITIES_SET = 2; */ CON_CAPABILITIES_SET(1, 2), /** * CON_CLOSE = 3; */ CON_CLOSE(2, 3), /** * SESS_AUTHENTICATE_START = 4; */ SESS_AUTHENTICATE_START(3, 4), /** * SESS_AUTHENTICATE_CONTINUE = 5; */ SESS_AUTHENTICATE_CONTINUE(4, 5), /** * SESS_RESET = 6; */ SESS_RESET(5, 6), /** * SESS_CLOSE = 7; */ SESS_CLOSE(6, 7), /** * SQL_STMT_EXECUTE = 12; */ SQL_STMT_EXECUTE(7, 12), /** * CRUD_FIND = 17; */ CRUD_FIND(8, 17), /** * CRUD_INSERT = 18; */ CRUD_INSERT(9, 18), /** * CRUD_UPDATE = 19; */ CRUD_UPDATE(10, 19), /** * CRUD_DELETE = 20; */ CRUD_DELETE(11, 20), /** * EXPECT_OPEN = 24; */ EXPECT_OPEN(12, 24), /** * EXPECT_CLOSE = 25; */ EXPECT_CLOSE(13, 25), /** * CRUD_CREATE_VIEW = 30; */ CRUD_CREATE_VIEW(14, 30), /** * CRUD_MODIFY_VIEW = 31; */ CRUD_MODIFY_VIEW(15, 31), /** * CRUD_DROP_VIEW = 32; */ CRUD_DROP_VIEW(16, 32), ; /** * CON_CAPABILITIES_GET = 1; */ public static final int CON_CAPABILITIES_GET_VALUE = 1; /** * CON_CAPABILITIES_SET = 2; */ public static final int CON_CAPABILITIES_SET_VALUE = 2; /** * CON_CLOSE = 3; */ public static final int CON_CLOSE_VALUE = 3; /** * SESS_AUTHENTICATE_START = 4; */ public static final int SESS_AUTHENTICATE_START_VALUE = 4; /** * SESS_AUTHENTICATE_CONTINUE = 5; */ public static final int SESS_AUTHENTICATE_CONTINUE_VALUE = 5; /** * SESS_RESET = 6; */ public static final int SESS_RESET_VALUE = 6; /** * SESS_CLOSE = 7; */ public static final int SESS_CLOSE_VALUE = 7; /** * SQL_STMT_EXECUTE = 12; */ public static final int SQL_STMT_EXECUTE_VALUE = 12; /** * CRUD_FIND = 17; */ public static final int CRUD_FIND_VALUE = 17; /** * CRUD_INSERT = 18; */ public static final int CRUD_INSERT_VALUE = 18; /** * CRUD_UPDATE = 19; */ public static final int CRUD_UPDATE_VALUE = 19; /** * CRUD_DELETE = 20; */ public static final int CRUD_DELETE_VALUE = 20; /** * EXPECT_OPEN = 24; */ public static final int EXPECT_OPEN_VALUE = 24; /** * EXPECT_CLOSE = 25; */ public static final int EXPECT_CLOSE_VALUE = 25; /** * CRUD_CREATE_VIEW = 30; */ public static final int CRUD_CREATE_VIEW_VALUE = 30; /** * CRUD_MODIFY_VIEW = 31; */ public static final int CRUD_MODIFY_VIEW_VALUE = 31; /** * CRUD_DROP_VIEW = 32; */ public static final int CRUD_DROP_VIEW_VALUE = 32; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 1: return CON_CAPABILITIES_GET; case 2: return CON_CAPABILITIES_SET; case 3: return CON_CLOSE; case 4: return SESS_AUTHENTICATE_START; case 5: return SESS_AUTHENTICATE_CONTINUE; case 6: return SESS_RESET; case 7: return SESS_CLOSE; case 12: return SQL_STMT_EXECUTE; case 17: return CRUD_FIND; case 18: return CRUD_INSERT; case 19: return CRUD_UPDATE; case 20: return CRUD_DELETE; case 24: return EXPECT_OPEN; case 25: return EXPECT_CLOSE; case 30: return CRUD_CREATE_VIEW; case 31: return CRUD_MODIFY_VIEW; case 32: return CRUD_DROP_VIEW; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:Mysqlx.ClientMessages.Type) } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.mysql.cj.x.protobuf.Mysqlx.ClientMessages prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Mysqlx.ClientMessages} * *
     * IDs of messages that can be sent from client to the server
     * .. note::
     *   this message is never sent on the wire. It is only used to let ``protoc``
     *   * generate constants
     *   * check for uniqueness
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Mysqlx.ClientMessages) com.mysql.cj.x.protobuf.Mysqlx.ClientMessagesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ClientMessages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ClientMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.class, com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.Builder.class); } // Construct using com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ClientMessages_descriptor; } public com.mysql.cj.x.protobuf.Mysqlx.ClientMessages getDefaultInstanceForType() { return com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.getDefaultInstance(); } public com.mysql.cj.x.protobuf.Mysqlx.ClientMessages build() { com.mysql.cj.x.protobuf.Mysqlx.ClientMessages result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.mysql.cj.x.protobuf.Mysqlx.ClientMessages buildPartial() { com.mysql.cj.x.protobuf.Mysqlx.ClientMessages result = new com.mysql.cj.x.protobuf.Mysqlx.ClientMessages(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.mysql.cj.x.protobuf.Mysqlx.ClientMessages) { return mergeFrom((com.mysql.cj.x.protobuf.Mysqlx.ClientMessages)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.mysql.cj.x.protobuf.Mysqlx.ClientMessages other) { if (other == com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.mysql.cj.x.protobuf.Mysqlx.ClientMessages parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.mysql.cj.x.protobuf.Mysqlx.ClientMessages) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:Mysqlx.ClientMessages) } static { defaultInstance = new ClientMessages(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:Mysqlx.ClientMessages) } public interface ServerMessagesOrBuilder extends // @@protoc_insertion_point(interface_extends:Mysqlx.ServerMessages) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code Mysqlx.ServerMessages} * *
   * IDs of messages that can be sent from server to client
   * .. note::
   *   this message is never sent on the wire. It is only used to let ``protoc``
   *   * generate constants
   *   * check for uniqueness
   * 
*/ public static final class ServerMessages extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Mysqlx.ServerMessages) ServerMessagesOrBuilder { // Use ServerMessages.newBuilder() to construct. private ServerMessages(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ServerMessages(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ServerMessages defaultInstance; public static ServerMessages getDefaultInstance() { return defaultInstance; } public ServerMessages getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ServerMessages( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ServerMessages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ServerMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.class, com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ServerMessages parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ServerMessages(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code Mysqlx.ServerMessages.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * OK = 0; */ OK(0, 0), /** * ERROR = 1; */ ERROR(1, 1), /** * CONN_CAPABILITIES = 2; */ CONN_CAPABILITIES(2, 2), /** * SESS_AUTHENTICATE_CONTINUE = 3; */ SESS_AUTHENTICATE_CONTINUE(3, 3), /** * SESS_AUTHENTICATE_OK = 4; */ SESS_AUTHENTICATE_OK(4, 4), /** * NOTICE = 11; * *
       * NOTICE has to stay at 11 forever
       * 
*/ NOTICE(5, 11), /** * RESULTSET_COLUMN_META_DATA = 12; */ RESULTSET_COLUMN_META_DATA(6, 12), /** * RESULTSET_ROW = 13; */ RESULTSET_ROW(7, 13), /** * RESULTSET_FETCH_DONE = 14; */ RESULTSET_FETCH_DONE(8, 14), /** * RESULTSET_FETCH_SUSPENDED = 15; */ RESULTSET_FETCH_SUSPENDED(9, 15), /** * RESULTSET_FETCH_DONE_MORE_RESULTSETS = 16; */ RESULTSET_FETCH_DONE_MORE_RESULTSETS(10, 16), /** * SQL_STMT_EXECUTE_OK = 17; */ SQL_STMT_EXECUTE_OK(11, 17), /** * RESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18; */ RESULTSET_FETCH_DONE_MORE_OUT_PARAMS(12, 18), ; /** * OK = 0; */ public static final int OK_VALUE = 0; /** * ERROR = 1; */ public static final int ERROR_VALUE = 1; /** * CONN_CAPABILITIES = 2; */ public static final int CONN_CAPABILITIES_VALUE = 2; /** * SESS_AUTHENTICATE_CONTINUE = 3; */ public static final int SESS_AUTHENTICATE_CONTINUE_VALUE = 3; /** * SESS_AUTHENTICATE_OK = 4; */ public static final int SESS_AUTHENTICATE_OK_VALUE = 4; /** * NOTICE = 11; * *
       * NOTICE has to stay at 11 forever
       * 
*/ public static final int NOTICE_VALUE = 11; /** * RESULTSET_COLUMN_META_DATA = 12; */ public static final int RESULTSET_COLUMN_META_DATA_VALUE = 12; /** * RESULTSET_ROW = 13; */ public static final int RESULTSET_ROW_VALUE = 13; /** * RESULTSET_FETCH_DONE = 14; */ public static final int RESULTSET_FETCH_DONE_VALUE = 14; /** * RESULTSET_FETCH_SUSPENDED = 15; */ public static final int RESULTSET_FETCH_SUSPENDED_VALUE = 15; /** * RESULTSET_FETCH_DONE_MORE_RESULTSETS = 16; */ public static final int RESULTSET_FETCH_DONE_MORE_RESULTSETS_VALUE = 16; /** * SQL_STMT_EXECUTE_OK = 17; */ public static final int SQL_STMT_EXECUTE_OK_VALUE = 17; /** * RESULTSET_FETCH_DONE_MORE_OUT_PARAMS = 18; */ public static final int RESULTSET_FETCH_DONE_MORE_OUT_PARAMS_VALUE = 18; public final int getNumber() { return value; } public static Type valueOf(int value) { switch (value) { case 0: return OK; case 1: return ERROR; case 2: return CONN_CAPABILITIES; case 3: return SESS_AUTHENTICATE_CONTINUE; case 4: return SESS_AUTHENTICATE_OK; case 11: return NOTICE; case 12: return RESULTSET_COLUMN_META_DATA; case 13: return RESULTSET_ROW; case 14: return RESULTSET_FETCH_DONE; case 15: return RESULTSET_FETCH_SUSPENDED; case 16: return RESULTSET_FETCH_DONE_MORE_RESULTSETS; case 17: return SQL_STMT_EXECUTE_OK; case 18: return RESULTSET_FETCH_DONE_MORE_OUT_PARAMS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Type(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:Mysqlx.ServerMessages.Type) } private void initFields() { } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.mysql.cj.x.protobuf.Mysqlx.ServerMessages prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Mysqlx.ServerMessages} * *
     * IDs of messages that can be sent from server to client
     * .. note::
     *   this message is never sent on the wire. It is only used to let ``protoc``
     *   * generate constants
     *   * check for uniqueness
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Mysqlx.ServerMessages) com.mysql.cj.x.protobuf.Mysqlx.ServerMessagesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ServerMessages_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ServerMessages_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.class, com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Builder.class); } // Construct using com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_ServerMessages_descriptor; } public com.mysql.cj.x.protobuf.Mysqlx.ServerMessages getDefaultInstanceForType() { return com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.getDefaultInstance(); } public com.mysql.cj.x.protobuf.Mysqlx.ServerMessages build() { com.mysql.cj.x.protobuf.Mysqlx.ServerMessages result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.mysql.cj.x.protobuf.Mysqlx.ServerMessages buildPartial() { com.mysql.cj.x.protobuf.Mysqlx.ServerMessages result = new com.mysql.cj.x.protobuf.Mysqlx.ServerMessages(this); onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.mysql.cj.x.protobuf.Mysqlx.ServerMessages) { return mergeFrom((com.mysql.cj.x.protobuf.Mysqlx.ServerMessages)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.mysql.cj.x.protobuf.Mysqlx.ServerMessages other) { if (other == com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.mysql.cj.x.protobuf.Mysqlx.ServerMessages parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.mysql.cj.x.protobuf.Mysqlx.ServerMessages) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } // @@protoc_insertion_point(builder_scope:Mysqlx.ServerMessages) } static { defaultInstance = new ServerMessages(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:Mysqlx.ServerMessages) } public interface OkOrBuilder extends // @@protoc_insertion_point(interface_extends:Mysqlx.Ok) com.google.protobuf.MessageOrBuilder { /** * optional string msg = 1; */ boolean hasMsg(); /** * optional string msg = 1; */ java.lang.String getMsg(); /** * optional string msg = 1; */ com.google.protobuf.ByteString getMsgBytes(); } /** * Protobuf type {@code Mysqlx.Ok} * *
   * generic Ok message
   * 
*/ public static final class Ok extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Mysqlx.Ok) OkOrBuilder { // Use Ok.newBuilder() to construct. private Ok(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Ok(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Ok defaultInstance; public static Ok getDefaultInstance() { return defaultInstance; } public Ok getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Ok( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; msg_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Ok_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Ok_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.Ok.class, com.mysql.cj.x.protobuf.Mysqlx.Ok.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Ok parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Ok(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; public static final int MSG_FIELD_NUMBER = 1; private java.lang.Object msg_; /** * optional string msg = 1; */ public boolean hasMsg() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string msg = 1; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } } /** * optional string msg = 1; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { msg_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getMsgBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getMsgBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Ok parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.mysql.cj.x.protobuf.Mysqlx.Ok prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Mysqlx.Ok} * *
     * generic Ok message
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Mysqlx.Ok) com.mysql.cj.x.protobuf.Mysqlx.OkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Ok_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Ok_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.Ok.class, com.mysql.cj.x.protobuf.Mysqlx.Ok.Builder.class); } // Construct using com.mysql.cj.x.protobuf.Mysqlx.Ok.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); msg_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Ok_descriptor; } public com.mysql.cj.x.protobuf.Mysqlx.Ok getDefaultInstanceForType() { return com.mysql.cj.x.protobuf.Mysqlx.Ok.getDefaultInstance(); } public com.mysql.cj.x.protobuf.Mysqlx.Ok build() { com.mysql.cj.x.protobuf.Mysqlx.Ok result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.mysql.cj.x.protobuf.Mysqlx.Ok buildPartial() { com.mysql.cj.x.protobuf.Mysqlx.Ok result = new com.mysql.cj.x.protobuf.Mysqlx.Ok(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.msg_ = msg_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.mysql.cj.x.protobuf.Mysqlx.Ok) { return mergeFrom((com.mysql.cj.x.protobuf.Mysqlx.Ok)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.mysql.cj.x.protobuf.Mysqlx.Ok other) { if (other == com.mysql.cj.x.protobuf.Mysqlx.Ok.getDefaultInstance()) return this; if (other.hasMsg()) { bitField0_ |= 0x00000001; msg_ = other.msg_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.mysql.cj.x.protobuf.Mysqlx.Ok parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.mysql.cj.x.protobuf.Mysqlx.Ok) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object msg_ = ""; /** * optional string msg = 1; */ public boolean hasMsg() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string msg = 1; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string msg = 1; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string msg = 1; */ public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; msg_ = value; onChanged(); return this; } /** * optional string msg = 1; */ public Builder clearMsg() { bitField0_ = (bitField0_ & ~0x00000001); msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** * optional string msg = 1; */ public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; msg_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:Mysqlx.Ok) } static { defaultInstance = new Ok(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:Mysqlx.Ok) } public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:Mysqlx.Error) com.google.protobuf.MessageOrBuilder { /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ boolean hasSeverity(); /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ com.mysql.cj.x.protobuf.Mysqlx.Error.Severity getSeverity(); /** * required uint32 code = 2; */ boolean hasCode(); /** * required uint32 code = 2; */ int getCode(); /** * required string sql_state = 4; */ boolean hasSqlState(); /** * required string sql_state = 4; */ java.lang.String getSqlState(); /** * required string sql_state = 4; */ com.google.protobuf.ByteString getSqlStateBytes(); /** * required string msg = 3; */ boolean hasMsg(); /** * required string msg = 3; */ java.lang.String getMsg(); /** * required string msg = 3; */ com.google.protobuf.ByteString getMsgBytes(); } /** * Protobuf type {@code Mysqlx.Error} * *
   * generic Error message
   * A ``severity`` of ``ERROR`` indicates the current message sequence is
   * aborted for the given error and the session is ready for more.
   * In case of a ``FATAL`` error message the client should not expect
   * the server to continue handling any further messages and should
   * close the connection.
   * :param severity: severity of the error message
   * :param code: error-code
   * :param sql_state: SQL state
   * :param msg: human readable error message
   * 
*/ public static final class Error extends com.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:Mysqlx.Error) ErrorOrBuilder { // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Error(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Error defaultInstance; public static Error getDefaultInstance() { return defaultInstance; } public Error getDefaultInstanceForType() { return defaultInstance; } private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.mysql.cj.x.protobuf.Mysqlx.Error.Severity value = com.mysql.cj.x.protobuf.Mysqlx.Error.Severity.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; severity_ = value; } break; } case 16: { bitField0_ |= 0x00000002; code_ = input.readUInt32(); break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; msg_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; sqlState_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Error_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.Error.class, com.mysql.cj.x.protobuf.Mysqlx.Error.Builder.class); } public static com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Error parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Error(input, extensionRegistry); } }; @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code Mysqlx.Error.Severity} */ public enum Severity implements com.google.protobuf.ProtocolMessageEnum { /** * ERROR = 0; */ ERROR(0, 0), /** * FATAL = 1; */ FATAL(1, 1), ; /** * ERROR = 0; */ public static final int ERROR_VALUE = 0; /** * FATAL = 1; */ public static final int FATAL_VALUE = 1; public final int getNumber() { return value; } public static Severity valueOf(int value) { switch (value) { case 0: return ERROR; case 1: return FATAL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Severity findValueByNumber(int number) { return Severity.valueOf(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.Error.getDescriptor().getEnumTypes().get(0); } private static final Severity[] VALUES = values(); public static Severity valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Severity(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:Mysqlx.Error.Severity) } private int bitField0_; public static final int SEVERITY_FIELD_NUMBER = 1; private com.mysql.cj.x.protobuf.Mysqlx.Error.Severity severity_; /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public com.mysql.cj.x.protobuf.Mysqlx.Error.Severity getSeverity() { return severity_; } public static final int CODE_FIELD_NUMBER = 2; private int code_; /** * required uint32 code = 2; */ public boolean hasCode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 code = 2; */ public int getCode() { return code_; } public static final int SQL_STATE_FIELD_NUMBER = 4; private java.lang.Object sqlState_; /** * required string sql_state = 4; */ public boolean hasSqlState() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string sql_state = 4; */ public java.lang.String getSqlState() { java.lang.Object ref = sqlState_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { sqlState_ = s; } return s; } } /** * required string sql_state = 4; */ public com.google.protobuf.ByteString getSqlStateBytes() { java.lang.Object ref = sqlState_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSG_FIELD_NUMBER = 3; private java.lang.Object msg_; /** * required string msg = 3; */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string msg = 3; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } } /** * required string msg = 3; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private void initFields() { severity_ = com.mysql.cj.x.protobuf.Mysqlx.Error.Severity.ERROR; code_ = 0; sqlState_ = ""; msg_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasCode()) { memoizedIsInitialized = 0; return false; } if (!hasSqlState()) { memoizedIsInitialized = 0; return false; } if (!hasMsg()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, severity_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, code_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBytes(3, getMsgBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(4, getSqlStateBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, severity_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, code_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, getMsgBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, getSqlStateBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static com.mysql.cj.x.protobuf.Mysqlx.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(com.mysql.cj.x.protobuf.Mysqlx.Error prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code Mysqlx.Error} * *
     * generic Error message
     * A ``severity`` of ``ERROR`` indicates the current message sequence is
     * aborted for the given error and the session is ready for more.
     * In case of a ``FATAL`` error message the client should not expect
     * the server to continue handling any further messages and should
     * close the connection.
     * :param severity: severity of the error message
     * :param code: error-code
     * :param sql_state: SQL state
     * :param msg: human readable error message
     * 
*/ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:Mysqlx.Error) com.mysql.cj.x.protobuf.Mysqlx.ErrorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Error_descriptor; } protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( com.mysql.cj.x.protobuf.Mysqlx.Error.class, com.mysql.cj.x.protobuf.Mysqlx.Error.Builder.class); } // Construct using com.mysql.cj.x.protobuf.Mysqlx.Error.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); severity_ = com.mysql.cj.x.protobuf.Mysqlx.Error.Severity.ERROR; bitField0_ = (bitField0_ & ~0x00000001); code_ = 0; bitField0_ = (bitField0_ & ~0x00000002); sqlState_ = ""; bitField0_ = (bitField0_ & ~0x00000004); msg_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.mysql.cj.x.protobuf.Mysqlx.internal_static_Mysqlx_Error_descriptor; } public com.mysql.cj.x.protobuf.Mysqlx.Error getDefaultInstanceForType() { return com.mysql.cj.x.protobuf.Mysqlx.Error.getDefaultInstance(); } public com.mysql.cj.x.protobuf.Mysqlx.Error build() { com.mysql.cj.x.protobuf.Mysqlx.Error result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.mysql.cj.x.protobuf.Mysqlx.Error buildPartial() { com.mysql.cj.x.protobuf.Mysqlx.Error result = new com.mysql.cj.x.protobuf.Mysqlx.Error(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.severity_ = severity_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.code_ = code_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.sqlState_ = sqlState_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.msg_ = msg_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.mysql.cj.x.protobuf.Mysqlx.Error) { return mergeFrom((com.mysql.cj.x.protobuf.Mysqlx.Error)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.mysql.cj.x.protobuf.Mysqlx.Error other) { if (other == com.mysql.cj.x.protobuf.Mysqlx.Error.getDefaultInstance()) return this; if (other.hasSeverity()) { setSeverity(other.getSeverity()); } if (other.hasCode()) { setCode(other.getCode()); } if (other.hasSqlState()) { bitField0_ |= 0x00000004; sqlState_ = other.sqlState_; onChanged(); } if (other.hasMsg()) { bitField0_ |= 0x00000008; msg_ = other.msg_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { if (!hasCode()) { return false; } if (!hasSqlState()) { return false; } if (!hasMsg()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.mysql.cj.x.protobuf.Mysqlx.Error parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.mysql.cj.x.protobuf.Mysqlx.Error) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.mysql.cj.x.protobuf.Mysqlx.Error.Severity severity_ = com.mysql.cj.x.protobuf.Mysqlx.Error.Severity.ERROR; /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public boolean hasSeverity() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public com.mysql.cj.x.protobuf.Mysqlx.Error.Severity getSeverity() { return severity_; } /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public Builder setSeverity(com.mysql.cj.x.protobuf.Mysqlx.Error.Severity value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; severity_ = value; onChanged(); return this; } /** * optional .Mysqlx.Error.Severity severity = 1 [default = ERROR]; */ public Builder clearSeverity() { bitField0_ = (bitField0_ & ~0x00000001); severity_ = com.mysql.cj.x.protobuf.Mysqlx.Error.Severity.ERROR; onChanged(); return this; } private int code_ ; /** * required uint32 code = 2; */ public boolean hasCode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 code = 2; */ public int getCode() { return code_; } /** * required uint32 code = 2; */ public Builder setCode(int value) { bitField0_ |= 0x00000002; code_ = value; onChanged(); return this; } /** * required uint32 code = 2; */ public Builder clearCode() { bitField0_ = (bitField0_ & ~0x00000002); code_ = 0; onChanged(); return this; } private java.lang.Object sqlState_ = ""; /** * required string sql_state = 4; */ public boolean hasSqlState() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string sql_state = 4; */ public java.lang.String getSqlState() { java.lang.Object ref = sqlState_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { sqlState_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string sql_state = 4; */ public com.google.protobuf.ByteString getSqlStateBytes() { java.lang.Object ref = sqlState_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string sql_state = 4; */ public Builder setSqlState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sqlState_ = value; onChanged(); return this; } /** * required string sql_state = 4; */ public Builder clearSqlState() { bitField0_ = (bitField0_ & ~0x00000004); sqlState_ = getDefaultInstance().getSqlState(); onChanged(); return this; } /** * required string sql_state = 4; */ public Builder setSqlStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sqlState_ = value; onChanged(); return this; } private java.lang.Object msg_ = ""; /** * required string msg = 3; */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string msg = 3; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string msg = 3; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string msg = 3; */ public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } /** * required string msg = 3; */ public Builder clearMsg() { bitField0_ = (bitField0_ & ~0x00000008); msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** * required string msg = 3; */ public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:Mysqlx.Error) } static { defaultInstance = new Error(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:Mysqlx.Error) } public static final int CLIENT_MESSAGE_ID_FIELD_NUMBER = 100001; /** * extend .google.protobuf.MessageOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MessageOptions, com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.Type> clientMessageId = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.mysql.cj.x.protobuf.Mysqlx.ClientMessages.Type.class, null); public static final int SERVER_MESSAGE_ID_FIELD_NUMBER = 100002; /** * extend .google.protobuf.MessageOptions { ... } */ public static final com.google.protobuf.GeneratedMessage.GeneratedExtension< com.google.protobuf.DescriptorProtos.MessageOptions, com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Type> serverMessageId = com.google.protobuf.GeneratedMessage .newFileScopedGeneratedExtension( com.mysql.cj.x.protobuf.Mysqlx.ServerMessages.Type.class, null); private static final com.google.protobuf.Descriptors.Descriptor internal_static_Mysqlx_ClientMessages_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Mysqlx_ClientMessages_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Mysqlx_ServerMessages_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Mysqlx_ServerMessages_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Mysqlx_Ok_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Mysqlx_Ok_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_Mysqlx_Error_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_Mysqlx_Error_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\014mysqlx.proto\022\006Mysqlx\032 google/protobuf/" + "descriptor.proto\"\364\002\n\016ClientMessages\"\341\002\n\004" + "Type\022\030\n\024CON_CAPABILITIES_GET\020\001\022\030\n\024CON_CA" + "PABILITIES_SET\020\002\022\r\n\tCON_CLOSE\020\003\022\033\n\027SESS_" + "AUTHENTICATE_START\020\004\022\036\n\032SESS_AUTHENTICAT" + "E_CONTINUE\020\005\022\016\n\nSESS_RESET\020\006\022\016\n\nSESS_CLO" + "SE\020\007\022\024\n\020SQL_STMT_EXECUTE\020\014\022\r\n\tCRUD_FIND\020" + "\021\022\017\n\013CRUD_INSERT\020\022\022\017\n\013CRUD_UPDATE\020\023\022\017\n\013C" + "RUD_DELETE\020\024\022\017\n\013EXPECT_OPEN\020\030\022\020\n\014EXPECT_" + "CLOSE\020\031\022\024\n\020CRUD_CREATE_VIEW\020\036\022\024\n\020CRUD_MO", "DIFY_VIEW\020\037\022\022\n\016CRUD_DROP_VIEW\020 \"\342\002\n\016Serv" + "erMessages\"\317\002\n\004Type\022\006\n\002OK\020\000\022\t\n\005ERROR\020\001\022\025" + "\n\021CONN_CAPABILITIES\020\002\022\036\n\032SESS_AUTHENTICA" + "TE_CONTINUE\020\003\022\030\n\024SESS_AUTHENTICATE_OK\020\004\022" + "\n\n\006NOTICE\020\013\022\036\n\032RESULTSET_COLUMN_META_DAT" + "A\020\014\022\021\n\rRESULTSET_ROW\020\r\022\030\n\024RESULTSET_FETC" + "H_DONE\020\016\022\035\n\031RESULTSET_FETCH_SUSPENDED\020\017\022" + "(\n$RESULTSET_FETCH_DONE_MORE_RESULTSETS\020" + "\020\022\027\n\023SQL_STMT_EXECUTE_OK\020\021\022(\n$RESULTSET_" + "FETCH_DONE_MORE_OUT_PARAMS\020\022\"\027\n\002Ok\022\013\n\003ms", "g\030\001 \001(\t:\004\220\3520\000\"\216\001\n\005Error\022/\n\010severity\030\001 \001(" + "\0162\026.Mysqlx.Error.Severity:\005ERROR\022\014\n\004code" + "\030\002 \002(\r\022\021\n\tsql_state\030\004 \002(\t\022\013\n\003msg\030\003 \002(\t\" " + "\n\010Severity\022\t\n\005ERROR\020\000\022\t\n\005FATAL\020\001:\004\220\3520\001:Y" + "\n\021client_message_id\022\037.google.protobuf.Me" + "ssageOptions\030\241\215\006 \001(\0162\033.Mysqlx.ClientMess" + "ages.Type:Y\n\021server_message_id\022\037.google." + "protobuf.MessageOptions\030\242\215\006 \001(\0162\033.Mysqlx" + ".ServerMessages.TypeB\031\n\027com.mysql.cj.x.p" + "rotobuf" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.DescriptorProtos.getDescriptor(), }, assigner); internal_static_Mysqlx_ClientMessages_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_Mysqlx_ClientMessages_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Mysqlx_ClientMessages_descriptor, new java.lang.String[] { }); internal_static_Mysqlx_ServerMessages_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_Mysqlx_ServerMessages_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Mysqlx_ServerMessages_descriptor, new java.lang.String[] { }); internal_static_Mysqlx_Ok_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_Mysqlx_Ok_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Mysqlx_Ok_descriptor, new java.lang.String[] { "Msg", }); internal_static_Mysqlx_Error_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_Mysqlx_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_Mysqlx_Error_descriptor, new java.lang.String[] { "Severity", "Code", "SqlState", "Msg", }); clientMessageId.internalInit(descriptor.getExtensions().get(0)); serverMessageId.internalInit(descriptor.getExtensions().get(1)); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.mysql.cj.x.protobuf.Mysqlx.serverMessageId); registry.add(com.mysql.cj.x.protobuf.Mysqlx.serverMessageId); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.DescriptorProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy