|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
|
|
|
// source: Message.proto
|
|
|
|
|
// source: CommMsg.proto
|
|
|
|
|
|
|
|
|
|
package com.docus.server.common.netty;
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ public final class Payload {
|
|
|
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
|
|
|
}
|
|
|
|
|
public interface MessageOrBuilder extends
|
|
|
|
|
// @@protoc_insertion_point(interface_extends:Message)
|
|
|
|
|
// @@protoc_insertion_point(interface_extends:CommMsg)
|
|
|
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -31,12 +31,12 @@ public final class Payload {
|
|
|
|
|
getClientBytes();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The enum numeric value on the wire for cmd.
|
|
|
|
|
*/
|
|
|
|
|
int getCmdValue();
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The cmd.
|
|
|
|
|
*/
|
|
|
|
|
Message.type getCmd();
|
|
|
|
@ -54,14 +54,14 @@ public final class Payload {
|
|
|
|
|
getContentBytes();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code Message}
|
|
|
|
|
* Protobuf type {@code CommMsg}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Message extends
|
|
|
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
|
|
|
// @@protoc_insertion_point(message_implements:Message)
|
|
|
|
|
// @@protoc_insertion_point(message_implements:CommMsg)
|
|
|
|
|
MessageOrBuilder {
|
|
|
|
|
private static final long serialVersionUID = 0L;
|
|
|
|
|
// Use Message.newBuilder() to construct.
|
|
|
|
|
// Use CommMsg.newBuilder() to construct.
|
|
|
|
|
private Message(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
|
|
|
super(builder);
|
|
|
|
|
}
|
|
|
|
@ -152,7 +152,7 @@ public final class Payload {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf enum {@code Message.type}
|
|
|
|
|
* Protobuf enum {@code CommMsg.type}
|
|
|
|
|
*/
|
|
|
|
|
public enum type
|
|
|
|
|
implements com.google.protobuf.ProtocolMessageEnum {
|
|
|
|
@ -341,7 +341,7 @@ public final class Payload {
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(enum_scope:Message.type)
|
|
|
|
|
// @@protoc_insertion_point(enum_scope:CommMsg.type)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static final int CLIENT_FIELD_NUMBER = 1;
|
|
|
|
@ -385,14 +385,14 @@ public final class Payload {
|
|
|
|
|
public static final int CMD_FIELD_NUMBER = 2;
|
|
|
|
|
private int cmd_;
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The enum numeric value on the wire for cmd.
|
|
|
|
|
*/
|
|
|
|
|
@Override public int getCmdValue() {
|
|
|
|
|
return cmd_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The cmd.
|
|
|
|
|
*/
|
|
|
|
|
@Override public type getCmd() {
|
|
|
|
@ -614,11 +614,11 @@ public final class Payload {
|
|
|
|
|
return builder;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Protobuf type {@code Message}
|
|
|
|
|
* Protobuf type {@code CommMsg}
|
|
|
|
|
*/
|
|
|
|
|
public static final class Builder extends
|
|
|
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
|
|
|
// @@protoc_insertion_point(builder_implements:Message)
|
|
|
|
|
// @@protoc_insertion_point(builder_implements:CommMsg)
|
|
|
|
|
MessageOrBuilder {
|
|
|
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
|
|
|
getDescriptor() {
|
|
|
|
@ -633,7 +633,7 @@ public final class Payload {
|
|
|
|
|
Message.class, Builder.class);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Construct using com.venus.common.protobuf.Payload.Message.newBuilder()
|
|
|
|
|
// Construct using com.venus.common.protobuf.Payload.CommMsg.newBuilder()
|
|
|
|
|
private Builder() {
|
|
|
|
|
maybeForceBuilderInitialization();
|
|
|
|
|
}
|
|
|
|
@ -854,14 +854,14 @@ public final class Payload {
|
|
|
|
|
|
|
|
|
|
private int cmd_ = 0;
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The enum numeric value on the wire for cmd.
|
|
|
|
|
*/
|
|
|
|
|
@Override public int getCmdValue() {
|
|
|
|
|
return cmd_;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @param value The enum numeric value on the wire for cmd to set.
|
|
|
|
|
* @return This builder for chaining.
|
|
|
|
|
*/
|
|
|
|
@ -872,7 +872,7 @@ public final class Payload {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return The cmd.
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
@ -882,7 +882,7 @@ public final class Payload {
|
|
|
|
|
return result == null ? type.UNRECOGNIZED : result;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @param value The cmd to set.
|
|
|
|
|
* @return This builder for chaining.
|
|
|
|
|
*/
|
|
|
|
@ -896,7 +896,7 @@ public final class Payload {
|
|
|
|
|
return this;
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* <code>.Message.type cmd = 2;</code>
|
|
|
|
|
* <code>.CommMsg.type cmd = 2;</code>
|
|
|
|
|
* @return This builder for chaining.
|
|
|
|
|
*/
|
|
|
|
|
public Builder clearCmd() {
|
|
|
|
@ -996,10 +996,10 @@ public final class Payload {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:Message)
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:CommMsg)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @@protoc_insertion_point(class_scope:Message)
|
|
|
|
|
// @@protoc_insertion_point(class_scope:CommMsg)
|
|
|
|
|
private static final Message DEFAULT_INSTANCE;
|
|
|
|
|
static {
|
|
|
|
|
DEFAULT_INSTANCE = new Message();
|
|
|
|
@ -1050,8 +1050,8 @@ public final class Payload {
|
|
|
|
|
descriptor;
|
|
|
|
|
static {
|
|
|
|
|
String[] descriptorData = {
|
|
|
|
|
"\n\rMessage.proto\"\260\001\n\007Message\022\016\n\006client\030\001 " +
|
|
|
|
|
"\001(\t\022\032\n\003cmd\030\002 \001(\0162\r.Message.type\022\017\n\007conte" +
|
|
|
|
|
"\n\rCommMsg.proto\"\260\001\n\007Message\022\016\n\006client\030\001 " +
|
|
|
|
|
"\001(\t\022\032\n\003cmd\030\002 \001(\0162\r.CommMsg.type\022\017\n\007conte" +
|
|
|
|
|
"nt\030\003 \001(\t\"h\n\004type\022\025\n\021HEARTBEAT_REQUEST\020\000\022" +
|
|
|
|
|
"\026\n\022HEARTBEAT_RESPONSE\020\001\022\010\n\004AUTH\020\002\022\t\n\005PRI" +
|
|
|
|
|
"NT\020\003\022\016\n\nPRINT_DONE\020\004\022\014\n\010WHATEVER\020\005B$\n\031co" +
|
|
|
|
|