From 86e84ca612e709b79f849bab847fdbd21b59713c Mon Sep 17 00:00:00 2001 From: eson Date: Mon, 13 Jun 2022 15:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dataflow/grpc/CollectPackets.java | 30 +- .../proto/ApmBaseDataFlowOuterClass.java | 660 +- .../dataflow/proto/AppFlowOuterClass.java | 2240 +++++ .../proto/BacktrackingFlowOuterClass.java | 2176 +++++ .../com/yuandian/dataflow/proto/Base.java | 772 +- .../proto/BasicTrafficFlowOuterClass.java | 1597 ++++ .../proto/BusinessBodyDataOuterClass.java | 2465 ++++++ .../dataflow/proto/BussFlowDbOuterClass.java | 7277 +++++++++++++++++ .../proto/BussFlowExternalOuterClass.java | 4314 ++++++++++ .../proto/CollectPacketsServerGrpc.java | 2 +- src/main/proto/ApmBaseDataFlow.proto | 83 +- src/main/proto/AppFlow.proto | 34 + src/main/proto/BacktrackingFlow.proto | 31 + src/main/proto/Base.proto | 10 +- src/main/proto/BasicTrafficFlow.proto | 26 + src/main/proto/BusinessBodyData.proto | 33 + src/main/proto/BussFlowDb.proto | 76 + src/main/proto/BussFlowExternal.proto | 42 + src/main/proto/BussFlowMidd.proto | 72 + src/main/proto/BussFlowOrl.proto | 41 + src/main/proto/BussFlowWeb.proto | 0 .../java/com/yuandian/dataflow/AppTest.java | 2 + 22 files changed, 21218 insertions(+), 765 deletions(-) create mode 100644 src/main/java/com/yuandian/dataflow/proto/AppFlowOuterClass.java create mode 100644 src/main/java/com/yuandian/dataflow/proto/BacktrackingFlowOuterClass.java create mode 100644 src/main/java/com/yuandian/dataflow/proto/BasicTrafficFlowOuterClass.java create mode 100644 src/main/java/com/yuandian/dataflow/proto/BusinessBodyDataOuterClass.java create mode 100644 src/main/java/com/yuandian/dataflow/proto/BussFlowDbOuterClass.java create mode 100644 src/main/java/com/yuandian/dataflow/proto/BussFlowExternalOuterClass.java create mode 100644 src/main/proto/AppFlow.proto create mode 100644 src/main/proto/BacktrackingFlow.proto create mode 100644 src/main/proto/BasicTrafficFlow.proto create mode 100644 src/main/proto/BusinessBodyData.proto create mode 100644 src/main/proto/BussFlowDb.proto create mode 100644 src/main/proto/BussFlowExternal.proto create mode 100644 src/main/proto/BussFlowMidd.proto create mode 100644 src/main/proto/BussFlowOrl.proto create mode 100644 src/main/proto/BussFlowWeb.proto diff --git a/src/main/java/com/yuandian/dataflow/grpc/CollectPackets.java b/src/main/java/com/yuandian/dataflow/grpc/CollectPackets.java index 709311c..c939fbd 100644 --- a/src/main/java/com/yuandian/dataflow/grpc/CollectPackets.java +++ b/src/main/java/com/yuandian/dataflow/grpc/CollectPackets.java @@ -6,6 +6,10 @@ */ package com.yuandian.dataflow.grpc; +import java.time.Duration; +import java.time.Instant; + +import com.google.protobuf.Any; import com.google.protobuf.InvalidProtocolBufferException; import com.yuandian.dataflow.proto.CollectPacketsServerGrpc; import com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow; @@ -17,6 +21,7 @@ import com.yuandian.dataflow.proto.CollectPacketsServerGrpc.CollectPacketsServer import io.grpc.ManagedChannelBuilder; import io.grpc.netty.shaded.io.netty.handler.codec.compression.CompressionOptions; import io.grpc.stub.StreamObserver; +import lombok.extern.slf4j.Slf4j; /** * description @@ -24,6 +29,7 @@ import io.grpc.stub.StreamObserver; * @author eson *2022年6月09日-16:29:17 */ +@Slf4j public class CollectPackets extends CollectPacketsServerImplBase { @@ -44,18 +50,34 @@ public class CollectPackets extends CollectPacketsServerImplBase { // MyThing.Response response = blockingStub.sayHi(request); // System.out.println(response.getName()); // } - var managedChannelBuilder = ManagedChannelBuilder.forAddress("localhost", 4444); + var managedChannelBuilder = ManagedChannelBuilder.forAddress("localhost", 50051); var channel = managedChannelBuilder.usePlaintext().build(); var stub = CollectPacketsServerGrpc.newBlockingStub(channel); - stub.withCompression("snappy"); + // stub.withCompression("snappy"); - var response = stub.getPackets(Request.newBuilder().setVersion("v1.1.1").build()); + var response = stub.getPackets(Request.newBuilder().setVersion("0.1.0").build()); + while(true){ + + + var iter = response.next(); + + Instant now = Instant.now(); + + var i = 0; for(var p : iter.getPacketsList()) { - var flow = p.unpack( ApmBaseDataFlow.class); + if(p.is(ApmBaseDataFlow.class)) { + var flow = p.unpack( ApmBaseDataFlow.class); + + i ++; + } } + + + + log.info("条数:{}, {}:ms",i,Duration.between(now, Instant.now()).toMillis()); } diff --git a/src/main/java/com/yuandian/dataflow/proto/ApmBaseDataFlowOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/ApmBaseDataFlowOuterClass.java index 247fb8a..e510e00 100644 --- a/src/main/java/com/yuandian/dataflow/proto/ApmBaseDataFlowOuterClass.java +++ b/src/main/java/com/yuandian/dataflow/proto/ApmBaseDataFlowOuterClass.java @@ -15,21 +15,21 @@ public final class ApmBaseDataFlowOuterClass { (com.google.protobuf.ExtensionRegistryLite) registry); } public interface ApmBaseDataFlowOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.yuandian.dataflow.proto.ApmBaseDataFlow) + // @@protoc_insertion_point(interface_extends:dataflow.ApmBaseDataFlow) com.google.protobuf.MessageOrBuilder { /** - * int32 tableID = 1; - * @return The tableID. + * int32 table_id = 1; + * @return The tableId. */ - int getTableID(); + int getTableId(); /** *
      *四元组
      * 
* - * int32 probeIf = 2; + * int32 probe_if = 2; * @return The probeIf. */ int getProbeIf(); @@ -40,7 +40,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求端口 * * - * int32 requestPort = 3; + * int32 request_port = 3; * @return The requestPort. */ int getRequestPort(); @@ -51,7 +51,7 @@ public final class ApmBaseDataFlowOuterClass { * 响应端口 * * - * int32 responsePort = 4; + * int32 response_port = 4; * @return The responsePort. */ int getResponsePort(); @@ -62,7 +62,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求IP * * - * int32 requestIp = 5; + * int32 request_ip = 5; * @return The requestIp. */ int getRequestIp(); @@ -70,10 +70,10 @@ public final class ApmBaseDataFlowOuterClass { /** *
      **
-     * 响应Ip
+     * 响应ip
      * 
* - * int32 responseIp = 6; + * int32 response_ip = 6; * @return The responseIp. */ int getResponseIp(); @@ -84,7 +84,7 @@ public final class ApmBaseDataFlowOuterClass { * 源mac * * - * int64 srcMac = 7; + * int64 src_mac = 7; * @return The srcMac. */ long getSrcMac(); @@ -95,7 +95,7 @@ public final class ApmBaseDataFlowOuterClass { * 目的mac * * - * int64 dstMac = 8; + * int64 dst_mac = 8; * @return The dstMac. */ long getDstMac(); @@ -106,19 +106,19 @@ public final class ApmBaseDataFlowOuterClass { * 链路编号 * * - * int32 vlanId = 9; + * int32 vlan_id = 9; * @return The vlanId. */ int getVlanId(); /** - * int32 tvSec = 10; + * int32 tv_sec = 10; * @return The tvSec. */ int getTvSec(); /** - * int32 tvUsec = 11; + * int32 tv_usec = 11; * @return The tvUsec. */ int getTvUsec(); @@ -129,7 +129,7 @@ public final class ApmBaseDataFlowOuterClass { * 开始时间 * * - * int32 startTm = 12; + * int32 start_tm = 12; * @return The startTm. */ int getStartTm(); @@ -140,7 +140,7 @@ public final class ApmBaseDataFlowOuterClass { * 总字节数 * * - * int32 totalBytes = 13; + * int32 total_bytes = 13; * @return The totalBytes. */ int getTotalBytes(); @@ -151,7 +151,7 @@ public final class ApmBaseDataFlowOuterClass { * 总包数 * * - * int32 totalPackets = 14; + * int32 total_packets = 14; * @return The totalPackets. */ int getTotalPackets(); @@ -162,7 +162,7 @@ public final class ApmBaseDataFlowOuterClass { * 总丢包数 * * - * int32 totalDropPackets = 15; + * int32 total_drop_packets = 15; * @return The totalDropPackets. */ int getTotalDropPackets(); @@ -173,7 +173,7 @@ public final class ApmBaseDataFlowOuterClass { * 重传延时 * * - * int32 retranTimeDelay = 16; + * int32 retran_time_delay = 16; * @return The retranTimeDelay. */ int getRetranTimeDelay(); @@ -184,7 +184,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端rtt * * - * int32 clientRtt = 17; + * int32 client_rtt = 17; * @return The clientRtt. */ int getClientRtt(); @@ -195,7 +195,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端Rtt * * - * int32 serverRtt = 18; + * int32 server_rtt = 18; * @return The serverRtt. */ int getServerRtt(); @@ -206,7 +206,7 @@ public final class ApmBaseDataFlowOuterClass { * 用户响应时间 * * - * int32 userResponseTime = 19; + * int32 user_response_time = 19; * @return The userResponseTime. */ int getUserResponseTime(); @@ -217,7 +217,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务响应时间 * * - * int32 serverResponseTime = 20; + * int32 server_response_time = 20; * @return The serverResponseTime. */ int getServerResponseTime(); @@ -228,7 +228,7 @@ public final class ApmBaseDataFlowOuterClass { * tcp回话连接失败数 * * - * int32 conFail = 21; + * int32 con_fail = 21; * @return The conFail. */ int getConFail(); @@ -239,7 +239,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端总字节数 * * - * int32 bytesIn = 23; + * int32 bytes_in = 23; * @return The bytesIn. */ int getBytesIn(); @@ -250,7 +250,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端总字节数 * * - * int32 bytesOut = 24; + * int32 bytes_out = 24; * @return The bytesOut. */ int getBytesOut(); @@ -261,7 +261,7 @@ public final class ApmBaseDataFlowOuterClass { * 探针推送时间 * * - * int32 timeFlag = 25; + * int32 time_flag = 25; * @return The timeFlag. */ int getTimeFlag(); @@ -272,7 +272,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间 * * - * int32 endTm = 26; + * int32 end_tm = 26; * @return The endTm. */ int getEndTm(); @@ -283,7 +283,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间微秒 * * - * int32 endTmUsec = 27; + * int32 end_tm_usec = 27; * @return The endTmUsec. */ int getEndTmUsec(); @@ -294,7 +294,7 @@ public final class ApmBaseDataFlowOuterClass { * 总响应数 * * - * int32 responNum = 28; + * int32 respon_num = 28; * @return The responNum. */ int getResponNum(); @@ -305,7 +305,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端零窗口数 * * - * int32 csWindow = 29; + * int32 cs_window = 29; * @return The csWindow. */ int getCsWindow(); @@ -316,7 +316,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端零窗口数 * * - * int32 scWindow = 30; + * int32 sc_window = 30; * @return The scWindow. */ int getScWindow(); @@ -327,7 +327,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重置数 * * - * int32 csReset = 31; + * int32 cs_reset = 31; * @return The csReset. */ int getCsReset(); @@ -338,7 +338,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重置数 * * - * int32 scReset = 32; + * int32 sc_reset = 32; * @return The scReset. */ int getScReset(); @@ -349,7 +349,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重传数 * * - * int32 csRetran = 33; + * int32 cs_retran = 33; * @return The csRetran. */ int getCsRetran(); @@ -360,7 +360,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重传数 * * - * int32 scRetran = 34; + * int32 sc_retran = 34; * @return The scRetran. */ int getScRetran(); @@ -371,7 +371,7 @@ public final class ApmBaseDataFlowOuterClass { * 会话建立时间 * * - * int32 connSetupTm = 35; + * int32 conn_setup_tm = 35; * @return The connSetupTm. */ int getConnSetupTm(); @@ -382,19 +382,19 @@ public final class ApmBaseDataFlowOuterClass { * 新建会话数 * * - * int32 newSession = 36; + * int32 new_session = 36; * @return The newSession. */ int getNewSession(); /** - * int32 csAlert = 37; + * int32 cs_alert = 37; * @return The csAlert. */ int getCsAlert(); /** - * int32 scAlert = 38; + * int32 sc_alert = 38; * @return The scAlert. */ int getScAlert(); @@ -412,11 +412,11 @@ public final class ApmBaseDataFlowOuterClass { getProtocalBytes(); } /** - * Protobuf type {@code com.yuandian.dataflow.proto.ApmBaseDataFlow} + * Protobuf type {@code dataflow.ApmBaseDataFlow} */ public static final class ApmBaseDataFlow extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.yuandian.dataflow.proto.ApmBaseDataFlow) + // @@protoc_insertion_point(message_implements:dataflow.ApmBaseDataFlow) ApmBaseDataFlowOrBuilder { private static final long serialVersionUID = 0L; // Use ApmBaseDataFlow.newBuilder() to construct. @@ -459,7 +459,7 @@ public final class ApmBaseDataFlowOuterClass { break; case 8: { - tableID_ = input.readInt32(); + tableId_ = input.readInt32(); break; } case 16: { @@ -671,36 +671,36 @@ public final class ApmBaseDataFlowOuterClass { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor; + return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_dataflow_ApmBaseDataFlow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_fieldAccessorTable + return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_dataflow_ApmBaseDataFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow.class, com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow.Builder.class); } - public static final int TABLEID_FIELD_NUMBER = 1; - private int tableID_; + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; /** - * int32 tableID = 1; - * @return The tableID. + * int32 table_id = 1; + * @return The tableId. */ @java.lang.Override - public int getTableID() { - return tableID_; + public int getTableId() { + return tableId_; } - public static final int PROBEIF_FIELD_NUMBER = 2; + public static final int PROBE_IF_FIELD_NUMBER = 2; private int probeIf_; /** *
      *四元组
      * 
* - * int32 probeIf = 2; + * int32 probe_if = 2; * @return The probeIf. */ @java.lang.Override @@ -708,7 +708,7 @@ public final class ApmBaseDataFlowOuterClass { return probeIf_; } - public static final int REQUESTPORT_FIELD_NUMBER = 3; + public static final int REQUEST_PORT_FIELD_NUMBER = 3; private int requestPort_; /** *
@@ -716,7 +716,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 请求端口
      * 
* - * int32 requestPort = 3; + * int32 request_port = 3; * @return The requestPort. */ @java.lang.Override @@ -724,7 +724,7 @@ public final class ApmBaseDataFlowOuterClass { return requestPort_; } - public static final int RESPONSEPORT_FIELD_NUMBER = 4; + public static final int RESPONSE_PORT_FIELD_NUMBER = 4; private int responsePort_; /** *
@@ -732,7 +732,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 响应端口
      * 
* - * int32 responsePort = 4; + * int32 response_port = 4; * @return The responsePort. */ @java.lang.Override @@ -740,7 +740,7 @@ public final class ApmBaseDataFlowOuterClass { return responsePort_; } - public static final int REQUESTIP_FIELD_NUMBER = 5; + public static final int REQUEST_IP_FIELD_NUMBER = 5; private int requestIp_; /** *
@@ -748,7 +748,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 请求IP
      * 
* - * int32 requestIp = 5; + * int32 request_ip = 5; * @return The requestIp. */ @java.lang.Override @@ -756,15 +756,15 @@ public final class ApmBaseDataFlowOuterClass { return requestIp_; } - public static final int RESPONSEIP_FIELD_NUMBER = 6; + public static final int RESPONSE_IP_FIELD_NUMBER = 6; private int responseIp_; /** *
      **
-     * 响应Ip
+     * 响应ip
      * 
* - * int32 responseIp = 6; + * int32 response_ip = 6; * @return The responseIp. */ @java.lang.Override @@ -772,7 +772,7 @@ public final class ApmBaseDataFlowOuterClass { return responseIp_; } - public static final int SRCMAC_FIELD_NUMBER = 7; + public static final int SRC_MAC_FIELD_NUMBER = 7; private long srcMac_; /** *
@@ -780,7 +780,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 源mac
      * 
* - * int64 srcMac = 7; + * int64 src_mac = 7; * @return The srcMac. */ @java.lang.Override @@ -788,7 +788,7 @@ public final class ApmBaseDataFlowOuterClass { return srcMac_; } - public static final int DSTMAC_FIELD_NUMBER = 8; + public static final int DST_MAC_FIELD_NUMBER = 8; private long dstMac_; /** *
@@ -796,7 +796,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 目的mac
      * 
* - * int64 dstMac = 8; + * int64 dst_mac = 8; * @return The dstMac. */ @java.lang.Override @@ -804,7 +804,7 @@ public final class ApmBaseDataFlowOuterClass { return dstMac_; } - public static final int VLANID_FIELD_NUMBER = 9; + public static final int VLAN_ID_FIELD_NUMBER = 9; private int vlanId_; /** *
@@ -812,7 +812,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 链路编号
      * 
* - * int32 vlanId = 9; + * int32 vlan_id = 9; * @return The vlanId. */ @java.lang.Override @@ -820,10 +820,10 @@ public final class ApmBaseDataFlowOuterClass { return vlanId_; } - public static final int TVSEC_FIELD_NUMBER = 10; + public static final int TV_SEC_FIELD_NUMBER = 10; private int tvSec_; /** - * int32 tvSec = 10; + * int32 tv_sec = 10; * @return The tvSec. */ @java.lang.Override @@ -831,10 +831,10 @@ public final class ApmBaseDataFlowOuterClass { return tvSec_; } - public static final int TVUSEC_FIELD_NUMBER = 11; + public static final int TV_USEC_FIELD_NUMBER = 11; private int tvUsec_; /** - * int32 tvUsec = 11; + * int32 tv_usec = 11; * @return The tvUsec. */ @java.lang.Override @@ -842,7 +842,7 @@ public final class ApmBaseDataFlowOuterClass { return tvUsec_; } - public static final int STARTTM_FIELD_NUMBER = 12; + public static final int START_TM_FIELD_NUMBER = 12; private int startTm_; /** *
@@ -850,7 +850,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 开始时间
      * 
* - * int32 startTm = 12; + * int32 start_tm = 12; * @return The startTm. */ @java.lang.Override @@ -858,7 +858,7 @@ public final class ApmBaseDataFlowOuterClass { return startTm_; } - public static final int TOTALBYTES_FIELD_NUMBER = 13; + public static final int TOTAL_BYTES_FIELD_NUMBER = 13; private int totalBytes_; /** *
@@ -866,7 +866,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 总字节数
      * 
* - * int32 totalBytes = 13; + * int32 total_bytes = 13; * @return The totalBytes. */ @java.lang.Override @@ -874,7 +874,7 @@ public final class ApmBaseDataFlowOuterClass { return totalBytes_; } - public static final int TOTALPACKETS_FIELD_NUMBER = 14; + public static final int TOTAL_PACKETS_FIELD_NUMBER = 14; private int totalPackets_; /** *
@@ -882,7 +882,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 总包数
      * 
* - * int32 totalPackets = 14; + * int32 total_packets = 14; * @return The totalPackets. */ @java.lang.Override @@ -890,7 +890,7 @@ public final class ApmBaseDataFlowOuterClass { return totalPackets_; } - public static final int TOTALDROPPACKETS_FIELD_NUMBER = 15; + public static final int TOTAL_DROP_PACKETS_FIELD_NUMBER = 15; private int totalDropPackets_; /** *
@@ -898,7 +898,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 总丢包数
      * 
* - * int32 totalDropPackets = 15; + * int32 total_drop_packets = 15; * @return The totalDropPackets. */ @java.lang.Override @@ -906,7 +906,7 @@ public final class ApmBaseDataFlowOuterClass { return totalDropPackets_; } - public static final int RETRANTIMEDELAY_FIELD_NUMBER = 16; + public static final int RETRAN_TIME_DELAY_FIELD_NUMBER = 16; private int retranTimeDelay_; /** *
@@ -914,7 +914,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 重传延时
      * 
* - * int32 retranTimeDelay = 16; + * int32 retran_time_delay = 16; * @return The retranTimeDelay. */ @java.lang.Override @@ -922,7 +922,7 @@ public final class ApmBaseDataFlowOuterClass { return retranTimeDelay_; } - public static final int CLIENTRTT_FIELD_NUMBER = 17; + public static final int CLIENT_RTT_FIELD_NUMBER = 17; private int clientRtt_; /** *
@@ -930,7 +930,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 客户端rtt
      * 
* - * int32 clientRtt = 17; + * int32 client_rtt = 17; * @return The clientRtt. */ @java.lang.Override @@ -938,7 +938,7 @@ public final class ApmBaseDataFlowOuterClass { return clientRtt_; } - public static final int SERVERRTT_FIELD_NUMBER = 18; + public static final int SERVER_RTT_FIELD_NUMBER = 18; private int serverRtt_; /** *
@@ -946,7 +946,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务端Rtt
      * 
* - * int32 serverRtt = 18; + * int32 server_rtt = 18; * @return The serverRtt. */ @java.lang.Override @@ -954,7 +954,7 @@ public final class ApmBaseDataFlowOuterClass { return serverRtt_; } - public static final int USERRESPONSETIME_FIELD_NUMBER = 19; + public static final int USER_RESPONSE_TIME_FIELD_NUMBER = 19; private int userResponseTime_; /** *
@@ -962,7 +962,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 用户响应时间
      * 
* - * int32 userResponseTime = 19; + * int32 user_response_time = 19; * @return The userResponseTime. */ @java.lang.Override @@ -970,7 +970,7 @@ public final class ApmBaseDataFlowOuterClass { return userResponseTime_; } - public static final int SERVERRESPONSETIME_FIELD_NUMBER = 20; + public static final int SERVER_RESPONSE_TIME_FIELD_NUMBER = 20; private int serverResponseTime_; /** *
@@ -978,7 +978,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务响应时间
      * 
* - * int32 serverResponseTime = 20; + * int32 server_response_time = 20; * @return The serverResponseTime. */ @java.lang.Override @@ -986,7 +986,7 @@ public final class ApmBaseDataFlowOuterClass { return serverResponseTime_; } - public static final int CONFAIL_FIELD_NUMBER = 21; + public static final int CON_FAIL_FIELD_NUMBER = 21; private int conFail_; /** *
@@ -994,7 +994,7 @@ public final class ApmBaseDataFlowOuterClass {
      * tcp回话连接失败数
      * 
* - * int32 conFail = 21; + * int32 con_fail = 21; * @return The conFail. */ @java.lang.Override @@ -1002,7 +1002,7 @@ public final class ApmBaseDataFlowOuterClass { return conFail_; } - public static final int BYTESIN_FIELD_NUMBER = 23; + public static final int BYTES_IN_FIELD_NUMBER = 23; private int bytesIn_; /** *
@@ -1010,7 +1010,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务端总字节数
      * 
* - * int32 bytesIn = 23; + * int32 bytes_in = 23; * @return The bytesIn. */ @java.lang.Override @@ -1018,7 +1018,7 @@ public final class ApmBaseDataFlowOuterClass { return bytesIn_; } - public static final int BYTESOUT_FIELD_NUMBER = 24; + public static final int BYTES_OUT_FIELD_NUMBER = 24; private int bytesOut_; /** *
@@ -1026,7 +1026,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 客户端总字节数
      * 
* - * int32 bytesOut = 24; + * int32 bytes_out = 24; * @return The bytesOut. */ @java.lang.Override @@ -1034,7 +1034,7 @@ public final class ApmBaseDataFlowOuterClass { return bytesOut_; } - public static final int TIMEFLAG_FIELD_NUMBER = 25; + public static final int TIME_FLAG_FIELD_NUMBER = 25; private int timeFlag_; /** *
@@ -1042,7 +1042,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 探针推送时间
      * 
* - * int32 timeFlag = 25; + * int32 time_flag = 25; * @return The timeFlag. */ @java.lang.Override @@ -1050,7 +1050,7 @@ public final class ApmBaseDataFlowOuterClass { return timeFlag_; } - public static final int ENDTM_FIELD_NUMBER = 26; + public static final int END_TM_FIELD_NUMBER = 26; private int endTm_; /** *
@@ -1058,7 +1058,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 结束时间
      * 
* - * int32 endTm = 26; + * int32 end_tm = 26; * @return The endTm. */ @java.lang.Override @@ -1066,7 +1066,7 @@ public final class ApmBaseDataFlowOuterClass { return endTm_; } - public static final int ENDTMUSEC_FIELD_NUMBER = 27; + public static final int END_TM_USEC_FIELD_NUMBER = 27; private int endTmUsec_; /** *
@@ -1074,7 +1074,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 结束时间微秒
      * 
* - * int32 endTmUsec = 27; + * int32 end_tm_usec = 27; * @return The endTmUsec. */ @java.lang.Override @@ -1082,7 +1082,7 @@ public final class ApmBaseDataFlowOuterClass { return endTmUsec_; } - public static final int RESPONNUM_FIELD_NUMBER = 28; + public static final int RESPON_NUM_FIELD_NUMBER = 28; private int responNum_; /** *
@@ -1090,7 +1090,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 总响应数
      * 
* - * int32 responNum = 28; + * int32 respon_num = 28; * @return The responNum. */ @java.lang.Override @@ -1098,7 +1098,7 @@ public final class ApmBaseDataFlowOuterClass { return responNum_; } - public static final int CSWINDOW_FIELD_NUMBER = 29; + public static final int CS_WINDOW_FIELD_NUMBER = 29; private int csWindow_; /** *
@@ -1106,7 +1106,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 客户端零窗口数
      * 
* - * int32 csWindow = 29; + * int32 cs_window = 29; * @return The csWindow. */ @java.lang.Override @@ -1114,7 +1114,7 @@ public final class ApmBaseDataFlowOuterClass { return csWindow_; } - public static final int SCWINDOW_FIELD_NUMBER = 30; + public static final int SC_WINDOW_FIELD_NUMBER = 30; private int scWindow_; /** *
@@ -1122,7 +1122,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务端零窗口数
      * 
* - * int32 scWindow = 30; + * int32 sc_window = 30; * @return The scWindow. */ @java.lang.Override @@ -1130,7 +1130,7 @@ public final class ApmBaseDataFlowOuterClass { return scWindow_; } - public static final int CSRESET_FIELD_NUMBER = 31; + public static final int CS_RESET_FIELD_NUMBER = 31; private int csReset_; /** *
@@ -1138,7 +1138,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 客户端重置数
      * 
* - * int32 csReset = 31; + * int32 cs_reset = 31; * @return The csReset. */ @java.lang.Override @@ -1146,7 +1146,7 @@ public final class ApmBaseDataFlowOuterClass { return csReset_; } - public static final int SCRESET_FIELD_NUMBER = 32; + public static final int SC_RESET_FIELD_NUMBER = 32; private int scReset_; /** *
@@ -1154,7 +1154,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务端重置数
      * 
* - * int32 scReset = 32; + * int32 sc_reset = 32; * @return The scReset. */ @java.lang.Override @@ -1162,7 +1162,7 @@ public final class ApmBaseDataFlowOuterClass { return scReset_; } - public static final int CSRETRAN_FIELD_NUMBER = 33; + public static final int CS_RETRAN_FIELD_NUMBER = 33; private int csRetran_; /** *
@@ -1170,7 +1170,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 客户端重传数
      * 
* - * int32 csRetran = 33; + * int32 cs_retran = 33; * @return The csRetran. */ @java.lang.Override @@ -1178,7 +1178,7 @@ public final class ApmBaseDataFlowOuterClass { return csRetran_; } - public static final int SCRETRAN_FIELD_NUMBER = 34; + public static final int SC_RETRAN_FIELD_NUMBER = 34; private int scRetran_; /** *
@@ -1186,7 +1186,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 服务端重传数
      * 
* - * int32 scRetran = 34; + * int32 sc_retran = 34; * @return The scRetran. */ @java.lang.Override @@ -1194,7 +1194,7 @@ public final class ApmBaseDataFlowOuterClass { return scRetran_; } - public static final int CONNSETUPTM_FIELD_NUMBER = 35; + public static final int CONN_SETUP_TM_FIELD_NUMBER = 35; private int connSetupTm_; /** *
@@ -1202,7 +1202,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 会话建立时间
      * 
* - * int32 connSetupTm = 35; + * int32 conn_setup_tm = 35; * @return The connSetupTm. */ @java.lang.Override @@ -1210,7 +1210,7 @@ public final class ApmBaseDataFlowOuterClass { return connSetupTm_; } - public static final int NEWSESSION_FIELD_NUMBER = 36; + public static final int NEW_SESSION_FIELD_NUMBER = 36; private int newSession_; /** *
@@ -1218,7 +1218,7 @@ public final class ApmBaseDataFlowOuterClass {
      * 新建会话数
      * 
* - * int32 newSession = 36; + * int32 new_session = 36; * @return The newSession. */ @java.lang.Override @@ -1226,10 +1226,10 @@ public final class ApmBaseDataFlowOuterClass { return newSession_; } - public static final int CSALERT_FIELD_NUMBER = 37; + public static final int CS_ALERT_FIELD_NUMBER = 37; private int csAlert_; /** - * int32 csAlert = 37; + * int32 cs_alert = 37; * @return The csAlert. */ @java.lang.Override @@ -1237,10 +1237,10 @@ public final class ApmBaseDataFlowOuterClass { return csAlert_; } - public static final int SCALERT_FIELD_NUMBER = 38; + public static final int SC_ALERT_FIELD_NUMBER = 38; private int scAlert_; /** - * int32 scAlert = 38; + * int32 sc_alert = 38; * @return The scAlert. */ @java.lang.Override @@ -1300,8 +1300,8 @@ public final class ApmBaseDataFlowOuterClass { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (tableID_ != 0) { - output.writeInt32(1, tableID_); + if (tableId_ != 0) { + output.writeInt32(1, tableId_); } if (probeIf_ != 0) { output.writeInt32(2, probeIf_); @@ -1423,9 +1423,9 @@ public final class ApmBaseDataFlowOuterClass { if (size != -1) return size; size = 0; - if (tableID_ != 0) { + if (tableId_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeInt32Size(1, tableID_); + .computeInt32Size(1, tableId_); } if (probeIf_ != 0) { size += com.google.protobuf.CodedOutputStream @@ -1589,8 +1589,8 @@ public final class ApmBaseDataFlowOuterClass { } com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow other = (com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow) obj; - if (getTableID() - != other.getTableID()) return false; + if (getTableId() + != other.getTableId()) return false; if (getProbeIf() != other.getProbeIf()) return false; if (getRequestPort() @@ -1676,81 +1676,81 @@ public final class ApmBaseDataFlowOuterClass { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + TABLEID_FIELD_NUMBER; - hash = (53 * hash) + getTableID(); - hash = (37 * hash) + PROBEIF_FIELD_NUMBER; + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + PROBE_IF_FIELD_NUMBER; hash = (53 * hash) + getProbeIf(); - hash = (37 * hash) + REQUESTPORT_FIELD_NUMBER; + hash = (37 * hash) + REQUEST_PORT_FIELD_NUMBER; hash = (53 * hash) + getRequestPort(); - hash = (37 * hash) + RESPONSEPORT_FIELD_NUMBER; + hash = (37 * hash) + RESPONSE_PORT_FIELD_NUMBER; hash = (53 * hash) + getResponsePort(); - hash = (37 * hash) + REQUESTIP_FIELD_NUMBER; + hash = (37 * hash) + REQUEST_IP_FIELD_NUMBER; hash = (53 * hash) + getRequestIp(); - hash = (37 * hash) + RESPONSEIP_FIELD_NUMBER; + hash = (37 * hash) + RESPONSE_IP_FIELD_NUMBER; hash = (53 * hash) + getResponseIp(); - hash = (37 * hash) + SRCMAC_FIELD_NUMBER; + hash = (37 * hash) + SRC_MAC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSrcMac()); - hash = (37 * hash) + DSTMAC_FIELD_NUMBER; + hash = (37 * hash) + DST_MAC_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDstMac()); - hash = (37 * hash) + VLANID_FIELD_NUMBER; + hash = (37 * hash) + VLAN_ID_FIELD_NUMBER; hash = (53 * hash) + getVlanId(); - hash = (37 * hash) + TVSEC_FIELD_NUMBER; + hash = (37 * hash) + TV_SEC_FIELD_NUMBER; hash = (53 * hash) + getTvSec(); - hash = (37 * hash) + TVUSEC_FIELD_NUMBER; + hash = (37 * hash) + TV_USEC_FIELD_NUMBER; hash = (53 * hash) + getTvUsec(); - hash = (37 * hash) + STARTTM_FIELD_NUMBER; + hash = (37 * hash) + START_TM_FIELD_NUMBER; hash = (53 * hash) + getStartTm(); - hash = (37 * hash) + TOTALBYTES_FIELD_NUMBER; + hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTotalBytes(); - hash = (37 * hash) + TOTALPACKETS_FIELD_NUMBER; + hash = (37 * hash) + TOTAL_PACKETS_FIELD_NUMBER; hash = (53 * hash) + getTotalPackets(); - hash = (37 * hash) + TOTALDROPPACKETS_FIELD_NUMBER; + hash = (37 * hash) + TOTAL_DROP_PACKETS_FIELD_NUMBER; hash = (53 * hash) + getTotalDropPackets(); - hash = (37 * hash) + RETRANTIMEDELAY_FIELD_NUMBER; + hash = (37 * hash) + RETRAN_TIME_DELAY_FIELD_NUMBER; hash = (53 * hash) + getRetranTimeDelay(); - hash = (37 * hash) + CLIENTRTT_FIELD_NUMBER; + hash = (37 * hash) + CLIENT_RTT_FIELD_NUMBER; hash = (53 * hash) + getClientRtt(); - hash = (37 * hash) + SERVERRTT_FIELD_NUMBER; + hash = (37 * hash) + SERVER_RTT_FIELD_NUMBER; hash = (53 * hash) + getServerRtt(); - hash = (37 * hash) + USERRESPONSETIME_FIELD_NUMBER; + hash = (37 * hash) + USER_RESPONSE_TIME_FIELD_NUMBER; hash = (53 * hash) + getUserResponseTime(); - hash = (37 * hash) + SERVERRESPONSETIME_FIELD_NUMBER; + hash = (37 * hash) + SERVER_RESPONSE_TIME_FIELD_NUMBER; hash = (53 * hash) + getServerResponseTime(); - hash = (37 * hash) + CONFAIL_FIELD_NUMBER; + hash = (37 * hash) + CON_FAIL_FIELD_NUMBER; hash = (53 * hash) + getConFail(); - hash = (37 * hash) + BYTESIN_FIELD_NUMBER; + hash = (37 * hash) + BYTES_IN_FIELD_NUMBER; hash = (53 * hash) + getBytesIn(); - hash = (37 * hash) + BYTESOUT_FIELD_NUMBER; + hash = (37 * hash) + BYTES_OUT_FIELD_NUMBER; hash = (53 * hash) + getBytesOut(); - hash = (37 * hash) + TIMEFLAG_FIELD_NUMBER; + hash = (37 * hash) + TIME_FLAG_FIELD_NUMBER; hash = (53 * hash) + getTimeFlag(); - hash = (37 * hash) + ENDTM_FIELD_NUMBER; + hash = (37 * hash) + END_TM_FIELD_NUMBER; hash = (53 * hash) + getEndTm(); - hash = (37 * hash) + ENDTMUSEC_FIELD_NUMBER; + hash = (37 * hash) + END_TM_USEC_FIELD_NUMBER; hash = (53 * hash) + getEndTmUsec(); - hash = (37 * hash) + RESPONNUM_FIELD_NUMBER; + hash = (37 * hash) + RESPON_NUM_FIELD_NUMBER; hash = (53 * hash) + getResponNum(); - hash = (37 * hash) + CSWINDOW_FIELD_NUMBER; + hash = (37 * hash) + CS_WINDOW_FIELD_NUMBER; hash = (53 * hash) + getCsWindow(); - hash = (37 * hash) + SCWINDOW_FIELD_NUMBER; + hash = (37 * hash) + SC_WINDOW_FIELD_NUMBER; hash = (53 * hash) + getScWindow(); - hash = (37 * hash) + CSRESET_FIELD_NUMBER; + hash = (37 * hash) + CS_RESET_FIELD_NUMBER; hash = (53 * hash) + getCsReset(); - hash = (37 * hash) + SCRESET_FIELD_NUMBER; + hash = (37 * hash) + SC_RESET_FIELD_NUMBER; hash = (53 * hash) + getScReset(); - hash = (37 * hash) + CSRETRAN_FIELD_NUMBER; + hash = (37 * hash) + CS_RETRAN_FIELD_NUMBER; hash = (53 * hash) + getCsRetran(); - hash = (37 * hash) + SCRETRAN_FIELD_NUMBER; + hash = (37 * hash) + SC_RETRAN_FIELD_NUMBER; hash = (53 * hash) + getScRetran(); - hash = (37 * hash) + CONNSETUPTM_FIELD_NUMBER; + hash = (37 * hash) + CONN_SETUP_TM_FIELD_NUMBER; hash = (53 * hash) + getConnSetupTm(); - hash = (37 * hash) + NEWSESSION_FIELD_NUMBER; + hash = (37 * hash) + NEW_SESSION_FIELD_NUMBER; hash = (53 * hash) + getNewSession(); - hash = (37 * hash) + CSALERT_FIELD_NUMBER; + hash = (37 * hash) + CS_ALERT_FIELD_NUMBER; hash = (53 * hash) + getCsAlert(); - hash = (37 * hash) + SCALERT_FIELD_NUMBER; + hash = (37 * hash) + SC_ALERT_FIELD_NUMBER; hash = (53 * hash) + getScAlert(); hash = (37 * hash) + PROTOCAL_FIELD_NUMBER; hash = (53 * hash) + getProtocal().hashCode(); @@ -1850,21 +1850,21 @@ public final class ApmBaseDataFlowOuterClass { return builder; } /** - * Protobuf type {@code com.yuandian.dataflow.proto.ApmBaseDataFlow} + * Protobuf type {@code dataflow.ApmBaseDataFlow} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.yuandian.dataflow.proto.ApmBaseDataFlow) + // @@protoc_insertion_point(builder_implements:dataflow.ApmBaseDataFlow) com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlowOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor; + return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_dataflow_ApmBaseDataFlow_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_fieldAccessorTable + return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_dataflow_ApmBaseDataFlow_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow.class, com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow.Builder.class); } @@ -1887,7 +1887,7 @@ public final class ApmBaseDataFlowOuterClass { @java.lang.Override public Builder clear() { super.clear(); - tableID_ = 0; + tableId_ = 0; probeIf_ = 0; @@ -1969,7 +1969,7 @@ public final class ApmBaseDataFlowOuterClass { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor; + return com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.internal_static_dataflow_ApmBaseDataFlow_descriptor; } @java.lang.Override @@ -1989,7 +1989,7 @@ public final class ApmBaseDataFlowOuterClass { @java.lang.Override public com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow buildPartial() { com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow result = new com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow(this); - result.tableID_ = tableID_; + result.tableId_ = tableId_; result.probeIf_ = probeIf_; result.requestPort_ = requestPort_; result.responsePort_ = responsePort_; @@ -2075,8 +2075,8 @@ public final class ApmBaseDataFlowOuterClass { public Builder mergeFrom(com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow other) { if (other == com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow.getDefaultInstance()) return this; - if (other.getTableID() != 0) { - setTableID(other.getTableID()); + if (other.getTableId() != 0) { + setTableId(other.getTableId()); } if (other.getProbeIf() != 0) { setProbeIf(other.getProbeIf()); @@ -2219,33 +2219,33 @@ public final class ApmBaseDataFlowOuterClass { return this; } - private int tableID_ ; + private int tableId_ ; /** - * int32 tableID = 1; - * @return The tableID. + * int32 table_id = 1; + * @return The tableId. */ @java.lang.Override - public int getTableID() { - return tableID_; + public int getTableId() { + return tableId_; } /** - * int32 tableID = 1; - * @param value The tableID to set. + * int32 table_id = 1; + * @param value The tableId to set. * @return This builder for chaining. */ - public Builder setTableID(int value) { + public Builder setTableId(int value) { - tableID_ = value; + tableId_ = value; onChanged(); return this; } /** - * int32 tableID = 1; + * int32 table_id = 1; * @return This builder for chaining. */ - public Builder clearTableID() { + public Builder clearTableId() { - tableID_ = 0; + tableId_ = 0; onChanged(); return this; } @@ -2256,7 +2256,7 @@ public final class ApmBaseDataFlowOuterClass { *四元组 * * - * int32 probeIf = 2; + * int32 probe_if = 2; * @return The probeIf. */ @java.lang.Override @@ -2268,7 +2268,7 @@ public final class ApmBaseDataFlowOuterClass { *四元组 * * - * int32 probeIf = 2; + * int32 probe_if = 2; * @param value The probeIf to set. * @return This builder for chaining. */ @@ -2283,7 +2283,7 @@ public final class ApmBaseDataFlowOuterClass { *四元组 * * - * int32 probeIf = 2; + * int32 probe_if = 2; * @return This builder for chaining. */ public Builder clearProbeIf() { @@ -2300,7 +2300,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求端口 * * - * int32 requestPort = 3; + * int32 request_port = 3; * @return The requestPort. */ @java.lang.Override @@ -2313,7 +2313,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求端口 * * - * int32 requestPort = 3; + * int32 request_port = 3; * @param value The requestPort to set. * @return This builder for chaining. */ @@ -2329,7 +2329,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求端口 * * - * int32 requestPort = 3; + * int32 request_port = 3; * @return This builder for chaining. */ public Builder clearRequestPort() { @@ -2346,7 +2346,7 @@ public final class ApmBaseDataFlowOuterClass { * 响应端口 * * - * int32 responsePort = 4; + * int32 response_port = 4; * @return The responsePort. */ @java.lang.Override @@ -2359,7 +2359,7 @@ public final class ApmBaseDataFlowOuterClass { * 响应端口 * * - * int32 responsePort = 4; + * int32 response_port = 4; * @param value The responsePort to set. * @return This builder for chaining. */ @@ -2375,7 +2375,7 @@ public final class ApmBaseDataFlowOuterClass { * 响应端口 * * - * int32 responsePort = 4; + * int32 response_port = 4; * @return This builder for chaining. */ public Builder clearResponsePort() { @@ -2392,7 +2392,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求IP * * - * int32 requestIp = 5; + * int32 request_ip = 5; * @return The requestIp. */ @java.lang.Override @@ -2405,7 +2405,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求IP * * - * int32 requestIp = 5; + * int32 request_ip = 5; * @param value The requestIp to set. * @return This builder for chaining. */ @@ -2421,7 +2421,7 @@ public final class ApmBaseDataFlowOuterClass { * 请求IP * * - * int32 requestIp = 5; + * int32 request_ip = 5; * @return This builder for chaining. */ public Builder clearRequestIp() { @@ -2435,10 +2435,10 @@ public final class ApmBaseDataFlowOuterClass { /** *
        **
-       * 响应Ip
+       * 响应ip
        * 
* - * int32 responseIp = 6; + * int32 response_ip = 6; * @return The responseIp. */ @java.lang.Override @@ -2448,10 +2448,10 @@ public final class ApmBaseDataFlowOuterClass { /** *
        **
-       * 响应Ip
+       * 响应ip
        * 
* - * int32 responseIp = 6; + * int32 response_ip = 6; * @param value The responseIp to set. * @return This builder for chaining. */ @@ -2464,10 +2464,10 @@ public final class ApmBaseDataFlowOuterClass { /** *
        **
-       * 响应Ip
+       * 响应ip
        * 
* - * int32 responseIp = 6; + * int32 response_ip = 6; * @return This builder for chaining. */ public Builder clearResponseIp() { @@ -2484,7 +2484,7 @@ public final class ApmBaseDataFlowOuterClass { * 源mac * * - * int64 srcMac = 7; + * int64 src_mac = 7; * @return The srcMac. */ @java.lang.Override @@ -2497,7 +2497,7 @@ public final class ApmBaseDataFlowOuterClass { * 源mac * * - * int64 srcMac = 7; + * int64 src_mac = 7; * @param value The srcMac to set. * @return This builder for chaining. */ @@ -2513,7 +2513,7 @@ public final class ApmBaseDataFlowOuterClass { * 源mac * * - * int64 srcMac = 7; + * int64 src_mac = 7; * @return This builder for chaining. */ public Builder clearSrcMac() { @@ -2530,7 +2530,7 @@ public final class ApmBaseDataFlowOuterClass { * 目的mac * * - * int64 dstMac = 8; + * int64 dst_mac = 8; * @return The dstMac. */ @java.lang.Override @@ -2543,7 +2543,7 @@ public final class ApmBaseDataFlowOuterClass { * 目的mac * * - * int64 dstMac = 8; + * int64 dst_mac = 8; * @param value The dstMac to set. * @return This builder for chaining. */ @@ -2559,7 +2559,7 @@ public final class ApmBaseDataFlowOuterClass { * 目的mac * * - * int64 dstMac = 8; + * int64 dst_mac = 8; * @return This builder for chaining. */ public Builder clearDstMac() { @@ -2576,7 +2576,7 @@ public final class ApmBaseDataFlowOuterClass { * 链路编号 * * - * int32 vlanId = 9; + * int32 vlan_id = 9; * @return The vlanId. */ @java.lang.Override @@ -2589,7 +2589,7 @@ public final class ApmBaseDataFlowOuterClass { * 链路编号 * * - * int32 vlanId = 9; + * int32 vlan_id = 9; * @param value The vlanId to set. * @return This builder for chaining. */ @@ -2605,7 +2605,7 @@ public final class ApmBaseDataFlowOuterClass { * 链路编号 * * - * int32 vlanId = 9; + * int32 vlan_id = 9; * @return This builder for chaining. */ public Builder clearVlanId() { @@ -2617,7 +2617,7 @@ public final class ApmBaseDataFlowOuterClass { private int tvSec_ ; /** - * int32 tvSec = 10; + * int32 tv_sec = 10; * @return The tvSec. */ @java.lang.Override @@ -2625,7 +2625,7 @@ public final class ApmBaseDataFlowOuterClass { return tvSec_; } /** - * int32 tvSec = 10; + * int32 tv_sec = 10; * @param value The tvSec to set. * @return This builder for chaining. */ @@ -2636,7 +2636,7 @@ public final class ApmBaseDataFlowOuterClass { return this; } /** - * int32 tvSec = 10; + * int32 tv_sec = 10; * @return This builder for chaining. */ public Builder clearTvSec() { @@ -2648,7 +2648,7 @@ public final class ApmBaseDataFlowOuterClass { private int tvUsec_ ; /** - * int32 tvUsec = 11; + * int32 tv_usec = 11; * @return The tvUsec. */ @java.lang.Override @@ -2656,7 +2656,7 @@ public final class ApmBaseDataFlowOuterClass { return tvUsec_; } /** - * int32 tvUsec = 11; + * int32 tv_usec = 11; * @param value The tvUsec to set. * @return This builder for chaining. */ @@ -2667,7 +2667,7 @@ public final class ApmBaseDataFlowOuterClass { return this; } /** - * int32 tvUsec = 11; + * int32 tv_usec = 11; * @return This builder for chaining. */ public Builder clearTvUsec() { @@ -2684,7 +2684,7 @@ public final class ApmBaseDataFlowOuterClass { * 开始时间 * * - * int32 startTm = 12; + * int32 start_tm = 12; * @return The startTm. */ @java.lang.Override @@ -2697,7 +2697,7 @@ public final class ApmBaseDataFlowOuterClass { * 开始时间 * * - * int32 startTm = 12; + * int32 start_tm = 12; * @param value The startTm to set. * @return This builder for chaining. */ @@ -2713,7 +2713,7 @@ public final class ApmBaseDataFlowOuterClass { * 开始时间 * * - * int32 startTm = 12; + * int32 start_tm = 12; * @return This builder for chaining. */ public Builder clearStartTm() { @@ -2730,7 +2730,7 @@ public final class ApmBaseDataFlowOuterClass { * 总字节数 * * - * int32 totalBytes = 13; + * int32 total_bytes = 13; * @return The totalBytes. */ @java.lang.Override @@ -2743,7 +2743,7 @@ public final class ApmBaseDataFlowOuterClass { * 总字节数 * * - * int32 totalBytes = 13; + * int32 total_bytes = 13; * @param value The totalBytes to set. * @return This builder for chaining. */ @@ -2759,7 +2759,7 @@ public final class ApmBaseDataFlowOuterClass { * 总字节数 * * - * int32 totalBytes = 13; + * int32 total_bytes = 13; * @return This builder for chaining. */ public Builder clearTotalBytes() { @@ -2776,7 +2776,7 @@ public final class ApmBaseDataFlowOuterClass { * 总包数 * * - * int32 totalPackets = 14; + * int32 total_packets = 14; * @return The totalPackets. */ @java.lang.Override @@ -2789,7 +2789,7 @@ public final class ApmBaseDataFlowOuterClass { * 总包数 * * - * int32 totalPackets = 14; + * int32 total_packets = 14; * @param value The totalPackets to set. * @return This builder for chaining. */ @@ -2805,7 +2805,7 @@ public final class ApmBaseDataFlowOuterClass { * 总包数 * * - * int32 totalPackets = 14; + * int32 total_packets = 14; * @return This builder for chaining. */ public Builder clearTotalPackets() { @@ -2822,7 +2822,7 @@ public final class ApmBaseDataFlowOuterClass { * 总丢包数 * * - * int32 totalDropPackets = 15; + * int32 total_drop_packets = 15; * @return The totalDropPackets. */ @java.lang.Override @@ -2835,7 +2835,7 @@ public final class ApmBaseDataFlowOuterClass { * 总丢包数 * * - * int32 totalDropPackets = 15; + * int32 total_drop_packets = 15; * @param value The totalDropPackets to set. * @return This builder for chaining. */ @@ -2851,7 +2851,7 @@ public final class ApmBaseDataFlowOuterClass { * 总丢包数 * * - * int32 totalDropPackets = 15; + * int32 total_drop_packets = 15; * @return This builder for chaining. */ public Builder clearTotalDropPackets() { @@ -2868,7 +2868,7 @@ public final class ApmBaseDataFlowOuterClass { * 重传延时 * * - * int32 retranTimeDelay = 16; + * int32 retran_time_delay = 16; * @return The retranTimeDelay. */ @java.lang.Override @@ -2881,7 +2881,7 @@ public final class ApmBaseDataFlowOuterClass { * 重传延时 * * - * int32 retranTimeDelay = 16; + * int32 retran_time_delay = 16; * @param value The retranTimeDelay to set. * @return This builder for chaining. */ @@ -2897,7 +2897,7 @@ public final class ApmBaseDataFlowOuterClass { * 重传延时 * * - * int32 retranTimeDelay = 16; + * int32 retran_time_delay = 16; * @return This builder for chaining. */ public Builder clearRetranTimeDelay() { @@ -2914,7 +2914,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端rtt * * - * int32 clientRtt = 17; + * int32 client_rtt = 17; * @return The clientRtt. */ @java.lang.Override @@ -2927,7 +2927,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端rtt * * - * int32 clientRtt = 17; + * int32 client_rtt = 17; * @param value The clientRtt to set. * @return This builder for chaining. */ @@ -2943,7 +2943,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端rtt * * - * int32 clientRtt = 17; + * int32 client_rtt = 17; * @return This builder for chaining. */ public Builder clearClientRtt() { @@ -2960,7 +2960,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端Rtt * * - * int32 serverRtt = 18; + * int32 server_rtt = 18; * @return The serverRtt. */ @java.lang.Override @@ -2973,7 +2973,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端Rtt * * - * int32 serverRtt = 18; + * int32 server_rtt = 18; * @param value The serverRtt to set. * @return This builder for chaining. */ @@ -2989,7 +2989,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端Rtt * * - * int32 serverRtt = 18; + * int32 server_rtt = 18; * @return This builder for chaining. */ public Builder clearServerRtt() { @@ -3006,7 +3006,7 @@ public final class ApmBaseDataFlowOuterClass { * 用户响应时间 * * - * int32 userResponseTime = 19; + * int32 user_response_time = 19; * @return The userResponseTime. */ @java.lang.Override @@ -3019,7 +3019,7 @@ public final class ApmBaseDataFlowOuterClass { * 用户响应时间 * * - * int32 userResponseTime = 19; + * int32 user_response_time = 19; * @param value The userResponseTime to set. * @return This builder for chaining. */ @@ -3035,7 +3035,7 @@ public final class ApmBaseDataFlowOuterClass { * 用户响应时间 * * - * int32 userResponseTime = 19; + * int32 user_response_time = 19; * @return This builder for chaining. */ public Builder clearUserResponseTime() { @@ -3052,7 +3052,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务响应时间 * * - * int32 serverResponseTime = 20; + * int32 server_response_time = 20; * @return The serverResponseTime. */ @java.lang.Override @@ -3065,7 +3065,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务响应时间 * * - * int32 serverResponseTime = 20; + * int32 server_response_time = 20; * @param value The serverResponseTime to set. * @return This builder for chaining. */ @@ -3081,7 +3081,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务响应时间 * * - * int32 serverResponseTime = 20; + * int32 server_response_time = 20; * @return This builder for chaining. */ public Builder clearServerResponseTime() { @@ -3098,7 +3098,7 @@ public final class ApmBaseDataFlowOuterClass { * tcp回话连接失败数 * * - * int32 conFail = 21; + * int32 con_fail = 21; * @return The conFail. */ @java.lang.Override @@ -3111,7 +3111,7 @@ public final class ApmBaseDataFlowOuterClass { * tcp回话连接失败数 * * - * int32 conFail = 21; + * int32 con_fail = 21; * @param value The conFail to set. * @return This builder for chaining. */ @@ -3127,7 +3127,7 @@ public final class ApmBaseDataFlowOuterClass { * tcp回话连接失败数 * * - * int32 conFail = 21; + * int32 con_fail = 21; * @return This builder for chaining. */ public Builder clearConFail() { @@ -3144,7 +3144,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端总字节数 * * - * int32 bytesIn = 23; + * int32 bytes_in = 23; * @return The bytesIn. */ @java.lang.Override @@ -3157,7 +3157,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端总字节数 * * - * int32 bytesIn = 23; + * int32 bytes_in = 23; * @param value The bytesIn to set. * @return This builder for chaining. */ @@ -3173,7 +3173,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端总字节数 * * - * int32 bytesIn = 23; + * int32 bytes_in = 23; * @return This builder for chaining. */ public Builder clearBytesIn() { @@ -3190,7 +3190,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端总字节数 * * - * int32 bytesOut = 24; + * int32 bytes_out = 24; * @return The bytesOut. */ @java.lang.Override @@ -3203,7 +3203,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端总字节数 * * - * int32 bytesOut = 24; + * int32 bytes_out = 24; * @param value The bytesOut to set. * @return This builder for chaining. */ @@ -3219,7 +3219,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端总字节数 * * - * int32 bytesOut = 24; + * int32 bytes_out = 24; * @return This builder for chaining. */ public Builder clearBytesOut() { @@ -3236,7 +3236,7 @@ public final class ApmBaseDataFlowOuterClass { * 探针推送时间 * * - * int32 timeFlag = 25; + * int32 time_flag = 25; * @return The timeFlag. */ @java.lang.Override @@ -3249,7 +3249,7 @@ public final class ApmBaseDataFlowOuterClass { * 探针推送时间 * * - * int32 timeFlag = 25; + * int32 time_flag = 25; * @param value The timeFlag to set. * @return This builder for chaining. */ @@ -3265,7 +3265,7 @@ public final class ApmBaseDataFlowOuterClass { * 探针推送时间 * * - * int32 timeFlag = 25; + * int32 time_flag = 25; * @return This builder for chaining. */ public Builder clearTimeFlag() { @@ -3282,7 +3282,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间 * * - * int32 endTm = 26; + * int32 end_tm = 26; * @return The endTm. */ @java.lang.Override @@ -3295,7 +3295,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间 * * - * int32 endTm = 26; + * int32 end_tm = 26; * @param value The endTm to set. * @return This builder for chaining. */ @@ -3311,7 +3311,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间 * * - * int32 endTm = 26; + * int32 end_tm = 26; * @return This builder for chaining. */ public Builder clearEndTm() { @@ -3328,7 +3328,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间微秒 * * - * int32 endTmUsec = 27; + * int32 end_tm_usec = 27; * @return The endTmUsec. */ @java.lang.Override @@ -3341,7 +3341,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间微秒 * * - * int32 endTmUsec = 27; + * int32 end_tm_usec = 27; * @param value The endTmUsec to set. * @return This builder for chaining. */ @@ -3357,7 +3357,7 @@ public final class ApmBaseDataFlowOuterClass { * 结束时间微秒 * * - * int32 endTmUsec = 27; + * int32 end_tm_usec = 27; * @return This builder for chaining. */ public Builder clearEndTmUsec() { @@ -3374,7 +3374,7 @@ public final class ApmBaseDataFlowOuterClass { * 总响应数 * * - * int32 responNum = 28; + * int32 respon_num = 28; * @return The responNum. */ @java.lang.Override @@ -3387,7 +3387,7 @@ public final class ApmBaseDataFlowOuterClass { * 总响应数 * * - * int32 responNum = 28; + * int32 respon_num = 28; * @param value The responNum to set. * @return This builder for chaining. */ @@ -3403,7 +3403,7 @@ public final class ApmBaseDataFlowOuterClass { * 总响应数 * * - * int32 responNum = 28; + * int32 respon_num = 28; * @return This builder for chaining. */ public Builder clearResponNum() { @@ -3420,7 +3420,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端零窗口数 * * - * int32 csWindow = 29; + * int32 cs_window = 29; * @return The csWindow. */ @java.lang.Override @@ -3433,7 +3433,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端零窗口数 * * - * int32 csWindow = 29; + * int32 cs_window = 29; * @param value The csWindow to set. * @return This builder for chaining. */ @@ -3449,7 +3449,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端零窗口数 * * - * int32 csWindow = 29; + * int32 cs_window = 29; * @return This builder for chaining. */ public Builder clearCsWindow() { @@ -3466,7 +3466,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端零窗口数 * * - * int32 scWindow = 30; + * int32 sc_window = 30; * @return The scWindow. */ @java.lang.Override @@ -3479,7 +3479,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端零窗口数 * * - * int32 scWindow = 30; + * int32 sc_window = 30; * @param value The scWindow to set. * @return This builder for chaining. */ @@ -3495,7 +3495,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端零窗口数 * * - * int32 scWindow = 30; + * int32 sc_window = 30; * @return This builder for chaining. */ public Builder clearScWindow() { @@ -3512,7 +3512,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重置数 * * - * int32 csReset = 31; + * int32 cs_reset = 31; * @return The csReset. */ @java.lang.Override @@ -3525,7 +3525,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重置数 * * - * int32 csReset = 31; + * int32 cs_reset = 31; * @param value The csReset to set. * @return This builder for chaining. */ @@ -3541,7 +3541,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重置数 * * - * int32 csReset = 31; + * int32 cs_reset = 31; * @return This builder for chaining. */ public Builder clearCsReset() { @@ -3558,7 +3558,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重置数 * * - * int32 scReset = 32; + * int32 sc_reset = 32; * @return The scReset. */ @java.lang.Override @@ -3571,7 +3571,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重置数 * * - * int32 scReset = 32; + * int32 sc_reset = 32; * @param value The scReset to set. * @return This builder for chaining. */ @@ -3587,7 +3587,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重置数 * * - * int32 scReset = 32; + * int32 sc_reset = 32; * @return This builder for chaining. */ public Builder clearScReset() { @@ -3604,7 +3604,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重传数 * * - * int32 csRetran = 33; + * int32 cs_retran = 33; * @return The csRetran. */ @java.lang.Override @@ -3617,7 +3617,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重传数 * * - * int32 csRetran = 33; + * int32 cs_retran = 33; * @param value The csRetran to set. * @return This builder for chaining. */ @@ -3633,7 +3633,7 @@ public final class ApmBaseDataFlowOuterClass { * 客户端重传数 * * - * int32 csRetran = 33; + * int32 cs_retran = 33; * @return This builder for chaining. */ public Builder clearCsRetran() { @@ -3650,7 +3650,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重传数 * * - * int32 scRetran = 34; + * int32 sc_retran = 34; * @return The scRetran. */ @java.lang.Override @@ -3663,7 +3663,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重传数 * * - * int32 scRetran = 34; + * int32 sc_retran = 34; * @param value The scRetran to set. * @return This builder for chaining. */ @@ -3679,7 +3679,7 @@ public final class ApmBaseDataFlowOuterClass { * 服务端重传数 * * - * int32 scRetran = 34; + * int32 sc_retran = 34; * @return This builder for chaining. */ public Builder clearScRetran() { @@ -3696,7 +3696,7 @@ public final class ApmBaseDataFlowOuterClass { * 会话建立时间 * * - * int32 connSetupTm = 35; + * int32 conn_setup_tm = 35; * @return The connSetupTm. */ @java.lang.Override @@ -3709,7 +3709,7 @@ public final class ApmBaseDataFlowOuterClass { * 会话建立时间 * * - * int32 connSetupTm = 35; + * int32 conn_setup_tm = 35; * @param value The connSetupTm to set. * @return This builder for chaining. */ @@ -3725,7 +3725,7 @@ public final class ApmBaseDataFlowOuterClass { * 会话建立时间 * * - * int32 connSetupTm = 35; + * int32 conn_setup_tm = 35; * @return This builder for chaining. */ public Builder clearConnSetupTm() { @@ -3742,7 +3742,7 @@ public final class ApmBaseDataFlowOuterClass { * 新建会话数 * * - * int32 newSession = 36; + * int32 new_session = 36; * @return The newSession. */ @java.lang.Override @@ -3755,7 +3755,7 @@ public final class ApmBaseDataFlowOuterClass { * 新建会话数 * * - * int32 newSession = 36; + * int32 new_session = 36; * @param value The newSession to set. * @return This builder for chaining. */ @@ -3771,7 +3771,7 @@ public final class ApmBaseDataFlowOuterClass { * 新建会话数 * * - * int32 newSession = 36; + * int32 new_session = 36; * @return This builder for chaining. */ public Builder clearNewSession() { @@ -3783,7 +3783,7 @@ public final class ApmBaseDataFlowOuterClass { private int csAlert_ ; /** - * int32 csAlert = 37; + * int32 cs_alert = 37; * @return The csAlert. */ @java.lang.Override @@ -3791,7 +3791,7 @@ public final class ApmBaseDataFlowOuterClass { return csAlert_; } /** - * int32 csAlert = 37; + * int32 cs_alert = 37; * @param value The csAlert to set. * @return This builder for chaining. */ @@ -3802,7 +3802,7 @@ public final class ApmBaseDataFlowOuterClass { return this; } /** - * int32 csAlert = 37; + * int32 cs_alert = 37; * @return This builder for chaining. */ public Builder clearCsAlert() { @@ -3814,7 +3814,7 @@ public final class ApmBaseDataFlowOuterClass { private int scAlert_ ; /** - * int32 scAlert = 38; + * int32 sc_alert = 38; * @return The scAlert. */ @java.lang.Override @@ -3822,7 +3822,7 @@ public final class ApmBaseDataFlowOuterClass { return scAlert_; } /** - * int32 scAlert = 38; + * int32 sc_alert = 38; * @param value The scAlert to set. * @return This builder for chaining. */ @@ -3833,7 +3833,7 @@ public final class ApmBaseDataFlowOuterClass { return this; } /** - * int32 scAlert = 38; + * int32 sc_alert = 38; * @return This builder for chaining. */ public Builder clearScAlert() { @@ -3931,10 +3931,10 @@ public final class ApmBaseDataFlowOuterClass { } - // @@protoc_insertion_point(builder_scope:com.yuandian.dataflow.proto.ApmBaseDataFlow) + // @@protoc_insertion_point(builder_scope:dataflow.ApmBaseDataFlow) } - // @@protoc_insertion_point(class_scope:com.yuandian.dataflow.proto.ApmBaseDataFlow) + // @@protoc_insertion_point(class_scope:dataflow.ApmBaseDataFlow) private static final com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.ApmBaseDataFlow(); @@ -3972,10 +3972,10 @@ public final class ApmBaseDataFlowOuterClass { } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor; + internal_static_dataflow_ApmBaseDataFlow_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_fieldAccessorTable; + internal_static_dataflow_ApmBaseDataFlow_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -3985,37 +3985,39 @@ public final class ApmBaseDataFlowOuterClass { descriptor; static { java.lang.String[] descriptorData = { - "\n\025ApmBaseDataFlow.proto\022\033com.yuandian.da" + - "taflow.proto\"\340\005\n\017ApmBaseDataFlow\022\017\n\007tabl" + - "eID\030\001 \001(\005\022\017\n\007probeIf\030\002 \001(\005\022\023\n\013requestPor" + - "t\030\003 \001(\005\022\024\n\014responsePort\030\004 \001(\005\022\021\n\trequest" + - "Ip\030\005 \001(\005\022\022\n\nresponseIp\030\006 \001(\005\022\016\n\006srcMac\030\007" + - " \001(\003\022\016\n\006dstMac\030\010 \001(\003\022\016\n\006vlanId\030\t \001(\005\022\r\n\005" + - "tvSec\030\n \001(\005\022\016\n\006tvUsec\030\013 \001(\005\022\017\n\007startTm\030\014" + - " \001(\005\022\022\n\ntotalBytes\030\r \001(\005\022\024\n\014totalPackets" + - "\030\016 \001(\005\022\030\n\020totalDropPackets\030\017 \001(\005\022\027\n\017retr" + - "anTimeDelay\030\020 \001(\005\022\021\n\tclientRtt\030\021 \001(\005\022\021\n\t" + - "serverRtt\030\022 \001(\005\022\030\n\020userResponseTime\030\023 \001(" + - "\005\022\032\n\022serverResponseTime\030\024 \001(\005\022\017\n\007conFail" + - "\030\025 \001(\005\022\017\n\007bytesIn\030\027 \001(\005\022\020\n\010bytesOut\030\030 \001(" + - "\005\022\020\n\010timeFlag\030\031 \001(\005\022\r\n\005endTm\030\032 \001(\005\022\021\n\ten" + - "dTmUsec\030\033 \001(\005\022\021\n\tresponNum\030\034 \001(\005\022\020\n\010csWi" + - "ndow\030\035 \001(\005\022\020\n\010scWindow\030\036 \001(\005\022\017\n\007csReset\030" + - "\037 \001(\005\022\017\n\007scReset\030 \001(\005\022\020\n\010csRetran\030! \001(\005" + - "\022\020\n\010scRetran\030\" \001(\005\022\023\n\013connSetupTm\030# \001(\005\022" + - "\022\n\nnewSession\030$ \001(\005\022\017\n\007csAlert\030% \001(\005\022\017\n\007" + - "scAlert\030& \001(\005\022\020\n\010protocal\030\' \001(\tb\006proto3" + "\n\025ApmBaseDataFlow.proto\022\010dataflow\"\213\006\n\017Ap" + + "mBaseDataFlow\022\020\n\010table_id\030\001 \001(\005\022\020\n\010probe" + + "_if\030\002 \001(\005\022\024\n\014request_port\030\003 \001(\005\022\025\n\rrespo" + + "nse_port\030\004 \001(\005\022\022\n\nrequest_ip\030\005 \001(\005\022\023\n\013re" + + "sponse_ip\030\006 \001(\005\022\017\n\007src_mac\030\007 \001(\003\022\017\n\007dst_" + + "mac\030\010 \001(\003\022\017\n\007vlan_id\030\t \001(\005\022\016\n\006tv_sec\030\n \001" + + "(\005\022\017\n\007tv_usec\030\013 \001(\005\022\020\n\010start_tm\030\014 \001(\005\022\023\n" + + "\013total_bytes\030\r \001(\005\022\025\n\rtotal_packets\030\016 \001(" + + "\005\022\032\n\022total_drop_packets\030\017 \001(\005\022\031\n\021retran_" + + "time_delay\030\020 \001(\005\022\022\n\nclient_rtt\030\021 \001(\005\022\022\n\n" + + "server_rtt\030\022 \001(\005\022\032\n\022user_response_time\030\023" + + " \001(\005\022\034\n\024server_response_time\030\024 \001(\005\022\020\n\010co" + + "n_fail\030\025 \001(\005\022\020\n\010bytes_in\030\027 \001(\005\022\021\n\tbytes_" + + "out\030\030 \001(\005\022\021\n\ttime_flag\030\031 \001(\005\022\016\n\006end_tm\030\032" + + " \001(\005\022\023\n\013end_tm_usec\030\033 \001(\005\022\022\n\nrespon_num\030" + + "\034 \001(\005\022\021\n\tcs_window\030\035 \001(\005\022\021\n\tsc_window\030\036 " + + "\001(\005\022\020\n\010cs_reset\030\037 \001(\005\022\020\n\010sc_reset\030 \001(\005\022" + + "\021\n\tcs_retran\030! \001(\005\022\021\n\tsc_retran\030\" \001(\005\022\025\n" + + "\rconn_setup_tm\030# \001(\005\022\023\n\013new_session\030$ \001(" + + "\005\022\020\n\010cs_alert\030% \001(\005\022\020\n\010sc_alert\030& \001(\005\022\020\n" + + "\010protocal\030\' \001(\tB2\n\033com.yuandian.dataflow" + + ".protoZ\023../grpc-gen;grpcgenb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); - internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor = + internal_static_dataflow_ApmBaseDataFlow_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_fieldAccessorTable = new + internal_static_dataflow_ApmBaseDataFlow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_yuandian_dataflow_proto_ApmBaseDataFlow_descriptor, - new java.lang.String[] { "TableID", "ProbeIf", "RequestPort", "ResponsePort", "RequestIp", "ResponseIp", "SrcMac", "DstMac", "VlanId", "TvSec", "TvUsec", "StartTm", "TotalBytes", "TotalPackets", "TotalDropPackets", "RetranTimeDelay", "ClientRtt", "ServerRtt", "UserResponseTime", "ServerResponseTime", "ConFail", "BytesIn", "BytesOut", "TimeFlag", "EndTm", "EndTmUsec", "ResponNum", "CsWindow", "ScWindow", "CsReset", "ScReset", "CsRetran", "ScRetran", "ConnSetupTm", "NewSession", "CsAlert", "ScAlert", "Protocal", }); + internal_static_dataflow_ApmBaseDataFlow_descriptor, + new java.lang.String[] { "TableId", "ProbeIf", "RequestPort", "ResponsePort", "RequestIp", "ResponseIp", "SrcMac", "DstMac", "VlanId", "TvSec", "TvUsec", "StartTm", "TotalBytes", "TotalPackets", "TotalDropPackets", "RetranTimeDelay", "ClientRtt", "ServerRtt", "UserResponseTime", "ServerResponseTime", "ConFail", "BytesIn", "BytesOut", "TimeFlag", "EndTm", "EndTmUsec", "ResponNum", "CsWindow", "ScWindow", "CsReset", "ScReset", "CsRetran", "ScRetran", "ConnSetupTm", "NewSession", "CsAlert", "ScAlert", "Protocal", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/com/yuandian/dataflow/proto/AppFlowOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/AppFlowOuterClass.java new file mode 100644 index 0000000..4c51134 --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/AppFlowOuterClass.java @@ -0,0 +1,2240 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: AppFlow.proto + +package com.yuandian.dataflow.proto; + +public final class AppFlowOuterClass { + private AppFlowOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface AppFlowOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.AppFlow) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + * int32 src_ip = 2; + * @return The srcIp. + */ + int getSrcIp(); + + /** + * int32 src_port = 3; + * @return The srcPort. + */ + int getSrcPort(); + + /** + * int32 dst_ip = 4; + * @return The dstIp. + */ + int getDstIp(); + + /** + * int32 dst_port = 5; + * @return The dstPort. + */ + int getDstPort(); + + /** + * int32 start_tv_sec = 6; + * @return The startTvSec. + */ + int getStartTvSec(); + + /** + * int32 start_tv_usec = 7; + * @return The startTvUsec. + */ + int getStartTvUsec(); + + /** + * int32 last_tv_sec = 8; + * @return The lastTvSec. + */ + int getLastTvSec(); + + /** + * int32 last_tv_usec = 9; + * @return The lastTvUsec. + */ + int getLastTvUsec(); + + /** + * int32 end_tv_sec = 10; + * @return The endTvSec. + */ + int getEndTvSec(); + + /** + * int32 end_tv_usec = 11; + * @return The endTvUsec. + */ + int getEndTvUsec(); + + /** + * int32 input_packets = 12; + * @return The inputPackets. + */ + int getInputPackets(); + + /** + * int32 output_packets = 13; + * @return The outputPackets. + */ + int getOutputPackets(); + + /** + * int32 input_bytes = 14; + * @return The inputBytes. + */ + int getInputBytes(); + + /** + * int32 output_bytes = 15; + * @return The outputBytes. + */ + int getOutputBytes(); + + /** + * string protocaol = 16; + * @return The protocaol. + */ + java.lang.String getProtocaol(); + /** + * string protocaol = 16; + * @return The bytes for protocaol. + */ + com.google.protobuf.ByteString + getProtocaolBytes(); + + /** + * int32 app_id = 17; + * @return The appId. + */ + int getAppId(); + + /** + * int32 app_group_id = 18; + * @return The appGroupId. + */ + int getAppGroupId(); + + /** + * int32 probe_if = 19; + * @return The probeIf. + */ + int getProbeIf(); + + /** + * int32 app_style = 20; + * @return The appStyle. + */ + int getAppStyle(); + + /** + * int32 time_flag = 21; + * @return The timeFlag. + */ + int getTimeFlag(); + + /** + * int32 vlan_id = 22; + * @return The vlanId. + */ + int getVlanId(); + + /** + * int32 mpls_lable = 23; + * @return The mplsLable. + */ + int getMplsLable(); + + /** + * int32 tos = 24; + * @return The tos. + */ + int getTos(); + } + /** + * Protobuf type {@code dataflow.AppFlow} + */ + public static final class AppFlow extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.AppFlow) + AppFlowOrBuilder { + private static final long serialVersionUID = 0L; + // Use AppFlow.newBuilder() to construct. + private AppFlow(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private AppFlow() { + protocaol_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new AppFlow(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private AppFlow( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 16: { + + srcIp_ = input.readInt32(); + break; + } + case 24: { + + srcPort_ = input.readInt32(); + break; + } + case 32: { + + dstIp_ = input.readInt32(); + break; + } + case 40: { + + dstPort_ = input.readInt32(); + break; + } + case 48: { + + startTvSec_ = input.readInt32(); + break; + } + case 56: { + + startTvUsec_ = input.readInt32(); + break; + } + case 64: { + + lastTvSec_ = input.readInt32(); + break; + } + case 72: { + + lastTvUsec_ = input.readInt32(); + break; + } + case 80: { + + endTvSec_ = input.readInt32(); + break; + } + case 88: { + + endTvUsec_ = input.readInt32(); + break; + } + case 96: { + + inputPackets_ = input.readInt32(); + break; + } + case 104: { + + outputPackets_ = input.readInt32(); + break; + } + case 112: { + + inputBytes_ = input.readInt32(); + break; + } + case 120: { + + outputBytes_ = input.readInt32(); + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + + protocaol_ = s; + break; + } + case 136: { + + appId_ = input.readInt32(); + break; + } + case 144: { + + appGroupId_ = input.readInt32(); + break; + } + case 152: { + + probeIf_ = input.readInt32(); + break; + } + case 160: { + + appStyle_ = input.readInt32(); + break; + } + case 168: { + + timeFlag_ = input.readInt32(); + break; + } + case 176: { + + vlanId_ = input.readInt32(); + break; + } + case 184: { + + mplsLable_ = input.readInt32(); + break; + } + case 192: { + + tos_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.internal_static_dataflow_AppFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.internal_static_dataflow_AppFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.class, com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int SRC_IP_FIELD_NUMBER = 2; + private int srcIp_; + /** + * int32 src_ip = 2; + * @return The srcIp. + */ + @java.lang.Override + public int getSrcIp() { + return srcIp_; + } + + public static final int SRC_PORT_FIELD_NUMBER = 3; + private int srcPort_; + /** + * int32 src_port = 3; + * @return The srcPort. + */ + @java.lang.Override + public int getSrcPort() { + return srcPort_; + } + + public static final int DST_IP_FIELD_NUMBER = 4; + private int dstIp_; + /** + * int32 dst_ip = 4; + * @return The dstIp. + */ + @java.lang.Override + public int getDstIp() { + return dstIp_; + } + + public static final int DST_PORT_FIELD_NUMBER = 5; + private int dstPort_; + /** + * int32 dst_port = 5; + * @return The dstPort. + */ + @java.lang.Override + public int getDstPort() { + return dstPort_; + } + + public static final int START_TV_SEC_FIELD_NUMBER = 6; + private int startTvSec_; + /** + * int32 start_tv_sec = 6; + * @return The startTvSec. + */ + @java.lang.Override + public int getStartTvSec() { + return startTvSec_; + } + + public static final int START_TV_USEC_FIELD_NUMBER = 7; + private int startTvUsec_; + /** + * int32 start_tv_usec = 7; + * @return The startTvUsec. + */ + @java.lang.Override + public int getStartTvUsec() { + return startTvUsec_; + } + + public static final int LAST_TV_SEC_FIELD_NUMBER = 8; + private int lastTvSec_; + /** + * int32 last_tv_sec = 8; + * @return The lastTvSec. + */ + @java.lang.Override + public int getLastTvSec() { + return lastTvSec_; + } + + public static final int LAST_TV_USEC_FIELD_NUMBER = 9; + private int lastTvUsec_; + /** + * int32 last_tv_usec = 9; + * @return The lastTvUsec. + */ + @java.lang.Override + public int getLastTvUsec() { + return lastTvUsec_; + } + + public static final int END_TV_SEC_FIELD_NUMBER = 10; + private int endTvSec_; + /** + * int32 end_tv_sec = 10; + * @return The endTvSec. + */ + @java.lang.Override + public int getEndTvSec() { + return endTvSec_; + } + + public static final int END_TV_USEC_FIELD_NUMBER = 11; + private int endTvUsec_; + /** + * int32 end_tv_usec = 11; + * @return The endTvUsec. + */ + @java.lang.Override + public int getEndTvUsec() { + return endTvUsec_; + } + + public static final int INPUT_PACKETS_FIELD_NUMBER = 12; + private int inputPackets_; + /** + * int32 input_packets = 12; + * @return The inputPackets. + */ + @java.lang.Override + public int getInputPackets() { + return inputPackets_; + } + + public static final int OUTPUT_PACKETS_FIELD_NUMBER = 13; + private int outputPackets_; + /** + * int32 output_packets = 13; + * @return The outputPackets. + */ + @java.lang.Override + public int getOutputPackets() { + return outputPackets_; + } + + public static final int INPUT_BYTES_FIELD_NUMBER = 14; + private int inputBytes_; + /** + * int32 input_bytes = 14; + * @return The inputBytes. + */ + @java.lang.Override + public int getInputBytes() { + return inputBytes_; + } + + public static final int OUTPUT_BYTES_FIELD_NUMBER = 15; + private int outputBytes_; + /** + * int32 output_bytes = 15; + * @return The outputBytes. + */ + @java.lang.Override + public int getOutputBytes() { + return outputBytes_; + } + + public static final int PROTOCAOL_FIELD_NUMBER = 16; + private volatile java.lang.Object protocaol_; + /** + * string protocaol = 16; + * @return The protocaol. + */ + @java.lang.Override + public java.lang.String getProtocaol() { + java.lang.Object ref = protocaol_; + 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(); + protocaol_ = s; + return s; + } + } + /** + * string protocaol = 16; + * @return The bytes for protocaol. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProtocaolBytes() { + java.lang.Object ref = protocaol_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + protocaol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int APP_ID_FIELD_NUMBER = 17; + private int appId_; + /** + * int32 app_id = 17; + * @return The appId. + */ + @java.lang.Override + public int getAppId() { + return appId_; + } + + public static final int APP_GROUP_ID_FIELD_NUMBER = 18; + private int appGroupId_; + /** + * int32 app_group_id = 18; + * @return The appGroupId. + */ + @java.lang.Override + public int getAppGroupId() { + return appGroupId_; + } + + public static final int PROBE_IF_FIELD_NUMBER = 19; + private int probeIf_; + /** + * int32 probe_if = 19; + * @return The probeIf. + */ + @java.lang.Override + public int getProbeIf() { + return probeIf_; + } + + public static final int APP_STYLE_FIELD_NUMBER = 20; + private int appStyle_; + /** + * int32 app_style = 20; + * @return The appStyle. + */ + @java.lang.Override + public int getAppStyle() { + return appStyle_; + } + + public static final int TIME_FLAG_FIELD_NUMBER = 21; + private int timeFlag_; + /** + * int32 time_flag = 21; + * @return The timeFlag. + */ + @java.lang.Override + public int getTimeFlag() { + return timeFlag_; + } + + public static final int VLAN_ID_FIELD_NUMBER = 22; + private int vlanId_; + /** + * int32 vlan_id = 22; + * @return The vlanId. + */ + @java.lang.Override + public int getVlanId() { + return vlanId_; + } + + public static final int MPLS_LABLE_FIELD_NUMBER = 23; + private int mplsLable_; + /** + * int32 mpls_lable = 23; + * @return The mplsLable. + */ + @java.lang.Override + public int getMplsLable() { + return mplsLable_; + } + + public static final int TOS_FIELD_NUMBER = 24; + private int tos_; + /** + * int32 tos = 24; + * @return The tos. + */ + @java.lang.Override + public int getTos() { + return tos_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (srcIp_ != 0) { + output.writeInt32(2, srcIp_); + } + if (srcPort_ != 0) { + output.writeInt32(3, srcPort_); + } + if (dstIp_ != 0) { + output.writeInt32(4, dstIp_); + } + if (dstPort_ != 0) { + output.writeInt32(5, dstPort_); + } + if (startTvSec_ != 0) { + output.writeInt32(6, startTvSec_); + } + if (startTvUsec_ != 0) { + output.writeInt32(7, startTvUsec_); + } + if (lastTvSec_ != 0) { + output.writeInt32(8, lastTvSec_); + } + if (lastTvUsec_ != 0) { + output.writeInt32(9, lastTvUsec_); + } + if (endTvSec_ != 0) { + output.writeInt32(10, endTvSec_); + } + if (endTvUsec_ != 0) { + output.writeInt32(11, endTvUsec_); + } + if (inputPackets_ != 0) { + output.writeInt32(12, inputPackets_); + } + if (outputPackets_ != 0) { + output.writeInt32(13, outputPackets_); + } + if (inputBytes_ != 0) { + output.writeInt32(14, inputBytes_); + } + if (outputBytes_ != 0) { + output.writeInt32(15, outputBytes_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocaol_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, protocaol_); + } + if (appId_ != 0) { + output.writeInt32(17, appId_); + } + if (appGroupId_ != 0) { + output.writeInt32(18, appGroupId_); + } + if (probeIf_ != 0) { + output.writeInt32(19, probeIf_); + } + if (appStyle_ != 0) { + output.writeInt32(20, appStyle_); + } + if (timeFlag_ != 0) { + output.writeInt32(21, timeFlag_); + } + if (vlanId_ != 0) { + output.writeInt32(22, vlanId_); + } + if (mplsLable_ != 0) { + output.writeInt32(23, mplsLable_); + } + if (tos_ != 0) { + output.writeInt32(24, tos_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (srcIp_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, srcIp_); + } + if (srcPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, srcPort_); + } + if (dstIp_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, dstIp_); + } + if (dstPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, dstPort_); + } + if (startTvSec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, startTvSec_); + } + if (startTvUsec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, startTvUsec_); + } + if (lastTvSec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, lastTvSec_); + } + if (lastTvUsec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, lastTvUsec_); + } + if (endTvSec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, endTvSec_); + } + if (endTvUsec_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, endTvUsec_); + } + if (inputPackets_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, inputPackets_); + } + if (outputPackets_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, outputPackets_); + } + if (inputBytes_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, inputBytes_); + } + if (outputBytes_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, outputBytes_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(protocaol_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, protocaol_); + } + if (appId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, appId_); + } + if (appGroupId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(18, appGroupId_); + } + if (probeIf_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(19, probeIf_); + } + if (appStyle_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(20, appStyle_); + } + if (timeFlag_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(21, timeFlag_); + } + if (vlanId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(22, vlanId_); + } + if (mplsLable_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(23, mplsLable_); + } + if (tos_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(24, tos_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow other = (com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow) obj; + + if (getTableId() + != other.getTableId()) return false; + if (getSrcIp() + != other.getSrcIp()) return false; + if (getSrcPort() + != other.getSrcPort()) return false; + if (getDstIp() + != other.getDstIp()) return false; + if (getDstPort() + != other.getDstPort()) return false; + if (getStartTvSec() + != other.getStartTvSec()) return false; + if (getStartTvUsec() + != other.getStartTvUsec()) return false; + if (getLastTvSec() + != other.getLastTvSec()) return false; + if (getLastTvUsec() + != other.getLastTvUsec()) return false; + if (getEndTvSec() + != other.getEndTvSec()) return false; + if (getEndTvUsec() + != other.getEndTvUsec()) return false; + if (getInputPackets() + != other.getInputPackets()) return false; + if (getOutputPackets() + != other.getOutputPackets()) return false; + if (getInputBytes() + != other.getInputBytes()) return false; + if (getOutputBytes() + != other.getOutputBytes()) return false; + if (!getProtocaol() + .equals(other.getProtocaol())) return false; + if (getAppId() + != other.getAppId()) return false; + if (getAppGroupId() + != other.getAppGroupId()) return false; + if (getProbeIf() + != other.getProbeIf()) return false; + if (getAppStyle() + != other.getAppStyle()) return false; + if (getTimeFlag() + != other.getTimeFlag()) return false; + if (getVlanId() + != other.getVlanId()) return false; + if (getMplsLable() + != other.getMplsLable()) return false; + if (getTos() + != other.getTos()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + SRC_IP_FIELD_NUMBER; + hash = (53 * hash) + getSrcIp(); + hash = (37 * hash) + SRC_PORT_FIELD_NUMBER; + hash = (53 * hash) + getSrcPort(); + hash = (37 * hash) + DST_IP_FIELD_NUMBER; + hash = (53 * hash) + getDstIp(); + hash = (37 * hash) + DST_PORT_FIELD_NUMBER; + hash = (53 * hash) + getDstPort(); + hash = (37 * hash) + START_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + getStartTvSec(); + hash = (37 * hash) + START_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + getStartTvUsec(); + hash = (37 * hash) + LAST_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + getLastTvSec(); + hash = (37 * hash) + LAST_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + getLastTvUsec(); + hash = (37 * hash) + END_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + getEndTvSec(); + hash = (37 * hash) + END_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + getEndTvUsec(); + hash = (37 * hash) + INPUT_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getInputPackets(); + hash = (37 * hash) + OUTPUT_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getOutputPackets(); + hash = (37 * hash) + INPUT_BYTES_FIELD_NUMBER; + hash = (53 * hash) + getInputBytes(); + hash = (37 * hash) + OUTPUT_BYTES_FIELD_NUMBER; + hash = (53 * hash) + getOutputBytes(); + hash = (37 * hash) + PROTOCAOL_FIELD_NUMBER; + hash = (53 * hash) + getProtocaol().hashCode(); + hash = (37 * hash) + APP_ID_FIELD_NUMBER; + hash = (53 * hash) + getAppId(); + hash = (37 * hash) + APP_GROUP_ID_FIELD_NUMBER; + hash = (53 * hash) + getAppGroupId(); + hash = (37 * hash) + PROBE_IF_FIELD_NUMBER; + hash = (53 * hash) + getProbeIf(); + hash = (37 * hash) + APP_STYLE_FIELD_NUMBER; + hash = (53 * hash) + getAppStyle(); + hash = (37 * hash) + TIME_FLAG_FIELD_NUMBER; + hash = (53 * hash) + getTimeFlag(); + hash = (37 * hash) + VLAN_ID_FIELD_NUMBER; + hash = (53 * hash) + getVlanId(); + hash = (37 * hash) + MPLS_LABLE_FIELD_NUMBER; + hash = (53 * hash) + getMplsLable(); + hash = (37 * hash) + TOS_FIELD_NUMBER; + hash = (53 * hash) + getTos(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.AppFlow} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.AppFlow) + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.internal_static_dataflow_AppFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.internal_static_dataflow_AppFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.class, com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + srcIp_ = 0; + + srcPort_ = 0; + + dstIp_ = 0; + + dstPort_ = 0; + + startTvSec_ = 0; + + startTvUsec_ = 0; + + lastTvSec_ = 0; + + lastTvUsec_ = 0; + + endTvSec_ = 0; + + endTvUsec_ = 0; + + inputPackets_ = 0; + + outputPackets_ = 0; + + inputBytes_ = 0; + + outputBytes_ = 0; + + protocaol_ = ""; + + appId_ = 0; + + appGroupId_ = 0; + + probeIf_ = 0; + + appStyle_ = 0; + + timeFlag_ = 0; + + vlanId_ = 0; + + mplsLable_ = 0; + + tos_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.internal_static_dataflow_AppFlow_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow build() { + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow buildPartial() { + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow result = new com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow(this); + result.tableId_ = tableId_; + result.srcIp_ = srcIp_; + result.srcPort_ = srcPort_; + result.dstIp_ = dstIp_; + result.dstPort_ = dstPort_; + result.startTvSec_ = startTvSec_; + result.startTvUsec_ = startTvUsec_; + result.lastTvSec_ = lastTvSec_; + result.lastTvUsec_ = lastTvUsec_; + result.endTvSec_ = endTvSec_; + result.endTvUsec_ = endTvUsec_; + result.inputPackets_ = inputPackets_; + result.outputPackets_ = outputPackets_; + result.inputBytes_ = inputBytes_; + result.outputBytes_ = outputBytes_; + result.protocaol_ = protocaol_; + result.appId_ = appId_; + result.appGroupId_ = appGroupId_; + result.probeIf_ = probeIf_; + result.appStyle_ = appStyle_; + result.timeFlag_ = timeFlag_; + result.vlanId_ = vlanId_; + result.mplsLable_ = mplsLable_; + result.tos_ = tos_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow) { + return mergeFrom((com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow other) { + if (other == com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (other.getSrcIp() != 0) { + setSrcIp(other.getSrcIp()); + } + if (other.getSrcPort() != 0) { + setSrcPort(other.getSrcPort()); + } + if (other.getDstIp() != 0) { + setDstIp(other.getDstIp()); + } + if (other.getDstPort() != 0) { + setDstPort(other.getDstPort()); + } + if (other.getStartTvSec() != 0) { + setStartTvSec(other.getStartTvSec()); + } + if (other.getStartTvUsec() != 0) { + setStartTvUsec(other.getStartTvUsec()); + } + if (other.getLastTvSec() != 0) { + setLastTvSec(other.getLastTvSec()); + } + if (other.getLastTvUsec() != 0) { + setLastTvUsec(other.getLastTvUsec()); + } + if (other.getEndTvSec() != 0) { + setEndTvSec(other.getEndTvSec()); + } + if (other.getEndTvUsec() != 0) { + setEndTvUsec(other.getEndTvUsec()); + } + if (other.getInputPackets() != 0) { + setInputPackets(other.getInputPackets()); + } + if (other.getOutputPackets() != 0) { + setOutputPackets(other.getOutputPackets()); + } + if (other.getInputBytes() != 0) { + setInputBytes(other.getInputBytes()); + } + if (other.getOutputBytes() != 0) { + setOutputBytes(other.getOutputBytes()); + } + if (!other.getProtocaol().isEmpty()) { + protocaol_ = other.protocaol_; + onChanged(); + } + if (other.getAppId() != 0) { + setAppId(other.getAppId()); + } + if (other.getAppGroupId() != 0) { + setAppGroupId(other.getAppGroupId()); + } + if (other.getProbeIf() != 0) { + setProbeIf(other.getProbeIf()); + } + if (other.getAppStyle() != 0) { + setAppStyle(other.getAppStyle()); + } + if (other.getTimeFlag() != 0) { + setTimeFlag(other.getTimeFlag()); + } + if (other.getVlanId() != 0) { + setVlanId(other.getVlanId()); + } + if (other.getMplsLable() != 0) { + setMplsLable(other.getMplsLable()); + } + if (other.getTos() != 0) { + setTos(other.getTos()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private int srcIp_ ; + /** + * int32 src_ip = 2; + * @return The srcIp. + */ + @java.lang.Override + public int getSrcIp() { + return srcIp_; + } + /** + * int32 src_ip = 2; + * @param value The srcIp to set. + * @return This builder for chaining. + */ + public Builder setSrcIp(int value) { + + srcIp_ = value; + onChanged(); + return this; + } + /** + * int32 src_ip = 2; + * @return This builder for chaining. + */ + public Builder clearSrcIp() { + + srcIp_ = 0; + onChanged(); + return this; + } + + private int srcPort_ ; + /** + * int32 src_port = 3; + * @return The srcPort. + */ + @java.lang.Override + public int getSrcPort() { + return srcPort_; + } + /** + * int32 src_port = 3; + * @param value The srcPort to set. + * @return This builder for chaining. + */ + public Builder setSrcPort(int value) { + + srcPort_ = value; + onChanged(); + return this; + } + /** + * int32 src_port = 3; + * @return This builder for chaining. + */ + public Builder clearSrcPort() { + + srcPort_ = 0; + onChanged(); + return this; + } + + private int dstIp_ ; + /** + * int32 dst_ip = 4; + * @return The dstIp. + */ + @java.lang.Override + public int getDstIp() { + return dstIp_; + } + /** + * int32 dst_ip = 4; + * @param value The dstIp to set. + * @return This builder for chaining. + */ + public Builder setDstIp(int value) { + + dstIp_ = value; + onChanged(); + return this; + } + /** + * int32 dst_ip = 4; + * @return This builder for chaining. + */ + public Builder clearDstIp() { + + dstIp_ = 0; + onChanged(); + return this; + } + + private int dstPort_ ; + /** + * int32 dst_port = 5; + * @return The dstPort. + */ + @java.lang.Override + public int getDstPort() { + return dstPort_; + } + /** + * int32 dst_port = 5; + * @param value The dstPort to set. + * @return This builder for chaining. + */ + public Builder setDstPort(int value) { + + dstPort_ = value; + onChanged(); + return this; + } + /** + * int32 dst_port = 5; + * @return This builder for chaining. + */ + public Builder clearDstPort() { + + dstPort_ = 0; + onChanged(); + return this; + } + + private int startTvSec_ ; + /** + * int32 start_tv_sec = 6; + * @return The startTvSec. + */ + @java.lang.Override + public int getStartTvSec() { + return startTvSec_; + } + /** + * int32 start_tv_sec = 6; + * @param value The startTvSec to set. + * @return This builder for chaining. + */ + public Builder setStartTvSec(int value) { + + startTvSec_ = value; + onChanged(); + return this; + } + /** + * int32 start_tv_sec = 6; + * @return This builder for chaining. + */ + public Builder clearStartTvSec() { + + startTvSec_ = 0; + onChanged(); + return this; + } + + private int startTvUsec_ ; + /** + * int32 start_tv_usec = 7; + * @return The startTvUsec. + */ + @java.lang.Override + public int getStartTvUsec() { + return startTvUsec_; + } + /** + * int32 start_tv_usec = 7; + * @param value The startTvUsec to set. + * @return This builder for chaining. + */ + public Builder setStartTvUsec(int value) { + + startTvUsec_ = value; + onChanged(); + return this; + } + /** + * int32 start_tv_usec = 7; + * @return This builder for chaining. + */ + public Builder clearStartTvUsec() { + + startTvUsec_ = 0; + onChanged(); + return this; + } + + private int lastTvSec_ ; + /** + * int32 last_tv_sec = 8; + * @return The lastTvSec. + */ + @java.lang.Override + public int getLastTvSec() { + return lastTvSec_; + } + /** + * int32 last_tv_sec = 8; + * @param value The lastTvSec to set. + * @return This builder for chaining. + */ + public Builder setLastTvSec(int value) { + + lastTvSec_ = value; + onChanged(); + return this; + } + /** + * int32 last_tv_sec = 8; + * @return This builder for chaining. + */ + public Builder clearLastTvSec() { + + lastTvSec_ = 0; + onChanged(); + return this; + } + + private int lastTvUsec_ ; + /** + * int32 last_tv_usec = 9; + * @return The lastTvUsec. + */ + @java.lang.Override + public int getLastTvUsec() { + return lastTvUsec_; + } + /** + * int32 last_tv_usec = 9; + * @param value The lastTvUsec to set. + * @return This builder for chaining. + */ + public Builder setLastTvUsec(int value) { + + lastTvUsec_ = value; + onChanged(); + return this; + } + /** + * int32 last_tv_usec = 9; + * @return This builder for chaining. + */ + public Builder clearLastTvUsec() { + + lastTvUsec_ = 0; + onChanged(); + return this; + } + + private int endTvSec_ ; + /** + * int32 end_tv_sec = 10; + * @return The endTvSec. + */ + @java.lang.Override + public int getEndTvSec() { + return endTvSec_; + } + /** + * int32 end_tv_sec = 10; + * @param value The endTvSec to set. + * @return This builder for chaining. + */ + public Builder setEndTvSec(int value) { + + endTvSec_ = value; + onChanged(); + return this; + } + /** + * int32 end_tv_sec = 10; + * @return This builder for chaining. + */ + public Builder clearEndTvSec() { + + endTvSec_ = 0; + onChanged(); + return this; + } + + private int endTvUsec_ ; + /** + * int32 end_tv_usec = 11; + * @return The endTvUsec. + */ + @java.lang.Override + public int getEndTvUsec() { + return endTvUsec_; + } + /** + * int32 end_tv_usec = 11; + * @param value The endTvUsec to set. + * @return This builder for chaining. + */ + public Builder setEndTvUsec(int value) { + + endTvUsec_ = value; + onChanged(); + return this; + } + /** + * int32 end_tv_usec = 11; + * @return This builder for chaining. + */ + public Builder clearEndTvUsec() { + + endTvUsec_ = 0; + onChanged(); + return this; + } + + private int inputPackets_ ; + /** + * int32 input_packets = 12; + * @return The inputPackets. + */ + @java.lang.Override + public int getInputPackets() { + return inputPackets_; + } + /** + * int32 input_packets = 12; + * @param value The inputPackets to set. + * @return This builder for chaining. + */ + public Builder setInputPackets(int value) { + + inputPackets_ = value; + onChanged(); + return this; + } + /** + * int32 input_packets = 12; + * @return This builder for chaining. + */ + public Builder clearInputPackets() { + + inputPackets_ = 0; + onChanged(); + return this; + } + + private int outputPackets_ ; + /** + * int32 output_packets = 13; + * @return The outputPackets. + */ + @java.lang.Override + public int getOutputPackets() { + return outputPackets_; + } + /** + * int32 output_packets = 13; + * @param value The outputPackets to set. + * @return This builder for chaining. + */ + public Builder setOutputPackets(int value) { + + outputPackets_ = value; + onChanged(); + return this; + } + /** + * int32 output_packets = 13; + * @return This builder for chaining. + */ + public Builder clearOutputPackets() { + + outputPackets_ = 0; + onChanged(); + return this; + } + + private int inputBytes_ ; + /** + * int32 input_bytes = 14; + * @return The inputBytes. + */ + @java.lang.Override + public int getInputBytes() { + return inputBytes_; + } + /** + * int32 input_bytes = 14; + * @param value The inputBytes to set. + * @return This builder for chaining. + */ + public Builder setInputBytes(int value) { + + inputBytes_ = value; + onChanged(); + return this; + } + /** + * int32 input_bytes = 14; + * @return This builder for chaining. + */ + public Builder clearInputBytes() { + + inputBytes_ = 0; + onChanged(); + return this; + } + + private int outputBytes_ ; + /** + * int32 output_bytes = 15; + * @return The outputBytes. + */ + @java.lang.Override + public int getOutputBytes() { + return outputBytes_; + } + /** + * int32 output_bytes = 15; + * @param value The outputBytes to set. + * @return This builder for chaining. + */ + public Builder setOutputBytes(int value) { + + outputBytes_ = value; + onChanged(); + return this; + } + /** + * int32 output_bytes = 15; + * @return This builder for chaining. + */ + public Builder clearOutputBytes() { + + outputBytes_ = 0; + onChanged(); + return this; + } + + private java.lang.Object protocaol_ = ""; + /** + * string protocaol = 16; + * @return The protocaol. + */ + public java.lang.String getProtocaol() { + java.lang.Object ref = protocaol_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + protocaol_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string protocaol = 16; + * @return The bytes for protocaol. + */ + public com.google.protobuf.ByteString + getProtocaolBytes() { + java.lang.Object ref = protocaol_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + protocaol_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string protocaol = 16; + * @param value The protocaol to set. + * @return This builder for chaining. + */ + public Builder setProtocaol( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + protocaol_ = value; + onChanged(); + return this; + } + /** + * string protocaol = 16; + * @return This builder for chaining. + */ + public Builder clearProtocaol() { + + protocaol_ = getDefaultInstance().getProtocaol(); + onChanged(); + return this; + } + /** + * string protocaol = 16; + * @param value The bytes for protocaol to set. + * @return This builder for chaining. + */ + public Builder setProtocaolBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + protocaol_ = value; + onChanged(); + return this; + } + + private int appId_ ; + /** + * int32 app_id = 17; + * @return The appId. + */ + @java.lang.Override + public int getAppId() { + return appId_; + } + /** + * int32 app_id = 17; + * @param value The appId to set. + * @return This builder for chaining. + */ + public Builder setAppId(int value) { + + appId_ = value; + onChanged(); + return this; + } + /** + * int32 app_id = 17; + * @return This builder for chaining. + */ + public Builder clearAppId() { + + appId_ = 0; + onChanged(); + return this; + } + + private int appGroupId_ ; + /** + * int32 app_group_id = 18; + * @return The appGroupId. + */ + @java.lang.Override + public int getAppGroupId() { + return appGroupId_; + } + /** + * int32 app_group_id = 18; + * @param value The appGroupId to set. + * @return This builder for chaining. + */ + public Builder setAppGroupId(int value) { + + appGroupId_ = value; + onChanged(); + return this; + } + /** + * int32 app_group_id = 18; + * @return This builder for chaining. + */ + public Builder clearAppGroupId() { + + appGroupId_ = 0; + onChanged(); + return this; + } + + private int probeIf_ ; + /** + * int32 probe_if = 19; + * @return The probeIf. + */ + @java.lang.Override + public int getProbeIf() { + return probeIf_; + } + /** + * int32 probe_if = 19; + * @param value The probeIf to set. + * @return This builder for chaining. + */ + public Builder setProbeIf(int value) { + + probeIf_ = value; + onChanged(); + return this; + } + /** + * int32 probe_if = 19; + * @return This builder for chaining. + */ + public Builder clearProbeIf() { + + probeIf_ = 0; + onChanged(); + return this; + } + + private int appStyle_ ; + /** + * int32 app_style = 20; + * @return The appStyle. + */ + @java.lang.Override + public int getAppStyle() { + return appStyle_; + } + /** + * int32 app_style = 20; + * @param value The appStyle to set. + * @return This builder for chaining. + */ + public Builder setAppStyle(int value) { + + appStyle_ = value; + onChanged(); + return this; + } + /** + * int32 app_style = 20; + * @return This builder for chaining. + */ + public Builder clearAppStyle() { + + appStyle_ = 0; + onChanged(); + return this; + } + + private int timeFlag_ ; + /** + * int32 time_flag = 21; + * @return The timeFlag. + */ + @java.lang.Override + public int getTimeFlag() { + return timeFlag_; + } + /** + * int32 time_flag = 21; + * @param value The timeFlag to set. + * @return This builder for chaining. + */ + public Builder setTimeFlag(int value) { + + timeFlag_ = value; + onChanged(); + return this; + } + /** + * int32 time_flag = 21; + * @return This builder for chaining. + */ + public Builder clearTimeFlag() { + + timeFlag_ = 0; + onChanged(); + return this; + } + + private int vlanId_ ; + /** + * int32 vlan_id = 22; + * @return The vlanId. + */ + @java.lang.Override + public int getVlanId() { + return vlanId_; + } + /** + * int32 vlan_id = 22; + * @param value The vlanId to set. + * @return This builder for chaining. + */ + public Builder setVlanId(int value) { + + vlanId_ = value; + onChanged(); + return this; + } + /** + * int32 vlan_id = 22; + * @return This builder for chaining. + */ + public Builder clearVlanId() { + + vlanId_ = 0; + onChanged(); + return this; + } + + private int mplsLable_ ; + /** + * int32 mpls_lable = 23; + * @return The mplsLable. + */ + @java.lang.Override + public int getMplsLable() { + return mplsLable_; + } + /** + * int32 mpls_lable = 23; + * @param value The mplsLable to set. + * @return This builder for chaining. + */ + public Builder setMplsLable(int value) { + + mplsLable_ = value; + onChanged(); + return this; + } + /** + * int32 mpls_lable = 23; + * @return This builder for chaining. + */ + public Builder clearMplsLable() { + + mplsLable_ = 0; + onChanged(); + return this; + } + + private int tos_ ; + /** + * int32 tos = 24; + * @return The tos. + */ + @java.lang.Override + public int getTos() { + return tos_; + } + /** + * int32 tos = 24; + * @param value The tos to set. + * @return This builder for chaining. + */ + public Builder setTos(int value) { + + tos_ = value; + onChanged(); + return this; + } + /** + * int32 tos = 24; + * @return This builder for chaining. + */ + public Builder clearTos() { + + tos_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.AppFlow) + } + + // @@protoc_insertion_point(class_scope:dataflow.AppFlow) + private static final com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow(); + } + + public static com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AppFlow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AppFlow(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.AppFlowOuterClass.AppFlow getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_AppFlow_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_AppFlow_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\rAppFlow.proto\022\010dataflow\"\335\003\n\007AppFlow\022\020\n" + + "\010table_id\030\001 \001(\005\022\016\n\006src_ip\030\002 \001(\005\022\020\n\010src_p" + + "ort\030\003 \001(\005\022\016\n\006dst_ip\030\004 \001(\005\022\020\n\010dst_port\030\005 " + + "\001(\005\022\024\n\014start_tv_sec\030\006 \001(\005\022\025\n\rstart_tv_us" + + "ec\030\007 \001(\005\022\023\n\013last_tv_sec\030\010 \001(\005\022\024\n\014last_tv" + + "_usec\030\t \001(\005\022\022\n\nend_tv_sec\030\n \001(\005\022\023\n\013end_t" + + "v_usec\030\013 \001(\005\022\025\n\rinput_packets\030\014 \001(\005\022\026\n\016o" + + "utput_packets\030\r \001(\005\022\023\n\013input_bytes\030\016 \001(\005" + + "\022\024\n\014output_bytes\030\017 \001(\005\022\021\n\tprotocaol\030\020 \001(" + + "\t\022\016\n\006app_id\030\021 \001(\005\022\024\n\014app_group_id\030\022 \001(\005\022" + + "\020\n\010probe_if\030\023 \001(\005\022\021\n\tapp_style\030\024 \001(\005\022\021\n\t" + + "time_flag\030\025 \001(\005\022\017\n\007vlan_id\030\026 \001(\005\022\022\n\nmpls" + + "_lable\030\027 \001(\005\022\013\n\003tos\030\030 \001(\005B2\n\033com.yuandia" + + "n.dataflow.protoZ\023../grpc-gen;grpcgenb\006p" + + "roto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_AppFlow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_AppFlow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_AppFlow_descriptor, + new java.lang.String[] { "TableId", "SrcIp", "SrcPort", "DstIp", "DstPort", "StartTvSec", "StartTvUsec", "LastTvSec", "LastTvUsec", "EndTvSec", "EndTvUsec", "InputPackets", "OutputPackets", "InputBytes", "OutputBytes", "Protocaol", "AppId", "AppGroupId", "ProbeIf", "AppStyle", "TimeFlag", "VlanId", "MplsLable", "Tos", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/BacktrackingFlowOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/BacktrackingFlowOuterClass.java new file mode 100644 index 0000000..0a32c77 --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/BacktrackingFlowOuterClass.java @@ -0,0 +1,2176 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BacktrackingFlow.proto + +package com.yuandian.dataflow.proto; + +public final class BacktrackingFlowOuterClass { + private BacktrackingFlowOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BacktrackingFlowOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.BacktrackingFlow) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + *
+     *源MAC  8 
+     * 
+ * + * int64 mac_src = 2; + * @return The macSrc. + */ + long getMacSrc(); + + /** + *
+     *目的MAC 8
+     * 
+ * + * int64 mac_dst = 3; + * @return The macDst. + */ + long getMacDst(); + + /** + *
+     *源IP 8
+     * 
+ * + * int64 ip_src = 4; + * @return The ipSrc. + */ + long getIpSrc(); + + /** + *
+     *目的IP 8
+     * 
+ * + * int64 ip_dst = 5; + * @return The ipDst. + */ + long getIpDst(); + + /** + *
+     *源端口,如果没有,为-1
+     * 
+ * + * int32 port_src = 6; + * @return The portSrc. + */ + int getPortSrc(); + + /** + *
+     *目标端口,如果没有,为-1
+     * 
+ * + * int32 port_dst = 7; + * @return The portDst. + */ + int getPortDst(); + + /** + *
+     *第三层协议ID,如果没有,为-1
+     * 
+ * + * int32 l3_proto = 8; + * @return The l3Proto. + */ + int getL3Proto(); + + /** + *
+     *第四层协议ID,如果没有,为-1
+     * 
+ * + * int32 l4_proto = 9; + * @return The l4Proto. + */ + int getL4Proto(); + + /** + *
+     *Tos,如果没有,为-1
+     * 
+ * + * int32 tos = 10; + * @return The tos. + */ + int getTos(); + + /** + *
+     *vlan ID,如果没有,为-1
+     * 
+ * + * int32 vlan_id = 11; + * @return The vlanId. + */ + int getVlanId(); + + /** + *
+     *	8	字节总数
+     * 
+ * + * int64 bytes = 12; + * @return The bytes. + */ + long getBytes(); + + /** + *
+     *	8	数据包总数
+     * 
+ * + * int64 packets = 13; + * @return The packets. + */ + long getPackets(); + + /** + *
+     *	8	tcp同步包数
+     * 
+ * + * int64 tcp_sp = 14; + * @return The tcpSp. + */ + long getTcpSp(); + + /** + *
+     *	8	tcp同步确认包数
+     * 
+ * + * int64 tcp_scpn = 15; + * @return The tcpScpn. + */ + long getTcpScpn(); + + /** + *
+     *	8	tcp同步重置包数
+     * 
+ * + * int64 tcp_srp = 16; + * @return The tcpSrp. + */ + long getTcpSrp(); + + /** + *
+     *	4	appID
+     * 
+ * + * int32 app_id = 17; + * @return The appId. + */ + int getAppId(); + + /** + *
+     *	4	app组ID
+     * 
+ * + * int32 app_group_id = 18; + * @return The appGroupId. + */ + int getAppGroupId(); + + /** + *
+     *	4	
+     * 
+ * + * int32 mpls_label = 19; + * @return The mplsLabel. + */ + int getMplsLabel(); + } + /** + * Protobuf type {@code dataflow.BacktrackingFlow} + */ + public static final class BacktrackingFlow extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.BacktrackingFlow) + BacktrackingFlowOrBuilder { + private static final long serialVersionUID = 0L; + // Use BacktrackingFlow.newBuilder() to construct. + private BacktrackingFlow(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BacktrackingFlow() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BacktrackingFlow(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BacktrackingFlow( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 16: { + + macSrc_ = input.readInt64(); + break; + } + case 24: { + + macDst_ = input.readInt64(); + break; + } + case 32: { + + ipSrc_ = input.readInt64(); + break; + } + case 40: { + + ipDst_ = input.readInt64(); + break; + } + case 48: { + + portSrc_ = input.readInt32(); + break; + } + case 56: { + + portDst_ = input.readInt32(); + break; + } + case 64: { + + l3Proto_ = input.readInt32(); + break; + } + case 72: { + + l4Proto_ = input.readInt32(); + break; + } + case 80: { + + tos_ = input.readInt32(); + break; + } + case 88: { + + vlanId_ = input.readInt32(); + break; + } + case 96: { + + bytes_ = input.readInt64(); + break; + } + case 104: { + + packets_ = input.readInt64(); + break; + } + case 112: { + + tcpSp_ = input.readInt64(); + break; + } + case 120: { + + tcpScpn_ = input.readInt64(); + break; + } + case 128: { + + tcpSrp_ = input.readInt64(); + break; + } + case 136: { + + appId_ = input.readInt32(); + break; + } + case 144: { + + appGroupId_ = input.readInt32(); + break; + } + case 152: { + + mplsLabel_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.internal_static_dataflow_BacktrackingFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.internal_static_dataflow_BacktrackingFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.class, com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int MAC_SRC_FIELD_NUMBER = 2; + private long macSrc_; + /** + *
+     *源MAC  8 
+     * 
+ * + * int64 mac_src = 2; + * @return The macSrc. + */ + @java.lang.Override + public long getMacSrc() { + return macSrc_; + } + + public static final int MAC_DST_FIELD_NUMBER = 3; + private long macDst_; + /** + *
+     *目的MAC 8
+     * 
+ * + * int64 mac_dst = 3; + * @return The macDst. + */ + @java.lang.Override + public long getMacDst() { + return macDst_; + } + + public static final int IP_SRC_FIELD_NUMBER = 4; + private long ipSrc_; + /** + *
+     *源IP 8
+     * 
+ * + * int64 ip_src = 4; + * @return The ipSrc. + */ + @java.lang.Override + public long getIpSrc() { + return ipSrc_; + } + + public static final int IP_DST_FIELD_NUMBER = 5; + private long ipDst_; + /** + *
+     *目的IP 8
+     * 
+ * + * int64 ip_dst = 5; + * @return The ipDst. + */ + @java.lang.Override + public long getIpDst() { + return ipDst_; + } + + public static final int PORT_SRC_FIELD_NUMBER = 6; + private int portSrc_; + /** + *
+     *源端口,如果没有,为-1
+     * 
+ * + * int32 port_src = 6; + * @return The portSrc. + */ + @java.lang.Override + public int getPortSrc() { + return portSrc_; + } + + public static final int PORT_DST_FIELD_NUMBER = 7; + private int portDst_; + /** + *
+     *目标端口,如果没有,为-1
+     * 
+ * + * int32 port_dst = 7; + * @return The portDst. + */ + @java.lang.Override + public int getPortDst() { + return portDst_; + } + + public static final int L3_PROTO_FIELD_NUMBER = 8; + private int l3Proto_; + /** + *
+     *第三层协议ID,如果没有,为-1
+     * 
+ * + * int32 l3_proto = 8; + * @return The l3Proto. + */ + @java.lang.Override + public int getL3Proto() { + return l3Proto_; + } + + public static final int L4_PROTO_FIELD_NUMBER = 9; + private int l4Proto_; + /** + *
+     *第四层协议ID,如果没有,为-1
+     * 
+ * + * int32 l4_proto = 9; + * @return The l4Proto. + */ + @java.lang.Override + public int getL4Proto() { + return l4Proto_; + } + + public static final int TOS_FIELD_NUMBER = 10; + private int tos_; + /** + *
+     *Tos,如果没有,为-1
+     * 
+ * + * int32 tos = 10; + * @return The tos. + */ + @java.lang.Override + public int getTos() { + return tos_; + } + + public static final int VLAN_ID_FIELD_NUMBER = 11; + private int vlanId_; + /** + *
+     *vlan ID,如果没有,为-1
+     * 
+ * + * int32 vlan_id = 11; + * @return The vlanId. + */ + @java.lang.Override + public int getVlanId() { + return vlanId_; + } + + public static final int BYTES_FIELD_NUMBER = 12; + private long bytes_; + /** + *
+     *	8	字节总数
+     * 
+ * + * int64 bytes = 12; + * @return The bytes. + */ + @java.lang.Override + public long getBytes() { + return bytes_; + } + + public static final int PACKETS_FIELD_NUMBER = 13; + private long packets_; + /** + *
+     *	8	数据包总数
+     * 
+ * + * int64 packets = 13; + * @return The packets. + */ + @java.lang.Override + public long getPackets() { + return packets_; + } + + public static final int TCP_SP_FIELD_NUMBER = 14; + private long tcpSp_; + /** + *
+     *	8	tcp同步包数
+     * 
+ * + * int64 tcp_sp = 14; + * @return The tcpSp. + */ + @java.lang.Override + public long getTcpSp() { + return tcpSp_; + } + + public static final int TCP_SCPN_FIELD_NUMBER = 15; + private long tcpScpn_; + /** + *
+     *	8	tcp同步确认包数
+     * 
+ * + * int64 tcp_scpn = 15; + * @return The tcpScpn. + */ + @java.lang.Override + public long getTcpScpn() { + return tcpScpn_; + } + + public static final int TCP_SRP_FIELD_NUMBER = 16; + private long tcpSrp_; + /** + *
+     *	8	tcp同步重置包数
+     * 
+ * + * int64 tcp_srp = 16; + * @return The tcpSrp. + */ + @java.lang.Override + public long getTcpSrp() { + return tcpSrp_; + } + + public static final int APP_ID_FIELD_NUMBER = 17; + private int appId_; + /** + *
+     *	4	appID
+     * 
+ * + * int32 app_id = 17; + * @return The appId. + */ + @java.lang.Override + public int getAppId() { + return appId_; + } + + public static final int APP_GROUP_ID_FIELD_NUMBER = 18; + private int appGroupId_; + /** + *
+     *	4	app组ID
+     * 
+ * + * int32 app_group_id = 18; + * @return The appGroupId. + */ + @java.lang.Override + public int getAppGroupId() { + return appGroupId_; + } + + public static final int MPLS_LABEL_FIELD_NUMBER = 19; + private int mplsLabel_; + /** + *
+     *	4	
+     * 
+ * + * int32 mpls_label = 19; + * @return The mplsLabel. + */ + @java.lang.Override + public int getMplsLabel() { + return mplsLabel_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (macSrc_ != 0L) { + output.writeInt64(2, macSrc_); + } + if (macDst_ != 0L) { + output.writeInt64(3, macDst_); + } + if (ipSrc_ != 0L) { + output.writeInt64(4, ipSrc_); + } + if (ipDst_ != 0L) { + output.writeInt64(5, ipDst_); + } + if (portSrc_ != 0) { + output.writeInt32(6, portSrc_); + } + if (portDst_ != 0) { + output.writeInt32(7, portDst_); + } + if (l3Proto_ != 0) { + output.writeInt32(8, l3Proto_); + } + if (l4Proto_ != 0) { + output.writeInt32(9, l4Proto_); + } + if (tos_ != 0) { + output.writeInt32(10, tos_); + } + if (vlanId_ != 0) { + output.writeInt32(11, vlanId_); + } + if (bytes_ != 0L) { + output.writeInt64(12, bytes_); + } + if (packets_ != 0L) { + output.writeInt64(13, packets_); + } + if (tcpSp_ != 0L) { + output.writeInt64(14, tcpSp_); + } + if (tcpScpn_ != 0L) { + output.writeInt64(15, tcpScpn_); + } + if (tcpSrp_ != 0L) { + output.writeInt64(16, tcpSrp_); + } + if (appId_ != 0) { + output.writeInt32(17, appId_); + } + if (appGroupId_ != 0) { + output.writeInt32(18, appGroupId_); + } + if (mplsLabel_ != 0) { + output.writeInt32(19, mplsLabel_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (macSrc_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, macSrc_); + } + if (macDst_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, macDst_); + } + if (ipSrc_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, ipSrc_); + } + if (ipDst_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, ipDst_); + } + if (portSrc_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, portSrc_); + } + if (portDst_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, portDst_); + } + if (l3Proto_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, l3Proto_); + } + if (l4Proto_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, l4Proto_); + } + if (tos_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, tos_); + } + if (vlanId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, vlanId_); + } + if (bytes_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, bytes_); + } + if (packets_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, packets_); + } + if (tcpSp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, tcpSp_); + } + if (tcpScpn_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, tcpScpn_); + } + if (tcpSrp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(16, tcpSrp_); + } + if (appId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, appId_); + } + if (appGroupId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(18, appGroupId_); + } + if (mplsLabel_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(19, mplsLabel_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow other = (com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow) obj; + + if (getTableId() + != other.getTableId()) return false; + if (getMacSrc() + != other.getMacSrc()) return false; + if (getMacDst() + != other.getMacDst()) return false; + if (getIpSrc() + != other.getIpSrc()) return false; + if (getIpDst() + != other.getIpDst()) return false; + if (getPortSrc() + != other.getPortSrc()) return false; + if (getPortDst() + != other.getPortDst()) return false; + if (getL3Proto() + != other.getL3Proto()) return false; + if (getL4Proto() + != other.getL4Proto()) return false; + if (getTos() + != other.getTos()) return false; + if (getVlanId() + != other.getVlanId()) return false; + if (getBytes() + != other.getBytes()) return false; + if (getPackets() + != other.getPackets()) return false; + if (getTcpSp() + != other.getTcpSp()) return false; + if (getTcpScpn() + != other.getTcpScpn()) return false; + if (getTcpSrp() + != other.getTcpSrp()) return false; + if (getAppId() + != other.getAppId()) return false; + if (getAppGroupId() + != other.getAppGroupId()) return false; + if (getMplsLabel() + != other.getMplsLabel()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + MAC_SRC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMacSrc()); + hash = (37 * hash) + MAC_DST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMacDst()); + hash = (37 * hash) + IP_SRC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIpSrc()); + hash = (37 * hash) + IP_DST_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIpDst()); + hash = (37 * hash) + PORT_SRC_FIELD_NUMBER; + hash = (53 * hash) + getPortSrc(); + hash = (37 * hash) + PORT_DST_FIELD_NUMBER; + hash = (53 * hash) + getPortDst(); + hash = (37 * hash) + L3_PROTO_FIELD_NUMBER; + hash = (53 * hash) + getL3Proto(); + hash = (37 * hash) + L4_PROTO_FIELD_NUMBER; + hash = (53 * hash) + getL4Proto(); + hash = (37 * hash) + TOS_FIELD_NUMBER; + hash = (53 * hash) + getTos(); + hash = (37 * hash) + VLAN_ID_FIELD_NUMBER; + hash = (53 * hash) + getVlanId(); + hash = (37 * hash) + BYTES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytes()); + hash = (37 * hash) + PACKETS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPackets()); + hash = (37 * hash) + TCP_SP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTcpSp()); + hash = (37 * hash) + TCP_SCPN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTcpScpn()); + hash = (37 * hash) + TCP_SRP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTcpSrp()); + hash = (37 * hash) + APP_ID_FIELD_NUMBER; + hash = (53 * hash) + getAppId(); + hash = (37 * hash) + APP_GROUP_ID_FIELD_NUMBER; + hash = (53 * hash) + getAppGroupId(); + hash = (37 * hash) + MPLS_LABEL_FIELD_NUMBER; + hash = (53 * hash) + getMplsLabel(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.BacktrackingFlow} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.BacktrackingFlow) + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.internal_static_dataflow_BacktrackingFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.internal_static_dataflow_BacktrackingFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.class, com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + macSrc_ = 0L; + + macDst_ = 0L; + + ipSrc_ = 0L; + + ipDst_ = 0L; + + portSrc_ = 0; + + portDst_ = 0; + + l3Proto_ = 0; + + l4Proto_ = 0; + + tos_ = 0; + + vlanId_ = 0; + + bytes_ = 0L; + + packets_ = 0L; + + tcpSp_ = 0L; + + tcpScpn_ = 0L; + + tcpSrp_ = 0L; + + appId_ = 0; + + appGroupId_ = 0; + + mplsLabel_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.internal_static_dataflow_BacktrackingFlow_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow build() { + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow buildPartial() { + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow result = new com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow(this); + result.tableId_ = tableId_; + result.macSrc_ = macSrc_; + result.macDst_ = macDst_; + result.ipSrc_ = ipSrc_; + result.ipDst_ = ipDst_; + result.portSrc_ = portSrc_; + result.portDst_ = portDst_; + result.l3Proto_ = l3Proto_; + result.l4Proto_ = l4Proto_; + result.tos_ = tos_; + result.vlanId_ = vlanId_; + result.bytes_ = bytes_; + result.packets_ = packets_; + result.tcpSp_ = tcpSp_; + result.tcpScpn_ = tcpScpn_; + result.tcpSrp_ = tcpSrp_; + result.appId_ = appId_; + result.appGroupId_ = appGroupId_; + result.mplsLabel_ = mplsLabel_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow) { + return mergeFrom((com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow other) { + if (other == com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (other.getMacSrc() != 0L) { + setMacSrc(other.getMacSrc()); + } + if (other.getMacDst() != 0L) { + setMacDst(other.getMacDst()); + } + if (other.getIpSrc() != 0L) { + setIpSrc(other.getIpSrc()); + } + if (other.getIpDst() != 0L) { + setIpDst(other.getIpDst()); + } + if (other.getPortSrc() != 0) { + setPortSrc(other.getPortSrc()); + } + if (other.getPortDst() != 0) { + setPortDst(other.getPortDst()); + } + if (other.getL3Proto() != 0) { + setL3Proto(other.getL3Proto()); + } + if (other.getL4Proto() != 0) { + setL4Proto(other.getL4Proto()); + } + if (other.getTos() != 0) { + setTos(other.getTos()); + } + if (other.getVlanId() != 0) { + setVlanId(other.getVlanId()); + } + if (other.getBytes() != 0L) { + setBytes(other.getBytes()); + } + if (other.getPackets() != 0L) { + setPackets(other.getPackets()); + } + if (other.getTcpSp() != 0L) { + setTcpSp(other.getTcpSp()); + } + if (other.getTcpScpn() != 0L) { + setTcpScpn(other.getTcpScpn()); + } + if (other.getTcpSrp() != 0L) { + setTcpSrp(other.getTcpSrp()); + } + if (other.getAppId() != 0) { + setAppId(other.getAppId()); + } + if (other.getAppGroupId() != 0) { + setAppGroupId(other.getAppGroupId()); + } + if (other.getMplsLabel() != 0) { + setMplsLabel(other.getMplsLabel()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private long macSrc_ ; + /** + *
+       *源MAC  8 
+       * 
+ * + * int64 mac_src = 2; + * @return The macSrc. + */ + @java.lang.Override + public long getMacSrc() { + return macSrc_; + } + /** + *
+       *源MAC  8 
+       * 
+ * + * int64 mac_src = 2; + * @param value The macSrc to set. + * @return This builder for chaining. + */ + public Builder setMacSrc(long value) { + + macSrc_ = value; + onChanged(); + return this; + } + /** + *
+       *源MAC  8 
+       * 
+ * + * int64 mac_src = 2; + * @return This builder for chaining. + */ + public Builder clearMacSrc() { + + macSrc_ = 0L; + onChanged(); + return this; + } + + private long macDst_ ; + /** + *
+       *目的MAC 8
+       * 
+ * + * int64 mac_dst = 3; + * @return The macDst. + */ + @java.lang.Override + public long getMacDst() { + return macDst_; + } + /** + *
+       *目的MAC 8
+       * 
+ * + * int64 mac_dst = 3; + * @param value The macDst to set. + * @return This builder for chaining. + */ + public Builder setMacDst(long value) { + + macDst_ = value; + onChanged(); + return this; + } + /** + *
+       *目的MAC 8
+       * 
+ * + * int64 mac_dst = 3; + * @return This builder for chaining. + */ + public Builder clearMacDst() { + + macDst_ = 0L; + onChanged(); + return this; + } + + private long ipSrc_ ; + /** + *
+       *源IP 8
+       * 
+ * + * int64 ip_src = 4; + * @return The ipSrc. + */ + @java.lang.Override + public long getIpSrc() { + return ipSrc_; + } + /** + *
+       *源IP 8
+       * 
+ * + * int64 ip_src = 4; + * @param value The ipSrc to set. + * @return This builder for chaining. + */ + public Builder setIpSrc(long value) { + + ipSrc_ = value; + onChanged(); + return this; + } + /** + *
+       *源IP 8
+       * 
+ * + * int64 ip_src = 4; + * @return This builder for chaining. + */ + public Builder clearIpSrc() { + + ipSrc_ = 0L; + onChanged(); + return this; + } + + private long ipDst_ ; + /** + *
+       *目的IP 8
+       * 
+ * + * int64 ip_dst = 5; + * @return The ipDst. + */ + @java.lang.Override + public long getIpDst() { + return ipDst_; + } + /** + *
+       *目的IP 8
+       * 
+ * + * int64 ip_dst = 5; + * @param value The ipDst to set. + * @return This builder for chaining. + */ + public Builder setIpDst(long value) { + + ipDst_ = value; + onChanged(); + return this; + } + /** + *
+       *目的IP 8
+       * 
+ * + * int64 ip_dst = 5; + * @return This builder for chaining. + */ + public Builder clearIpDst() { + + ipDst_ = 0L; + onChanged(); + return this; + } + + private int portSrc_ ; + /** + *
+       *源端口,如果没有,为-1
+       * 
+ * + * int32 port_src = 6; + * @return The portSrc. + */ + @java.lang.Override + public int getPortSrc() { + return portSrc_; + } + /** + *
+       *源端口,如果没有,为-1
+       * 
+ * + * int32 port_src = 6; + * @param value The portSrc to set. + * @return This builder for chaining. + */ + public Builder setPortSrc(int value) { + + portSrc_ = value; + onChanged(); + return this; + } + /** + *
+       *源端口,如果没有,为-1
+       * 
+ * + * int32 port_src = 6; + * @return This builder for chaining. + */ + public Builder clearPortSrc() { + + portSrc_ = 0; + onChanged(); + return this; + } + + private int portDst_ ; + /** + *
+       *目标端口,如果没有,为-1
+       * 
+ * + * int32 port_dst = 7; + * @return The portDst. + */ + @java.lang.Override + public int getPortDst() { + return portDst_; + } + /** + *
+       *目标端口,如果没有,为-1
+       * 
+ * + * int32 port_dst = 7; + * @param value The portDst to set. + * @return This builder for chaining. + */ + public Builder setPortDst(int value) { + + portDst_ = value; + onChanged(); + return this; + } + /** + *
+       *目标端口,如果没有,为-1
+       * 
+ * + * int32 port_dst = 7; + * @return This builder for chaining. + */ + public Builder clearPortDst() { + + portDst_ = 0; + onChanged(); + return this; + } + + private int l3Proto_ ; + /** + *
+       *第三层协议ID,如果没有,为-1
+       * 
+ * + * int32 l3_proto = 8; + * @return The l3Proto. + */ + @java.lang.Override + public int getL3Proto() { + return l3Proto_; + } + /** + *
+       *第三层协议ID,如果没有,为-1
+       * 
+ * + * int32 l3_proto = 8; + * @param value The l3Proto to set. + * @return This builder for chaining. + */ + public Builder setL3Proto(int value) { + + l3Proto_ = value; + onChanged(); + return this; + } + /** + *
+       *第三层协议ID,如果没有,为-1
+       * 
+ * + * int32 l3_proto = 8; + * @return This builder for chaining. + */ + public Builder clearL3Proto() { + + l3Proto_ = 0; + onChanged(); + return this; + } + + private int l4Proto_ ; + /** + *
+       *第四层协议ID,如果没有,为-1
+       * 
+ * + * int32 l4_proto = 9; + * @return The l4Proto. + */ + @java.lang.Override + public int getL4Proto() { + return l4Proto_; + } + /** + *
+       *第四层协议ID,如果没有,为-1
+       * 
+ * + * int32 l4_proto = 9; + * @param value The l4Proto to set. + * @return This builder for chaining. + */ + public Builder setL4Proto(int value) { + + l4Proto_ = value; + onChanged(); + return this; + } + /** + *
+       *第四层协议ID,如果没有,为-1
+       * 
+ * + * int32 l4_proto = 9; + * @return This builder for chaining. + */ + public Builder clearL4Proto() { + + l4Proto_ = 0; + onChanged(); + return this; + } + + private int tos_ ; + /** + *
+       *Tos,如果没有,为-1
+       * 
+ * + * int32 tos = 10; + * @return The tos. + */ + @java.lang.Override + public int getTos() { + return tos_; + } + /** + *
+       *Tos,如果没有,为-1
+       * 
+ * + * int32 tos = 10; + * @param value The tos to set. + * @return This builder for chaining. + */ + public Builder setTos(int value) { + + tos_ = value; + onChanged(); + return this; + } + /** + *
+       *Tos,如果没有,为-1
+       * 
+ * + * int32 tos = 10; + * @return This builder for chaining. + */ + public Builder clearTos() { + + tos_ = 0; + onChanged(); + return this; + } + + private int vlanId_ ; + /** + *
+       *vlan ID,如果没有,为-1
+       * 
+ * + * int32 vlan_id = 11; + * @return The vlanId. + */ + @java.lang.Override + public int getVlanId() { + return vlanId_; + } + /** + *
+       *vlan ID,如果没有,为-1
+       * 
+ * + * int32 vlan_id = 11; + * @param value The vlanId to set. + * @return This builder for chaining. + */ + public Builder setVlanId(int value) { + + vlanId_ = value; + onChanged(); + return this; + } + /** + *
+       *vlan ID,如果没有,为-1
+       * 
+ * + * int32 vlan_id = 11; + * @return This builder for chaining. + */ + public Builder clearVlanId() { + + vlanId_ = 0; + onChanged(); + return this; + } + + private long bytes_ ; + /** + *
+       *	8	字节总数
+       * 
+ * + * int64 bytes = 12; + * @return The bytes. + */ + @java.lang.Override + public long getBytes() { + return bytes_; + } + /** + *
+       *	8	字节总数
+       * 
+ * + * int64 bytes = 12; + * @param value The bytes to set. + * @return This builder for chaining. + */ + public Builder setBytes(long value) { + + bytes_ = value; + onChanged(); + return this; + } + /** + *
+       *	8	字节总数
+       * 
+ * + * int64 bytes = 12; + * @return This builder for chaining. + */ + public Builder clearBytes() { + + bytes_ = 0L; + onChanged(); + return this; + } + + private long packets_ ; + /** + *
+       *	8	数据包总数
+       * 
+ * + * int64 packets = 13; + * @return The packets. + */ + @java.lang.Override + public long getPackets() { + return packets_; + } + /** + *
+       *	8	数据包总数
+       * 
+ * + * int64 packets = 13; + * @param value The packets to set. + * @return This builder for chaining. + */ + public Builder setPackets(long value) { + + packets_ = value; + onChanged(); + return this; + } + /** + *
+       *	8	数据包总数
+       * 
+ * + * int64 packets = 13; + * @return This builder for chaining. + */ + public Builder clearPackets() { + + packets_ = 0L; + onChanged(); + return this; + } + + private long tcpSp_ ; + /** + *
+       *	8	tcp同步包数
+       * 
+ * + * int64 tcp_sp = 14; + * @return The tcpSp. + */ + @java.lang.Override + public long getTcpSp() { + return tcpSp_; + } + /** + *
+       *	8	tcp同步包数
+       * 
+ * + * int64 tcp_sp = 14; + * @param value The tcpSp to set. + * @return This builder for chaining. + */ + public Builder setTcpSp(long value) { + + tcpSp_ = value; + onChanged(); + return this; + } + /** + *
+       *	8	tcp同步包数
+       * 
+ * + * int64 tcp_sp = 14; + * @return This builder for chaining. + */ + public Builder clearTcpSp() { + + tcpSp_ = 0L; + onChanged(); + return this; + } + + private long tcpScpn_ ; + /** + *
+       *	8	tcp同步确认包数
+       * 
+ * + * int64 tcp_scpn = 15; + * @return The tcpScpn. + */ + @java.lang.Override + public long getTcpScpn() { + return tcpScpn_; + } + /** + *
+       *	8	tcp同步确认包数
+       * 
+ * + * int64 tcp_scpn = 15; + * @param value The tcpScpn to set. + * @return This builder for chaining. + */ + public Builder setTcpScpn(long value) { + + tcpScpn_ = value; + onChanged(); + return this; + } + /** + *
+       *	8	tcp同步确认包数
+       * 
+ * + * int64 tcp_scpn = 15; + * @return This builder for chaining. + */ + public Builder clearTcpScpn() { + + tcpScpn_ = 0L; + onChanged(); + return this; + } + + private long tcpSrp_ ; + /** + *
+       *	8	tcp同步重置包数
+       * 
+ * + * int64 tcp_srp = 16; + * @return The tcpSrp. + */ + @java.lang.Override + public long getTcpSrp() { + return tcpSrp_; + } + /** + *
+       *	8	tcp同步重置包数
+       * 
+ * + * int64 tcp_srp = 16; + * @param value The tcpSrp to set. + * @return This builder for chaining. + */ + public Builder setTcpSrp(long value) { + + tcpSrp_ = value; + onChanged(); + return this; + } + /** + *
+       *	8	tcp同步重置包数
+       * 
+ * + * int64 tcp_srp = 16; + * @return This builder for chaining. + */ + public Builder clearTcpSrp() { + + tcpSrp_ = 0L; + onChanged(); + return this; + } + + private int appId_ ; + /** + *
+       *	4	appID
+       * 
+ * + * int32 app_id = 17; + * @return The appId. + */ + @java.lang.Override + public int getAppId() { + return appId_; + } + /** + *
+       *	4	appID
+       * 
+ * + * int32 app_id = 17; + * @param value The appId to set. + * @return This builder for chaining. + */ + public Builder setAppId(int value) { + + appId_ = value; + onChanged(); + return this; + } + /** + *
+       *	4	appID
+       * 
+ * + * int32 app_id = 17; + * @return This builder for chaining. + */ + public Builder clearAppId() { + + appId_ = 0; + onChanged(); + return this; + } + + private int appGroupId_ ; + /** + *
+       *	4	app组ID
+       * 
+ * + * int32 app_group_id = 18; + * @return The appGroupId. + */ + @java.lang.Override + public int getAppGroupId() { + return appGroupId_; + } + /** + *
+       *	4	app组ID
+       * 
+ * + * int32 app_group_id = 18; + * @param value The appGroupId to set. + * @return This builder for chaining. + */ + public Builder setAppGroupId(int value) { + + appGroupId_ = value; + onChanged(); + return this; + } + /** + *
+       *	4	app组ID
+       * 
+ * + * int32 app_group_id = 18; + * @return This builder for chaining. + */ + public Builder clearAppGroupId() { + + appGroupId_ = 0; + onChanged(); + return this; + } + + private int mplsLabel_ ; + /** + *
+       *	4	
+       * 
+ * + * int32 mpls_label = 19; + * @return The mplsLabel. + */ + @java.lang.Override + public int getMplsLabel() { + return mplsLabel_; + } + /** + *
+       *	4	
+       * 
+ * + * int32 mpls_label = 19; + * @param value The mplsLabel to set. + * @return This builder for chaining. + */ + public Builder setMplsLabel(int value) { + + mplsLabel_ = value; + onChanged(); + return this; + } + /** + *
+       *	4	
+       * 
+ * + * int32 mpls_label = 19; + * @return This builder for chaining. + */ + public Builder clearMplsLabel() { + + mplsLabel_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.BacktrackingFlow) + } + + // @@protoc_insertion_point(class_scope:dataflow.BacktrackingFlow) + private static final com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow(); + } + + public static com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BacktrackingFlow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BacktrackingFlow(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BacktrackingFlowOuterClass.BacktrackingFlow getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_BacktrackingFlow_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_BacktrackingFlow_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\026BacktrackingFlow.proto\022\010dataflow\"\331\002\n\020B" + + "acktrackingFlow\022\020\n\010table_id\030\001 \001(\005\022\017\n\007mac" + + "_src\030\002 \001(\003\022\017\n\007mac_dst\030\003 \001(\003\022\016\n\006ip_src\030\004 " + + "\001(\003\022\016\n\006ip_dst\030\005 \001(\003\022\020\n\010port_src\030\006 \001(\005\022\020\n" + + "\010port_dst\030\007 \001(\005\022\020\n\010l3_proto\030\010 \001(\005\022\020\n\010l4_" + + "proto\030\t \001(\005\022\013\n\003tos\030\n \001(\005\022\017\n\007vlan_id\030\013 \001(" + + "\005\022\r\n\005bytes\030\014 \001(\003\022\017\n\007packets\030\r \001(\003\022\016\n\006tcp" + + "_sp\030\016 \001(\003\022\020\n\010tcp_scpn\030\017 \001(\003\022\017\n\007tcp_srp\030\020" + + " \001(\003\022\016\n\006app_id\030\021 \001(\005\022\024\n\014app_group_id\030\022 \001" + + "(\005\022\022\n\nmpls_label\030\023 \001(\005B2\n\033com.yuandian.d" + + "ataflow.protoZ\023../grpc-gen;grpcgenb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_BacktrackingFlow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_BacktrackingFlow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_BacktrackingFlow_descriptor, + new java.lang.String[] { "TableId", "MacSrc", "MacDst", "IpSrc", "IpDst", "PortSrc", "PortDst", "L3Proto", "L4Proto", "Tos", "VlanId", "Bytes", "Packets", "TcpSp", "TcpScpn", "TcpSrp", "AppId", "AppGroupId", "MplsLabel", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/Base.java b/src/main/java/com/yuandian/dataflow/proto/Base.java index b2fec80..e0cd312 100644 --- a/src/main/java/com/yuandian/dataflow/proto/Base.java +++ b/src/main/java/com/yuandian/dataflow/proto/Base.java @@ -15,7 +15,7 @@ public final class Base { (com.google.protobuf.ExtensionRegistryLite) registry); } public interface ResponseOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.yuandian.dataflow.proto.Response) + // @@protoc_insertion_point(interface_extends:dataflow.Response) com.google.protobuf.MessageOrBuilder { /** @@ -55,11 +55,11 @@ public final class Base { int index); } /** - * Protobuf type {@code com.yuandian.dataflow.proto.Response} + * Protobuf type {@code dataflow.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.yuandian.dataflow.proto.Response) + // @@protoc_insertion_point(message_implements:dataflow.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. @@ -146,13 +146,13 @@ public final class Base { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Response_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Response_fieldAccessorTable + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.Base.Response.class, com.yuandian.dataflow.proto.Base.Response.Builder.class); } @@ -399,21 +399,21 @@ public final class Base { return builder; } /** - * Protobuf type {@code com.yuandian.dataflow.proto.Response} + * Protobuf type {@code dataflow.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.yuandian.dataflow.proto.Response) + // @@protoc_insertion_point(builder_implements:dataflow.Response) com.yuandian.dataflow.proto.Base.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Response_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Response_fieldAccessorTable + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.Base.Response.class, com.yuandian.dataflow.proto.Base.Response.Builder.class); } @@ -453,7 +453,7 @@ public final class Base { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Response_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Response_descriptor; } @java.lang.Override @@ -909,10 +909,10 @@ public final class Base { } - // @@protoc_insertion_point(builder_scope:com.yuandian.dataflow.proto.Response) + // @@protoc_insertion_point(builder_scope:dataflow.Response) } - // @@protoc_insertion_point(class_scope:com.yuandian.dataflow.proto.Response) + // @@protoc_insertion_point(class_scope:dataflow.Response) private static final com.yuandian.dataflow.proto.Base.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.Base.Response(); @@ -950,7 +950,7 @@ public final class Base { } public interface RequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:com.yuandian.dataflow.proto.Request) + // @@protoc_insertion_point(interface_extends:dataflow.Request) com.google.protobuf.MessageOrBuilder { /** @@ -963,36 +963,12 @@ public final class Base { */ int getType(); - /** - * repeated .google.protobuf.Any param = 2; - */ - java.util.List - getParamList(); - /** - * repeated .google.protobuf.Any param = 2; - */ - com.google.protobuf.Any getParam(int index); - /** - * repeated .google.protobuf.Any param = 2; - */ - int getParamCount(); - /** - * repeated .google.protobuf.Any param = 2; - */ - java.util.List - getParamOrBuilderList(); - /** - * repeated .google.protobuf.Any param = 2; - */ - com.google.protobuf.AnyOrBuilder getParamOrBuilder( - int index); - /** *
      * 请求版本.  区分版本. 非必要时不使用 
      * 
* - * string version = 3; + * string version = 2; * @return The version. */ java.lang.String getVersion(); @@ -1001,18 +977,42 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @return The bytes for version. */ com.google.protobuf.ByteString getVersionBytes(); + + /** + * repeated .google.protobuf.Any param = 3; + */ + java.util.List + getParamList(); + /** + * repeated .google.protobuf.Any param = 3; + */ + com.google.protobuf.Any getParam(int index); + /** + * repeated .google.protobuf.Any param = 3; + */ + int getParamCount(); + /** + * repeated .google.protobuf.Any param = 3; + */ + java.util.List + getParamOrBuilderList(); + /** + * repeated .google.protobuf.Any param = 3; + */ + com.google.protobuf.AnyOrBuilder getParamOrBuilder( + int index); } /** - * Protobuf type {@code com.yuandian.dataflow.proto.Request} + * Protobuf type {@code dataflow.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:com.yuandian.dataflow.proto.Request) + // @@protoc_insertion_point(message_implements:dataflow.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. @@ -1020,8 +1020,8 @@ public final class Base { super(builder); } private Request() { - param_ = java.util.Collections.emptyList(); version_ = ""; + param_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -1061,6 +1061,12 @@ public final class Base { break; } case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { param_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; @@ -1069,12 +1075,6 @@ public final class Base { input.readMessage(com.google.protobuf.Any.parser(), extensionRegistry)); break; } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - version_ = s; - break; - } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -1101,13 +1101,13 @@ public final class Base { } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Request_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Request_fieldAccessorTable + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.Base.Request.class, com.yuandian.dataflow.proto.Base.Request.Builder.class); } @@ -1127,54 +1127,14 @@ public final class Base { return type_; } - public static final int PARAM_FIELD_NUMBER = 2; - private java.util.List param_; - /** - * repeated .google.protobuf.Any param = 2; - */ - @java.lang.Override - public java.util.List getParamList() { - return param_; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - @java.lang.Override - public java.util.List - getParamOrBuilderList() { - return param_; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - @java.lang.Override - public int getParamCount() { - return param_.size(); - } - /** - * repeated .google.protobuf.Any param = 2; - */ - @java.lang.Override - public com.google.protobuf.Any getParam(int index) { - return param_.get(index); - } - /** - * repeated .google.protobuf.Any param = 2; - */ - @java.lang.Override - public com.google.protobuf.AnyOrBuilder getParamOrBuilder( - int index) { - return param_.get(index); - } - - public static final int VERSION_FIELD_NUMBER = 3; + public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** *
      * 请求版本.  区分版本. 非必要时不使用 
      * 
* - * string version = 3; + * string version = 2; * @return The version. */ @java.lang.Override @@ -1195,7 +1155,7 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @return The bytes for version. */ @java.lang.Override @@ -1213,6 +1173,46 @@ public final class Base { } } + public static final int PARAM_FIELD_NUMBER = 3; + private java.util.List param_; + /** + * repeated .google.protobuf.Any param = 3; + */ + @java.lang.Override + public java.util.List getParamList() { + return param_; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + @java.lang.Override + public java.util.List + getParamOrBuilderList() { + return param_; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + @java.lang.Override + public int getParamCount() { + return param_.size(); + } + /** + * repeated .google.protobuf.Any param = 3; + */ + @java.lang.Override + public com.google.protobuf.Any getParam(int index) { + return param_.get(index); + } + /** + * repeated .google.protobuf.Any param = 3; + */ + @java.lang.Override + public com.google.protobuf.AnyOrBuilder getParamOrBuilder( + int index) { + return param_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1230,11 +1230,11 @@ public final class Base { if (type_ != 0) { output.writeInt32(1, type_); } - for (int i = 0; i < param_.size(); i++) { - output.writeMessage(2, param_.get(i)); - } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, version_); + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + for (int i = 0; i < param_.size(); i++) { + output.writeMessage(3, param_.get(i)); } unknownFields.writeTo(output); } @@ -1249,12 +1249,12 @@ public final class Base { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, type_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } for (int i = 0; i < param_.size(); i++) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, param_.get(i)); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(version_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, version_); + .computeMessageSize(3, param_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1273,10 +1273,10 @@ public final class Base { if (getType() != other.getType()) return false; - if (!getParamList() - .equals(other.getParamList())) return false; if (!getVersion() .equals(other.getVersion())) return false; + if (!getParamList() + .equals(other.getParamList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1290,12 +1290,12 @@ public final class Base { hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); if (getParamCount() > 0) { hash = (37 * hash) + PARAM_FIELD_NUMBER; hash = (53 * hash) + getParamList().hashCode(); } - hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + getVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1392,21 +1392,21 @@ public final class Base { return builder; } /** - * Protobuf type {@code com.yuandian.dataflow.proto.Request} + * Protobuf type {@code dataflow.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements - // @@protoc_insertion_point(builder_implements:com.yuandian.dataflow.proto.Request) + // @@protoc_insertion_point(builder_implements:dataflow.Request) com.yuandian.dataflow.proto.Base.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Request_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Request_fieldAccessorTable + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( com.yuandian.dataflow.proto.Base.Request.class, com.yuandian.dataflow.proto.Base.Request.Builder.class); } @@ -1432,21 +1432,21 @@ public final class Base { super.clear(); type_ = 0; + version_ = ""; + if (paramBuilder_ == null) { param_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { paramBuilder_.clear(); } - version_ = ""; - return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.yuandian.dataflow.proto.Base.internal_static_com_yuandian_dataflow_proto_Request_descriptor; + return com.yuandian.dataflow.proto.Base.internal_static_dataflow_Request_descriptor; } @java.lang.Override @@ -1468,6 +1468,7 @@ public final class Base { com.yuandian.dataflow.proto.Base.Request result = new com.yuandian.dataflow.proto.Base.Request(this); int from_bitField0_ = bitField0_; result.type_ = type_; + result.version_ = version_; if (paramBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { param_ = java.util.Collections.unmodifiableList(param_); @@ -1477,7 +1478,6 @@ public final class Base { } else { result.param_ = paramBuilder_.build(); } - result.version_ = version_; onBuilt(); return result; } @@ -1529,6 +1529,10 @@ public final class Base { if (other.getType() != 0) { setType(other.getType()); } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } if (paramBuilder_ == null) { if (!other.param_.isEmpty()) { if (param_.isEmpty()) { @@ -1555,10 +1559,6 @@ public final class Base { } } } - if (!other.getVersion().isEmpty()) { - version_ = other.version_; - onChanged(); - } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1632,253 +1632,13 @@ public final class Base { return this; } - private java.util.List param_ = - java.util.Collections.emptyList(); - private void ensureParamIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - param_ = new java.util.ArrayList(param_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> paramBuilder_; - - /** - * repeated .google.protobuf.Any param = 2; - */ - public java.util.List getParamList() { - if (paramBuilder_ == null) { - return java.util.Collections.unmodifiableList(param_); - } else { - return paramBuilder_.getMessageList(); - } - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public int getParamCount() { - if (paramBuilder_ == null) { - return param_.size(); - } else { - return paramBuilder_.getCount(); - } - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public com.google.protobuf.Any getParam(int index) { - if (paramBuilder_ == null) { - return param_.get(index); - } else { - return paramBuilder_.getMessage(index); - } - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder setParam( - int index, com.google.protobuf.Any value) { - if (paramBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParamIsMutable(); - param_.set(index, value); - onChanged(); - } else { - paramBuilder_.setMessage(index, value); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder setParam( - int index, com.google.protobuf.Any.Builder builderForValue) { - if (paramBuilder_ == null) { - ensureParamIsMutable(); - param_.set(index, builderForValue.build()); - onChanged(); - } else { - paramBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder addParam(com.google.protobuf.Any value) { - if (paramBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParamIsMutable(); - param_.add(value); - onChanged(); - } else { - paramBuilder_.addMessage(value); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder addParam( - int index, com.google.protobuf.Any value) { - if (paramBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureParamIsMutable(); - param_.add(index, value); - onChanged(); - } else { - paramBuilder_.addMessage(index, value); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder addParam( - com.google.protobuf.Any.Builder builderForValue) { - if (paramBuilder_ == null) { - ensureParamIsMutable(); - param_.add(builderForValue.build()); - onChanged(); - } else { - paramBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder addParam( - int index, com.google.protobuf.Any.Builder builderForValue) { - if (paramBuilder_ == null) { - ensureParamIsMutable(); - param_.add(index, builderForValue.build()); - onChanged(); - } else { - paramBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder addAllParam( - java.lang.Iterable values) { - if (paramBuilder_ == null) { - ensureParamIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, param_); - onChanged(); - } else { - paramBuilder_.addAllMessages(values); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder clearParam() { - if (paramBuilder_ == null) { - param_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - paramBuilder_.clear(); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public Builder removeParam(int index) { - if (paramBuilder_ == null) { - ensureParamIsMutable(); - param_.remove(index); - onChanged(); - } else { - paramBuilder_.remove(index); - } - return this; - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public com.google.protobuf.Any.Builder getParamBuilder( - int index) { - return getParamFieldBuilder().getBuilder(index); - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public com.google.protobuf.AnyOrBuilder getParamOrBuilder( - int index) { - if (paramBuilder_ == null) { - return param_.get(index); } else { - return paramBuilder_.getMessageOrBuilder(index); - } - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public java.util.List - getParamOrBuilderList() { - if (paramBuilder_ != null) { - return paramBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(param_); - } - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public com.google.protobuf.Any.Builder addParamBuilder() { - return getParamFieldBuilder().addBuilder( - com.google.protobuf.Any.getDefaultInstance()); - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public com.google.protobuf.Any.Builder addParamBuilder( - int index) { - return getParamFieldBuilder().addBuilder( - index, com.google.protobuf.Any.getDefaultInstance()); - } - /** - * repeated .google.protobuf.Any param = 2; - */ - public java.util.List - getParamBuilderList() { - return getParamFieldBuilder().getBuilderList(); - } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> - getParamFieldBuilder() { - if (paramBuilder_ == null) { - paramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( - param_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); - param_ = null; - } - return paramBuilder_; - } - private java.lang.Object version_ = ""; /** *
        * 请求版本.  区分版本. 非必要时不使用 
        * 
* - * string version = 3; + * string version = 2; * @return The version. */ public java.lang.String getVersion() { @@ -1898,7 +1658,7 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @return The bytes for version. */ public com.google.protobuf.ByteString @@ -1919,7 +1679,7 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @param value The version to set. * @return This builder for chaining. */ @@ -1938,7 +1698,7 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @return This builder for chaining. */ public Builder clearVersion() { @@ -1952,7 +1712,7 @@ public final class Base { * 请求版本. 区分版本. 非必要时不使用 * * - * string version = 3; + * string version = 2; * @param value The bytes for version to set. * @return This builder for chaining. */ @@ -1967,6 +1727,246 @@ public final class Base { onChanged(); return this; } + + private java.util.List param_ = + java.util.Collections.emptyList(); + private void ensureParamIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + param_ = new java.util.ArrayList(param_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> paramBuilder_; + + /** + * repeated .google.protobuf.Any param = 3; + */ + public java.util.List getParamList() { + if (paramBuilder_ == null) { + return java.util.Collections.unmodifiableList(param_); + } else { + return paramBuilder_.getMessageList(); + } + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public int getParamCount() { + if (paramBuilder_ == null) { + return param_.size(); + } else { + return paramBuilder_.getCount(); + } + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public com.google.protobuf.Any getParam(int index) { + if (paramBuilder_ == null) { + return param_.get(index); + } else { + return paramBuilder_.getMessage(index); + } + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder setParam( + int index, com.google.protobuf.Any value) { + if (paramBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParamIsMutable(); + param_.set(index, value); + onChanged(); + } else { + paramBuilder_.setMessage(index, value); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder setParam( + int index, com.google.protobuf.Any.Builder builderForValue) { + if (paramBuilder_ == null) { + ensureParamIsMutable(); + param_.set(index, builderForValue.build()); + onChanged(); + } else { + paramBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder addParam(com.google.protobuf.Any value) { + if (paramBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParamIsMutable(); + param_.add(value); + onChanged(); + } else { + paramBuilder_.addMessage(value); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder addParam( + int index, com.google.protobuf.Any value) { + if (paramBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureParamIsMutable(); + param_.add(index, value); + onChanged(); + } else { + paramBuilder_.addMessage(index, value); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder addParam( + com.google.protobuf.Any.Builder builderForValue) { + if (paramBuilder_ == null) { + ensureParamIsMutable(); + param_.add(builderForValue.build()); + onChanged(); + } else { + paramBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder addParam( + int index, com.google.protobuf.Any.Builder builderForValue) { + if (paramBuilder_ == null) { + ensureParamIsMutable(); + param_.add(index, builderForValue.build()); + onChanged(); + } else { + paramBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder addAllParam( + java.lang.Iterable values) { + if (paramBuilder_ == null) { + ensureParamIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, param_); + onChanged(); + } else { + paramBuilder_.addAllMessages(values); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder clearParam() { + if (paramBuilder_ == null) { + param_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + paramBuilder_.clear(); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public Builder removeParam(int index) { + if (paramBuilder_ == null) { + ensureParamIsMutable(); + param_.remove(index); + onChanged(); + } else { + paramBuilder_.remove(index); + } + return this; + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public com.google.protobuf.Any.Builder getParamBuilder( + int index) { + return getParamFieldBuilder().getBuilder(index); + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public com.google.protobuf.AnyOrBuilder getParamOrBuilder( + int index) { + if (paramBuilder_ == null) { + return param_.get(index); } else { + return paramBuilder_.getMessageOrBuilder(index); + } + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public java.util.List + getParamOrBuilderList() { + if (paramBuilder_ != null) { + return paramBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(param_); + } + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public com.google.protobuf.Any.Builder addParamBuilder() { + return getParamFieldBuilder().addBuilder( + com.google.protobuf.Any.getDefaultInstance()); + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public com.google.protobuf.Any.Builder addParamBuilder( + int index) { + return getParamFieldBuilder().addBuilder( + index, com.google.protobuf.Any.getDefaultInstance()); + } + /** + * repeated .google.protobuf.Any param = 3; + */ + public java.util.List + getParamBuilderList() { + return getParamFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder> + getParamFieldBuilder() { + if (paramBuilder_ == null) { + paramBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.protobuf.Any, com.google.protobuf.Any.Builder, com.google.protobuf.AnyOrBuilder>( + param_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + param_ = null; + } + return paramBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1980,10 +1980,10 @@ public final class Base { } - // @@protoc_insertion_point(builder_scope:com.yuandian.dataflow.proto.Request) + // @@protoc_insertion_point(builder_scope:dataflow.Request) } - // @@protoc_insertion_point(class_scope:com.yuandian.dataflow.proto.Request) + // @@protoc_insertion_point(class_scope:dataflow.Request) private static final com.yuandian.dataflow.proto.Base.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.Base.Request(); @@ -2021,15 +2021,15 @@ public final class Base { } private static final com.google.protobuf.Descriptors.Descriptor - internal_static_com_yuandian_dataflow_proto_Response_descriptor; + internal_static_dataflow_Response_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_com_yuandian_dataflow_proto_Response_fieldAccessorTable; + internal_static_dataflow_Response_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor - internal_static_com_yuandian_dataflow_proto_Request_descriptor; + internal_static_dataflow_Request_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_com_yuandian_dataflow_proto_Request_fieldAccessorTable; + internal_static_dataflow_Request_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -2039,38 +2039,34 @@ public final class Base { descriptor; static { java.lang.String[] descriptorData = { - "\n\nBase.proto\022\033com.yuandian.dataflow.prot" + - "o\032\031google/protobuf/any.proto\032\025ApmBaseDat" + - "aFlow.proto\"P\n\010Response\022\014\n\004code\030\001 \001(\005\022\017\n" + - "\007message\030\002 \001(\005\022%\n\007packets\030\004 \003(\0132\024.google" + - ".protobuf.Any\"M\n\007Request\022\014\n\004type\030\001 \001(\005\022#" + - "\n\005param\030\002 \003(\0132\024.google.protobuf.Any\022\017\n\007v" + - "ersion\030\003 \001(\t2s\n\024CollectPacketsServer\022[\n\n" + - "GetPackets\022$.com.yuandian.dataflow.proto" + - ".Request\032%.com.yuandian.dataflow.proto.R" + - "esponse0\001B\037\n\033com.yuandian.dataflow.proto" + - "P\000b\006proto3" + "\n\nBase.proto\022\010dataflow\032\031google/protobuf/" + + "any.proto\"P\n\010Response\022\014\n\004code\030\001 \001(\005\022\017\n\007m" + + "essage\030\002 \001(\005\022%\n\007packets\030\004 \003(\0132\024.google.p" + + "rotobuf.Any\"M\n\007Request\022\014\n\004type\030\001 \001(\005\022\017\n\007" + + "version\030\002 \001(\t\022#\n\005param\030\003 \003(\0132\024.google.pr" + + "otobuf.Any2M\n\024CollectPacketsServer\0225\n\nGe" + + "tPackets\022\021.dataflow.Request\032\022.dataflow.R" + + "esponse0\001B4\n\033com.yuandian.dataflow.proto" + + "P\000Z\023../grpc-gen;grpcgenb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.protobuf.AnyProto.getDescriptor(), - com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.getDescriptor(), }); - internal_static_com_yuandian_dataflow_proto_Response_descriptor = + internal_static_dataflow_Response_descriptor = getDescriptor().getMessageTypes().get(0); - internal_static_com_yuandian_dataflow_proto_Response_fieldAccessorTable = new + internal_static_dataflow_Response_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_yuandian_dataflow_proto_Response_descriptor, + internal_static_dataflow_Response_descriptor, new java.lang.String[] { "Code", "Message", "Packets", }); - internal_static_com_yuandian_dataflow_proto_Request_descriptor = + internal_static_dataflow_Request_descriptor = getDescriptor().getMessageTypes().get(1); - internal_static_com_yuandian_dataflow_proto_Request_fieldAccessorTable = new + internal_static_dataflow_Request_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_com_yuandian_dataflow_proto_Request_descriptor, - new java.lang.String[] { "Type", "Param", "Version", }); + internal_static_dataflow_Request_descriptor, + new java.lang.String[] { "Type", "Version", "Param", }); com.google.protobuf.AnyProto.getDescriptor(); - com.yuandian.dataflow.proto.ApmBaseDataFlowOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/src/main/java/com/yuandian/dataflow/proto/BasicTrafficFlowOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/BasicTrafficFlowOuterClass.java new file mode 100644 index 0000000..6aa2efd --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/BasicTrafficFlowOuterClass.java @@ -0,0 +1,1597 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BasicTrafficFlow.proto + +package com.yuandian.dataflow.proto; + +public final class BasicTrafficFlowOuterClass { + private BasicTrafficFlowOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BasicTrafficFlowOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.BasicTrafficFlow) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + * int32 cap_port = 2; + * @return The capPort. + */ + int getCapPort(); + + /** + * int32 request_port = 3; + * @return The requestPort. + */ + int getRequestPort(); + + /** + * int32 response_port = 4; + * @return The responsePort. + */ + int getResponsePort(); + + /** + * int32 request_ip = 5; + * @return The requestIp. + */ + int getRequestIp(); + + /** + * int32 response_ip = 6; + * @return The responseIp. + */ + int getResponseIp(); + + /** + * int32 start_time = 7; + * @return The startTime. + */ + int getStartTime(); + + /** + * int32 total_bytes = 8; + * @return The totalBytes. + */ + int getTotalBytes(); + + /** + * int32 total_packets = 9; + * @return The totalPackets. + */ + int getTotalPackets(); + + /** + * int32 spackets64 = 10; + * @return The spackets64. + */ + int getSpackets64(); + + /** + * int32 spackets128 = 11; + * @return The spackets128. + */ + int getSpackets128(); + + /** + * int32 spackets256 = 12; + * @return The spackets256. + */ + int getSpackets256(); + + /** + * int32 spackets512 = 13; + * @return The spackets512. + */ + int getSpackets512(); + + /** + * int32 spackets1024 = 14; + * @return The spackets1024. + */ + int getSpackets1024(); + + /** + * int32 spackets = 15; + * @return The spackets. + */ + int getSpackets(); + + /** + * int32 send_time = 16; + * @return The sendTime. + */ + int getSendTime(); + } + /** + * Protobuf type {@code dataflow.BasicTrafficFlow} + */ + public static final class BasicTrafficFlow extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.BasicTrafficFlow) + BasicTrafficFlowOrBuilder { + private static final long serialVersionUID = 0L; + // Use BasicTrafficFlow.newBuilder() to construct. + private BasicTrafficFlow(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BasicTrafficFlow() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BasicTrafficFlow(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BasicTrafficFlow( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 16: { + + capPort_ = input.readInt32(); + break; + } + case 24: { + + requestPort_ = input.readInt32(); + break; + } + case 32: { + + responsePort_ = input.readInt32(); + break; + } + case 40: { + + requestIp_ = input.readInt32(); + break; + } + case 48: { + + responseIp_ = input.readInt32(); + break; + } + case 56: { + + startTime_ = input.readInt32(); + break; + } + case 64: { + + totalBytes_ = input.readInt32(); + break; + } + case 72: { + + totalPackets_ = input.readInt32(); + break; + } + case 80: { + + spackets64_ = input.readInt32(); + break; + } + case 88: { + + spackets128_ = input.readInt32(); + break; + } + case 96: { + + spackets256_ = input.readInt32(); + break; + } + case 104: { + + spackets512_ = input.readInt32(); + break; + } + case 112: { + + spackets1024_ = input.readInt32(); + break; + } + case 120: { + + spackets_ = input.readInt32(); + break; + } + case 128: { + + sendTime_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.internal_static_dataflow_BasicTrafficFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.internal_static_dataflow_BasicTrafficFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.class, com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int CAP_PORT_FIELD_NUMBER = 2; + private int capPort_; + /** + * int32 cap_port = 2; + * @return The capPort. + */ + @java.lang.Override + public int getCapPort() { + return capPort_; + } + + public static final int REQUEST_PORT_FIELD_NUMBER = 3; + private int requestPort_; + /** + * int32 request_port = 3; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + + public static final int RESPONSE_PORT_FIELD_NUMBER = 4; + private int responsePort_; + /** + * int32 response_port = 4; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + + public static final int REQUEST_IP_FIELD_NUMBER = 5; + private int requestIp_; + /** + * int32 request_ip = 5; + * @return The requestIp. + */ + @java.lang.Override + public int getRequestIp() { + return requestIp_; + } + + public static final int RESPONSE_IP_FIELD_NUMBER = 6; + private int responseIp_; + /** + * int32 response_ip = 6; + * @return The responseIp. + */ + @java.lang.Override + public int getResponseIp() { + return responseIp_; + } + + public static final int START_TIME_FIELD_NUMBER = 7; + private int startTime_; + /** + * int32 start_time = 7; + * @return The startTime. + */ + @java.lang.Override + public int getStartTime() { + return startTime_; + } + + public static final int TOTAL_BYTES_FIELD_NUMBER = 8; + private int totalBytes_; + /** + * int32 total_bytes = 8; + * @return The totalBytes. + */ + @java.lang.Override + public int getTotalBytes() { + return totalBytes_; + } + + public static final int TOTAL_PACKETS_FIELD_NUMBER = 9; + private int totalPackets_; + /** + * int32 total_packets = 9; + * @return The totalPackets. + */ + @java.lang.Override + public int getTotalPackets() { + return totalPackets_; + } + + public static final int SPACKETS64_FIELD_NUMBER = 10; + private int spackets64_; + /** + * int32 spackets64 = 10; + * @return The spackets64. + */ + @java.lang.Override + public int getSpackets64() { + return spackets64_; + } + + public static final int SPACKETS128_FIELD_NUMBER = 11; + private int spackets128_; + /** + * int32 spackets128 = 11; + * @return The spackets128. + */ + @java.lang.Override + public int getSpackets128() { + return spackets128_; + } + + public static final int SPACKETS256_FIELD_NUMBER = 12; + private int spackets256_; + /** + * int32 spackets256 = 12; + * @return The spackets256. + */ + @java.lang.Override + public int getSpackets256() { + return spackets256_; + } + + public static final int SPACKETS512_FIELD_NUMBER = 13; + private int spackets512_; + /** + * int32 spackets512 = 13; + * @return The spackets512. + */ + @java.lang.Override + public int getSpackets512() { + return spackets512_; + } + + public static final int SPACKETS1024_FIELD_NUMBER = 14; + private int spackets1024_; + /** + * int32 spackets1024 = 14; + * @return The spackets1024. + */ + @java.lang.Override + public int getSpackets1024() { + return spackets1024_; + } + + public static final int SPACKETS_FIELD_NUMBER = 15; + private int spackets_; + /** + * int32 spackets = 15; + * @return The spackets. + */ + @java.lang.Override + public int getSpackets() { + return spackets_; + } + + public static final int SEND_TIME_FIELD_NUMBER = 16; + private int sendTime_; + /** + * int32 send_time = 16; + * @return The sendTime. + */ + @java.lang.Override + public int getSendTime() { + return sendTime_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (capPort_ != 0) { + output.writeInt32(2, capPort_); + } + if (requestPort_ != 0) { + output.writeInt32(3, requestPort_); + } + if (responsePort_ != 0) { + output.writeInt32(4, responsePort_); + } + if (requestIp_ != 0) { + output.writeInt32(5, requestIp_); + } + if (responseIp_ != 0) { + output.writeInt32(6, responseIp_); + } + if (startTime_ != 0) { + output.writeInt32(7, startTime_); + } + if (totalBytes_ != 0) { + output.writeInt32(8, totalBytes_); + } + if (totalPackets_ != 0) { + output.writeInt32(9, totalPackets_); + } + if (spackets64_ != 0) { + output.writeInt32(10, spackets64_); + } + if (spackets128_ != 0) { + output.writeInt32(11, spackets128_); + } + if (spackets256_ != 0) { + output.writeInt32(12, spackets256_); + } + if (spackets512_ != 0) { + output.writeInt32(13, spackets512_); + } + if (spackets1024_ != 0) { + output.writeInt32(14, spackets1024_); + } + if (spackets_ != 0) { + output.writeInt32(15, spackets_); + } + if (sendTime_ != 0) { + output.writeInt32(16, sendTime_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (capPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, capPort_); + } + if (requestPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, requestPort_); + } + if (responsePort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, responsePort_); + } + if (requestIp_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, requestIp_); + } + if (responseIp_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, responseIp_); + } + if (startTime_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(7, startTime_); + } + if (totalBytes_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, totalBytes_); + } + if (totalPackets_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(9, totalPackets_); + } + if (spackets64_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(10, spackets64_); + } + if (spackets128_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(11, spackets128_); + } + if (spackets256_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, spackets256_); + } + if (spackets512_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(13, spackets512_); + } + if (spackets1024_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, spackets1024_); + } + if (spackets_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(15, spackets_); + } + if (sendTime_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(16, sendTime_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow other = (com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow) obj; + + if (getTableId() + != other.getTableId()) return false; + if (getCapPort() + != other.getCapPort()) return false; + if (getRequestPort() + != other.getRequestPort()) return false; + if (getResponsePort() + != other.getResponsePort()) return false; + if (getRequestIp() + != other.getRequestIp()) return false; + if (getResponseIp() + != other.getResponseIp()) return false; + if (getStartTime() + != other.getStartTime()) return false; + if (getTotalBytes() + != other.getTotalBytes()) return false; + if (getTotalPackets() + != other.getTotalPackets()) return false; + if (getSpackets64() + != other.getSpackets64()) return false; + if (getSpackets128() + != other.getSpackets128()) return false; + if (getSpackets256() + != other.getSpackets256()) return false; + if (getSpackets512() + != other.getSpackets512()) return false; + if (getSpackets1024() + != other.getSpackets1024()) return false; + if (getSpackets() + != other.getSpackets()) return false; + if (getSendTime() + != other.getSendTime()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + CAP_PORT_FIELD_NUMBER; + hash = (53 * hash) + getCapPort(); + hash = (37 * hash) + REQUEST_PORT_FIELD_NUMBER; + hash = (53 * hash) + getRequestPort(); + hash = (37 * hash) + RESPONSE_PORT_FIELD_NUMBER; + hash = (53 * hash) + getResponsePort(); + hash = (37 * hash) + REQUEST_IP_FIELD_NUMBER; + hash = (53 * hash) + getRequestIp(); + hash = (37 * hash) + RESPONSE_IP_FIELD_NUMBER; + hash = (53 * hash) + getResponseIp(); + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime(); + hash = (37 * hash) + TOTAL_BYTES_FIELD_NUMBER; + hash = (53 * hash) + getTotalBytes(); + hash = (37 * hash) + TOTAL_PACKETS_FIELD_NUMBER; + hash = (53 * hash) + getTotalPackets(); + hash = (37 * hash) + SPACKETS64_FIELD_NUMBER; + hash = (53 * hash) + getSpackets64(); + hash = (37 * hash) + SPACKETS128_FIELD_NUMBER; + hash = (53 * hash) + getSpackets128(); + hash = (37 * hash) + SPACKETS256_FIELD_NUMBER; + hash = (53 * hash) + getSpackets256(); + hash = (37 * hash) + SPACKETS512_FIELD_NUMBER; + hash = (53 * hash) + getSpackets512(); + hash = (37 * hash) + SPACKETS1024_FIELD_NUMBER; + hash = (53 * hash) + getSpackets1024(); + hash = (37 * hash) + SPACKETS_FIELD_NUMBER; + hash = (53 * hash) + getSpackets(); + hash = (37 * hash) + SEND_TIME_FIELD_NUMBER; + hash = (53 * hash) + getSendTime(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.BasicTrafficFlow} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.BasicTrafficFlow) + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlowOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.internal_static_dataflow_BasicTrafficFlow_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.internal_static_dataflow_BasicTrafficFlow_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.class, com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + capPort_ = 0; + + requestPort_ = 0; + + responsePort_ = 0; + + requestIp_ = 0; + + responseIp_ = 0; + + startTime_ = 0; + + totalBytes_ = 0; + + totalPackets_ = 0; + + spackets64_ = 0; + + spackets128_ = 0; + + spackets256_ = 0; + + spackets512_ = 0; + + spackets1024_ = 0; + + spackets_ = 0; + + sendTime_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.internal_static_dataflow_BasicTrafficFlow_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow build() { + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow buildPartial() { + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow result = new com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow(this); + result.tableId_ = tableId_; + result.capPort_ = capPort_; + result.requestPort_ = requestPort_; + result.responsePort_ = responsePort_; + result.requestIp_ = requestIp_; + result.responseIp_ = responseIp_; + result.startTime_ = startTime_; + result.totalBytes_ = totalBytes_; + result.totalPackets_ = totalPackets_; + result.spackets64_ = spackets64_; + result.spackets128_ = spackets128_; + result.spackets256_ = spackets256_; + result.spackets512_ = spackets512_; + result.spackets1024_ = spackets1024_; + result.spackets_ = spackets_; + result.sendTime_ = sendTime_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow) { + return mergeFrom((com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow other) { + if (other == com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (other.getCapPort() != 0) { + setCapPort(other.getCapPort()); + } + if (other.getRequestPort() != 0) { + setRequestPort(other.getRequestPort()); + } + if (other.getResponsePort() != 0) { + setResponsePort(other.getResponsePort()); + } + if (other.getRequestIp() != 0) { + setRequestIp(other.getRequestIp()); + } + if (other.getResponseIp() != 0) { + setResponseIp(other.getResponseIp()); + } + if (other.getStartTime() != 0) { + setStartTime(other.getStartTime()); + } + if (other.getTotalBytes() != 0) { + setTotalBytes(other.getTotalBytes()); + } + if (other.getTotalPackets() != 0) { + setTotalPackets(other.getTotalPackets()); + } + if (other.getSpackets64() != 0) { + setSpackets64(other.getSpackets64()); + } + if (other.getSpackets128() != 0) { + setSpackets128(other.getSpackets128()); + } + if (other.getSpackets256() != 0) { + setSpackets256(other.getSpackets256()); + } + if (other.getSpackets512() != 0) { + setSpackets512(other.getSpackets512()); + } + if (other.getSpackets1024() != 0) { + setSpackets1024(other.getSpackets1024()); + } + if (other.getSpackets() != 0) { + setSpackets(other.getSpackets()); + } + if (other.getSendTime() != 0) { + setSendTime(other.getSendTime()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private int capPort_ ; + /** + * int32 cap_port = 2; + * @return The capPort. + */ + @java.lang.Override + public int getCapPort() { + return capPort_; + } + /** + * int32 cap_port = 2; + * @param value The capPort to set. + * @return This builder for chaining. + */ + public Builder setCapPort(int value) { + + capPort_ = value; + onChanged(); + return this; + } + /** + * int32 cap_port = 2; + * @return This builder for chaining. + */ + public Builder clearCapPort() { + + capPort_ = 0; + onChanged(); + return this; + } + + private int requestPort_ ; + /** + * int32 request_port = 3; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + /** + * int32 request_port = 3; + * @param value The requestPort to set. + * @return This builder for chaining. + */ + public Builder setRequestPort(int value) { + + requestPort_ = value; + onChanged(); + return this; + } + /** + * int32 request_port = 3; + * @return This builder for chaining. + */ + public Builder clearRequestPort() { + + requestPort_ = 0; + onChanged(); + return this; + } + + private int responsePort_ ; + /** + * int32 response_port = 4; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + /** + * int32 response_port = 4; + * @param value The responsePort to set. + * @return This builder for chaining. + */ + public Builder setResponsePort(int value) { + + responsePort_ = value; + onChanged(); + return this; + } + /** + * int32 response_port = 4; + * @return This builder for chaining. + */ + public Builder clearResponsePort() { + + responsePort_ = 0; + onChanged(); + return this; + } + + private int requestIp_ ; + /** + * int32 request_ip = 5; + * @return The requestIp. + */ + @java.lang.Override + public int getRequestIp() { + return requestIp_; + } + /** + * int32 request_ip = 5; + * @param value The requestIp to set. + * @return This builder for chaining. + */ + public Builder setRequestIp(int value) { + + requestIp_ = value; + onChanged(); + return this; + } + /** + * int32 request_ip = 5; + * @return This builder for chaining. + */ + public Builder clearRequestIp() { + + requestIp_ = 0; + onChanged(); + return this; + } + + private int responseIp_ ; + /** + * int32 response_ip = 6; + * @return The responseIp. + */ + @java.lang.Override + public int getResponseIp() { + return responseIp_; + } + /** + * int32 response_ip = 6; + * @param value The responseIp to set. + * @return This builder for chaining. + */ + public Builder setResponseIp(int value) { + + responseIp_ = value; + onChanged(); + return this; + } + /** + * int32 response_ip = 6; + * @return This builder for chaining. + */ + public Builder clearResponseIp() { + + responseIp_ = 0; + onChanged(); + return this; + } + + private int startTime_ ; + /** + * int32 start_time = 7; + * @return The startTime. + */ + @java.lang.Override + public int getStartTime() { + return startTime_; + } + /** + * int32 start_time = 7; + * @param value The startTime to set. + * @return This builder for chaining. + */ + public Builder setStartTime(int value) { + + startTime_ = value; + onChanged(); + return this; + } + /** + * int32 start_time = 7; + * @return This builder for chaining. + */ + public Builder clearStartTime() { + + startTime_ = 0; + onChanged(); + return this; + } + + private int totalBytes_ ; + /** + * int32 total_bytes = 8; + * @return The totalBytes. + */ + @java.lang.Override + public int getTotalBytes() { + return totalBytes_; + } + /** + * int32 total_bytes = 8; + * @param value The totalBytes to set. + * @return This builder for chaining. + */ + public Builder setTotalBytes(int value) { + + totalBytes_ = value; + onChanged(); + return this; + } + /** + * int32 total_bytes = 8; + * @return This builder for chaining. + */ + public Builder clearTotalBytes() { + + totalBytes_ = 0; + onChanged(); + return this; + } + + private int totalPackets_ ; + /** + * int32 total_packets = 9; + * @return The totalPackets. + */ + @java.lang.Override + public int getTotalPackets() { + return totalPackets_; + } + /** + * int32 total_packets = 9; + * @param value The totalPackets to set. + * @return This builder for chaining. + */ + public Builder setTotalPackets(int value) { + + totalPackets_ = value; + onChanged(); + return this; + } + /** + * int32 total_packets = 9; + * @return This builder for chaining. + */ + public Builder clearTotalPackets() { + + totalPackets_ = 0; + onChanged(); + return this; + } + + private int spackets64_ ; + /** + * int32 spackets64 = 10; + * @return The spackets64. + */ + @java.lang.Override + public int getSpackets64() { + return spackets64_; + } + /** + * int32 spackets64 = 10; + * @param value The spackets64 to set. + * @return This builder for chaining. + */ + public Builder setSpackets64(int value) { + + spackets64_ = value; + onChanged(); + return this; + } + /** + * int32 spackets64 = 10; + * @return This builder for chaining. + */ + public Builder clearSpackets64() { + + spackets64_ = 0; + onChanged(); + return this; + } + + private int spackets128_ ; + /** + * int32 spackets128 = 11; + * @return The spackets128. + */ + @java.lang.Override + public int getSpackets128() { + return spackets128_; + } + /** + * int32 spackets128 = 11; + * @param value The spackets128 to set. + * @return This builder for chaining. + */ + public Builder setSpackets128(int value) { + + spackets128_ = value; + onChanged(); + return this; + } + /** + * int32 spackets128 = 11; + * @return This builder for chaining. + */ + public Builder clearSpackets128() { + + spackets128_ = 0; + onChanged(); + return this; + } + + private int spackets256_ ; + /** + * int32 spackets256 = 12; + * @return The spackets256. + */ + @java.lang.Override + public int getSpackets256() { + return spackets256_; + } + /** + * int32 spackets256 = 12; + * @param value The spackets256 to set. + * @return This builder for chaining. + */ + public Builder setSpackets256(int value) { + + spackets256_ = value; + onChanged(); + return this; + } + /** + * int32 spackets256 = 12; + * @return This builder for chaining. + */ + public Builder clearSpackets256() { + + spackets256_ = 0; + onChanged(); + return this; + } + + private int spackets512_ ; + /** + * int32 spackets512 = 13; + * @return The spackets512. + */ + @java.lang.Override + public int getSpackets512() { + return spackets512_; + } + /** + * int32 spackets512 = 13; + * @param value The spackets512 to set. + * @return This builder for chaining. + */ + public Builder setSpackets512(int value) { + + spackets512_ = value; + onChanged(); + return this; + } + /** + * int32 spackets512 = 13; + * @return This builder for chaining. + */ + public Builder clearSpackets512() { + + spackets512_ = 0; + onChanged(); + return this; + } + + private int spackets1024_ ; + /** + * int32 spackets1024 = 14; + * @return The spackets1024. + */ + @java.lang.Override + public int getSpackets1024() { + return spackets1024_; + } + /** + * int32 spackets1024 = 14; + * @param value The spackets1024 to set. + * @return This builder for chaining. + */ + public Builder setSpackets1024(int value) { + + spackets1024_ = value; + onChanged(); + return this; + } + /** + * int32 spackets1024 = 14; + * @return This builder for chaining. + */ + public Builder clearSpackets1024() { + + spackets1024_ = 0; + onChanged(); + return this; + } + + private int spackets_ ; + /** + * int32 spackets = 15; + * @return The spackets. + */ + @java.lang.Override + public int getSpackets() { + return spackets_; + } + /** + * int32 spackets = 15; + * @param value The spackets to set. + * @return This builder for chaining. + */ + public Builder setSpackets(int value) { + + spackets_ = value; + onChanged(); + return this; + } + /** + * int32 spackets = 15; + * @return This builder for chaining. + */ + public Builder clearSpackets() { + + spackets_ = 0; + onChanged(); + return this; + } + + private int sendTime_ ; + /** + * int32 send_time = 16; + * @return The sendTime. + */ + @java.lang.Override + public int getSendTime() { + return sendTime_; + } + /** + * int32 send_time = 16; + * @param value The sendTime to set. + * @return This builder for chaining. + */ + public Builder setSendTime(int value) { + + sendTime_ = value; + onChanged(); + return this; + } + /** + * int32 send_time = 16; + * @return This builder for chaining. + */ + public Builder clearSendTime() { + + sendTime_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.BasicTrafficFlow) + } + + // @@protoc_insertion_point(class_scope:dataflow.BasicTrafficFlow) + private static final com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow(); + } + + public static com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BasicTrafficFlow parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BasicTrafficFlow(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BasicTrafficFlowOuterClass.BasicTrafficFlow getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_BasicTrafficFlow_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_BasicTrafficFlow_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\026BasicTrafficFlow.proto\022\010dataflow\"\332\002\n\020B" + + "asicTrafficFlow\022\020\n\010table_id\030\001 \001(\005\022\020\n\010cap" + + "_port\030\002 \001(\005\022\024\n\014request_port\030\003 \001(\005\022\025\n\rres" + + "ponse_port\030\004 \001(\005\022\022\n\nrequest_ip\030\005 \001(\005\022\023\n\013" + + "response_ip\030\006 \001(\005\022\022\n\nstart_time\030\007 \001(\005\022\023\n" + + "\013total_bytes\030\010 \001(\005\022\025\n\rtotal_packets\030\t \001(" + + "\005\022\022\n\nspackets64\030\n \001(\005\022\023\n\013spackets128\030\013 \001" + + "(\005\022\023\n\013spackets256\030\014 \001(\005\022\023\n\013spackets512\030\r" + + " \001(\005\022\024\n\014spackets1024\030\016 \001(\005\022\020\n\010spackets\030\017" + + " \001(\005\022\021\n\tsend_time\030\020 \001(\005B2\n\033com.yuandian." + + "dataflow.protoZ\023../grpc-gen;grpcgenb\006pro" + + "to3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_BasicTrafficFlow_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_BasicTrafficFlow_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_BasicTrafficFlow_descriptor, + new java.lang.String[] { "TableId", "CapPort", "RequestPort", "ResponsePort", "RequestIp", "ResponseIp", "StartTime", "TotalBytes", "TotalPackets", "Spackets64", "Spackets128", "Spackets256", "Spackets512", "Spackets1024", "Spackets", "SendTime", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/BusinessBodyDataOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/BusinessBodyDataOuterClass.java new file mode 100644 index 0000000..e1427f7 --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/BusinessBodyDataOuterClass.java @@ -0,0 +1,2465 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BusinessBodyData.proto + +package com.yuandian.dataflow.proto; + +public final class BusinessBodyDataOuterClass { + private BusinessBodyDataOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BusinessBodyDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.BusinessBodyData) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + * string relvance_data_id = 2; + * @return The relvanceDataId. + */ + java.lang.String getRelvanceDataId(); + /** + * string relvance_data_id = 2; + * @return The bytes for relvanceDataId. + */ + com.google.protobuf.ByteString + getRelvanceDataIdBytes(); + + /** + * int64 request_ip = 3; + * @return The requestIp. + */ + long getRequestIp(); + + /** + * int32 request_port = 4; + * @return The requestPort. + */ + int getRequestPort(); + + /** + * int64 response_ip = 5; + * @return The responseIp. + */ + long getResponseIp(); + + /** + * int32 response_port = 6; + * @return The responsePort. + */ + int getResponsePort(); + + /** + *
+     *开始时间秒
+     * 
+ * + * int64 start_tv_sec = 7; + * @return The startTvSec. + */ + long getStartTvSec(); + + /** + *
+     *开始时间毫秒
+     * 
+ * + * int64 start_tv_usec = 8; + * @return The startTvUsec. + */ + long getStartTvUsec(); + + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 9; + * @return The endTvSec. + */ + long getEndTvSec(); + + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 10; + * @return The endTvUsec. + */ + long getEndTvUsec(); + + /** + * string resource_code = 11; + * @return The resourceCode. + */ + java.lang.String getResourceCode(); + /** + * string resource_code = 11; + * @return The bytes for resourceCode. + */ + com.google.protobuf.ByteString + getResourceCodeBytes(); + + /** + * string no_parameter_recognition = 12; + * @return The noParameterRecognition. + */ + java.lang.String getNoParameterRecognition(); + /** + * string no_parameter_recognition = 12; + * @return The bytes for noParameterRecognition. + */ + com.google.protobuf.ByteString + getNoParameterRecognitionBytes(); + + /** + * string original_recognition = 13; + * @return The originalRecognition. + */ + java.lang.String getOriginalRecognition(); + /** + * string original_recognition = 13; + * @return The bytes for originalRecognition. + */ + com.google.protobuf.ByteString + getOriginalRecognitionBytes(); + + /** + * string request_cookie = 14; + * @return The requestCookie. + */ + java.lang.String getRequestCookie(); + /** + * string request_cookie = 14; + * @return The bytes for requestCookie. + */ + com.google.protobuf.ByteString + getRequestCookieBytes(); + + /** + * string request_body_context = 15; + * @return The requestBodyContext. + */ + java.lang.String getRequestBodyContext(); + /** + * string request_body_context = 15; + * @return The bytes for requestBodyContext. + */ + com.google.protobuf.ByteString + getRequestBodyContextBytes(); + + /** + * string response_body_context = 16; + * @return The responseBodyContext. + */ + java.lang.String getResponseBodyContext(); + /** + * string response_body_context = 16; + * @return The bytes for responseBodyContext. + */ + com.google.protobuf.ByteString + getResponseBodyContextBytes(); + + /** + * int32 filter_id = 17; + * @return The filterId. + */ + int getFilterId(); + + /** + * string business_detail_mesg = 18; + * @return The businessDetailMesg. + */ + java.lang.String getBusinessDetailMesg(); + /** + * string business_detail_mesg = 18; + * @return The bytes for businessDetailMesg. + */ + com.google.protobuf.ByteString + getBusinessDetailMesgBytes(); + } + /** + * Protobuf type {@code dataflow.BusinessBodyData} + */ + public static final class BusinessBodyData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.BusinessBodyData) + BusinessBodyDataOrBuilder { + private static final long serialVersionUID = 0L; + // Use BusinessBodyData.newBuilder() to construct. + private BusinessBodyData(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BusinessBodyData() { + relvanceDataId_ = ""; + resourceCode_ = ""; + noParameterRecognition_ = ""; + originalRecognition_ = ""; + requestCookie_ = ""; + requestBodyContext_ = ""; + responseBodyContext_ = ""; + businessDetailMesg_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BusinessBodyData(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BusinessBodyData( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + relvanceDataId_ = s; + break; + } + case 24: { + + requestIp_ = input.readInt64(); + break; + } + case 32: { + + requestPort_ = input.readInt32(); + break; + } + case 40: { + + responseIp_ = input.readInt64(); + break; + } + case 48: { + + responsePort_ = input.readInt32(); + break; + } + case 56: { + + startTvSec_ = input.readInt64(); + break; + } + case 64: { + + startTvUsec_ = input.readInt64(); + break; + } + case 72: { + + endTvSec_ = input.readInt64(); + break; + } + case 80: { + + endTvUsec_ = input.readInt64(); + break; + } + case 90: { + java.lang.String s = input.readStringRequireUtf8(); + + resourceCode_ = s; + break; + } + case 98: { + java.lang.String s = input.readStringRequireUtf8(); + + noParameterRecognition_ = s; + break; + } + case 106: { + java.lang.String s = input.readStringRequireUtf8(); + + originalRecognition_ = s; + break; + } + case 114: { + java.lang.String s = input.readStringRequireUtf8(); + + requestCookie_ = s; + break; + } + case 122: { + java.lang.String s = input.readStringRequireUtf8(); + + requestBodyContext_ = s; + break; + } + case 130: { + java.lang.String s = input.readStringRequireUtf8(); + + responseBodyContext_ = s; + break; + } + case 136: { + + filterId_ = input.readInt32(); + break; + } + case 146: { + java.lang.String s = input.readStringRequireUtf8(); + + businessDetailMesg_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.internal_static_dataflow_BusinessBodyData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.internal_static_dataflow_BusinessBodyData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.class, com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int RELVANCE_DATA_ID_FIELD_NUMBER = 2; + private volatile java.lang.Object relvanceDataId_; + /** + * string relvance_data_id = 2; + * @return The relvanceDataId. + */ + @java.lang.Override + public java.lang.String getRelvanceDataId() { + java.lang.Object ref = relvanceDataId_; + 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(); + relvanceDataId_ = s; + return s; + } + } + /** + * string relvance_data_id = 2; + * @return The bytes for relvanceDataId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRelvanceDataIdBytes() { + java.lang.Object ref = relvanceDataId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + relvanceDataId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_IP_FIELD_NUMBER = 3; + private long requestIp_; + /** + * int64 request_ip = 3; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + + public static final int REQUEST_PORT_FIELD_NUMBER = 4; + private int requestPort_; + /** + * int32 request_port = 4; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + + public static final int RESPONSE_IP_FIELD_NUMBER = 5; + private long responseIp_; + /** + * int64 response_ip = 5; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + + public static final int RESPONSE_PORT_FIELD_NUMBER = 6; + private int responsePort_; + /** + * int32 response_port = 6; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + + public static final int START_TV_SEC_FIELD_NUMBER = 7; + private long startTvSec_; + /** + *
+     *开始时间秒
+     * 
+ * + * int64 start_tv_sec = 7; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + + public static final int START_TV_USEC_FIELD_NUMBER = 8; + private long startTvUsec_; + /** + *
+     *开始时间毫秒
+     * 
+ * + * int64 start_tv_usec = 8; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + + public static final int END_TV_SEC_FIELD_NUMBER = 9; + private long endTvSec_; + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 9; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + + public static final int END_TV_USEC_FIELD_NUMBER = 10; + private long endTvUsec_; + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 10; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + + public static final int RESOURCE_CODE_FIELD_NUMBER = 11; + private volatile java.lang.Object resourceCode_; + /** + * string resource_code = 11; + * @return The resourceCode. + */ + @java.lang.Override + public java.lang.String getResourceCode() { + java.lang.Object ref = resourceCode_; + 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(); + resourceCode_ = s; + return s; + } + } + /** + * string resource_code = 11; + * @return The bytes for resourceCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResourceCodeBytes() { + java.lang.Object ref = resourceCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NO_PARAMETER_RECOGNITION_FIELD_NUMBER = 12; + private volatile java.lang.Object noParameterRecognition_; + /** + * string no_parameter_recognition = 12; + * @return The noParameterRecognition. + */ + @java.lang.Override + public java.lang.String getNoParameterRecognition() { + java.lang.Object ref = noParameterRecognition_; + 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(); + noParameterRecognition_ = s; + return s; + } + } + /** + * string no_parameter_recognition = 12; + * @return The bytes for noParameterRecognition. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNoParameterRecognitionBytes() { + java.lang.Object ref = noParameterRecognition_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + noParameterRecognition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORIGINAL_RECOGNITION_FIELD_NUMBER = 13; + private volatile java.lang.Object originalRecognition_; + /** + * string original_recognition = 13; + * @return The originalRecognition. + */ + @java.lang.Override + public java.lang.String getOriginalRecognition() { + java.lang.Object ref = originalRecognition_; + 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(); + originalRecognition_ = s; + return s; + } + } + /** + * string original_recognition = 13; + * @return The bytes for originalRecognition. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOriginalRecognitionBytes() { + java.lang.Object ref = originalRecognition_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + originalRecognition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_COOKIE_FIELD_NUMBER = 14; + private volatile java.lang.Object requestCookie_; + /** + * string request_cookie = 14; + * @return The requestCookie. + */ + @java.lang.Override + public java.lang.String getRequestCookie() { + java.lang.Object ref = requestCookie_; + 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(); + requestCookie_ = s; + return s; + } + } + /** + * string request_cookie = 14; + * @return The bytes for requestCookie. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestCookieBytes() { + java.lang.Object ref = requestCookie_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestCookie_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_BODY_CONTEXT_FIELD_NUMBER = 15; + private volatile java.lang.Object requestBodyContext_; + /** + * string request_body_context = 15; + * @return The requestBodyContext. + */ + @java.lang.Override + public java.lang.String getRequestBodyContext() { + java.lang.Object ref = requestBodyContext_; + 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(); + requestBodyContext_ = s; + return s; + } + } + /** + * string request_body_context = 15; + * @return The bytes for requestBodyContext. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestBodyContextBytes() { + java.lang.Object ref = requestBodyContext_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestBodyContext_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPONSE_BODY_CONTEXT_FIELD_NUMBER = 16; + private volatile java.lang.Object responseBodyContext_; + /** + * string response_body_context = 16; + * @return The responseBodyContext. + */ + @java.lang.Override + public java.lang.String getResponseBodyContext() { + java.lang.Object ref = responseBodyContext_; + 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(); + responseBodyContext_ = s; + return s; + } + } + /** + * string response_body_context = 16; + * @return The bytes for responseBodyContext. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResponseBodyContextBytes() { + java.lang.Object ref = responseBodyContext_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + responseBodyContext_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_ID_FIELD_NUMBER = 17; + private int filterId_; + /** + * int32 filter_id = 17; + * @return The filterId. + */ + @java.lang.Override + public int getFilterId() { + return filterId_; + } + + public static final int BUSINESS_DETAIL_MESG_FIELD_NUMBER = 18; + private volatile java.lang.Object businessDetailMesg_; + /** + * string business_detail_mesg = 18; + * @return The businessDetailMesg. + */ + @java.lang.Override + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + 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(); + businessDetailMesg_ = s; + return s; + } + } + /** + * string business_detail_mesg = 18; + * @return The bytes for businessDetailMesg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relvanceDataId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, relvanceDataId_); + } + if (requestIp_ != 0L) { + output.writeInt64(3, requestIp_); + } + if (requestPort_ != 0) { + output.writeInt32(4, requestPort_); + } + if (responseIp_ != 0L) { + output.writeInt64(5, responseIp_); + } + if (responsePort_ != 0) { + output.writeInt32(6, responsePort_); + } + if (startTvSec_ != 0L) { + output.writeInt64(7, startTvSec_); + } + if (startTvUsec_ != 0L) { + output.writeInt64(8, startTvUsec_); + } + if (endTvSec_ != 0L) { + output.writeInt64(9, endTvSec_); + } + if (endTvUsec_ != 0L) { + output.writeInt64(10, endTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 11, resourceCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noParameterRecognition_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, noParameterRecognition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originalRecognition_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, originalRecognition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestCookie_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, requestCookie_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestBodyContext_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, requestBodyContext_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseBodyContext_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, responseBodyContext_); + } + if (filterId_ != 0) { + output.writeInt32(17, filterId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, businessDetailMesg_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(relvanceDataId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, relvanceDataId_); + } + if (requestIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, requestIp_); + } + if (requestPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, requestPort_); + } + if (responseIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(5, responseIp_); + } + if (responsePort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(6, responsePort_); + } + if (startTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, startTvSec_); + } + if (startTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(8, startTvUsec_); + } + if (endTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(9, endTvSec_); + } + if (endTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(10, endTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, resourceCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(noParameterRecognition_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, noParameterRecognition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(originalRecognition_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, originalRecognition_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestCookie_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, requestCookie_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestBodyContext_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, requestBodyContext_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseBodyContext_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, responseBodyContext_); + } + if (filterId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(17, filterId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, businessDetailMesg_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData other = (com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData) obj; + + if (getTableId() + != other.getTableId()) return false; + if (!getRelvanceDataId() + .equals(other.getRelvanceDataId())) return false; + if (getRequestIp() + != other.getRequestIp()) return false; + if (getRequestPort() + != other.getRequestPort()) return false; + if (getResponseIp() + != other.getResponseIp()) return false; + if (getResponsePort() + != other.getResponsePort()) return false; + if (getStartTvSec() + != other.getStartTvSec()) return false; + if (getStartTvUsec() + != other.getStartTvUsec()) return false; + if (getEndTvSec() + != other.getEndTvSec()) return false; + if (getEndTvUsec() + != other.getEndTvUsec()) return false; + if (!getResourceCode() + .equals(other.getResourceCode())) return false; + if (!getNoParameterRecognition() + .equals(other.getNoParameterRecognition())) return false; + if (!getOriginalRecognition() + .equals(other.getOriginalRecognition())) return false; + if (!getRequestCookie() + .equals(other.getRequestCookie())) return false; + if (!getRequestBodyContext() + .equals(other.getRequestBodyContext())) return false; + if (!getResponseBodyContext() + .equals(other.getResponseBodyContext())) return false; + if (getFilterId() + != other.getFilterId()) return false; + if (!getBusinessDetailMesg() + .equals(other.getBusinessDetailMesg())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + RELVANCE_DATA_ID_FIELD_NUMBER; + hash = (53 * hash) + getRelvanceDataId().hashCode(); + hash = (37 * hash) + REQUEST_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRequestIp()); + hash = (37 * hash) + REQUEST_PORT_FIELD_NUMBER; + hash = (53 * hash) + getRequestPort(); + hash = (37 * hash) + RESPONSE_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResponseIp()); + hash = (37 * hash) + RESPONSE_PORT_FIELD_NUMBER; + hash = (53 * hash) + getResponsePort(); + hash = (37 * hash) + START_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvSec()); + hash = (37 * hash) + START_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvUsec()); + hash = (37 * hash) + END_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvSec()); + hash = (37 * hash) + END_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvUsec()); + hash = (37 * hash) + RESOURCE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getResourceCode().hashCode(); + hash = (37 * hash) + NO_PARAMETER_RECOGNITION_FIELD_NUMBER; + hash = (53 * hash) + getNoParameterRecognition().hashCode(); + hash = (37 * hash) + ORIGINAL_RECOGNITION_FIELD_NUMBER; + hash = (53 * hash) + getOriginalRecognition().hashCode(); + hash = (37 * hash) + REQUEST_COOKIE_FIELD_NUMBER; + hash = (53 * hash) + getRequestCookie().hashCode(); + hash = (37 * hash) + REQUEST_BODY_CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getRequestBodyContext().hashCode(); + hash = (37 * hash) + RESPONSE_BODY_CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getResponseBodyContext().hashCode(); + hash = (37 * hash) + FILTER_ID_FIELD_NUMBER; + hash = (53 * hash) + getFilterId(); + hash = (37 * hash) + BUSINESS_DETAIL_MESG_FIELD_NUMBER; + hash = (53 * hash) + getBusinessDetailMesg().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.BusinessBodyData} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.BusinessBodyData) + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.internal_static_dataflow_BusinessBodyData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.internal_static_dataflow_BusinessBodyData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.class, com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + relvanceDataId_ = ""; + + requestIp_ = 0L; + + requestPort_ = 0; + + responseIp_ = 0L; + + responsePort_ = 0; + + startTvSec_ = 0L; + + startTvUsec_ = 0L; + + endTvSec_ = 0L; + + endTvUsec_ = 0L; + + resourceCode_ = ""; + + noParameterRecognition_ = ""; + + originalRecognition_ = ""; + + requestCookie_ = ""; + + requestBodyContext_ = ""; + + responseBodyContext_ = ""; + + filterId_ = 0; + + businessDetailMesg_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.internal_static_dataflow_BusinessBodyData_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData build() { + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData buildPartial() { + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData result = new com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData(this); + result.tableId_ = tableId_; + result.relvanceDataId_ = relvanceDataId_; + result.requestIp_ = requestIp_; + result.requestPort_ = requestPort_; + result.responseIp_ = responseIp_; + result.responsePort_ = responsePort_; + result.startTvSec_ = startTvSec_; + result.startTvUsec_ = startTvUsec_; + result.endTvSec_ = endTvSec_; + result.endTvUsec_ = endTvUsec_; + result.resourceCode_ = resourceCode_; + result.noParameterRecognition_ = noParameterRecognition_; + result.originalRecognition_ = originalRecognition_; + result.requestCookie_ = requestCookie_; + result.requestBodyContext_ = requestBodyContext_; + result.responseBodyContext_ = responseBodyContext_; + result.filterId_ = filterId_; + result.businessDetailMesg_ = businessDetailMesg_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData) { + return mergeFrom((com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData other) { + if (other == com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (!other.getRelvanceDataId().isEmpty()) { + relvanceDataId_ = other.relvanceDataId_; + onChanged(); + } + if (other.getRequestIp() != 0L) { + setRequestIp(other.getRequestIp()); + } + if (other.getRequestPort() != 0) { + setRequestPort(other.getRequestPort()); + } + if (other.getResponseIp() != 0L) { + setResponseIp(other.getResponseIp()); + } + if (other.getResponsePort() != 0) { + setResponsePort(other.getResponsePort()); + } + if (other.getStartTvSec() != 0L) { + setStartTvSec(other.getStartTvSec()); + } + if (other.getStartTvUsec() != 0L) { + setStartTvUsec(other.getStartTvUsec()); + } + if (other.getEndTvSec() != 0L) { + setEndTvSec(other.getEndTvSec()); + } + if (other.getEndTvUsec() != 0L) { + setEndTvUsec(other.getEndTvUsec()); + } + if (!other.getResourceCode().isEmpty()) { + resourceCode_ = other.resourceCode_; + onChanged(); + } + if (!other.getNoParameterRecognition().isEmpty()) { + noParameterRecognition_ = other.noParameterRecognition_; + onChanged(); + } + if (!other.getOriginalRecognition().isEmpty()) { + originalRecognition_ = other.originalRecognition_; + onChanged(); + } + if (!other.getRequestCookie().isEmpty()) { + requestCookie_ = other.requestCookie_; + onChanged(); + } + if (!other.getRequestBodyContext().isEmpty()) { + requestBodyContext_ = other.requestBodyContext_; + onChanged(); + } + if (!other.getResponseBodyContext().isEmpty()) { + responseBodyContext_ = other.responseBodyContext_; + onChanged(); + } + if (other.getFilterId() != 0) { + setFilterId(other.getFilterId()); + } + if (!other.getBusinessDetailMesg().isEmpty()) { + businessDetailMesg_ = other.businessDetailMesg_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object relvanceDataId_ = ""; + /** + * string relvance_data_id = 2; + * @return The relvanceDataId. + */ + public java.lang.String getRelvanceDataId() { + java.lang.Object ref = relvanceDataId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + relvanceDataId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string relvance_data_id = 2; + * @return The bytes for relvanceDataId. + */ + public com.google.protobuf.ByteString + getRelvanceDataIdBytes() { + java.lang.Object ref = relvanceDataId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + relvanceDataId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string relvance_data_id = 2; + * @param value The relvanceDataId to set. + * @return This builder for chaining. + */ + public Builder setRelvanceDataId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + relvanceDataId_ = value; + onChanged(); + return this; + } + /** + * string relvance_data_id = 2; + * @return This builder for chaining. + */ + public Builder clearRelvanceDataId() { + + relvanceDataId_ = getDefaultInstance().getRelvanceDataId(); + onChanged(); + return this; + } + /** + * string relvance_data_id = 2; + * @param value The bytes for relvanceDataId to set. + * @return This builder for chaining. + */ + public Builder setRelvanceDataIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + relvanceDataId_ = value; + onChanged(); + return this; + } + + private long requestIp_ ; + /** + * int64 request_ip = 3; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + /** + * int64 request_ip = 3; + * @param value The requestIp to set. + * @return This builder for chaining. + */ + public Builder setRequestIp(long value) { + + requestIp_ = value; + onChanged(); + return this; + } + /** + * int64 request_ip = 3; + * @return This builder for chaining. + */ + public Builder clearRequestIp() { + + requestIp_ = 0L; + onChanged(); + return this; + } + + private int requestPort_ ; + /** + * int32 request_port = 4; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + /** + * int32 request_port = 4; + * @param value The requestPort to set. + * @return This builder for chaining. + */ + public Builder setRequestPort(int value) { + + requestPort_ = value; + onChanged(); + return this; + } + /** + * int32 request_port = 4; + * @return This builder for chaining. + */ + public Builder clearRequestPort() { + + requestPort_ = 0; + onChanged(); + return this; + } + + private long responseIp_ ; + /** + * int64 response_ip = 5; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + /** + * int64 response_ip = 5; + * @param value The responseIp to set. + * @return This builder for chaining. + */ + public Builder setResponseIp(long value) { + + responseIp_ = value; + onChanged(); + return this; + } + /** + * int64 response_ip = 5; + * @return This builder for chaining. + */ + public Builder clearResponseIp() { + + responseIp_ = 0L; + onChanged(); + return this; + } + + private int responsePort_ ; + /** + * int32 response_port = 6; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + /** + * int32 response_port = 6; + * @param value The responsePort to set. + * @return This builder for chaining. + */ + public Builder setResponsePort(int value) { + + responsePort_ = value; + onChanged(); + return this; + } + /** + * int32 response_port = 6; + * @return This builder for chaining. + */ + public Builder clearResponsePort() { + + responsePort_ = 0; + onChanged(); + return this; + } + + private long startTvSec_ ; + /** + *
+       *开始时间秒
+       * 
+ * + * int64 start_tv_sec = 7; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + /** + *
+       *开始时间秒
+       * 
+ * + * int64 start_tv_sec = 7; + * @param value The startTvSec to set. + * @return This builder for chaining. + */ + public Builder setStartTvSec(long value) { + + startTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *开始时间秒
+       * 
+ * + * int64 start_tv_sec = 7; + * @return This builder for chaining. + */ + public Builder clearStartTvSec() { + + startTvSec_ = 0L; + onChanged(); + return this; + } + + private long startTvUsec_ ; + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 8; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 8; + * @param value The startTvUsec to set. + * @return This builder for chaining. + */ + public Builder setStartTvUsec(long value) { + + startTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 8; + * @return This builder for chaining. + */ + public Builder clearStartTvUsec() { + + startTvUsec_ = 0L; + onChanged(); + return this; + } + + private long endTvSec_ ; + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 9; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 9; + * @param value The endTvSec to set. + * @return This builder for chaining. + */ + public Builder setEndTvSec(long value) { + + endTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 9; + * @return This builder for chaining. + */ + public Builder clearEndTvSec() { + + endTvSec_ = 0L; + onChanged(); + return this; + } + + private long endTvUsec_ ; + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 10; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 10; + * @param value The endTvUsec to set. + * @return This builder for chaining. + */ + public Builder setEndTvUsec(long value) { + + endTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 10; + * @return This builder for chaining. + */ + public Builder clearEndTvUsec() { + + endTvUsec_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object resourceCode_ = ""; + /** + * string resource_code = 11; + * @return The resourceCode. + */ + public java.lang.String getResourceCode() { + java.lang.Object ref = resourceCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + resourceCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string resource_code = 11; + * @return The bytes for resourceCode. + */ + public com.google.protobuf.ByteString + getResourceCodeBytes() { + java.lang.Object ref = resourceCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + resourceCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string resource_code = 11; + * @param value The resourceCode to set. + * @return This builder for chaining. + */ + public Builder setResourceCode( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + resourceCode_ = value; + onChanged(); + return this; + } + /** + * string resource_code = 11; + * @return This builder for chaining. + */ + public Builder clearResourceCode() { + + resourceCode_ = getDefaultInstance().getResourceCode(); + onChanged(); + return this; + } + /** + * string resource_code = 11; + * @param value The bytes for resourceCode to set. + * @return This builder for chaining. + */ + public Builder setResourceCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + resourceCode_ = value; + onChanged(); + return this; + } + + private java.lang.Object noParameterRecognition_ = ""; + /** + * string no_parameter_recognition = 12; + * @return The noParameterRecognition. + */ + public java.lang.String getNoParameterRecognition() { + java.lang.Object ref = noParameterRecognition_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + noParameterRecognition_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string no_parameter_recognition = 12; + * @return The bytes for noParameterRecognition. + */ + public com.google.protobuf.ByteString + getNoParameterRecognitionBytes() { + java.lang.Object ref = noParameterRecognition_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + noParameterRecognition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string no_parameter_recognition = 12; + * @param value The noParameterRecognition to set. + * @return This builder for chaining. + */ + public Builder setNoParameterRecognition( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + noParameterRecognition_ = value; + onChanged(); + return this; + } + /** + * string no_parameter_recognition = 12; + * @return This builder for chaining. + */ + public Builder clearNoParameterRecognition() { + + noParameterRecognition_ = getDefaultInstance().getNoParameterRecognition(); + onChanged(); + return this; + } + /** + * string no_parameter_recognition = 12; + * @param value The bytes for noParameterRecognition to set. + * @return This builder for chaining. + */ + public Builder setNoParameterRecognitionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + noParameterRecognition_ = value; + onChanged(); + return this; + } + + private java.lang.Object originalRecognition_ = ""; + /** + * string original_recognition = 13; + * @return The originalRecognition. + */ + public java.lang.String getOriginalRecognition() { + java.lang.Object ref = originalRecognition_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + originalRecognition_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string original_recognition = 13; + * @return The bytes for originalRecognition. + */ + public com.google.protobuf.ByteString + getOriginalRecognitionBytes() { + java.lang.Object ref = originalRecognition_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + originalRecognition_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string original_recognition = 13; + * @param value The originalRecognition to set. + * @return This builder for chaining. + */ + public Builder setOriginalRecognition( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + originalRecognition_ = value; + onChanged(); + return this; + } + /** + * string original_recognition = 13; + * @return This builder for chaining. + */ + public Builder clearOriginalRecognition() { + + originalRecognition_ = getDefaultInstance().getOriginalRecognition(); + onChanged(); + return this; + } + /** + * string original_recognition = 13; + * @param value The bytes for originalRecognition to set. + * @return This builder for chaining. + */ + public Builder setOriginalRecognitionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + originalRecognition_ = value; + onChanged(); + return this; + } + + private java.lang.Object requestCookie_ = ""; + /** + * string request_cookie = 14; + * @return The requestCookie. + */ + public java.lang.String getRequestCookie() { + java.lang.Object ref = requestCookie_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestCookie_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string request_cookie = 14; + * @return The bytes for requestCookie. + */ + public com.google.protobuf.ByteString + getRequestCookieBytes() { + java.lang.Object ref = requestCookie_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestCookie_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string request_cookie = 14; + * @param value The requestCookie to set. + * @return This builder for chaining. + */ + public Builder setRequestCookie( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + requestCookie_ = value; + onChanged(); + return this; + } + /** + * string request_cookie = 14; + * @return This builder for chaining. + */ + public Builder clearRequestCookie() { + + requestCookie_ = getDefaultInstance().getRequestCookie(); + onChanged(); + return this; + } + /** + * string request_cookie = 14; + * @param value The bytes for requestCookie to set. + * @return This builder for chaining. + */ + public Builder setRequestCookieBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + requestCookie_ = value; + onChanged(); + return this; + } + + private java.lang.Object requestBodyContext_ = ""; + /** + * string request_body_context = 15; + * @return The requestBodyContext. + */ + public java.lang.String getRequestBodyContext() { + java.lang.Object ref = requestBodyContext_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestBodyContext_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string request_body_context = 15; + * @return The bytes for requestBodyContext. + */ + public com.google.protobuf.ByteString + getRequestBodyContextBytes() { + java.lang.Object ref = requestBodyContext_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestBodyContext_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string request_body_context = 15; + * @param value The requestBodyContext to set. + * @return This builder for chaining. + */ + public Builder setRequestBodyContext( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + requestBodyContext_ = value; + onChanged(); + return this; + } + /** + * string request_body_context = 15; + * @return This builder for chaining. + */ + public Builder clearRequestBodyContext() { + + requestBodyContext_ = getDefaultInstance().getRequestBodyContext(); + onChanged(); + return this; + } + /** + * string request_body_context = 15; + * @param value The bytes for requestBodyContext to set. + * @return This builder for chaining. + */ + public Builder setRequestBodyContextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + requestBodyContext_ = value; + onChanged(); + return this; + } + + private java.lang.Object responseBodyContext_ = ""; + /** + * string response_body_context = 16; + * @return The responseBodyContext. + */ + public java.lang.String getResponseBodyContext() { + java.lang.Object ref = responseBodyContext_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseBodyContext_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string response_body_context = 16; + * @return The bytes for responseBodyContext. + */ + public com.google.protobuf.ByteString + getResponseBodyContextBytes() { + java.lang.Object ref = responseBodyContext_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + responseBodyContext_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string response_body_context = 16; + * @param value The responseBodyContext to set. + * @return This builder for chaining. + */ + public Builder setResponseBodyContext( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + responseBodyContext_ = value; + onChanged(); + return this; + } + /** + * string response_body_context = 16; + * @return This builder for chaining. + */ + public Builder clearResponseBodyContext() { + + responseBodyContext_ = getDefaultInstance().getResponseBodyContext(); + onChanged(); + return this; + } + /** + * string response_body_context = 16; + * @param value The bytes for responseBodyContext to set. + * @return This builder for chaining. + */ + public Builder setResponseBodyContextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + responseBodyContext_ = value; + onChanged(); + return this; + } + + private int filterId_ ; + /** + * int32 filter_id = 17; + * @return The filterId. + */ + @java.lang.Override + public int getFilterId() { + return filterId_; + } + /** + * int32 filter_id = 17; + * @param value The filterId to set. + * @return This builder for chaining. + */ + public Builder setFilterId(int value) { + + filterId_ = value; + onChanged(); + return this; + } + /** + * int32 filter_id = 17; + * @return This builder for chaining. + */ + public Builder clearFilterId() { + + filterId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object businessDetailMesg_ = ""; + /** + * string business_detail_mesg = 18; + * @return The businessDetailMesg. + */ + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + businessDetailMesg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string business_detail_mesg = 18; + * @return The bytes for businessDetailMesg. + */ + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string business_detail_mesg = 18; + * @param value The businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesg( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + businessDetailMesg_ = value; + onChanged(); + return this; + } + /** + * string business_detail_mesg = 18; + * @return This builder for chaining. + */ + public Builder clearBusinessDetailMesg() { + + businessDetailMesg_ = getDefaultInstance().getBusinessDetailMesg(); + onChanged(); + return this; + } + /** + * string business_detail_mesg = 18; + * @param value The bytes for businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + businessDetailMesg_ = value; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.BusinessBodyData) + } + + // @@protoc_insertion_point(class_scope:dataflow.BusinessBodyData) + private static final com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData(); + } + + public static com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BusinessBodyData parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BusinessBodyData(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BusinessBodyDataOuterClass.BusinessBodyData getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_BusinessBodyData_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_BusinessBodyData_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\026BusinessBodyData.proto\022\010dataflow\"\307\003\n\020B" + + "usinessBodyData\022\020\n\010table_id\030\001 \001(\005\022\030\n\020rel" + + "vance_data_id\030\002 \001(\t\022\022\n\nrequest_ip\030\003 \001(\003\022" + + "\024\n\014request_port\030\004 \001(\005\022\023\n\013response_ip\030\005 \001" + + "(\003\022\025\n\rresponse_port\030\006 \001(\005\022\024\n\014start_tv_se" + + "c\030\007 \001(\003\022\025\n\rstart_tv_usec\030\010 \001(\003\022\022\n\nend_tv" + + "_sec\030\t \001(\003\022\023\n\013end_tv_usec\030\n \001(\003\022\025\n\rresou" + + "rce_code\030\013 \001(\t\022 \n\030no_parameter_recogniti" + + "on\030\014 \001(\t\022\034\n\024original_recognition\030\r \001(\t\022\026" + + "\n\016request_cookie\030\016 \001(\t\022\034\n\024request_body_c" + + "ontext\030\017 \001(\t\022\035\n\025response_body_context\030\020 " + + "\001(\t\022\021\n\tfilter_id\030\021 \001(\005\022\034\n\024business_detai" + + "l_mesg\030\022 \001(\tB2\n\033com.yuandian.dataflow.pr" + + "otoZ\023../grpc-gen;grpcgenb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_BusinessBodyData_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_BusinessBodyData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_BusinessBodyData_descriptor, + new java.lang.String[] { "TableId", "RelvanceDataId", "RequestIp", "RequestPort", "ResponseIp", "ResponsePort", "StartTvSec", "StartTvUsec", "EndTvSec", "EndTvUsec", "ResourceCode", "NoParameterRecognition", "OriginalRecognition", "RequestCookie", "RequestBodyContext", "ResponseBodyContext", "FilterId", "BusinessDetailMesg", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/BussFlowDbOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/BussFlowDbOuterClass.java new file mode 100644 index 0000000..e288f05 --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/BussFlowDbOuterClass.java @@ -0,0 +1,7277 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BussFlowDb.proto + +package com.yuandian.dataflow.proto; + +public final class BussFlowDbOuterClass { + private BussFlowDbOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BussFlowDbOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.BussFlowDb) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + *
+     * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+     * 
+ * + * string redisRegex = 2; + * @return The redisRegex. + */ + java.lang.String getRedisRegex(); + /** + *
+     * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+     * 
+ * + * string redisRegex = 2; + * @return The bytes for redisRegex. + */ + com.google.protobuf.ByteString + getRedisRegexBytes(); + + /** + *
+     *id
+     * 
+ * + * string id = 3; + * @return The id. + */ + java.lang.String getId(); + /** + *
+     *id
+     * 
+ * + * string id = 3; + * @return The bytes for id. + */ + com.google.protobuf.ByteString + getIdBytes(); + + /** + *
+     *消息长度
+     * 
+ * + * int64 msg_len = 4; + * @return The msgLen. + */ + long getMsgLen(); + + /** + *
+     *消息类型
+     * 
+ * + * int32 msg_type = 5; + * @return The msgType. + */ + int getMsgType(); + + /** + * int64 src_mac = 6; + * @return The srcMac. + */ + long getSrcMac(); + + /** + * int64 dst_mac = 7; + * @return The dstMac. + */ + long getDstMac(); + + /** + *
+     *协议名
+     * 
+ * + * int32 protocol = 8; + * @return The protocol. + */ + int getProtocol(); + + /** + *
+     *会话序列号			
+     * 
+ * + * string session_serial_number = 9; + * @return The sessionSerialNumber. + */ + java.lang.String getSessionSerialNumber(); + /** + *
+     *会话序列号			
+     * 
+ * + * string session_serial_number = 9; + * @return The bytes for sessionSerialNumber. + */ + com.google.protobuf.ByteString + getSessionSerialNumberBytes(); + + /** + *
+     *业务服务资源编码(C_01)
+     * 
+ * + * string buss_type = 10; + * @return The bussType. + */ + java.lang.String getBussType(); + /** + *
+     *业务服务资源编码(C_01)
+     * 
+ * + * string buss_type = 10; + * @return The bytes for bussType. + */ + com.google.protobuf.ByteString + getBussTypeBytes(); + + /** + *
+     *Web客户端IP
+     * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + long getRequestIp(); + + /** + *
+     *Web客户端端口
+     * 
+ * + * int32 request_port = 12; + * @return The requestPort. + */ + int getRequestPort(); + + /** + *
+     *Web服务器IP
+     * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + long getResponseIp(); + + /** + *
+     *Web服务器端口
+     * 
+ * + * int32 response_port = 14; + * @return The responsePort. + */ + int getResponsePort(); + + /** + *
+     *Web开始时间秒
+     * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + long getStartTvSec(); + + /** + *
+     *开始时间毫秒
+     * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + long getStartTvUsec(); + + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + long getEndTvSec(); + + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + long getEndTvUsec(); + + /** + *
+     *web:url   mid:apiBody   db:sql
+     * 
+ * + * string disc_resource_ident = 19; + * @return The discResourceIdent. + */ + java.lang.String getDiscResourceIdent(); + /** + *
+     *web:url   mid:apiBody   db:sql
+     * 
+ * + * string disc_resource_ident = 19; + * @return The bytes for discResourceIdent. + */ + com.google.protobuf.ByteString + getDiscResourceIdentBytes(); + + /** + *
+     *web:操作系统   midd:interfaceName  db:db_name
+     * 
+ * + * string name = 20; + * @return The name. + */ + java.lang.String getName(); + /** + *
+     *web:操作系统   midd:interfaceName  db:db_name
+     * 
+ * + * string name = 20; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+     *web midd
+     * 
+ * + * string session_id = 21; + * @return The sessionId. + */ + java.lang.String getSessionId(); + /** + *
+     *web midd
+     * 
+ * + * string session_id = 21; + * @return The bytes for sessionId. + */ + com.google.protobuf.ByteString + getSessionIdBytes(); + + /** + *
+     *请求报文长度
+     * 
+ * + * int32 request_msg_length = 22; + * @return The requestMsgLength. + */ + int getRequestMsgLength(); + + /** + *
+     *请求报文详情
+     * 
+ * + * string request_msg_detail = 23; + * @return The requestMsgDetail. + */ + java.lang.String getRequestMsgDetail(); + /** + *
+     *请求报文详情
+     * 
+ * + * string request_msg_detail = 23; + * @return The bytes for requestMsgDetail. + */ + com.google.protobuf.ByteString + getRequestMsgDetailBytes(); + + /** + *
+     *响应报文长度
+     * 
+ * + * int32 response_msg_length = 24; + * @return The responseMsgLength. + */ + int getResponseMsgLength(); + + /** + *
+     *响应报文详情
+     * 
+ * + * string response_msg_detail = 25; + * @return The responseMsgDetail. + */ + java.lang.String getResponseMsgDetail(); + /** + *
+     *响应报文详情
+     * 
+ * + * string response_msg_detail = 25; + * @return The bytes for responseMsgDetail. + */ + com.google.protobuf.ByteString + getResponseMsgDetailBytes(); + + /** + *
+     *web段
+     * 
+ * + * string reter_url = 26; + * @return The reterUrl. + */ + java.lang.String getReterUrl(); + /** + *
+     *web段
+     * 
+ * + * string reter_url = 26; + * @return The bytes for reterUrl. + */ + com.google.protobuf.ByteString + getReterUrlBytes(); + + /** + * string x_requested_with = 27; + * @return The xRequestedWith. + */ + java.lang.String getXRequestedWith(); + /** + * string x_requested_with = 27; + * @return The bytes for xRequestedWith. + */ + com.google.protobuf.ByteString + getXRequestedWithBytes(); + + /** + *
+     *请求方式
+     * 
+ * + * int64 req_method = 28; + * @return The reqMethod. + */ + long getReqMethod(); + + /** + *
+     *请求类型
+     * 
+ * + * string content_type = 29; + * @return The contentType. + */ + java.lang.String getContentType(); + /** + *
+     *请求类型
+     * 
+ * + * string content_type = 29; + * @return The bytes for contentType. + */ + com.google.protobuf.ByteString + getContentTypeBytes(); + + /** + *
+     *jieshou
+     * 
+ * + * string accept = 30; + * @return The accept. + */ + java.lang.String getAccept(); + /** + *
+     *jieshou
+     * 
+ * + * string accept = 30; + * @return The bytes for accept. + */ + com.google.protobuf.ByteString + getAcceptBytes(); + + /** + *
+     *请求cookie报文长度
+     * 
+ * + * int32 req_cookie_leng = 31; + * @return The reqCookieLeng. + */ + int getReqCookieLeng(); + + /** + *
+     *请求cookie报文详情
+     * 
+ * + * string req_cookie_detail = 32; + * @return The reqCookieDetail. + */ + java.lang.String getReqCookieDetail(); + /** + *
+     *请求cookie报文详情
+     * 
+ * + * string req_cookie_detail = 32; + * @return The bytes for reqCookieDetail. + */ + com.google.protobuf.ByteString + getReqCookieDetailBytes(); + + /** + * int64 t_intodb_time = 33; + * @return The tIntodbTime. + */ + long getTIntodbTime(); + + /** + *
+     *0: 页面   1:加载项   2:非web段数据 
+     * 
+ * + * int32 load_or_step = 34; + * @return The loadOrStep. + */ + int getLoadOrStep(); + + /** + * string business_detail_mesg = 35; + * @return The businessDetailMesg. + */ + java.lang.String getBusinessDetailMesg(); + /** + * string business_detail_mesg = 35; + * @return The bytes for businessDetailMesg. + */ + com.google.protobuf.ByteString + getBusinessDetailMesgBytes(); + + /** + *
+     *关键字  格式:key=val|key=val....
+     * 
+ * + * string bussiness_key_mesg = 36; + * @return The bussinessKeyMesg. + */ + java.lang.String getBussinessKeyMesg(); + /** + *
+     *关键字  格式:key=val|key=val....
+     * 
+ * + * string bussiness_key_mesg = 36; + * @return The bytes for bussinessKeyMesg. + */ + com.google.protobuf.ByteString + getBussinessKeyMesgBytes(); + + /** + *
+     *组包是否完全    0:组包完整  1:不完整
+     * 
+ * + * int32 isUncomplete = 37; + * @return The isUncomplete. + */ + int getIsUncomplete(); + + /** + *
+     * 默认值为1
+     * 
+ * + * int32 deal_state = 38; + * @return The dealState. + */ + int getDealState(); + + /** + * int32 server_res_code = 39; + * @return The serverResCode. + */ + int getServerResCode(); + + /** + * int64 server_response_time = 40; + * @return The serverResponseTime. + */ + long getServerResponseTime(); + + /** + * int64 client_translate_time = 41; + * @return The clientTranslateTime. + */ + long getClientTranslateTime(); + + /** + * string browser = 42; + * @return The browser. + */ + java.lang.String getBrowser(); + /** + * string browser = 42; + * @return The bytes for browser. + */ + com.google.protobuf.ByteString + getBrowserBytes(); + + /** + * int64 server_start_tv_sec = 43; + * @return The serverStartTvSec. + */ + long getServerStartTvSec(); + + /** + * int64 server_start_tv_usec = 44; + * @return The serverStartTvUsec. + */ + long getServerStartTvUsec(); + + /** + * int64 server_end_tv_sec = 45; + * @return The serverEndTvSec. + */ + long getServerEndTvSec(); + + /** + * int64 server_end_tv_usec = 46; + * @return The serverEndTvUsec. + */ + long getServerEndTvUsec(); + + /** + * string probe_ip = 47; + * @return The probeIp. + */ + java.lang.String getProbeIp(); + /** + * string probe_ip = 47; + * @return The bytes for probeIp. + */ + com.google.protobuf.ByteString + getProbeIpBytes(); + + /** + * int64 probe_if = 48; + * @return The probeIf. + */ + long getProbeIf(); + + /** + * int64 server_translate_time = 49; + * @return The serverTranslateTime. + */ + long getServerTranslateTime(); + + /** + * int64 time_flag = 50; + * @return The timeFlag. + */ + long getTimeFlag(); + + /** + * string base_code = 51; + * @return The baseCode. + */ + java.lang.String getBaseCode(); + /** + * string base_code = 51; + * @return The bytes for baseCode. + */ + com.google.protobuf.ByteString + getBaseCodeBytes(); + + /** + * string ori_sql = 52; + * @return The oriSql. + */ + java.lang.String getOriSql(); + /** + * string ori_sql = 52; + * @return The bytes for oriSql. + */ + com.google.protobuf.ByteString + getOriSqlBytes(); + + /** + * string reserved = 53; + * @return The reserved. + */ + java.lang.String getReserved(); + /** + * string reserved = 53; + * @return The bytes for reserved. + */ + com.google.protobuf.ByteString + getReservedBytes(); + + /** + * int64 bytes_in = 54; + * @return The bytesIn. + */ + long getBytesIn(); + + /** + * int64 bytes_out = 55; + * @return The bytesOut. + */ + long getBytesOut(); + + /** + * int32 package_in = 56; + * @return The packageIn. + */ + int getPackageIn(); + + /** + * int32 package_out = 57; + * @return The packageOut. + */ + int getPackageOut(); + + /** + * string data_id = 58; + * @return The dataId. + */ + java.lang.String getDataId(); + /** + * string data_id = 58; + * @return The bytes for dataId. + */ + com.google.protobuf.ByteString + getDataIdBytes(); + + /** + * int32 filter_id = 59; + * @return The filterId. + */ + int getFilterId(); + } + /** + * Protobuf type {@code dataflow.BussFlowDb} + */ + public static final class BussFlowDb extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.BussFlowDb) + BussFlowDbOrBuilder { + private static final long serialVersionUID = 0L; + // Use BussFlowDb.newBuilder() to construct. + private BussFlowDb(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BussFlowDb() { + redisRegex_ = ""; + id_ = ""; + sessionSerialNumber_ = ""; + bussType_ = ""; + discResourceIdent_ = ""; + name_ = ""; + sessionId_ = ""; + requestMsgDetail_ = ""; + responseMsgDetail_ = ""; + reterUrl_ = ""; + xRequestedWith_ = ""; + contentType_ = ""; + accept_ = ""; + reqCookieDetail_ = ""; + businessDetailMesg_ = ""; + bussinessKeyMesg_ = ""; + browser_ = ""; + probeIp_ = ""; + baseCode_ = ""; + oriSql_ = ""; + reserved_ = ""; + dataId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BussFlowDb(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BussFlowDb( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + redisRegex_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + id_ = s; + break; + } + case 32: { + + msgLen_ = input.readInt64(); + break; + } + case 40: { + + msgType_ = input.readInt32(); + break; + } + case 48: { + + srcMac_ = input.readInt64(); + break; + } + case 56: { + + dstMac_ = input.readInt64(); + break; + } + case 64: { + + protocol_ = input.readInt32(); + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + sessionSerialNumber_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + bussType_ = s; + break; + } + case 88: { + + requestIp_ = input.readInt64(); + break; + } + case 96: { + + requestPort_ = input.readInt32(); + break; + } + case 104: { + + responseIp_ = input.readInt64(); + break; + } + case 112: { + + responsePort_ = input.readInt32(); + break; + } + case 120: { + + startTvSec_ = input.readInt64(); + break; + } + case 128: { + + startTvUsec_ = input.readInt64(); + break; + } + case 136: { + + endTvSec_ = input.readInt64(); + break; + } + case 144: { + + endTvUsec_ = input.readInt64(); + break; + } + case 154: { + java.lang.String s = input.readStringRequireUtf8(); + + discResourceIdent_ = s; + break; + } + case 162: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 170: { + java.lang.String s = input.readStringRequireUtf8(); + + sessionId_ = s; + break; + } + case 176: { + + requestMsgLength_ = input.readInt32(); + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); + + requestMsgDetail_ = s; + break; + } + case 192: { + + responseMsgLength_ = input.readInt32(); + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + + responseMsgDetail_ = s; + break; + } + case 210: { + java.lang.String s = input.readStringRequireUtf8(); + + reterUrl_ = s; + break; + } + case 218: { + java.lang.String s = input.readStringRequireUtf8(); + + xRequestedWith_ = s; + break; + } + case 224: { + + reqMethod_ = input.readInt64(); + break; + } + case 234: { + java.lang.String s = input.readStringRequireUtf8(); + + contentType_ = s; + break; + } + case 242: { + java.lang.String s = input.readStringRequireUtf8(); + + accept_ = s; + break; + } + case 248: { + + reqCookieLeng_ = input.readInt32(); + break; + } + case 258: { + java.lang.String s = input.readStringRequireUtf8(); + + reqCookieDetail_ = s; + break; + } + case 264: { + + tIntodbTime_ = input.readInt64(); + break; + } + case 272: { + + loadOrStep_ = input.readInt32(); + break; + } + case 282: { + java.lang.String s = input.readStringRequireUtf8(); + + businessDetailMesg_ = s; + break; + } + case 290: { + java.lang.String s = input.readStringRequireUtf8(); + + bussinessKeyMesg_ = s; + break; + } + case 296: { + + isUncomplete_ = input.readInt32(); + break; + } + case 304: { + + dealState_ = input.readInt32(); + break; + } + case 312: { + + serverResCode_ = input.readInt32(); + break; + } + case 320: { + + serverResponseTime_ = input.readInt64(); + break; + } + case 328: { + + clientTranslateTime_ = input.readInt64(); + break; + } + case 338: { + java.lang.String s = input.readStringRequireUtf8(); + + browser_ = s; + break; + } + case 344: { + + serverStartTvSec_ = input.readInt64(); + break; + } + case 352: { + + serverStartTvUsec_ = input.readInt64(); + break; + } + case 360: { + + serverEndTvSec_ = input.readInt64(); + break; + } + case 368: { + + serverEndTvUsec_ = input.readInt64(); + break; + } + case 378: { + java.lang.String s = input.readStringRequireUtf8(); + + probeIp_ = s; + break; + } + case 384: { + + probeIf_ = input.readInt64(); + break; + } + case 392: { + + serverTranslateTime_ = input.readInt64(); + break; + } + case 400: { + + timeFlag_ = input.readInt64(); + break; + } + case 410: { + java.lang.String s = input.readStringRequireUtf8(); + + baseCode_ = s; + break; + } + case 418: { + java.lang.String s = input.readStringRequireUtf8(); + + oriSql_ = s; + break; + } + case 426: { + java.lang.String s = input.readStringRequireUtf8(); + + reserved_ = s; + break; + } + case 432: { + + bytesIn_ = input.readInt64(); + break; + } + case 440: { + + bytesOut_ = input.readInt64(); + break; + } + case 448: { + + packageIn_ = input.readInt32(); + break; + } + case 456: { + + packageOut_ = input.readInt32(); + break; + } + case 466: { + java.lang.String s = input.readStringRequireUtf8(); + + dataId_ = s; + break; + } + case 472: { + + filterId_ = input.readInt32(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.internal_static_dataflow_BussFlowDb_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.internal_static_dataflow_BussFlowDb_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.class, com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int REDISREGEX_FIELD_NUMBER = 2; + private volatile java.lang.Object redisRegex_; + /** + *
+     * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+     * 
+ * + * string redisRegex = 2; + * @return The redisRegex. + */ + @java.lang.Override + public java.lang.String getRedisRegex() { + java.lang.Object ref = redisRegex_; + 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(); + redisRegex_ = s; + return s; + } + } + /** + *
+     * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+     * 
+ * + * string redisRegex = 2; + * @return The bytes for redisRegex. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRedisRegexBytes() { + java.lang.Object ref = redisRegex_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + redisRegex_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ID_FIELD_NUMBER = 3; + private volatile java.lang.Object id_; + /** + *
+     *id
+     * 
+ * + * string id = 3; + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + *
+     *id
+     * 
+ * + * string id = 3; + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MSG_LEN_FIELD_NUMBER = 4; + private long msgLen_; + /** + *
+     *消息长度
+     * 
+ * + * int64 msg_len = 4; + * @return The msgLen. + */ + @java.lang.Override + public long getMsgLen() { + return msgLen_; + } + + public static final int MSG_TYPE_FIELD_NUMBER = 5; + private int msgType_; + /** + *
+     *消息类型
+     * 
+ * + * int32 msg_type = 5; + * @return The msgType. + */ + @java.lang.Override + public int getMsgType() { + return msgType_; + } + + public static final int SRC_MAC_FIELD_NUMBER = 6; + private long srcMac_; + /** + * int64 src_mac = 6; + * @return The srcMac. + */ + @java.lang.Override + public long getSrcMac() { + return srcMac_; + } + + public static final int DST_MAC_FIELD_NUMBER = 7; + private long dstMac_; + /** + * int64 dst_mac = 7; + * @return The dstMac. + */ + @java.lang.Override + public long getDstMac() { + return dstMac_; + } + + public static final int PROTOCOL_FIELD_NUMBER = 8; + private int protocol_; + /** + *
+     *协议名
+     * 
+ * + * int32 protocol = 8; + * @return The protocol. + */ + @java.lang.Override + public int getProtocol() { + return protocol_; + } + + public static final int SESSION_SERIAL_NUMBER_FIELD_NUMBER = 9; + private volatile java.lang.Object sessionSerialNumber_; + /** + *
+     *会话序列号			
+     * 
+ * + * string session_serial_number = 9; + * @return The sessionSerialNumber. + */ + @java.lang.Override + public java.lang.String getSessionSerialNumber() { + java.lang.Object ref = sessionSerialNumber_; + 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(); + sessionSerialNumber_ = s; + return s; + } + } + /** + *
+     *会话序列号			
+     * 
+ * + * string session_serial_number = 9; + * @return The bytes for sessionSerialNumber. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSessionSerialNumberBytes() { + java.lang.Object ref = sessionSerialNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionSerialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUSS_TYPE_FIELD_NUMBER = 10; + private volatile java.lang.Object bussType_; + /** + *
+     *业务服务资源编码(C_01)
+     * 
+ * + * string buss_type = 10; + * @return The bussType. + */ + @java.lang.Override + public java.lang.String getBussType() { + java.lang.Object ref = bussType_; + 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(); + bussType_ = s; + return s; + } + } + /** + *
+     *业务服务资源编码(C_01)
+     * 
+ * + * string buss_type = 10; + * @return The bytes for bussType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBussTypeBytes() { + java.lang.Object ref = bussType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bussType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_IP_FIELD_NUMBER = 11; + private long requestIp_; + /** + *
+     *Web客户端IP
+     * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + + public static final int REQUEST_PORT_FIELD_NUMBER = 12; + private int requestPort_; + /** + *
+     *Web客户端端口
+     * 
+ * + * int32 request_port = 12; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + + public static final int RESPONSE_IP_FIELD_NUMBER = 13; + private long responseIp_; + /** + *
+     *Web服务器IP
+     * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + + public static final int RESPONSE_PORT_FIELD_NUMBER = 14; + private int responsePort_; + /** + *
+     *Web服务器端口
+     * 
+ * + * int32 response_port = 14; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + + public static final int START_TV_SEC_FIELD_NUMBER = 15; + private long startTvSec_; + /** + *
+     *Web开始时间秒
+     * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + + public static final int START_TV_USEC_FIELD_NUMBER = 16; + private long startTvUsec_; + /** + *
+     *开始时间毫秒
+     * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + + public static final int END_TV_SEC_FIELD_NUMBER = 17; + private long endTvSec_; + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + + public static final int END_TV_USEC_FIELD_NUMBER = 18; + private long endTvUsec_; + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + + public static final int DISC_RESOURCE_IDENT_FIELD_NUMBER = 19; + private volatile java.lang.Object discResourceIdent_; + /** + *
+     *web:url   mid:apiBody   db:sql
+     * 
+ * + * string disc_resource_ident = 19; + * @return The discResourceIdent. + */ + @java.lang.Override + public java.lang.String getDiscResourceIdent() { + java.lang.Object ref = discResourceIdent_; + 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(); + discResourceIdent_ = s; + return s; + } + } + /** + *
+     *web:url   mid:apiBody   db:sql
+     * 
+ * + * string disc_resource_ident = 19; + * @return The bytes for discResourceIdent. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDiscResourceIdentBytes() { + java.lang.Object ref = discResourceIdent_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + discResourceIdent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 20; + private volatile java.lang.Object name_; + /** + *
+     *web:操作系统   midd:interfaceName  db:db_name
+     * 
+ * + * string name = 20; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + 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(); + name_ = s; + return s; + } + } + /** + *
+     *web:操作系统   midd:interfaceName  db:db_name
+     * 
+ * + * string name = 20; + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SESSION_ID_FIELD_NUMBER = 21; + private volatile java.lang.Object sessionId_; + /** + *
+     *web midd
+     * 
+ * + * string session_id = 21; + * @return The sessionId. + */ + @java.lang.Override + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + 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(); + sessionId_ = s; + return s; + } + } + /** + *
+     *web midd
+     * 
+ * + * string session_id = 21; + * @return The bytes for sessionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_MSG_LENGTH_FIELD_NUMBER = 22; + private int requestMsgLength_; + /** + *
+     *请求报文长度
+     * 
+ * + * int32 request_msg_length = 22; + * @return The requestMsgLength. + */ + @java.lang.Override + public int getRequestMsgLength() { + return requestMsgLength_; + } + + public static final int REQUEST_MSG_DETAIL_FIELD_NUMBER = 23; + private volatile java.lang.Object requestMsgDetail_; + /** + *
+     *请求报文详情
+     * 
+ * + * string request_msg_detail = 23; + * @return The requestMsgDetail. + */ + @java.lang.Override + public java.lang.String getRequestMsgDetail() { + java.lang.Object ref = requestMsgDetail_; + 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(); + requestMsgDetail_ = s; + return s; + } + } + /** + *
+     *请求报文详情
+     * 
+ * + * string request_msg_detail = 23; + * @return The bytes for requestMsgDetail. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRequestMsgDetailBytes() { + java.lang.Object ref = requestMsgDetail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestMsgDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESPONSE_MSG_LENGTH_FIELD_NUMBER = 24; + private int responseMsgLength_; + /** + *
+     *响应报文长度
+     * 
+ * + * int32 response_msg_length = 24; + * @return The responseMsgLength. + */ + @java.lang.Override + public int getResponseMsgLength() { + return responseMsgLength_; + } + + public static final int RESPONSE_MSG_DETAIL_FIELD_NUMBER = 25; + private volatile java.lang.Object responseMsgDetail_; + /** + *
+     *响应报文详情
+     * 
+ * + * string response_msg_detail = 25; + * @return The responseMsgDetail. + */ + @java.lang.Override + public java.lang.String getResponseMsgDetail() { + java.lang.Object ref = responseMsgDetail_; + 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(); + responseMsgDetail_ = s; + return s; + } + } + /** + *
+     *响应报文详情
+     * 
+ * + * string response_msg_detail = 25; + * @return The bytes for responseMsgDetail. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResponseMsgDetailBytes() { + java.lang.Object ref = responseMsgDetail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + responseMsgDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETER_URL_FIELD_NUMBER = 26; + private volatile java.lang.Object reterUrl_; + /** + *
+     *web段
+     * 
+ * + * string reter_url = 26; + * @return The reterUrl. + */ + @java.lang.Override + public java.lang.String getReterUrl() { + java.lang.Object ref = reterUrl_; + 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(); + reterUrl_ = s; + return s; + } + } + /** + *
+     *web段
+     * 
+ * + * string reter_url = 26; + * @return The bytes for reterUrl. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReterUrlBytes() { + java.lang.Object ref = reterUrl_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reterUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int X_REQUESTED_WITH_FIELD_NUMBER = 27; + private volatile java.lang.Object xRequestedWith_; + /** + * string x_requested_with = 27; + * @return The xRequestedWith. + */ + @java.lang.Override + public java.lang.String getXRequestedWith() { + java.lang.Object ref = xRequestedWith_; + 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(); + xRequestedWith_ = s; + return s; + } + } + /** + * string x_requested_with = 27; + * @return The bytes for xRequestedWith. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getXRequestedWithBytes() { + java.lang.Object ref = xRequestedWith_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + xRequestedWith_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQ_METHOD_FIELD_NUMBER = 28; + private long reqMethod_; + /** + *
+     *请求方式
+     * 
+ * + * int64 req_method = 28; + * @return The reqMethod. + */ + @java.lang.Override + public long getReqMethod() { + return reqMethod_; + } + + public static final int CONTENT_TYPE_FIELD_NUMBER = 29; + private volatile java.lang.Object contentType_; + /** + *
+     *请求类型
+     * 
+ * + * string content_type = 29; + * @return The contentType. + */ + @java.lang.Override + public java.lang.String getContentType() { + java.lang.Object ref = contentType_; + 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(); + contentType_ = s; + return s; + } + } + /** + *
+     *请求类型
+     * 
+ * + * string content_type = 29; + * @return The bytes for contentType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getContentTypeBytes() { + java.lang.Object ref = contentType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + contentType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ACCEPT_FIELD_NUMBER = 30; + private volatile java.lang.Object accept_; + /** + *
+     *jieshou
+     * 
+ * + * string accept = 30; + * @return The accept. + */ + @java.lang.Override + public java.lang.String getAccept() { + java.lang.Object ref = accept_; + 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(); + accept_ = s; + return s; + } + } + /** + *
+     *jieshou
+     * 
+ * + * string accept = 30; + * @return The bytes for accept. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getAcceptBytes() { + java.lang.Object ref = accept_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accept_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQ_COOKIE_LENG_FIELD_NUMBER = 31; + private int reqCookieLeng_; + /** + *
+     *请求cookie报文长度
+     * 
+ * + * int32 req_cookie_leng = 31; + * @return The reqCookieLeng. + */ + @java.lang.Override + public int getReqCookieLeng() { + return reqCookieLeng_; + } + + public static final int REQ_COOKIE_DETAIL_FIELD_NUMBER = 32; + private volatile java.lang.Object reqCookieDetail_; + /** + *
+     *请求cookie报文详情
+     * 
+ * + * string req_cookie_detail = 32; + * @return The reqCookieDetail. + */ + @java.lang.Override + public java.lang.String getReqCookieDetail() { + java.lang.Object ref = reqCookieDetail_; + 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(); + reqCookieDetail_ = s; + return s; + } + } + /** + *
+     *请求cookie报文详情
+     * 
+ * + * string req_cookie_detail = 32; + * @return The bytes for reqCookieDetail. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReqCookieDetailBytes() { + java.lang.Object ref = reqCookieDetail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reqCookieDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int T_INTODB_TIME_FIELD_NUMBER = 33; + private long tIntodbTime_; + /** + * int64 t_intodb_time = 33; + * @return The tIntodbTime. + */ + @java.lang.Override + public long getTIntodbTime() { + return tIntodbTime_; + } + + public static final int LOAD_OR_STEP_FIELD_NUMBER = 34; + private int loadOrStep_; + /** + *
+     *0: 页面   1:加载项   2:非web段数据 
+     * 
+ * + * int32 load_or_step = 34; + * @return The loadOrStep. + */ + @java.lang.Override + public int getLoadOrStep() { + return loadOrStep_; + } + + public static final int BUSINESS_DETAIL_MESG_FIELD_NUMBER = 35; + private volatile java.lang.Object businessDetailMesg_; + /** + * string business_detail_mesg = 35; + * @return The businessDetailMesg. + */ + @java.lang.Override + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + 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(); + businessDetailMesg_ = s; + return s; + } + } + /** + * string business_detail_mesg = 35; + * @return The bytes for businessDetailMesg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUSSINESS_KEY_MESG_FIELD_NUMBER = 36; + private volatile java.lang.Object bussinessKeyMesg_; + /** + *
+     *关键字  格式:key=val|key=val....
+     * 
+ * + * string bussiness_key_mesg = 36; + * @return The bussinessKeyMesg. + */ + @java.lang.Override + public java.lang.String getBussinessKeyMesg() { + java.lang.Object ref = bussinessKeyMesg_; + 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(); + bussinessKeyMesg_ = s; + return s; + } + } + /** + *
+     *关键字  格式:key=val|key=val....
+     * 
+ * + * string bussiness_key_mesg = 36; + * @return The bytes for bussinessKeyMesg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBussinessKeyMesgBytes() { + java.lang.Object ref = bussinessKeyMesg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bussinessKeyMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ISUNCOMPLETE_FIELD_NUMBER = 37; + private int isUncomplete_; + /** + *
+     *组包是否完全    0:组包完整  1:不完整
+     * 
+ * + * int32 isUncomplete = 37; + * @return The isUncomplete. + */ + @java.lang.Override + public int getIsUncomplete() { + return isUncomplete_; + } + + public static final int DEAL_STATE_FIELD_NUMBER = 38; + private int dealState_; + /** + *
+     * 默认值为1
+     * 
+ * + * int32 deal_state = 38; + * @return The dealState. + */ + @java.lang.Override + public int getDealState() { + return dealState_; + } + + public static final int SERVER_RES_CODE_FIELD_NUMBER = 39; + private int serverResCode_; + /** + * int32 server_res_code = 39; + * @return The serverResCode. + */ + @java.lang.Override + public int getServerResCode() { + return serverResCode_; + } + + public static final int SERVER_RESPONSE_TIME_FIELD_NUMBER = 40; + private long serverResponseTime_; + /** + * int64 server_response_time = 40; + * @return The serverResponseTime. + */ + @java.lang.Override + public long getServerResponseTime() { + return serverResponseTime_; + } + + public static final int CLIENT_TRANSLATE_TIME_FIELD_NUMBER = 41; + private long clientTranslateTime_; + /** + * int64 client_translate_time = 41; + * @return The clientTranslateTime. + */ + @java.lang.Override + public long getClientTranslateTime() { + return clientTranslateTime_; + } + + public static final int BROWSER_FIELD_NUMBER = 42; + private volatile java.lang.Object browser_; + /** + * string browser = 42; + * @return The browser. + */ + @java.lang.Override + public java.lang.String getBrowser() { + java.lang.Object ref = browser_; + 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(); + browser_ = s; + return s; + } + } + /** + * string browser = 42; + * @return The bytes for browser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBrowserBytes() { + java.lang.Object ref = browser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + browser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVER_START_TV_SEC_FIELD_NUMBER = 43; + private long serverStartTvSec_; + /** + * int64 server_start_tv_sec = 43; + * @return The serverStartTvSec. + */ + @java.lang.Override + public long getServerStartTvSec() { + return serverStartTvSec_; + } + + public static final int SERVER_START_TV_USEC_FIELD_NUMBER = 44; + private long serverStartTvUsec_; + /** + * int64 server_start_tv_usec = 44; + * @return The serverStartTvUsec. + */ + @java.lang.Override + public long getServerStartTvUsec() { + return serverStartTvUsec_; + } + + public static final int SERVER_END_TV_SEC_FIELD_NUMBER = 45; + private long serverEndTvSec_; + /** + * int64 server_end_tv_sec = 45; + * @return The serverEndTvSec. + */ + @java.lang.Override + public long getServerEndTvSec() { + return serverEndTvSec_; + } + + public static final int SERVER_END_TV_USEC_FIELD_NUMBER = 46; + private long serverEndTvUsec_; + /** + * int64 server_end_tv_usec = 46; + * @return The serverEndTvUsec. + */ + @java.lang.Override + public long getServerEndTvUsec() { + return serverEndTvUsec_; + } + + public static final int PROBE_IP_FIELD_NUMBER = 47; + private volatile java.lang.Object probeIp_; + /** + * string probe_ip = 47; + * @return The probeIp. + */ + @java.lang.Override + public java.lang.String getProbeIp() { + java.lang.Object ref = probeIp_; + 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(); + probeIp_ = s; + return s; + } + } + /** + * string probe_ip = 47; + * @return The bytes for probeIp. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getProbeIpBytes() { + java.lang.Object ref = probeIp_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + probeIp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROBE_IF_FIELD_NUMBER = 48; + private long probeIf_; + /** + * int64 probe_if = 48; + * @return The probeIf. + */ + @java.lang.Override + public long getProbeIf() { + return probeIf_; + } + + public static final int SERVER_TRANSLATE_TIME_FIELD_NUMBER = 49; + private long serverTranslateTime_; + /** + * int64 server_translate_time = 49; + * @return The serverTranslateTime. + */ + @java.lang.Override + public long getServerTranslateTime() { + return serverTranslateTime_; + } + + public static final int TIME_FLAG_FIELD_NUMBER = 50; + private long timeFlag_; + /** + * int64 time_flag = 50; + * @return The timeFlag. + */ + @java.lang.Override + public long getTimeFlag() { + return timeFlag_; + } + + public static final int BASE_CODE_FIELD_NUMBER = 51; + private volatile java.lang.Object baseCode_; + /** + * string base_code = 51; + * @return The baseCode. + */ + @java.lang.Override + public java.lang.String getBaseCode() { + java.lang.Object ref = baseCode_; + 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(); + baseCode_ = s; + return s; + } + } + /** + * string base_code = 51; + * @return The bytes for baseCode. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBaseCodeBytes() { + java.lang.Object ref = baseCode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + baseCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORI_SQL_FIELD_NUMBER = 52; + private volatile java.lang.Object oriSql_; + /** + * string ori_sql = 52; + * @return The oriSql. + */ + @java.lang.Override + public java.lang.String getOriSql() { + java.lang.Object ref = oriSql_; + 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(); + oriSql_ = s; + return s; + } + } + /** + * string ori_sql = 52; + * @return The bytes for oriSql. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOriSqlBytes() { + java.lang.Object ref = oriSql_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + oriSql_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESERVED_FIELD_NUMBER = 53; + private volatile java.lang.Object reserved_; + /** + * string reserved = 53; + * @return The reserved. + */ + @java.lang.Override + public java.lang.String getReserved() { + java.lang.Object ref = reserved_; + 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(); + reserved_ = s; + return s; + } + } + /** + * string reserved = 53; + * @return The bytes for reserved. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getReservedBytes() { + java.lang.Object ref = reserved_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reserved_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BYTES_IN_FIELD_NUMBER = 54; + private long bytesIn_; + /** + * int64 bytes_in = 54; + * @return The bytesIn. + */ + @java.lang.Override + public long getBytesIn() { + return bytesIn_; + } + + public static final int BYTES_OUT_FIELD_NUMBER = 55; + private long bytesOut_; + /** + * int64 bytes_out = 55; + * @return The bytesOut. + */ + @java.lang.Override + public long getBytesOut() { + return bytesOut_; + } + + public static final int PACKAGE_IN_FIELD_NUMBER = 56; + private int packageIn_; + /** + * int32 package_in = 56; + * @return The packageIn. + */ + @java.lang.Override + public int getPackageIn() { + return packageIn_; + } + + public static final int PACKAGE_OUT_FIELD_NUMBER = 57; + private int packageOut_; + /** + * int32 package_out = 57; + * @return The packageOut. + */ + @java.lang.Override + public int getPackageOut() { + return packageOut_; + } + + public static final int DATA_ID_FIELD_NUMBER = 58; + private volatile java.lang.Object dataId_; + /** + * string data_id = 58; + * @return The dataId. + */ + @java.lang.Override + public java.lang.String getDataId() { + java.lang.Object ref = dataId_; + 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(); + dataId_ = s; + return s; + } + } + /** + * string data_id = 58; + * @return The bytes for dataId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDataIdBytes() { + java.lang.Object ref = dataId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FILTER_ID_FIELD_NUMBER = 59; + private int filterId_; + /** + * int32 filter_id = 59; + * @return The filterId. + */ + @java.lang.Override + public int getFilterId() { + return filterId_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redisRegex_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, redisRegex_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, id_); + } + if (msgLen_ != 0L) { + output.writeInt64(4, msgLen_); + } + if (msgType_ != 0) { + output.writeInt32(5, msgType_); + } + if (srcMac_ != 0L) { + output.writeInt64(6, srcMac_); + } + if (dstMac_ != 0L) { + output.writeInt64(7, dstMac_); + } + if (protocol_ != 0) { + output.writeInt32(8, protocol_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionSerialNumber_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, sessionSerialNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bussType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, bussType_); + } + if (requestIp_ != 0L) { + output.writeInt64(11, requestIp_); + } + if (requestPort_ != 0) { + output.writeInt32(12, requestPort_); + } + if (responseIp_ != 0L) { + output.writeInt64(13, responseIp_); + } + if (responsePort_ != 0) { + output.writeInt32(14, responsePort_); + } + if (startTvSec_ != 0L) { + output.writeInt64(15, startTvSec_); + } + if (startTvUsec_ != 0L) { + output.writeInt64(16, startTvUsec_); + } + if (endTvSec_ != 0L) { + output.writeInt64(17, endTvSec_); + } + if (endTvUsec_ != 0L) { + output.writeInt64(18, endTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(discResourceIdent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19, discResourceIdent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 20, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 21, sessionId_); + } + if (requestMsgLength_ != 0) { + output.writeInt32(22, requestMsgLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestMsgDetail_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 23, requestMsgDetail_); + } + if (responseMsgLength_ != 0) { + output.writeInt32(24, responseMsgLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseMsgDetail_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, responseMsgDetail_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reterUrl_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 26, reterUrl_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xRequestedWith_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 27, xRequestedWith_); + } + if (reqMethod_ != 0L) { + output.writeInt64(28, reqMethod_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 29, contentType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accept_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30, accept_); + } + if (reqCookieLeng_ != 0) { + output.writeInt32(31, reqCookieLeng_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reqCookieDetail_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 32, reqCookieDetail_); + } + if (tIntodbTime_ != 0L) { + output.writeInt64(33, tIntodbTime_); + } + if (loadOrStep_ != 0) { + output.writeInt32(34, loadOrStep_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 35, businessDetailMesg_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bussinessKeyMesg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 36, bussinessKeyMesg_); + } + if (isUncomplete_ != 0) { + output.writeInt32(37, isUncomplete_); + } + if (dealState_ != 0) { + output.writeInt32(38, dealState_); + } + if (serverResCode_ != 0) { + output.writeInt32(39, serverResCode_); + } + if (serverResponseTime_ != 0L) { + output.writeInt64(40, serverResponseTime_); + } + if (clientTranslateTime_ != 0L) { + output.writeInt64(41, clientTranslateTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(browser_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 42, browser_); + } + if (serverStartTvSec_ != 0L) { + output.writeInt64(43, serverStartTvSec_); + } + if (serverStartTvUsec_ != 0L) { + output.writeInt64(44, serverStartTvUsec_); + } + if (serverEndTvSec_ != 0L) { + output.writeInt64(45, serverEndTvSec_); + } + if (serverEndTvUsec_ != 0L) { + output.writeInt64(46, serverEndTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(probeIp_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 47, probeIp_); + } + if (probeIf_ != 0L) { + output.writeInt64(48, probeIf_); + } + if (serverTranslateTime_ != 0L) { + output.writeInt64(49, serverTranslateTime_); + } + if (timeFlag_ != 0L) { + output.writeInt64(50, timeFlag_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 51, baseCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oriSql_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 52, oriSql_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reserved_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 53, reserved_); + } + if (bytesIn_ != 0L) { + output.writeInt64(54, bytesIn_); + } + if (bytesOut_ != 0L) { + output.writeInt64(55, bytesOut_); + } + if (packageIn_ != 0) { + output.writeInt32(56, packageIn_); + } + if (packageOut_ != 0) { + output.writeInt32(57, packageOut_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 58, dataId_); + } + if (filterId_ != 0) { + output.writeInt32(59, filterId_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(redisRegex_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, redisRegex_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, id_); + } + if (msgLen_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, msgLen_); + } + if (msgType_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(5, msgType_); + } + if (srcMac_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(6, srcMac_); + } + if (dstMac_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(7, dstMac_); + } + if (protocol_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(8, protocol_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionSerialNumber_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, sessionSerialNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bussType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, bussType_); + } + if (requestIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, requestIp_); + } + if (requestPort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(12, requestPort_); + } + if (responseIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, responseIp_); + } + if (responsePort_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, responsePort_); + } + if (startTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, startTvSec_); + } + if (startTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(16, startTvUsec_); + } + if (endTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, endTvSec_); + } + if (endTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(18, endTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(discResourceIdent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, discResourceIdent_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, sessionId_); + } + if (requestMsgLength_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(22, requestMsgLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestMsgDetail_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, requestMsgDetail_); + } + if (responseMsgLength_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(24, responseMsgLength_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseMsgDetail_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, responseMsgDetail_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reterUrl_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, reterUrl_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(xRequestedWith_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, xRequestedWith_); + } + if (reqMethod_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(28, reqMethod_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contentType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(29, contentType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accept_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, accept_); + } + if (reqCookieLeng_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(31, reqCookieLeng_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reqCookieDetail_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, reqCookieDetail_); + } + if (tIntodbTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(33, tIntodbTime_); + } + if (loadOrStep_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(34, loadOrStep_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, businessDetailMesg_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bussinessKeyMesg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, bussinessKeyMesg_); + } + if (isUncomplete_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(37, isUncomplete_); + } + if (dealState_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(38, dealState_); + } + if (serverResCode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(39, serverResCode_); + } + if (serverResponseTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(40, serverResponseTime_); + } + if (clientTranslateTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(41, clientTranslateTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(browser_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(42, browser_); + } + if (serverStartTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(43, serverStartTvSec_); + } + if (serverStartTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(44, serverStartTvUsec_); + } + if (serverEndTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(45, serverEndTvSec_); + } + if (serverEndTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(46, serverEndTvUsec_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(probeIp_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(47, probeIp_); + } + if (probeIf_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(48, probeIf_); + } + if (serverTranslateTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(49, serverTranslateTime_); + } + if (timeFlag_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(50, timeFlag_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(baseCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(51, baseCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(oriSql_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(52, oriSql_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reserved_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(53, reserved_); + } + if (bytesIn_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(54, bytesIn_); + } + if (bytesOut_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(55, bytesOut_); + } + if (packageIn_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(56, packageIn_); + } + if (packageOut_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(57, packageOut_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dataId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(58, dataId_); + } + if (filterId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(59, filterId_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb other = (com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb) obj; + + if (getTableId() + != other.getTableId()) return false; + if (!getRedisRegex() + .equals(other.getRedisRegex())) return false; + if (!getId() + .equals(other.getId())) return false; + if (getMsgLen() + != other.getMsgLen()) return false; + if (getMsgType() + != other.getMsgType()) return false; + if (getSrcMac() + != other.getSrcMac()) return false; + if (getDstMac() + != other.getDstMac()) return false; + if (getProtocol() + != other.getProtocol()) return false; + if (!getSessionSerialNumber() + .equals(other.getSessionSerialNumber())) return false; + if (!getBussType() + .equals(other.getBussType())) return false; + if (getRequestIp() + != other.getRequestIp()) return false; + if (getRequestPort() + != other.getRequestPort()) return false; + if (getResponseIp() + != other.getResponseIp()) return false; + if (getResponsePort() + != other.getResponsePort()) return false; + if (getStartTvSec() + != other.getStartTvSec()) return false; + if (getStartTvUsec() + != other.getStartTvUsec()) return false; + if (getEndTvSec() + != other.getEndTvSec()) return false; + if (getEndTvUsec() + != other.getEndTvUsec()) return false; + if (!getDiscResourceIdent() + .equals(other.getDiscResourceIdent())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getSessionId() + .equals(other.getSessionId())) return false; + if (getRequestMsgLength() + != other.getRequestMsgLength()) return false; + if (!getRequestMsgDetail() + .equals(other.getRequestMsgDetail())) return false; + if (getResponseMsgLength() + != other.getResponseMsgLength()) return false; + if (!getResponseMsgDetail() + .equals(other.getResponseMsgDetail())) return false; + if (!getReterUrl() + .equals(other.getReterUrl())) return false; + if (!getXRequestedWith() + .equals(other.getXRequestedWith())) return false; + if (getReqMethod() + != other.getReqMethod()) return false; + if (!getContentType() + .equals(other.getContentType())) return false; + if (!getAccept() + .equals(other.getAccept())) return false; + if (getReqCookieLeng() + != other.getReqCookieLeng()) return false; + if (!getReqCookieDetail() + .equals(other.getReqCookieDetail())) return false; + if (getTIntodbTime() + != other.getTIntodbTime()) return false; + if (getLoadOrStep() + != other.getLoadOrStep()) return false; + if (!getBusinessDetailMesg() + .equals(other.getBusinessDetailMesg())) return false; + if (!getBussinessKeyMesg() + .equals(other.getBussinessKeyMesg())) return false; + if (getIsUncomplete() + != other.getIsUncomplete()) return false; + if (getDealState() + != other.getDealState()) return false; + if (getServerResCode() + != other.getServerResCode()) return false; + if (getServerResponseTime() + != other.getServerResponseTime()) return false; + if (getClientTranslateTime() + != other.getClientTranslateTime()) return false; + if (!getBrowser() + .equals(other.getBrowser())) return false; + if (getServerStartTvSec() + != other.getServerStartTvSec()) return false; + if (getServerStartTvUsec() + != other.getServerStartTvUsec()) return false; + if (getServerEndTvSec() + != other.getServerEndTvSec()) return false; + if (getServerEndTvUsec() + != other.getServerEndTvUsec()) return false; + if (!getProbeIp() + .equals(other.getProbeIp())) return false; + if (getProbeIf() + != other.getProbeIf()) return false; + if (getServerTranslateTime() + != other.getServerTranslateTime()) return false; + if (getTimeFlag() + != other.getTimeFlag()) return false; + if (!getBaseCode() + .equals(other.getBaseCode())) return false; + if (!getOriSql() + .equals(other.getOriSql())) return false; + if (!getReserved() + .equals(other.getReserved())) return false; + if (getBytesIn() + != other.getBytesIn()) return false; + if (getBytesOut() + != other.getBytesOut()) return false; + if (getPackageIn() + != other.getPackageIn()) return false; + if (getPackageOut() + != other.getPackageOut()) return false; + if (!getDataId() + .equals(other.getDataId())) return false; + if (getFilterId() + != other.getFilterId()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + REDISREGEX_FIELD_NUMBER; + hash = (53 * hash) + getRedisRegex().hashCode(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + hash = (37 * hash) + MSG_LEN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMsgLen()); + hash = (37 * hash) + MSG_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getMsgType(); + hash = (37 * hash) + SRC_MAC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSrcMac()); + hash = (37 * hash) + DST_MAC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getDstMac()); + hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; + hash = (53 * hash) + getProtocol(); + hash = (37 * hash) + SESSION_SERIAL_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getSessionSerialNumber().hashCode(); + hash = (37 * hash) + BUSS_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getBussType().hashCode(); + hash = (37 * hash) + REQUEST_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRequestIp()); + hash = (37 * hash) + REQUEST_PORT_FIELD_NUMBER; + hash = (53 * hash) + getRequestPort(); + hash = (37 * hash) + RESPONSE_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResponseIp()); + hash = (37 * hash) + RESPONSE_PORT_FIELD_NUMBER; + hash = (53 * hash) + getResponsePort(); + hash = (37 * hash) + START_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvSec()); + hash = (37 * hash) + START_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvUsec()); + hash = (37 * hash) + END_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvSec()); + hash = (37 * hash) + END_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvUsec()); + hash = (37 * hash) + DISC_RESOURCE_IDENT_FIELD_NUMBER; + hash = (53 * hash) + getDiscResourceIdent().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getSessionId().hashCode(); + hash = (37 * hash) + REQUEST_MSG_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getRequestMsgLength(); + hash = (37 * hash) + REQUEST_MSG_DETAIL_FIELD_NUMBER; + hash = (53 * hash) + getRequestMsgDetail().hashCode(); + hash = (37 * hash) + RESPONSE_MSG_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getResponseMsgLength(); + hash = (37 * hash) + RESPONSE_MSG_DETAIL_FIELD_NUMBER; + hash = (53 * hash) + getResponseMsgDetail().hashCode(); + hash = (37 * hash) + RETER_URL_FIELD_NUMBER; + hash = (53 * hash) + getReterUrl().hashCode(); + hash = (37 * hash) + X_REQUESTED_WITH_FIELD_NUMBER; + hash = (53 * hash) + getXRequestedWith().hashCode(); + hash = (37 * hash) + REQ_METHOD_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getReqMethod()); + hash = (37 * hash) + CONTENT_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getContentType().hashCode(); + hash = (37 * hash) + ACCEPT_FIELD_NUMBER; + hash = (53 * hash) + getAccept().hashCode(); + hash = (37 * hash) + REQ_COOKIE_LENG_FIELD_NUMBER; + hash = (53 * hash) + getReqCookieLeng(); + hash = (37 * hash) + REQ_COOKIE_DETAIL_FIELD_NUMBER; + hash = (53 * hash) + getReqCookieDetail().hashCode(); + hash = (37 * hash) + T_INTODB_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTIntodbTime()); + hash = (37 * hash) + LOAD_OR_STEP_FIELD_NUMBER; + hash = (53 * hash) + getLoadOrStep(); + hash = (37 * hash) + BUSINESS_DETAIL_MESG_FIELD_NUMBER; + hash = (53 * hash) + getBusinessDetailMesg().hashCode(); + hash = (37 * hash) + BUSSINESS_KEY_MESG_FIELD_NUMBER; + hash = (53 * hash) + getBussinessKeyMesg().hashCode(); + hash = (37 * hash) + ISUNCOMPLETE_FIELD_NUMBER; + hash = (53 * hash) + getIsUncomplete(); + hash = (37 * hash) + DEAL_STATE_FIELD_NUMBER; + hash = (53 * hash) + getDealState(); + hash = (37 * hash) + SERVER_RES_CODE_FIELD_NUMBER; + hash = (53 * hash) + getServerResCode(); + hash = (37 * hash) + SERVER_RESPONSE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerResponseTime()); + hash = (37 * hash) + CLIENT_TRANSLATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getClientTranslateTime()); + hash = (37 * hash) + BROWSER_FIELD_NUMBER; + hash = (53 * hash) + getBrowser().hashCode(); + hash = (37 * hash) + SERVER_START_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerStartTvSec()); + hash = (37 * hash) + SERVER_START_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerStartTvUsec()); + hash = (37 * hash) + SERVER_END_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerEndTvSec()); + hash = (37 * hash) + SERVER_END_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerEndTvUsec()); + hash = (37 * hash) + PROBE_IP_FIELD_NUMBER; + hash = (53 * hash) + getProbeIp().hashCode(); + hash = (37 * hash) + PROBE_IF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProbeIf()); + hash = (37 * hash) + SERVER_TRANSLATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerTranslateTime()); + hash = (37 * hash) + TIME_FLAG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimeFlag()); + hash = (37 * hash) + BASE_CODE_FIELD_NUMBER; + hash = (53 * hash) + getBaseCode().hashCode(); + hash = (37 * hash) + ORI_SQL_FIELD_NUMBER; + hash = (53 * hash) + getOriSql().hashCode(); + hash = (37 * hash) + RESERVED_FIELD_NUMBER; + hash = (53 * hash) + getReserved().hashCode(); + hash = (37 * hash) + BYTES_IN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesIn()); + hash = (37 * hash) + BYTES_OUT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBytesOut()); + hash = (37 * hash) + PACKAGE_IN_FIELD_NUMBER; + hash = (53 * hash) + getPackageIn(); + hash = (37 * hash) + PACKAGE_OUT_FIELD_NUMBER; + hash = (53 * hash) + getPackageOut(); + hash = (37 * hash) + DATA_ID_FIELD_NUMBER; + hash = (53 * hash) + getDataId().hashCode(); + hash = (37 * hash) + FILTER_ID_FIELD_NUMBER; + hash = (53 * hash) + getFilterId(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.BussFlowDb} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.BussFlowDb) + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDbOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.internal_static_dataflow_BussFlowDb_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.internal_static_dataflow_BussFlowDb_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.class, com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + redisRegex_ = ""; + + id_ = ""; + + msgLen_ = 0L; + + msgType_ = 0; + + srcMac_ = 0L; + + dstMac_ = 0L; + + protocol_ = 0; + + sessionSerialNumber_ = ""; + + bussType_ = ""; + + requestIp_ = 0L; + + requestPort_ = 0; + + responseIp_ = 0L; + + responsePort_ = 0; + + startTvSec_ = 0L; + + startTvUsec_ = 0L; + + endTvSec_ = 0L; + + endTvUsec_ = 0L; + + discResourceIdent_ = ""; + + name_ = ""; + + sessionId_ = ""; + + requestMsgLength_ = 0; + + requestMsgDetail_ = ""; + + responseMsgLength_ = 0; + + responseMsgDetail_ = ""; + + reterUrl_ = ""; + + xRequestedWith_ = ""; + + reqMethod_ = 0L; + + contentType_ = ""; + + accept_ = ""; + + reqCookieLeng_ = 0; + + reqCookieDetail_ = ""; + + tIntodbTime_ = 0L; + + loadOrStep_ = 0; + + businessDetailMesg_ = ""; + + bussinessKeyMesg_ = ""; + + isUncomplete_ = 0; + + dealState_ = 0; + + serverResCode_ = 0; + + serverResponseTime_ = 0L; + + clientTranslateTime_ = 0L; + + browser_ = ""; + + serverStartTvSec_ = 0L; + + serverStartTvUsec_ = 0L; + + serverEndTvSec_ = 0L; + + serverEndTvUsec_ = 0L; + + probeIp_ = ""; + + probeIf_ = 0L; + + serverTranslateTime_ = 0L; + + timeFlag_ = 0L; + + baseCode_ = ""; + + oriSql_ = ""; + + reserved_ = ""; + + bytesIn_ = 0L; + + bytesOut_ = 0L; + + packageIn_ = 0; + + packageOut_ = 0; + + dataId_ = ""; + + filterId_ = 0; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.internal_static_dataflow_BussFlowDb_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb build() { + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb buildPartial() { + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb result = new com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb(this); + result.tableId_ = tableId_; + result.redisRegex_ = redisRegex_; + result.id_ = id_; + result.msgLen_ = msgLen_; + result.msgType_ = msgType_; + result.srcMac_ = srcMac_; + result.dstMac_ = dstMac_; + result.protocol_ = protocol_; + result.sessionSerialNumber_ = sessionSerialNumber_; + result.bussType_ = bussType_; + result.requestIp_ = requestIp_; + result.requestPort_ = requestPort_; + result.responseIp_ = responseIp_; + result.responsePort_ = responsePort_; + result.startTvSec_ = startTvSec_; + result.startTvUsec_ = startTvUsec_; + result.endTvSec_ = endTvSec_; + result.endTvUsec_ = endTvUsec_; + result.discResourceIdent_ = discResourceIdent_; + result.name_ = name_; + result.sessionId_ = sessionId_; + result.requestMsgLength_ = requestMsgLength_; + result.requestMsgDetail_ = requestMsgDetail_; + result.responseMsgLength_ = responseMsgLength_; + result.responseMsgDetail_ = responseMsgDetail_; + result.reterUrl_ = reterUrl_; + result.xRequestedWith_ = xRequestedWith_; + result.reqMethod_ = reqMethod_; + result.contentType_ = contentType_; + result.accept_ = accept_; + result.reqCookieLeng_ = reqCookieLeng_; + result.reqCookieDetail_ = reqCookieDetail_; + result.tIntodbTime_ = tIntodbTime_; + result.loadOrStep_ = loadOrStep_; + result.businessDetailMesg_ = businessDetailMesg_; + result.bussinessKeyMesg_ = bussinessKeyMesg_; + result.isUncomplete_ = isUncomplete_; + result.dealState_ = dealState_; + result.serverResCode_ = serverResCode_; + result.serverResponseTime_ = serverResponseTime_; + result.clientTranslateTime_ = clientTranslateTime_; + result.browser_ = browser_; + result.serverStartTvSec_ = serverStartTvSec_; + result.serverStartTvUsec_ = serverStartTvUsec_; + result.serverEndTvSec_ = serverEndTvSec_; + result.serverEndTvUsec_ = serverEndTvUsec_; + result.probeIp_ = probeIp_; + result.probeIf_ = probeIf_; + result.serverTranslateTime_ = serverTranslateTime_; + result.timeFlag_ = timeFlag_; + result.baseCode_ = baseCode_; + result.oriSql_ = oriSql_; + result.reserved_ = reserved_; + result.bytesIn_ = bytesIn_; + result.bytesOut_ = bytesOut_; + result.packageIn_ = packageIn_; + result.packageOut_ = packageOut_; + result.dataId_ = dataId_; + result.filterId_ = filterId_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb) { + return mergeFrom((com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb other) { + if (other == com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (!other.getRedisRegex().isEmpty()) { + redisRegex_ = other.redisRegex_; + onChanged(); + } + if (!other.getId().isEmpty()) { + id_ = other.id_; + onChanged(); + } + if (other.getMsgLen() != 0L) { + setMsgLen(other.getMsgLen()); + } + if (other.getMsgType() != 0) { + setMsgType(other.getMsgType()); + } + if (other.getSrcMac() != 0L) { + setSrcMac(other.getSrcMac()); + } + if (other.getDstMac() != 0L) { + setDstMac(other.getDstMac()); + } + if (other.getProtocol() != 0) { + setProtocol(other.getProtocol()); + } + if (!other.getSessionSerialNumber().isEmpty()) { + sessionSerialNumber_ = other.sessionSerialNumber_; + onChanged(); + } + if (!other.getBussType().isEmpty()) { + bussType_ = other.bussType_; + onChanged(); + } + if (other.getRequestIp() != 0L) { + setRequestIp(other.getRequestIp()); + } + if (other.getRequestPort() != 0) { + setRequestPort(other.getRequestPort()); + } + if (other.getResponseIp() != 0L) { + setResponseIp(other.getResponseIp()); + } + if (other.getResponsePort() != 0) { + setResponsePort(other.getResponsePort()); + } + if (other.getStartTvSec() != 0L) { + setStartTvSec(other.getStartTvSec()); + } + if (other.getStartTvUsec() != 0L) { + setStartTvUsec(other.getStartTvUsec()); + } + if (other.getEndTvSec() != 0L) { + setEndTvSec(other.getEndTvSec()); + } + if (other.getEndTvUsec() != 0L) { + setEndTvUsec(other.getEndTvUsec()); + } + if (!other.getDiscResourceIdent().isEmpty()) { + discResourceIdent_ = other.discResourceIdent_; + onChanged(); + } + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getSessionId().isEmpty()) { + sessionId_ = other.sessionId_; + onChanged(); + } + if (other.getRequestMsgLength() != 0) { + setRequestMsgLength(other.getRequestMsgLength()); + } + if (!other.getRequestMsgDetail().isEmpty()) { + requestMsgDetail_ = other.requestMsgDetail_; + onChanged(); + } + if (other.getResponseMsgLength() != 0) { + setResponseMsgLength(other.getResponseMsgLength()); + } + if (!other.getResponseMsgDetail().isEmpty()) { + responseMsgDetail_ = other.responseMsgDetail_; + onChanged(); + } + if (!other.getReterUrl().isEmpty()) { + reterUrl_ = other.reterUrl_; + onChanged(); + } + if (!other.getXRequestedWith().isEmpty()) { + xRequestedWith_ = other.xRequestedWith_; + onChanged(); + } + if (other.getReqMethod() != 0L) { + setReqMethod(other.getReqMethod()); + } + if (!other.getContentType().isEmpty()) { + contentType_ = other.contentType_; + onChanged(); + } + if (!other.getAccept().isEmpty()) { + accept_ = other.accept_; + onChanged(); + } + if (other.getReqCookieLeng() != 0) { + setReqCookieLeng(other.getReqCookieLeng()); + } + if (!other.getReqCookieDetail().isEmpty()) { + reqCookieDetail_ = other.reqCookieDetail_; + onChanged(); + } + if (other.getTIntodbTime() != 0L) { + setTIntodbTime(other.getTIntodbTime()); + } + if (other.getLoadOrStep() != 0) { + setLoadOrStep(other.getLoadOrStep()); + } + if (!other.getBusinessDetailMesg().isEmpty()) { + businessDetailMesg_ = other.businessDetailMesg_; + onChanged(); + } + if (!other.getBussinessKeyMesg().isEmpty()) { + bussinessKeyMesg_ = other.bussinessKeyMesg_; + onChanged(); + } + if (other.getIsUncomplete() != 0) { + setIsUncomplete(other.getIsUncomplete()); + } + if (other.getDealState() != 0) { + setDealState(other.getDealState()); + } + if (other.getServerResCode() != 0) { + setServerResCode(other.getServerResCode()); + } + if (other.getServerResponseTime() != 0L) { + setServerResponseTime(other.getServerResponseTime()); + } + if (other.getClientTranslateTime() != 0L) { + setClientTranslateTime(other.getClientTranslateTime()); + } + if (!other.getBrowser().isEmpty()) { + browser_ = other.browser_; + onChanged(); + } + if (other.getServerStartTvSec() != 0L) { + setServerStartTvSec(other.getServerStartTvSec()); + } + if (other.getServerStartTvUsec() != 0L) { + setServerStartTvUsec(other.getServerStartTvUsec()); + } + if (other.getServerEndTvSec() != 0L) { + setServerEndTvSec(other.getServerEndTvSec()); + } + if (other.getServerEndTvUsec() != 0L) { + setServerEndTvUsec(other.getServerEndTvUsec()); + } + if (!other.getProbeIp().isEmpty()) { + probeIp_ = other.probeIp_; + onChanged(); + } + if (other.getProbeIf() != 0L) { + setProbeIf(other.getProbeIf()); + } + if (other.getServerTranslateTime() != 0L) { + setServerTranslateTime(other.getServerTranslateTime()); + } + if (other.getTimeFlag() != 0L) { + setTimeFlag(other.getTimeFlag()); + } + if (!other.getBaseCode().isEmpty()) { + baseCode_ = other.baseCode_; + onChanged(); + } + if (!other.getOriSql().isEmpty()) { + oriSql_ = other.oriSql_; + onChanged(); + } + if (!other.getReserved().isEmpty()) { + reserved_ = other.reserved_; + onChanged(); + } + if (other.getBytesIn() != 0L) { + setBytesIn(other.getBytesIn()); + } + if (other.getBytesOut() != 0L) { + setBytesOut(other.getBytesOut()); + } + if (other.getPackageIn() != 0) { + setPackageIn(other.getPackageIn()); + } + if (other.getPackageOut() != 0) { + setPackageOut(other.getPackageOut()); + } + if (!other.getDataId().isEmpty()) { + dataId_ = other.dataId_; + onChanged(); + } + if (other.getFilterId() != 0) { + setFilterId(other.getFilterId()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object redisRegex_ = ""; + /** + *
+       * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+       * 
+ * + * string redisRegex = 2; + * @return The redisRegex. + */ + public java.lang.String getRedisRegex() { + java.lang.Object ref = redisRegex_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + redisRegex_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+       * 
+ * + * string redisRegex = 2; + * @return The bytes for redisRegex. + */ + public com.google.protobuf.ByteString + getRedisRegexBytes() { + java.lang.Object ref = redisRegex_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + redisRegex_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+       * 
+ * + * string redisRegex = 2; + * @param value The redisRegex to set. + * @return This builder for chaining. + */ + public Builder setRedisRegex( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + redisRegex_ = value; + onChanged(); + return this; + } + /** + *
+       * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+       * 
+ * + * string redisRegex = 2; + * @return This builder for chaining. + */ + public Builder clearRedisRegex() { + + redisRegex_ = getDefaultInstance().getRedisRegex(); + onChanged(); + return this; + } + /** + *
+       * redis资源归并,处理服务资源发现是需要设置识别串(正则表达式)
+       * 
+ * + * string redisRegex = 2; + * @param value The bytes for redisRegex to set. + * @return This builder for chaining. + */ + public Builder setRedisRegexBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + redisRegex_ = value; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + /** + *
+       *id
+       * 
+ * + * string id = 3; + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *id
+       * 
+ * + * string id = 3; + * @return The bytes for id. + */ + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *id
+       * 
+ * + * string id = 3; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + id_ = value; + onChanged(); + return this; + } + /** + *
+       *id
+       * 
+ * + * string id = 3; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + /** + *
+       *id
+       * 
+ * + * string id = 3; + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + id_ = value; + onChanged(); + return this; + } + + private long msgLen_ ; + /** + *
+       *消息长度
+       * 
+ * + * int64 msg_len = 4; + * @return The msgLen. + */ + @java.lang.Override + public long getMsgLen() { + return msgLen_; + } + /** + *
+       *消息长度
+       * 
+ * + * int64 msg_len = 4; + * @param value The msgLen to set. + * @return This builder for chaining. + */ + public Builder setMsgLen(long value) { + + msgLen_ = value; + onChanged(); + return this; + } + /** + *
+       *消息长度
+       * 
+ * + * int64 msg_len = 4; + * @return This builder for chaining. + */ + public Builder clearMsgLen() { + + msgLen_ = 0L; + onChanged(); + return this; + } + + private int msgType_ ; + /** + *
+       *消息类型
+       * 
+ * + * int32 msg_type = 5; + * @return The msgType. + */ + @java.lang.Override + public int getMsgType() { + return msgType_; + } + /** + *
+       *消息类型
+       * 
+ * + * int32 msg_type = 5; + * @param value The msgType to set. + * @return This builder for chaining. + */ + public Builder setMsgType(int value) { + + msgType_ = value; + onChanged(); + return this; + } + /** + *
+       *消息类型
+       * 
+ * + * int32 msg_type = 5; + * @return This builder for chaining. + */ + public Builder clearMsgType() { + + msgType_ = 0; + onChanged(); + return this; + } + + private long srcMac_ ; + /** + * int64 src_mac = 6; + * @return The srcMac. + */ + @java.lang.Override + public long getSrcMac() { + return srcMac_; + } + /** + * int64 src_mac = 6; + * @param value The srcMac to set. + * @return This builder for chaining. + */ + public Builder setSrcMac(long value) { + + srcMac_ = value; + onChanged(); + return this; + } + /** + * int64 src_mac = 6; + * @return This builder for chaining. + */ + public Builder clearSrcMac() { + + srcMac_ = 0L; + onChanged(); + return this; + } + + private long dstMac_ ; + /** + * int64 dst_mac = 7; + * @return The dstMac. + */ + @java.lang.Override + public long getDstMac() { + return dstMac_; + } + /** + * int64 dst_mac = 7; + * @param value The dstMac to set. + * @return This builder for chaining. + */ + public Builder setDstMac(long value) { + + dstMac_ = value; + onChanged(); + return this; + } + /** + * int64 dst_mac = 7; + * @return This builder for chaining. + */ + public Builder clearDstMac() { + + dstMac_ = 0L; + onChanged(); + return this; + } + + private int protocol_ ; + /** + *
+       *协议名
+       * 
+ * + * int32 protocol = 8; + * @return The protocol. + */ + @java.lang.Override + public int getProtocol() { + return protocol_; + } + /** + *
+       *协议名
+       * 
+ * + * int32 protocol = 8; + * @param value The protocol to set. + * @return This builder for chaining. + */ + public Builder setProtocol(int value) { + + protocol_ = value; + onChanged(); + return this; + } + /** + *
+       *协议名
+       * 
+ * + * int32 protocol = 8; + * @return This builder for chaining. + */ + public Builder clearProtocol() { + + protocol_ = 0; + onChanged(); + return this; + } + + private java.lang.Object sessionSerialNumber_ = ""; + /** + *
+       *会话序列号			
+       * 
+ * + * string session_serial_number = 9; + * @return The sessionSerialNumber. + */ + public java.lang.String getSessionSerialNumber() { + java.lang.Object ref = sessionSerialNumber_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionSerialNumber_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *会话序列号			
+       * 
+ * + * string session_serial_number = 9; + * @return The bytes for sessionSerialNumber. + */ + public com.google.protobuf.ByteString + getSessionSerialNumberBytes() { + java.lang.Object ref = sessionSerialNumber_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionSerialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *会话序列号			
+       * 
+ * + * string session_serial_number = 9; + * @param value The sessionSerialNumber to set. + * @return This builder for chaining. + */ + public Builder setSessionSerialNumber( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sessionSerialNumber_ = value; + onChanged(); + return this; + } + /** + *
+       *会话序列号			
+       * 
+ * + * string session_serial_number = 9; + * @return This builder for chaining. + */ + public Builder clearSessionSerialNumber() { + + sessionSerialNumber_ = getDefaultInstance().getSessionSerialNumber(); + onChanged(); + return this; + } + /** + *
+       *会话序列号			
+       * 
+ * + * string session_serial_number = 9; + * @param value The bytes for sessionSerialNumber to set. + * @return This builder for chaining. + */ + public Builder setSessionSerialNumberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sessionSerialNumber_ = value; + onChanged(); + return this; + } + + private java.lang.Object bussType_ = ""; + /** + *
+       *业务服务资源编码(C_01)
+       * 
+ * + * string buss_type = 10; + * @return The bussType. + */ + public java.lang.String getBussType() { + java.lang.Object ref = bussType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bussType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *业务服务资源编码(C_01)
+       * 
+ * + * string buss_type = 10; + * @return The bytes for bussType. + */ + public com.google.protobuf.ByteString + getBussTypeBytes() { + java.lang.Object ref = bussType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bussType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *业务服务资源编码(C_01)
+       * 
+ * + * string buss_type = 10; + * @param value The bussType to set. + * @return This builder for chaining. + */ + public Builder setBussType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bussType_ = value; + onChanged(); + return this; + } + /** + *
+       *业务服务资源编码(C_01)
+       * 
+ * + * string buss_type = 10; + * @return This builder for chaining. + */ + public Builder clearBussType() { + + bussType_ = getDefaultInstance().getBussType(); + onChanged(); + return this; + } + /** + *
+       *业务服务资源编码(C_01)
+       * 
+ * + * string buss_type = 10; + * @param value The bytes for bussType to set. + * @return This builder for chaining. + */ + public Builder setBussTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + bussType_ = value; + onChanged(); + return this; + } + + private long requestIp_ ; + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @param value The requestIp to set. + * @return This builder for chaining. + */ + public Builder setRequestIp(long value) { + + requestIp_ = value; + onChanged(); + return this; + } + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @return This builder for chaining. + */ + public Builder clearRequestIp() { + + requestIp_ = 0L; + onChanged(); + return this; + } + + private int requestPort_ ; + /** + *
+       *Web客户端端口
+       * 
+ * + * int32 request_port = 12; + * @return The requestPort. + */ + @java.lang.Override + public int getRequestPort() { + return requestPort_; + } + /** + *
+       *Web客户端端口
+       * 
+ * + * int32 request_port = 12; + * @param value The requestPort to set. + * @return This builder for chaining. + */ + public Builder setRequestPort(int value) { + + requestPort_ = value; + onChanged(); + return this; + } + /** + *
+       *Web客户端端口
+       * 
+ * + * int32 request_port = 12; + * @return This builder for chaining. + */ + public Builder clearRequestPort() { + + requestPort_ = 0; + onChanged(); + return this; + } + + private long responseIp_ ; + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @param value The responseIp to set. + * @return This builder for chaining. + */ + public Builder setResponseIp(long value) { + + responseIp_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @return This builder for chaining. + */ + public Builder clearResponseIp() { + + responseIp_ = 0L; + onChanged(); + return this; + } + + private int responsePort_ ; + /** + *
+       *Web服务器端口
+       * 
+ * + * int32 response_port = 14; + * @return The responsePort. + */ + @java.lang.Override + public int getResponsePort() { + return responsePort_; + } + /** + *
+       *Web服务器端口
+       * 
+ * + * int32 response_port = 14; + * @param value The responsePort to set. + * @return This builder for chaining. + */ + public Builder setResponsePort(int value) { + + responsePort_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器端口
+       * 
+ * + * int32 response_port = 14; + * @return This builder for chaining. + */ + public Builder clearResponsePort() { + + responsePort_ = 0; + onChanged(); + return this; + } + + private long startTvSec_ ; + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @param value The startTvSec to set. + * @return This builder for chaining. + */ + public Builder setStartTvSec(long value) { + + startTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @return This builder for chaining. + */ + public Builder clearStartTvSec() { + + startTvSec_ = 0L; + onChanged(); + return this; + } + + private long startTvUsec_ ; + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @param value The startTvUsec to set. + * @return This builder for chaining. + */ + public Builder setStartTvUsec(long value) { + + startTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *开始时间毫秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @return This builder for chaining. + */ + public Builder clearStartTvUsec() { + + startTvUsec_ = 0L; + onChanged(); + return this; + } + + private long endTvSec_ ; + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @param value The endTvSec to set. + * @return This builder for chaining. + */ + public Builder setEndTvSec(long value) { + + endTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @return This builder for chaining. + */ + public Builder clearEndTvSec() { + + endTvSec_ = 0L; + onChanged(); + return this; + } + + private long endTvUsec_ ; + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @param value The endTvUsec to set. + * @return This builder for chaining. + */ + public Builder setEndTvUsec(long value) { + + endTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @return This builder for chaining. + */ + public Builder clearEndTvUsec() { + + endTvUsec_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object discResourceIdent_ = ""; + /** + *
+       *web:url   mid:apiBody   db:sql
+       * 
+ * + * string disc_resource_ident = 19; + * @return The discResourceIdent. + */ + public java.lang.String getDiscResourceIdent() { + java.lang.Object ref = discResourceIdent_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + discResourceIdent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *web:url   mid:apiBody   db:sql
+       * 
+ * + * string disc_resource_ident = 19; + * @return The bytes for discResourceIdent. + */ + public com.google.protobuf.ByteString + getDiscResourceIdentBytes() { + java.lang.Object ref = discResourceIdent_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + discResourceIdent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *web:url   mid:apiBody   db:sql
+       * 
+ * + * string disc_resource_ident = 19; + * @param value The discResourceIdent to set. + * @return This builder for chaining. + */ + public Builder setDiscResourceIdent( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + discResourceIdent_ = value; + onChanged(); + return this; + } + /** + *
+       *web:url   mid:apiBody   db:sql
+       * 
+ * + * string disc_resource_ident = 19; + * @return This builder for chaining. + */ + public Builder clearDiscResourceIdent() { + + discResourceIdent_ = getDefaultInstance().getDiscResourceIdent(); + onChanged(); + return this; + } + /** + *
+       *web:url   mid:apiBody   db:sql
+       * 
+ * + * string disc_resource_ident = 19; + * @param value The bytes for discResourceIdent to set. + * @return This builder for chaining. + */ + public Builder setDiscResourceIdentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + discResourceIdent_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + *
+       *web:操作系统   midd:interfaceName  db:db_name
+       * 
+ * + * string name = 20; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *web:操作系统   midd:interfaceName  db:db_name
+       * 
+ * + * string name = 20; + * @return The bytes for name. + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *web:操作系统   midd:interfaceName  db:db_name
+       * 
+ * + * string name = 20; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + *
+       *web:操作系统   midd:interfaceName  db:db_name
+       * 
+ * + * string name = 20; + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + *
+       *web:操作系统   midd:interfaceName  db:db_name
+       * 
+ * + * string name = 20; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object sessionId_ = ""; + /** + *
+       *web midd
+       * 
+ * + * string session_id = 21; + * @return The sessionId. + */ + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *web midd
+       * 
+ * + * string session_id = 21; + * @return The bytes for sessionId. + */ + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *web midd
+       * 
+ * + * string session_id = 21; + * @param value The sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sessionId_ = value; + onChanged(); + return this; + } + /** + *
+       *web midd
+       * 
+ * + * string session_id = 21; + * @return This builder for chaining. + */ + public Builder clearSessionId() { + + sessionId_ = getDefaultInstance().getSessionId(); + onChanged(); + return this; + } + /** + *
+       *web midd
+       * 
+ * + * string session_id = 21; + * @param value The bytes for sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sessionId_ = value; + onChanged(); + return this; + } + + private int requestMsgLength_ ; + /** + *
+       *请求报文长度
+       * 
+ * + * int32 request_msg_length = 22; + * @return The requestMsgLength. + */ + @java.lang.Override + public int getRequestMsgLength() { + return requestMsgLength_; + } + /** + *
+       *请求报文长度
+       * 
+ * + * int32 request_msg_length = 22; + * @param value The requestMsgLength to set. + * @return This builder for chaining. + */ + public Builder setRequestMsgLength(int value) { + + requestMsgLength_ = value; + onChanged(); + return this; + } + /** + *
+       *请求报文长度
+       * 
+ * + * int32 request_msg_length = 22; + * @return This builder for chaining. + */ + public Builder clearRequestMsgLength() { + + requestMsgLength_ = 0; + onChanged(); + return this; + } + + private java.lang.Object requestMsgDetail_ = ""; + /** + *
+       *请求报文详情
+       * 
+ * + * string request_msg_detail = 23; + * @return The requestMsgDetail. + */ + public java.lang.String getRequestMsgDetail() { + java.lang.Object ref = requestMsgDetail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + requestMsgDetail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *请求报文详情
+       * 
+ * + * string request_msg_detail = 23; + * @return The bytes for requestMsgDetail. + */ + public com.google.protobuf.ByteString + getRequestMsgDetailBytes() { + java.lang.Object ref = requestMsgDetail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestMsgDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *请求报文详情
+       * 
+ * + * string request_msg_detail = 23; + * @param value The requestMsgDetail to set. + * @return This builder for chaining. + */ + public Builder setRequestMsgDetail( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + requestMsgDetail_ = value; + onChanged(); + return this; + } + /** + *
+       *请求报文详情
+       * 
+ * + * string request_msg_detail = 23; + * @return This builder for chaining. + */ + public Builder clearRequestMsgDetail() { + + requestMsgDetail_ = getDefaultInstance().getRequestMsgDetail(); + onChanged(); + return this; + } + /** + *
+       *请求报文详情
+       * 
+ * + * string request_msg_detail = 23; + * @param value The bytes for requestMsgDetail to set. + * @return This builder for chaining. + */ + public Builder setRequestMsgDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + requestMsgDetail_ = value; + onChanged(); + return this; + } + + private int responseMsgLength_ ; + /** + *
+       *响应报文长度
+       * 
+ * + * int32 response_msg_length = 24; + * @return The responseMsgLength. + */ + @java.lang.Override + public int getResponseMsgLength() { + return responseMsgLength_; + } + /** + *
+       *响应报文长度
+       * 
+ * + * int32 response_msg_length = 24; + * @param value The responseMsgLength to set. + * @return This builder for chaining. + */ + public Builder setResponseMsgLength(int value) { + + responseMsgLength_ = value; + onChanged(); + return this; + } + /** + *
+       *响应报文长度
+       * 
+ * + * int32 response_msg_length = 24; + * @return This builder for chaining. + */ + public Builder clearResponseMsgLength() { + + responseMsgLength_ = 0; + onChanged(); + return this; + } + + private java.lang.Object responseMsgDetail_ = ""; + /** + *
+       *响应报文详情
+       * 
+ * + * string response_msg_detail = 25; + * @return The responseMsgDetail. + */ + public java.lang.String getResponseMsgDetail() { + java.lang.Object ref = responseMsgDetail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + responseMsgDetail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *响应报文详情
+       * 
+ * + * string response_msg_detail = 25; + * @return The bytes for responseMsgDetail. + */ + public com.google.protobuf.ByteString + getResponseMsgDetailBytes() { + java.lang.Object ref = responseMsgDetail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + responseMsgDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *响应报文详情
+       * 
+ * + * string response_msg_detail = 25; + * @param value The responseMsgDetail to set. + * @return This builder for chaining. + */ + public Builder setResponseMsgDetail( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + responseMsgDetail_ = value; + onChanged(); + return this; + } + /** + *
+       *响应报文详情
+       * 
+ * + * string response_msg_detail = 25; + * @return This builder for chaining. + */ + public Builder clearResponseMsgDetail() { + + responseMsgDetail_ = getDefaultInstance().getResponseMsgDetail(); + onChanged(); + return this; + } + /** + *
+       *响应报文详情
+       * 
+ * + * string response_msg_detail = 25; + * @param value The bytes for responseMsgDetail to set. + * @return This builder for chaining. + */ + public Builder setResponseMsgDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + responseMsgDetail_ = value; + onChanged(); + return this; + } + + private java.lang.Object reterUrl_ = ""; + /** + *
+       *web段
+       * 
+ * + * string reter_url = 26; + * @return The reterUrl. + */ + public java.lang.String getReterUrl() { + java.lang.Object ref = reterUrl_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reterUrl_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *web段
+       * 
+ * + * string reter_url = 26; + * @return The bytes for reterUrl. + */ + public com.google.protobuf.ByteString + getReterUrlBytes() { + java.lang.Object ref = reterUrl_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reterUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *web段
+       * 
+ * + * string reter_url = 26; + * @param value The reterUrl to set. + * @return This builder for chaining. + */ + public Builder setReterUrl( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + reterUrl_ = value; + onChanged(); + return this; + } + /** + *
+       *web段
+       * 
+ * + * string reter_url = 26; + * @return This builder for chaining. + */ + public Builder clearReterUrl() { + + reterUrl_ = getDefaultInstance().getReterUrl(); + onChanged(); + return this; + } + /** + *
+       *web段
+       * 
+ * + * string reter_url = 26; + * @param value The bytes for reterUrl to set. + * @return This builder for chaining. + */ + public Builder setReterUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + reterUrl_ = value; + onChanged(); + return this; + } + + private java.lang.Object xRequestedWith_ = ""; + /** + * string x_requested_with = 27; + * @return The xRequestedWith. + */ + public java.lang.String getXRequestedWith() { + java.lang.Object ref = xRequestedWith_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + xRequestedWith_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string x_requested_with = 27; + * @return The bytes for xRequestedWith. + */ + public com.google.protobuf.ByteString + getXRequestedWithBytes() { + java.lang.Object ref = xRequestedWith_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + xRequestedWith_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string x_requested_with = 27; + * @param value The xRequestedWith to set. + * @return This builder for chaining. + */ + public Builder setXRequestedWith( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + xRequestedWith_ = value; + onChanged(); + return this; + } + /** + * string x_requested_with = 27; + * @return This builder for chaining. + */ + public Builder clearXRequestedWith() { + + xRequestedWith_ = getDefaultInstance().getXRequestedWith(); + onChanged(); + return this; + } + /** + * string x_requested_with = 27; + * @param value The bytes for xRequestedWith to set. + * @return This builder for chaining. + */ + public Builder setXRequestedWithBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + xRequestedWith_ = value; + onChanged(); + return this; + } + + private long reqMethod_ ; + /** + *
+       *请求方式
+       * 
+ * + * int64 req_method = 28; + * @return The reqMethod. + */ + @java.lang.Override + public long getReqMethod() { + return reqMethod_; + } + /** + *
+       *请求方式
+       * 
+ * + * int64 req_method = 28; + * @param value The reqMethod to set. + * @return This builder for chaining. + */ + public Builder setReqMethod(long value) { + + reqMethod_ = value; + onChanged(); + return this; + } + /** + *
+       *请求方式
+       * 
+ * + * int64 req_method = 28; + * @return This builder for chaining. + */ + public Builder clearReqMethod() { + + reqMethod_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object contentType_ = ""; + /** + *
+       *请求类型
+       * 
+ * + * string content_type = 29; + * @return The contentType. + */ + public java.lang.String getContentType() { + java.lang.Object ref = contentType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + contentType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *请求类型
+       * 
+ * + * string content_type = 29; + * @return The bytes for contentType. + */ + public com.google.protobuf.ByteString + getContentTypeBytes() { + java.lang.Object ref = contentType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + contentType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *请求类型
+       * 
+ * + * string content_type = 29; + * @param value The contentType to set. + * @return This builder for chaining. + */ + public Builder setContentType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + contentType_ = value; + onChanged(); + return this; + } + /** + *
+       *请求类型
+       * 
+ * + * string content_type = 29; + * @return This builder for chaining. + */ + public Builder clearContentType() { + + contentType_ = getDefaultInstance().getContentType(); + onChanged(); + return this; + } + /** + *
+       *请求类型
+       * 
+ * + * string content_type = 29; + * @param value The bytes for contentType to set. + * @return This builder for chaining. + */ + public Builder setContentTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + contentType_ = value; + onChanged(); + return this; + } + + private java.lang.Object accept_ = ""; + /** + *
+       *jieshou
+       * 
+ * + * string accept = 30; + * @return The accept. + */ + public java.lang.String getAccept() { + java.lang.Object ref = accept_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + accept_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *jieshou
+       * 
+ * + * string accept = 30; + * @return The bytes for accept. + */ + public com.google.protobuf.ByteString + getAcceptBytes() { + java.lang.Object ref = accept_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + accept_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *jieshou
+       * 
+ * + * string accept = 30; + * @param value The accept to set. + * @return This builder for chaining. + */ + public Builder setAccept( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + accept_ = value; + onChanged(); + return this; + } + /** + *
+       *jieshou
+       * 
+ * + * string accept = 30; + * @return This builder for chaining. + */ + public Builder clearAccept() { + + accept_ = getDefaultInstance().getAccept(); + onChanged(); + return this; + } + /** + *
+       *jieshou
+       * 
+ * + * string accept = 30; + * @param value The bytes for accept to set. + * @return This builder for chaining. + */ + public Builder setAcceptBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + accept_ = value; + onChanged(); + return this; + } + + private int reqCookieLeng_ ; + /** + *
+       *请求cookie报文长度
+       * 
+ * + * int32 req_cookie_leng = 31; + * @return The reqCookieLeng. + */ + @java.lang.Override + public int getReqCookieLeng() { + return reqCookieLeng_; + } + /** + *
+       *请求cookie报文长度
+       * 
+ * + * int32 req_cookie_leng = 31; + * @param value The reqCookieLeng to set. + * @return This builder for chaining. + */ + public Builder setReqCookieLeng(int value) { + + reqCookieLeng_ = value; + onChanged(); + return this; + } + /** + *
+       *请求cookie报文长度
+       * 
+ * + * int32 req_cookie_leng = 31; + * @return This builder for chaining. + */ + public Builder clearReqCookieLeng() { + + reqCookieLeng_ = 0; + onChanged(); + return this; + } + + private java.lang.Object reqCookieDetail_ = ""; + /** + *
+       *请求cookie报文详情
+       * 
+ * + * string req_cookie_detail = 32; + * @return The reqCookieDetail. + */ + public java.lang.String getReqCookieDetail() { + java.lang.Object ref = reqCookieDetail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reqCookieDetail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *请求cookie报文详情
+       * 
+ * + * string req_cookie_detail = 32; + * @return The bytes for reqCookieDetail. + */ + public com.google.protobuf.ByteString + getReqCookieDetailBytes() { + java.lang.Object ref = reqCookieDetail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reqCookieDetail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *请求cookie报文详情
+       * 
+ * + * string req_cookie_detail = 32; + * @param value The reqCookieDetail to set. + * @return This builder for chaining. + */ + public Builder setReqCookieDetail( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + reqCookieDetail_ = value; + onChanged(); + return this; + } + /** + *
+       *请求cookie报文详情
+       * 
+ * + * string req_cookie_detail = 32; + * @return This builder for chaining. + */ + public Builder clearReqCookieDetail() { + + reqCookieDetail_ = getDefaultInstance().getReqCookieDetail(); + onChanged(); + return this; + } + /** + *
+       *请求cookie报文详情
+       * 
+ * + * string req_cookie_detail = 32; + * @param value The bytes for reqCookieDetail to set. + * @return This builder for chaining. + */ + public Builder setReqCookieDetailBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + reqCookieDetail_ = value; + onChanged(); + return this; + } + + private long tIntodbTime_ ; + /** + * int64 t_intodb_time = 33; + * @return The tIntodbTime. + */ + @java.lang.Override + public long getTIntodbTime() { + return tIntodbTime_; + } + /** + * int64 t_intodb_time = 33; + * @param value The tIntodbTime to set. + * @return This builder for chaining. + */ + public Builder setTIntodbTime(long value) { + + tIntodbTime_ = value; + onChanged(); + return this; + } + /** + * int64 t_intodb_time = 33; + * @return This builder for chaining. + */ + public Builder clearTIntodbTime() { + + tIntodbTime_ = 0L; + onChanged(); + return this; + } + + private int loadOrStep_ ; + /** + *
+       *0: 页面   1:加载项   2:非web段数据 
+       * 
+ * + * int32 load_or_step = 34; + * @return The loadOrStep. + */ + @java.lang.Override + public int getLoadOrStep() { + return loadOrStep_; + } + /** + *
+       *0: 页面   1:加载项   2:非web段数据 
+       * 
+ * + * int32 load_or_step = 34; + * @param value The loadOrStep to set. + * @return This builder for chaining. + */ + public Builder setLoadOrStep(int value) { + + loadOrStep_ = value; + onChanged(); + return this; + } + /** + *
+       *0: 页面   1:加载项   2:非web段数据 
+       * 
+ * + * int32 load_or_step = 34; + * @return This builder for chaining. + */ + public Builder clearLoadOrStep() { + + loadOrStep_ = 0; + onChanged(); + return this; + } + + private java.lang.Object businessDetailMesg_ = ""; + /** + * string business_detail_mesg = 35; + * @return The businessDetailMesg. + */ + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + businessDetailMesg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string business_detail_mesg = 35; + * @return The bytes for businessDetailMesg. + */ + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string business_detail_mesg = 35; + * @param value The businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesg( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + businessDetailMesg_ = value; + onChanged(); + return this; + } + /** + * string business_detail_mesg = 35; + * @return This builder for chaining. + */ + public Builder clearBusinessDetailMesg() { + + businessDetailMesg_ = getDefaultInstance().getBusinessDetailMesg(); + onChanged(); + return this; + } + /** + * string business_detail_mesg = 35; + * @param value The bytes for businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + businessDetailMesg_ = value; + onChanged(); + return this; + } + + private java.lang.Object bussinessKeyMesg_ = ""; + /** + *
+       *关键字  格式:key=val|key=val....
+       * 
+ * + * string bussiness_key_mesg = 36; + * @return The bussinessKeyMesg. + */ + public java.lang.String getBussinessKeyMesg() { + java.lang.Object ref = bussinessKeyMesg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + bussinessKeyMesg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *关键字  格式:key=val|key=val....
+       * 
+ * + * string bussiness_key_mesg = 36; + * @return The bytes for bussinessKeyMesg. + */ + public com.google.protobuf.ByteString + getBussinessKeyMesgBytes() { + java.lang.Object ref = bussinessKeyMesg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + bussinessKeyMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *关键字  格式:key=val|key=val....
+       * 
+ * + * string bussiness_key_mesg = 36; + * @param value The bussinessKeyMesg to set. + * @return This builder for chaining. + */ + public Builder setBussinessKeyMesg( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + bussinessKeyMesg_ = value; + onChanged(); + return this; + } + /** + *
+       *关键字  格式:key=val|key=val....
+       * 
+ * + * string bussiness_key_mesg = 36; + * @return This builder for chaining. + */ + public Builder clearBussinessKeyMesg() { + + bussinessKeyMesg_ = getDefaultInstance().getBussinessKeyMesg(); + onChanged(); + return this; + } + /** + *
+       *关键字  格式:key=val|key=val....
+       * 
+ * + * string bussiness_key_mesg = 36; + * @param value The bytes for bussinessKeyMesg to set. + * @return This builder for chaining. + */ + public Builder setBussinessKeyMesgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + bussinessKeyMesg_ = value; + onChanged(); + return this; + } + + private int isUncomplete_ ; + /** + *
+       *组包是否完全    0:组包完整  1:不完整
+       * 
+ * + * int32 isUncomplete = 37; + * @return The isUncomplete. + */ + @java.lang.Override + public int getIsUncomplete() { + return isUncomplete_; + } + /** + *
+       *组包是否完全    0:组包完整  1:不完整
+       * 
+ * + * int32 isUncomplete = 37; + * @param value The isUncomplete to set. + * @return This builder for chaining. + */ + public Builder setIsUncomplete(int value) { + + isUncomplete_ = value; + onChanged(); + return this; + } + /** + *
+       *组包是否完全    0:组包完整  1:不完整
+       * 
+ * + * int32 isUncomplete = 37; + * @return This builder for chaining. + */ + public Builder clearIsUncomplete() { + + isUncomplete_ = 0; + onChanged(); + return this; + } + + private int dealState_ ; + /** + *
+       * 默认值为1
+       * 
+ * + * int32 deal_state = 38; + * @return The dealState. + */ + @java.lang.Override + public int getDealState() { + return dealState_; + } + /** + *
+       * 默认值为1
+       * 
+ * + * int32 deal_state = 38; + * @param value The dealState to set. + * @return This builder for chaining. + */ + public Builder setDealState(int value) { + + dealState_ = value; + onChanged(); + return this; + } + /** + *
+       * 默认值为1
+       * 
+ * + * int32 deal_state = 38; + * @return This builder for chaining. + */ + public Builder clearDealState() { + + dealState_ = 0; + onChanged(); + return this; + } + + private int serverResCode_ ; + /** + * int32 server_res_code = 39; + * @return The serverResCode. + */ + @java.lang.Override + public int getServerResCode() { + return serverResCode_; + } + /** + * int32 server_res_code = 39; + * @param value The serverResCode to set. + * @return This builder for chaining. + */ + public Builder setServerResCode(int value) { + + serverResCode_ = value; + onChanged(); + return this; + } + /** + * int32 server_res_code = 39; + * @return This builder for chaining. + */ + public Builder clearServerResCode() { + + serverResCode_ = 0; + onChanged(); + return this; + } + + private long serverResponseTime_ ; + /** + * int64 server_response_time = 40; + * @return The serverResponseTime. + */ + @java.lang.Override + public long getServerResponseTime() { + return serverResponseTime_; + } + /** + * int64 server_response_time = 40; + * @param value The serverResponseTime to set. + * @return This builder for chaining. + */ + public Builder setServerResponseTime(long value) { + + serverResponseTime_ = value; + onChanged(); + return this; + } + /** + * int64 server_response_time = 40; + * @return This builder for chaining. + */ + public Builder clearServerResponseTime() { + + serverResponseTime_ = 0L; + onChanged(); + return this; + } + + private long clientTranslateTime_ ; + /** + * int64 client_translate_time = 41; + * @return The clientTranslateTime. + */ + @java.lang.Override + public long getClientTranslateTime() { + return clientTranslateTime_; + } + /** + * int64 client_translate_time = 41; + * @param value The clientTranslateTime to set. + * @return This builder for chaining. + */ + public Builder setClientTranslateTime(long value) { + + clientTranslateTime_ = value; + onChanged(); + return this; + } + /** + * int64 client_translate_time = 41; + * @return This builder for chaining. + */ + public Builder clearClientTranslateTime() { + + clientTranslateTime_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object browser_ = ""; + /** + * string browser = 42; + * @return The browser. + */ + public java.lang.String getBrowser() { + java.lang.Object ref = browser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + browser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string browser = 42; + * @return The bytes for browser. + */ + public com.google.protobuf.ByteString + getBrowserBytes() { + java.lang.Object ref = browser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + browser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string browser = 42; + * @param value The browser to set. + * @return This builder for chaining. + */ + public Builder setBrowser( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + browser_ = value; + onChanged(); + return this; + } + /** + * string browser = 42; + * @return This builder for chaining. + */ + public Builder clearBrowser() { + + browser_ = getDefaultInstance().getBrowser(); + onChanged(); + return this; + } + /** + * string browser = 42; + * @param value The bytes for browser to set. + * @return This builder for chaining. + */ + public Builder setBrowserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + browser_ = value; + onChanged(); + return this; + } + + private long serverStartTvSec_ ; + /** + * int64 server_start_tv_sec = 43; + * @return The serverStartTvSec. + */ + @java.lang.Override + public long getServerStartTvSec() { + return serverStartTvSec_; + } + /** + * int64 server_start_tv_sec = 43; + * @param value The serverStartTvSec to set. + * @return This builder for chaining. + */ + public Builder setServerStartTvSec(long value) { + + serverStartTvSec_ = value; + onChanged(); + return this; + } + /** + * int64 server_start_tv_sec = 43; + * @return This builder for chaining. + */ + public Builder clearServerStartTvSec() { + + serverStartTvSec_ = 0L; + onChanged(); + return this; + } + + private long serverStartTvUsec_ ; + /** + * int64 server_start_tv_usec = 44; + * @return The serverStartTvUsec. + */ + @java.lang.Override + public long getServerStartTvUsec() { + return serverStartTvUsec_; + } + /** + * int64 server_start_tv_usec = 44; + * @param value The serverStartTvUsec to set. + * @return This builder for chaining. + */ + public Builder setServerStartTvUsec(long value) { + + serverStartTvUsec_ = value; + onChanged(); + return this; + } + /** + * int64 server_start_tv_usec = 44; + * @return This builder for chaining. + */ + public Builder clearServerStartTvUsec() { + + serverStartTvUsec_ = 0L; + onChanged(); + return this; + } + + private long serverEndTvSec_ ; + /** + * int64 server_end_tv_sec = 45; + * @return The serverEndTvSec. + */ + @java.lang.Override + public long getServerEndTvSec() { + return serverEndTvSec_; + } + /** + * int64 server_end_tv_sec = 45; + * @param value The serverEndTvSec to set. + * @return This builder for chaining. + */ + public Builder setServerEndTvSec(long value) { + + serverEndTvSec_ = value; + onChanged(); + return this; + } + /** + * int64 server_end_tv_sec = 45; + * @return This builder for chaining. + */ + public Builder clearServerEndTvSec() { + + serverEndTvSec_ = 0L; + onChanged(); + return this; + } + + private long serverEndTvUsec_ ; + /** + * int64 server_end_tv_usec = 46; + * @return The serverEndTvUsec. + */ + @java.lang.Override + public long getServerEndTvUsec() { + return serverEndTvUsec_; + } + /** + * int64 server_end_tv_usec = 46; + * @param value The serverEndTvUsec to set. + * @return This builder for chaining. + */ + public Builder setServerEndTvUsec(long value) { + + serverEndTvUsec_ = value; + onChanged(); + return this; + } + /** + * int64 server_end_tv_usec = 46; + * @return This builder for chaining. + */ + public Builder clearServerEndTvUsec() { + + serverEndTvUsec_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object probeIp_ = ""; + /** + * string probe_ip = 47; + * @return The probeIp. + */ + public java.lang.String getProbeIp() { + java.lang.Object ref = probeIp_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + probeIp_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string probe_ip = 47; + * @return The bytes for probeIp. + */ + public com.google.protobuf.ByteString + getProbeIpBytes() { + java.lang.Object ref = probeIp_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + probeIp_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string probe_ip = 47; + * @param value The probeIp to set. + * @return This builder for chaining. + */ + public Builder setProbeIp( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + probeIp_ = value; + onChanged(); + return this; + } + /** + * string probe_ip = 47; + * @return This builder for chaining. + */ + public Builder clearProbeIp() { + + probeIp_ = getDefaultInstance().getProbeIp(); + onChanged(); + return this; + } + /** + * string probe_ip = 47; + * @param value The bytes for probeIp to set. + * @return This builder for chaining. + */ + public Builder setProbeIpBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + probeIp_ = value; + onChanged(); + return this; + } + + private long probeIf_ ; + /** + * int64 probe_if = 48; + * @return The probeIf. + */ + @java.lang.Override + public long getProbeIf() { + return probeIf_; + } + /** + * int64 probe_if = 48; + * @param value The probeIf to set. + * @return This builder for chaining. + */ + public Builder setProbeIf(long value) { + + probeIf_ = value; + onChanged(); + return this; + } + /** + * int64 probe_if = 48; + * @return This builder for chaining. + */ + public Builder clearProbeIf() { + + probeIf_ = 0L; + onChanged(); + return this; + } + + private long serverTranslateTime_ ; + /** + * int64 server_translate_time = 49; + * @return The serverTranslateTime. + */ + @java.lang.Override + public long getServerTranslateTime() { + return serverTranslateTime_; + } + /** + * int64 server_translate_time = 49; + * @param value The serverTranslateTime to set. + * @return This builder for chaining. + */ + public Builder setServerTranslateTime(long value) { + + serverTranslateTime_ = value; + onChanged(); + return this; + } + /** + * int64 server_translate_time = 49; + * @return This builder for chaining. + */ + public Builder clearServerTranslateTime() { + + serverTranslateTime_ = 0L; + onChanged(); + return this; + } + + private long timeFlag_ ; + /** + * int64 time_flag = 50; + * @return The timeFlag. + */ + @java.lang.Override + public long getTimeFlag() { + return timeFlag_; + } + /** + * int64 time_flag = 50; + * @param value The timeFlag to set. + * @return This builder for chaining. + */ + public Builder setTimeFlag(long value) { + + timeFlag_ = value; + onChanged(); + return this; + } + /** + * int64 time_flag = 50; + * @return This builder for chaining. + */ + public Builder clearTimeFlag() { + + timeFlag_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object baseCode_ = ""; + /** + * string base_code = 51; + * @return The baseCode. + */ + public java.lang.String getBaseCode() { + java.lang.Object ref = baseCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + baseCode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string base_code = 51; + * @return The bytes for baseCode. + */ + public com.google.protobuf.ByteString + getBaseCodeBytes() { + java.lang.Object ref = baseCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + baseCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string base_code = 51; + * @param value The baseCode to set. + * @return This builder for chaining. + */ + public Builder setBaseCode( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + baseCode_ = value; + onChanged(); + return this; + } + /** + * string base_code = 51; + * @return This builder for chaining. + */ + public Builder clearBaseCode() { + + baseCode_ = getDefaultInstance().getBaseCode(); + onChanged(); + return this; + } + /** + * string base_code = 51; + * @param value The bytes for baseCode to set. + * @return This builder for chaining. + */ + public Builder setBaseCodeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + baseCode_ = value; + onChanged(); + return this; + } + + private java.lang.Object oriSql_ = ""; + /** + * string ori_sql = 52; + * @return The oriSql. + */ + public java.lang.String getOriSql() { + java.lang.Object ref = oriSql_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + oriSql_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string ori_sql = 52; + * @return The bytes for oriSql. + */ + public com.google.protobuf.ByteString + getOriSqlBytes() { + java.lang.Object ref = oriSql_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + oriSql_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string ori_sql = 52; + * @param value The oriSql to set. + * @return This builder for chaining. + */ + public Builder setOriSql( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + oriSql_ = value; + onChanged(); + return this; + } + /** + * string ori_sql = 52; + * @return This builder for chaining. + */ + public Builder clearOriSql() { + + oriSql_ = getDefaultInstance().getOriSql(); + onChanged(); + return this; + } + /** + * string ori_sql = 52; + * @param value The bytes for oriSql to set. + * @return This builder for chaining. + */ + public Builder setOriSqlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + oriSql_ = value; + onChanged(); + return this; + } + + private java.lang.Object reserved_ = ""; + /** + * string reserved = 53; + * @return The reserved. + */ + public java.lang.String getReserved() { + java.lang.Object ref = reserved_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + reserved_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string reserved = 53; + * @return The bytes for reserved. + */ + public com.google.protobuf.ByteString + getReservedBytes() { + java.lang.Object ref = reserved_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + reserved_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string reserved = 53; + * @param value The reserved to set. + * @return This builder for chaining. + */ + public Builder setReserved( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + reserved_ = value; + onChanged(); + return this; + } + /** + * string reserved = 53; + * @return This builder for chaining. + */ + public Builder clearReserved() { + + reserved_ = getDefaultInstance().getReserved(); + onChanged(); + return this; + } + /** + * string reserved = 53; + * @param value The bytes for reserved to set. + * @return This builder for chaining. + */ + public Builder setReservedBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + reserved_ = value; + onChanged(); + return this; + } + + private long bytesIn_ ; + /** + * int64 bytes_in = 54; + * @return The bytesIn. + */ + @java.lang.Override + public long getBytesIn() { + return bytesIn_; + } + /** + * int64 bytes_in = 54; + * @param value The bytesIn to set. + * @return This builder for chaining. + */ + public Builder setBytesIn(long value) { + + bytesIn_ = value; + onChanged(); + return this; + } + /** + * int64 bytes_in = 54; + * @return This builder for chaining. + */ + public Builder clearBytesIn() { + + bytesIn_ = 0L; + onChanged(); + return this; + } + + private long bytesOut_ ; + /** + * int64 bytes_out = 55; + * @return The bytesOut. + */ + @java.lang.Override + public long getBytesOut() { + return bytesOut_; + } + /** + * int64 bytes_out = 55; + * @param value The bytesOut to set. + * @return This builder for chaining. + */ + public Builder setBytesOut(long value) { + + bytesOut_ = value; + onChanged(); + return this; + } + /** + * int64 bytes_out = 55; + * @return This builder for chaining. + */ + public Builder clearBytesOut() { + + bytesOut_ = 0L; + onChanged(); + return this; + } + + private int packageIn_ ; + /** + * int32 package_in = 56; + * @return The packageIn. + */ + @java.lang.Override + public int getPackageIn() { + return packageIn_; + } + /** + * int32 package_in = 56; + * @param value The packageIn to set. + * @return This builder for chaining. + */ + public Builder setPackageIn(int value) { + + packageIn_ = value; + onChanged(); + return this; + } + /** + * int32 package_in = 56; + * @return This builder for chaining. + */ + public Builder clearPackageIn() { + + packageIn_ = 0; + onChanged(); + return this; + } + + private int packageOut_ ; + /** + * int32 package_out = 57; + * @return The packageOut. + */ + @java.lang.Override + public int getPackageOut() { + return packageOut_; + } + /** + * int32 package_out = 57; + * @param value The packageOut to set. + * @return This builder for chaining. + */ + public Builder setPackageOut(int value) { + + packageOut_ = value; + onChanged(); + return this; + } + /** + * int32 package_out = 57; + * @return This builder for chaining. + */ + public Builder clearPackageOut() { + + packageOut_ = 0; + onChanged(); + return this; + } + + private java.lang.Object dataId_ = ""; + /** + * string data_id = 58; + * @return The dataId. + */ + public java.lang.String getDataId() { + java.lang.Object ref = dataId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dataId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string data_id = 58; + * @return The bytes for dataId. + */ + public com.google.protobuf.ByteString + getDataIdBytes() { + java.lang.Object ref = dataId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + dataId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string data_id = 58; + * @param value The dataId to set. + * @return This builder for chaining. + */ + public Builder setDataId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + dataId_ = value; + onChanged(); + return this; + } + /** + * string data_id = 58; + * @return This builder for chaining. + */ + public Builder clearDataId() { + + dataId_ = getDefaultInstance().getDataId(); + onChanged(); + return this; + } + /** + * string data_id = 58; + * @param value The bytes for dataId to set. + * @return This builder for chaining. + */ + public Builder setDataIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + dataId_ = value; + onChanged(); + return this; + } + + private int filterId_ ; + /** + * int32 filter_id = 59; + * @return The filterId. + */ + @java.lang.Override + public int getFilterId() { + return filterId_; + } + /** + * int32 filter_id = 59; + * @param value The filterId to set. + * @return This builder for chaining. + */ + public Builder setFilterId(int value) { + + filterId_ = value; + onChanged(); + return this; + } + /** + * int32 filter_id = 59; + * @return This builder for chaining. + */ + public Builder clearFilterId() { + + filterId_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.BussFlowDb) + } + + // @@protoc_insertion_point(class_scope:dataflow.BussFlowDb) + private static final com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb(); + } + + public static com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BussFlowDb parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BussFlowDb(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowDbOuterClass.BussFlowDb getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_BussFlowDb_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_BussFlowDb_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\020BussFlowDb.proto\022\010dataflow\"\247\n\n\nBussFlo" + + "wDb\022\020\n\010table_id\030\001 \001(\005\022\022\n\nredisRegex\030\002 \001(" + + "\t\022\n\n\002id\030\003 \001(\t\022\017\n\007msg_len\030\004 \001(\003\022\020\n\010msg_ty" + + "pe\030\005 \001(\005\022\017\n\007src_mac\030\006 \001(\003\022\017\n\007dst_mac\030\007 \001" + + "(\003\022\020\n\010protocol\030\010 \001(\005\022\035\n\025session_serial_n" + + "umber\030\t \001(\t\022\021\n\tbuss_type\030\n \001(\t\022\022\n\nreques" + + "t_ip\030\013 \001(\003\022\024\n\014request_port\030\014 \001(\005\022\023\n\013resp" + + "onse_ip\030\r \001(\003\022\025\n\rresponse_port\030\016 \001(\005\022\024\n\014" + + "start_tv_sec\030\017 \001(\003\022\025\n\rstart_tv_usec\030\020 \001(" + + "\003\022\022\n\nend_tv_sec\030\021 \001(\003\022\023\n\013end_tv_usec\030\022 \001" + + "(\003\022\033\n\023disc_resource_ident\030\023 \001(\t\022\014\n\004name\030" + + "\024 \001(\t\022\022\n\nsession_id\030\025 \001(\t\022\032\n\022request_msg" + + "_length\030\026 \001(\005\022\032\n\022request_msg_detail\030\027 \001(" + + "\t\022\033\n\023response_msg_length\030\030 \001(\005\022\033\n\023respon" + + "se_msg_detail\030\031 \001(\t\022\021\n\treter_url\030\032 \001(\t\022\030" + + "\n\020x_requested_with\030\033 \001(\t\022\022\n\nreq_method\030\034" + + " \001(\003\022\024\n\014content_type\030\035 \001(\t\022\016\n\006accept\030\036 \001" + + "(\t\022\027\n\017req_cookie_leng\030\037 \001(\005\022\031\n\021req_cooki" + + "e_detail\030 \001(\t\022\025\n\rt_intodb_time\030! \001(\003\022\024\n" + + "\014load_or_step\030\" \001(\005\022\034\n\024business_detail_m" + + "esg\030# \001(\t\022\032\n\022bussiness_key_mesg\030$ \001(\t\022\024\n" + + "\014isUncomplete\030% \001(\005\022\022\n\ndeal_state\030& \001(\005\022" + + "\027\n\017server_res_code\030\' \001(\005\022\034\n\024server_respo" + + "nse_time\030( \001(\003\022\035\n\025client_translate_time\030" + + ") \001(\003\022\017\n\007browser\030* \001(\t\022\033\n\023server_start_t" + + "v_sec\030+ \001(\003\022\034\n\024server_start_tv_usec\030, \001(" + + "\003\022\031\n\021server_end_tv_sec\030- \001(\003\022\032\n\022server_e" + + "nd_tv_usec\030. \001(\003\022\020\n\010probe_ip\030/ \001(\t\022\020\n\010pr" + + "obe_if\0300 \001(\003\022\035\n\025server_translate_time\0301 " + + "\001(\003\022\021\n\ttime_flag\0302 \001(\003\022\021\n\tbase_code\0303 \001(" + + "\t\022\017\n\007ori_sql\0304 \001(\t\022\020\n\010reserved\0305 \001(\t\022\020\n\010" + + "bytes_in\0306 \001(\003\022\021\n\tbytes_out\0307 \001(\003\022\022\n\npac" + + "kage_in\0308 \001(\005\022\023\n\013package_out\0309 \001(\005\022\017\n\007da" + + "ta_id\030: \001(\t\022\021\n\tfilter_id\030; \001(\005B2\n\033com.yu" + + "andian.dataflow.protoZ\023../grpc-gen;grpcg" + + "enb\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_BussFlowDb_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_BussFlowDb_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_BussFlowDb_descriptor, + new java.lang.String[] { "TableId", "RedisRegex", "Id", "MsgLen", "MsgType", "SrcMac", "DstMac", "Protocol", "SessionSerialNumber", "BussType", "RequestIp", "RequestPort", "ResponseIp", "ResponsePort", "StartTvSec", "StartTvUsec", "EndTvSec", "EndTvUsec", "DiscResourceIdent", "Name", "SessionId", "RequestMsgLength", "RequestMsgDetail", "ResponseMsgLength", "ResponseMsgDetail", "ReterUrl", "XRequestedWith", "ReqMethod", "ContentType", "Accept", "ReqCookieLeng", "ReqCookieDetail", "TIntodbTime", "LoadOrStep", "BusinessDetailMesg", "BussinessKeyMesg", "IsUncomplete", "DealState", "ServerResCode", "ServerResponseTime", "ClientTranslateTime", "Browser", "ServerStartTvSec", "ServerStartTvUsec", "ServerEndTvSec", "ServerEndTvUsec", "ProbeIp", "ProbeIf", "ServerTranslateTime", "TimeFlag", "BaseCode", "OriSql", "Reserved", "BytesIn", "BytesOut", "PackageIn", "PackageOut", "DataId", "FilterId", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/BussFlowExternalOuterClass.java b/src/main/java/com/yuandian/dataflow/proto/BussFlowExternalOuterClass.java new file mode 100644 index 0000000..61a5a91 --- /dev/null +++ b/src/main/java/com/yuandian/dataflow/proto/BussFlowExternalOuterClass.java @@ -0,0 +1,4314 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: BussFlowExternal.proto + +package com.yuandian.dataflow.proto; + +public final class BussFlowExternalOuterClass { + private BussFlowExternalOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface BussFlowExternalOrBuilder extends + // @@protoc_insertion_point(interface_extends:dataflow.BussFlowExternal) + com.google.protobuf.MessageOrBuilder { + + /** + * int32 table_id = 1; + * @return The tableId. + */ + int getTableId(); + + /** + * string id = 2; + * @return The id. + */ + java.lang.String getId(); + /** + * string id = 2; + * @return The bytes for id. + */ + com.google.protobuf.ByteString + getIdBytes(); + + /** + *
+     *接口号
+     * 
+ * + * int64 probe_if = 3; + * @return The probeIf. + */ + long getProbeIf(); + + /** + *
+     *营业厅渠道:前台或者分析服务器给出,渠道标识
+     * 
+ * + * string channel = 4; + * @return The channel. + */ + java.lang.String getChannel(); + /** + *
+     *营业厅渠道:前台或者分析服务器给出,渠道标识
+     * 
+ * + * string channel = 4; + * @return The bytes for channel. + */ + com.google.protobuf.ByteString + getChannelBytes(); + + /** + *
+     *外部系统名称
+     * 
+ * + * string system_name = 5; + * @return The systemName. + */ + java.lang.String getSystemName(); + /** + *
+     *外部系统名称
+     * 
+ * + * string system_name = 5; + * @return The bytes for systemName. + */ + com.google.protobuf.ByteString + getSystemNameBytes(); + + /** + *
+     * 业务接口编码
+     * 
+ * + * string interface_id = 6; + * @return The interfaceId. + */ + java.lang.String getInterfaceId(); + /** + *
+     * 业务接口编码
+     * 
+ * + * string interface_id = 6; + * @return The bytes for interfaceId. + */ + com.google.protobuf.ByteString + getInterfaceIdBytes(); + + /** + *
+     *sessionid
+     * 
+ * + * string session_id = 7; + * @return The sessionId. + */ + java.lang.String getSessionId(); + /** + *
+     *sessionid
+     * 
+ * + * string session_id = 7; + * @return The bytes for sessionId. + */ + com.google.protobuf.ByteString + getSessionIdBytes(); + + /** + *
+     *受理手机号码
+     * 
+ * + * string phone_id = 8; + * @return The phoneId. + */ + java.lang.String getPhoneId(); + /** + *
+     *受理手机号码
+     * 
+ * + * string phone_id = 8; + * @return The bytes for phoneId. + */ + com.google.protobuf.ByteString + getPhoneIdBytes(); + + /** + * string net_type = 9; + * @return The netType. + */ + java.lang.String getNetType(); + /** + * string net_type = 9; + * @return The bytes for netType. + */ + com.google.protobuf.ByteString + getNetTypeBytes(); + + /** + *
+     *网段标识(客户-web)
+     * 
+ * + * string net_segment = 10; + * @return The netSegment. + */ + java.lang.String getNetSegment(); + /** + *
+     *网段标识(客户-web)
+     * 
+ * + * string net_segment = 10; + * @return The bytes for netSegment. + */ + com.google.protobuf.ByteString + getNetSegmentBytes(); + + /** + *
+     *Web客户端IP
+     * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + long getRequestIp(); + + /** + *
+     *Web客户端端口
+     * 
+ * + * int64 request_port = 12; + * @return The requestPort. + */ + long getRequestPort(); + + /** + *
+     *Web服务器IP
+     * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + long getResponseIp(); + + /** + *
+     *Web服务器端口
+     * 
+ * + * int64 response_port = 14; + * @return The responsePort. + */ + long getResponsePort(); + + /** + *
+     *Web开始时间秒
+     * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + long getStartTvSec(); + + /** + *
+     *开始时间微秒
+     * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + long getStartTvUsec(); + + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + long getEndTvSec(); + + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + long getEndTvUsec(); + + /** + *
+     *Web操作成功/失败标识1成功0失败
+     * 
+ * + * int32 deal_state = 19; + * @return The dealState. + */ + int getDealState(); + + /** + *
+     *Web服务器传输耗时
+     * 
+ * + * int64 server_translate_time = 20; + * @return The serverTranslateTime. + */ + long getServerTranslateTime(); + + /** + *
+     *Web服务器响应时间
+     * 
+ * + * int64 server_response_time = 21; + * @return The serverResponseTime. + */ + long getServerResponseTime(); + + /** + *
+     *url
+     * 
+ * + * string begin_url = 22; + * @return The beginUrl. + */ + java.lang.String getBeginUrl(); + /** + *
+     *url
+     * 
+ * + * string begin_url = 22; + * @return The bytes for beginUrl. + */ + com.google.protobuf.ByteString + getBeginUrlBytes(); + + /** + *
+     *操作系统
+     * 
+ * + * string operating_sytem = 23; + * @return The operatingSytem. + */ + java.lang.String getOperatingSytem(); + /** + *
+     *操作系统
+     * 
+ * + * string operating_sytem = 23; + * @return The bytes for operatingSytem. + */ + com.google.protobuf.ByteString + getOperatingSytemBytes(); + + /** + *
+     *Web系统返回码
+     * 
+ * + * int32 server_res_code = 24; + * @return The serverResCode. + */ + int getServerResCode(); + + /** + *
+     *浏览器
+     * 
+ * + * string browser = 25; + * @return The browser. + */ + java.lang.String getBrowser(); + /** + *
+     *浏览器
+     * 
+ * + * string browser = 25; + * @return The bytes for browser. + */ + com.google.protobuf.ByteString + getBrowserBytes(); + + /** + *
+     *要获取的指标
+     * 
+ * + * string business_detail_mesg = 26; + * @return The businessDetailMesg. + */ + java.lang.String getBusinessDetailMesg(); + /** + *
+     *要获取的指标
+     * 
+ * + * string business_detail_mesg = 26; + * @return The bytes for businessDetailMesg. + */ + com.google.protobuf.ByteString + getBusinessDetailMesgBytes(); + + /** + *
+     *插入时间? 没有被使用
+     * 
+ * + * int64 insert_time = 27; + * @return The insertTime. + */ + long getInsertTime(); + + /** + *
+     *要关联的指标
+     * 
+ * + * string business_involve_msg = 28; + * @return The businessInvolveMsg. + */ + java.lang.String getBusinessInvolveMsg(); + /** + *
+     *要关联的指标
+     * 
+ * + * string business_involve_msg = 28; + * @return The bytes for businessInvolveMsg. + */ + com.google.protobuf.ByteString + getBusinessInvolveMsgBytes(); + + /** + * int32 is_uncomplete = 29; + * @return The isUncomplete. + */ + int getIsUncomplete(); + + /** + * int64 time_flag = 30; + * @return The timeFlag. + */ + long getTimeFlag(); + } + /** + * Protobuf type {@code dataflow.BussFlowExternal} + */ + public static final class BussFlowExternal extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:dataflow.BussFlowExternal) + BussFlowExternalOrBuilder { + private static final long serialVersionUID = 0L; + // Use BussFlowExternal.newBuilder() to construct. + private BussFlowExternal(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private BussFlowExternal() { + id_ = ""; + channel_ = ""; + systemName_ = ""; + interfaceId_ = ""; + sessionId_ = ""; + phoneId_ = ""; + netType_ = ""; + netSegment_ = ""; + beginUrl_ = ""; + operatingSytem_ = ""; + browser_ = ""; + businessDetailMesg_ = ""; + businessInvolveMsg_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new BussFlowExternal(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private BussFlowExternal( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + 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; + case 8: { + + tableId_ = input.readInt32(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + id_ = s; + break; + } + case 24: { + + probeIf_ = input.readInt64(); + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + channel_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + systemName_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + interfaceId_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + sessionId_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + phoneId_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + netType_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + netSegment_ = s; + break; + } + case 88: { + + requestIp_ = input.readInt64(); + break; + } + case 96: { + + requestPort_ = input.readInt64(); + break; + } + case 104: { + + responseIp_ = input.readInt64(); + break; + } + case 112: { + + responsePort_ = input.readInt64(); + break; + } + case 120: { + + startTvSec_ = input.readInt64(); + break; + } + case 128: { + + startTvUsec_ = input.readInt64(); + break; + } + case 136: { + + endTvSec_ = input.readInt64(); + break; + } + case 144: { + + endTvUsec_ = input.readInt64(); + break; + } + case 152: { + + dealState_ = input.readInt32(); + break; + } + case 160: { + + serverTranslateTime_ = input.readInt64(); + break; + } + case 168: { + + serverResponseTime_ = input.readInt64(); + break; + } + case 178: { + java.lang.String s = input.readStringRequireUtf8(); + + beginUrl_ = s; + break; + } + case 186: { + java.lang.String s = input.readStringRequireUtf8(); + + operatingSytem_ = s; + break; + } + case 192: { + + serverResCode_ = input.readInt32(); + break; + } + case 202: { + java.lang.String s = input.readStringRequireUtf8(); + + browser_ = s; + break; + } + case 210: { + java.lang.String s = input.readStringRequireUtf8(); + + businessDetailMesg_ = s; + break; + } + case 216: { + + insertTime_ = input.readInt64(); + break; + } + case 226: { + java.lang.String s = input.readStringRequireUtf8(); + + businessInvolveMsg_ = s; + break; + } + case 232: { + + isUncomplete_ = input.readInt32(); + break; + } + case 240: { + + timeFlag_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.internal_static_dataflow_BussFlowExternal_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.internal_static_dataflow_BussFlowExternal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.class, com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.Builder.class); + } + + public static final int TABLE_ID_FIELD_NUMBER = 1; + private int tableId_; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + + public static final int ID_FIELD_NUMBER = 2; + private volatile java.lang.Object id_; + /** + * string id = 2; + * @return The id. + */ + @java.lang.Override + public java.lang.String getId() { + java.lang.Object ref = id_; + 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(); + id_ = s; + return s; + } + } + /** + * string id = 2; + * @return The bytes for id. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROBE_IF_FIELD_NUMBER = 3; + private long probeIf_; + /** + *
+     *接口号
+     * 
+ * + * int64 probe_if = 3; + * @return The probeIf. + */ + @java.lang.Override + public long getProbeIf() { + return probeIf_; + } + + public static final int CHANNEL_FIELD_NUMBER = 4; + private volatile java.lang.Object channel_; + /** + *
+     *营业厅渠道:前台或者分析服务器给出,渠道标识
+     * 
+ * + * string channel = 4; + * @return The channel. + */ + @java.lang.Override + public java.lang.String getChannel() { + java.lang.Object ref = channel_; + 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(); + channel_ = s; + return s; + } + } + /** + *
+     *营业厅渠道:前台或者分析服务器给出,渠道标识
+     * 
+ * + * string channel = 4; + * @return The bytes for channel. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getChannelBytes() { + java.lang.Object ref = channel_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + channel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SYSTEM_NAME_FIELD_NUMBER = 5; + private volatile java.lang.Object systemName_; + /** + *
+     *外部系统名称
+     * 
+ * + * string system_name = 5; + * @return The systemName. + */ + @java.lang.Override + public java.lang.String getSystemName() { + java.lang.Object ref = systemName_; + 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(); + systemName_ = s; + return s; + } + } + /** + *
+     *外部系统名称
+     * 
+ * + * string system_name = 5; + * @return The bytes for systemName. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSystemNameBytes() { + java.lang.Object ref = systemName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + systemName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INTERFACE_ID_FIELD_NUMBER = 6; + private volatile java.lang.Object interfaceId_; + /** + *
+     * 业务接口编码
+     * 
+ * + * string interface_id = 6; + * @return The interfaceId. + */ + @java.lang.Override + public java.lang.String getInterfaceId() { + java.lang.Object ref = interfaceId_; + 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(); + interfaceId_ = s; + return s; + } + } + /** + *
+     * 业务接口编码
+     * 
+ * + * string interface_id = 6; + * @return The bytes for interfaceId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getInterfaceIdBytes() { + java.lang.Object ref = interfaceId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + interfaceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SESSION_ID_FIELD_NUMBER = 7; + private volatile java.lang.Object sessionId_; + /** + *
+     *sessionid
+     * 
+ * + * string session_id = 7; + * @return The sessionId. + */ + @java.lang.Override + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + 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(); + sessionId_ = s; + return s; + } + } + /** + *
+     *sessionid
+     * 
+ * + * string session_id = 7; + * @return The bytes for sessionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PHONE_ID_FIELD_NUMBER = 8; + private volatile java.lang.Object phoneId_; + /** + *
+     *受理手机号码
+     * 
+ * + * string phone_id = 8; + * @return The phoneId. + */ + @java.lang.Override + public java.lang.String getPhoneId() { + java.lang.Object ref = phoneId_; + 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(); + phoneId_ = s; + return s; + } + } + /** + *
+     *受理手机号码
+     * 
+ * + * string phone_id = 8; + * @return The bytes for phoneId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPhoneIdBytes() { + java.lang.Object ref = phoneId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phoneId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NET_TYPE_FIELD_NUMBER = 9; + private volatile java.lang.Object netType_; + /** + * string net_type = 9; + * @return The netType. + */ + @java.lang.Override + public java.lang.String getNetType() { + java.lang.Object ref = netType_; + 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(); + netType_ = s; + return s; + } + } + /** + * string net_type = 9; + * @return The bytes for netType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNetTypeBytes() { + java.lang.Object ref = netType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + netType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NET_SEGMENT_FIELD_NUMBER = 10; + private volatile java.lang.Object netSegment_; + /** + *
+     *网段标识(客户-web)
+     * 
+ * + * string net_segment = 10; + * @return The netSegment. + */ + @java.lang.Override + public java.lang.String getNetSegment() { + java.lang.Object ref = netSegment_; + 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(); + netSegment_ = s; + return s; + } + } + /** + *
+     *网段标识(客户-web)
+     * 
+ * + * string net_segment = 10; + * @return The bytes for netSegment. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getNetSegmentBytes() { + java.lang.Object ref = netSegment_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + netSegment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_IP_FIELD_NUMBER = 11; + private long requestIp_; + /** + *
+     *Web客户端IP
+     * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + + public static final int REQUEST_PORT_FIELD_NUMBER = 12; + private long requestPort_; + /** + *
+     *Web客户端端口
+     * 
+ * + * int64 request_port = 12; + * @return The requestPort. + */ + @java.lang.Override + public long getRequestPort() { + return requestPort_; + } + + public static final int RESPONSE_IP_FIELD_NUMBER = 13; + private long responseIp_; + /** + *
+     *Web服务器IP
+     * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + + public static final int RESPONSE_PORT_FIELD_NUMBER = 14; + private long responsePort_; + /** + *
+     *Web服务器端口
+     * 
+ * + * int64 response_port = 14; + * @return The responsePort. + */ + @java.lang.Override + public long getResponsePort() { + return responsePort_; + } + + public static final int START_TV_SEC_FIELD_NUMBER = 15; + private long startTvSec_; + /** + *
+     *Web开始时间秒
+     * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + + public static final int START_TV_USEC_FIELD_NUMBER = 16; + private long startTvUsec_; + /** + *
+     *开始时间微秒
+     * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + + public static final int END_TV_SEC_FIELD_NUMBER = 17; + private long endTvSec_; + /** + *
+     *结束时间秒
+     * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + + public static final int END_TV_USEC_FIELD_NUMBER = 18; + private long endTvUsec_; + /** + *
+     *结束时间微妙
+     * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + + public static final int DEAL_STATE_FIELD_NUMBER = 19; + private int dealState_; + /** + *
+     *Web操作成功/失败标识1成功0失败
+     * 
+ * + * int32 deal_state = 19; + * @return The dealState. + */ + @java.lang.Override + public int getDealState() { + return dealState_; + } + + public static final int SERVER_TRANSLATE_TIME_FIELD_NUMBER = 20; + private long serverTranslateTime_; + /** + *
+     *Web服务器传输耗时
+     * 
+ * + * int64 server_translate_time = 20; + * @return The serverTranslateTime. + */ + @java.lang.Override + public long getServerTranslateTime() { + return serverTranslateTime_; + } + + public static final int SERVER_RESPONSE_TIME_FIELD_NUMBER = 21; + private long serverResponseTime_; + /** + *
+     *Web服务器响应时间
+     * 
+ * + * int64 server_response_time = 21; + * @return The serverResponseTime. + */ + @java.lang.Override + public long getServerResponseTime() { + return serverResponseTime_; + } + + public static final int BEGIN_URL_FIELD_NUMBER = 22; + private volatile java.lang.Object beginUrl_; + /** + *
+     *url
+     * 
+ * + * string begin_url = 22; + * @return The beginUrl. + */ + @java.lang.Override + public java.lang.String getBeginUrl() { + java.lang.Object ref = beginUrl_; + 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(); + beginUrl_ = s; + return s; + } + } + /** + *
+     *url
+     * 
+ * + * string begin_url = 22; + * @return The bytes for beginUrl. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBeginUrlBytes() { + java.lang.Object ref = beginUrl_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beginUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int OPERATING_SYTEM_FIELD_NUMBER = 23; + private volatile java.lang.Object operatingSytem_; + /** + *
+     *操作系统
+     * 
+ * + * string operating_sytem = 23; + * @return The operatingSytem. + */ + @java.lang.Override + public java.lang.String getOperatingSytem() { + java.lang.Object ref = operatingSytem_; + 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(); + operatingSytem_ = s; + return s; + } + } + /** + *
+     *操作系统
+     * 
+ * + * string operating_sytem = 23; + * @return The bytes for operatingSytem. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOperatingSytemBytes() { + java.lang.Object ref = operatingSytem_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatingSytem_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERVER_RES_CODE_FIELD_NUMBER = 24; + private int serverResCode_; + /** + *
+     *Web系统返回码
+     * 
+ * + * int32 server_res_code = 24; + * @return The serverResCode. + */ + @java.lang.Override + public int getServerResCode() { + return serverResCode_; + } + + public static final int BROWSER_FIELD_NUMBER = 25; + private volatile java.lang.Object browser_; + /** + *
+     *浏览器
+     * 
+ * + * string browser = 25; + * @return The browser. + */ + @java.lang.Override + public java.lang.String getBrowser() { + java.lang.Object ref = browser_; + 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(); + browser_ = s; + return s; + } + } + /** + *
+     *浏览器
+     * 
+ * + * string browser = 25; + * @return The bytes for browser. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBrowserBytes() { + java.lang.Object ref = browser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + browser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUSINESS_DETAIL_MESG_FIELD_NUMBER = 26; + private volatile java.lang.Object businessDetailMesg_; + /** + *
+     *要获取的指标
+     * 
+ * + * string business_detail_mesg = 26; + * @return The businessDetailMesg. + */ + @java.lang.Override + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + 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(); + businessDetailMesg_ = s; + return s; + } + } + /** + *
+     *要获取的指标
+     * 
+ * + * string business_detail_mesg = 26; + * @return The bytes for businessDetailMesg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INSERT_TIME_FIELD_NUMBER = 27; + private long insertTime_; + /** + *
+     *插入时间? 没有被使用
+     * 
+ * + * int64 insert_time = 27; + * @return The insertTime. + */ + @java.lang.Override + public long getInsertTime() { + return insertTime_; + } + + public static final int BUSINESS_INVOLVE_MSG_FIELD_NUMBER = 28; + private volatile java.lang.Object businessInvolveMsg_; + /** + *
+     *要关联的指标
+     * 
+ * + * string business_involve_msg = 28; + * @return The businessInvolveMsg. + */ + @java.lang.Override + public java.lang.String getBusinessInvolveMsg() { + java.lang.Object ref = businessInvolveMsg_; + 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(); + businessInvolveMsg_ = s; + return s; + } + } + /** + *
+     *要关联的指标
+     * 
+ * + * string business_involve_msg = 28; + * @return The bytes for businessInvolveMsg. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getBusinessInvolveMsgBytes() { + java.lang.Object ref = businessInvolveMsg_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessInvolveMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int IS_UNCOMPLETE_FIELD_NUMBER = 29; + private int isUncomplete_; + /** + * int32 is_uncomplete = 29; + * @return The isUncomplete. + */ + @java.lang.Override + public int getIsUncomplete() { + return isUncomplete_; + } + + public static final int TIME_FLAG_FIELD_NUMBER = 30; + private long timeFlag_; + /** + * int64 time_flag = 30; + * @return The timeFlag. + */ + @java.lang.Override + public long getTimeFlag() { + return timeFlag_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (tableId_ != 0) { + output.writeInt32(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_); + } + if (probeIf_ != 0L) { + output.writeInt64(3, probeIf_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channel_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, channel_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(systemName_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, systemName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interfaceId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, interfaceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, sessionId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, phoneId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, netType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netSegment_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, netSegment_); + } + if (requestIp_ != 0L) { + output.writeInt64(11, requestIp_); + } + if (requestPort_ != 0L) { + output.writeInt64(12, requestPort_); + } + if (responseIp_ != 0L) { + output.writeInt64(13, responseIp_); + } + if (responsePort_ != 0L) { + output.writeInt64(14, responsePort_); + } + if (startTvSec_ != 0L) { + output.writeInt64(15, startTvSec_); + } + if (startTvUsec_ != 0L) { + output.writeInt64(16, startTvUsec_); + } + if (endTvSec_ != 0L) { + output.writeInt64(17, endTvSec_); + } + if (endTvUsec_ != 0L) { + output.writeInt64(18, endTvUsec_); + } + if (dealState_ != 0) { + output.writeInt32(19, dealState_); + } + if (serverTranslateTime_ != 0L) { + output.writeInt64(20, serverTranslateTime_); + } + if (serverResponseTime_ != 0L) { + output.writeInt64(21, serverResponseTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beginUrl_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, beginUrl_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatingSytem_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 23, operatingSytem_); + } + if (serverResCode_ != 0) { + output.writeInt32(24, serverResCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(browser_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, browser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 26, businessDetailMesg_); + } + if (insertTime_ != 0L) { + output.writeInt64(27, insertTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessInvolveMsg_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 28, businessInvolveMsg_); + } + if (isUncomplete_ != 0) { + output.writeInt32(29, isUncomplete_); + } + if (timeFlag_ != 0L) { + output.writeInt64(30, timeFlag_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (tableId_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, tableId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_); + } + if (probeIf_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, probeIf_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(channel_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, channel_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(systemName_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, systemName_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(interfaceId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, interfaceId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, sessionId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(phoneId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, phoneId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, netType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(netSegment_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, netSegment_); + } + if (requestIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(11, requestIp_); + } + if (requestPort_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(12, requestPort_); + } + if (responseIp_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(13, responseIp_); + } + if (responsePort_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(14, responsePort_); + } + if (startTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(15, startTvSec_); + } + if (startTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(16, startTvUsec_); + } + if (endTvSec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(17, endTvSec_); + } + if (endTvUsec_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(18, endTvUsec_); + } + if (dealState_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(19, dealState_); + } + if (serverTranslateTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(20, serverTranslateTime_); + } + if (serverResponseTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(21, serverResponseTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(beginUrl_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, beginUrl_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(operatingSytem_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, operatingSytem_); + } + if (serverResCode_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(24, serverResCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(browser_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, browser_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessDetailMesg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(26, businessDetailMesg_); + } + if (insertTime_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(27, insertTime_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(businessInvolveMsg_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, businessInvolveMsg_); + } + if (isUncomplete_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(29, isUncomplete_); + } + if (timeFlag_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(30, timeFlag_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal)) { + return super.equals(obj); + } + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal other = (com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal) obj; + + if (getTableId() + != other.getTableId()) return false; + if (!getId() + .equals(other.getId())) return false; + if (getProbeIf() + != other.getProbeIf()) return false; + if (!getChannel() + .equals(other.getChannel())) return false; + if (!getSystemName() + .equals(other.getSystemName())) return false; + if (!getInterfaceId() + .equals(other.getInterfaceId())) return false; + if (!getSessionId() + .equals(other.getSessionId())) return false; + if (!getPhoneId() + .equals(other.getPhoneId())) return false; + if (!getNetType() + .equals(other.getNetType())) return false; + if (!getNetSegment() + .equals(other.getNetSegment())) return false; + if (getRequestIp() + != other.getRequestIp()) return false; + if (getRequestPort() + != other.getRequestPort()) return false; + if (getResponseIp() + != other.getResponseIp()) return false; + if (getResponsePort() + != other.getResponsePort()) return false; + if (getStartTvSec() + != other.getStartTvSec()) return false; + if (getStartTvUsec() + != other.getStartTvUsec()) return false; + if (getEndTvSec() + != other.getEndTvSec()) return false; + if (getEndTvUsec() + != other.getEndTvUsec()) return false; + if (getDealState() + != other.getDealState()) return false; + if (getServerTranslateTime() + != other.getServerTranslateTime()) return false; + if (getServerResponseTime() + != other.getServerResponseTime()) return false; + if (!getBeginUrl() + .equals(other.getBeginUrl())) return false; + if (!getOperatingSytem() + .equals(other.getOperatingSytem())) return false; + if (getServerResCode() + != other.getServerResCode()) return false; + if (!getBrowser() + .equals(other.getBrowser())) return false; + if (!getBusinessDetailMesg() + .equals(other.getBusinessDetailMesg())) return false; + if (getInsertTime() + != other.getInsertTime()) return false; + if (!getBusinessInvolveMsg() + .equals(other.getBusinessInvolveMsg())) return false; + if (getIsUncomplete() + != other.getIsUncomplete()) return false; + if (getTimeFlag() + != other.getTimeFlag()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; + hash = (53 * hash) + getTableId(); + hash = (37 * hash) + ID_FIELD_NUMBER; + hash = (53 * hash) + getId().hashCode(); + hash = (37 * hash) + PROBE_IF_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProbeIf()); + hash = (37 * hash) + CHANNEL_FIELD_NUMBER; + hash = (53 * hash) + getChannel().hashCode(); + hash = (37 * hash) + SYSTEM_NAME_FIELD_NUMBER; + hash = (53 * hash) + getSystemName().hashCode(); + hash = (37 * hash) + INTERFACE_ID_FIELD_NUMBER; + hash = (53 * hash) + getInterfaceId().hashCode(); + hash = (37 * hash) + SESSION_ID_FIELD_NUMBER; + hash = (53 * hash) + getSessionId().hashCode(); + hash = (37 * hash) + PHONE_ID_FIELD_NUMBER; + hash = (53 * hash) + getPhoneId().hashCode(); + hash = (37 * hash) + NET_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getNetType().hashCode(); + hash = (37 * hash) + NET_SEGMENT_FIELD_NUMBER; + hash = (53 * hash) + getNetSegment().hashCode(); + hash = (37 * hash) + REQUEST_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRequestIp()); + hash = (37 * hash) + REQUEST_PORT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRequestPort()); + hash = (37 * hash) + RESPONSE_IP_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResponseIp()); + hash = (37 * hash) + RESPONSE_PORT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getResponsePort()); + hash = (37 * hash) + START_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvSec()); + hash = (37 * hash) + START_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTvUsec()); + hash = (37 * hash) + END_TV_SEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvSec()); + hash = (37 * hash) + END_TV_USEC_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEndTvUsec()); + hash = (37 * hash) + DEAL_STATE_FIELD_NUMBER; + hash = (53 * hash) + getDealState(); + hash = (37 * hash) + SERVER_TRANSLATE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerTranslateTime()); + hash = (37 * hash) + SERVER_RESPONSE_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerResponseTime()); + hash = (37 * hash) + BEGIN_URL_FIELD_NUMBER; + hash = (53 * hash) + getBeginUrl().hashCode(); + hash = (37 * hash) + OPERATING_SYTEM_FIELD_NUMBER; + hash = (53 * hash) + getOperatingSytem().hashCode(); + hash = (37 * hash) + SERVER_RES_CODE_FIELD_NUMBER; + hash = (53 * hash) + getServerResCode(); + hash = (37 * hash) + BROWSER_FIELD_NUMBER; + hash = (53 * hash) + getBrowser().hashCode(); + hash = (37 * hash) + BUSINESS_DETAIL_MESG_FIELD_NUMBER; + hash = (53 * hash) + getBusinessDetailMesg().hashCode(); + hash = (37 * hash) + INSERT_TIME_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getInsertTime()); + hash = (37 * hash) + BUSINESS_INVOLVE_MSG_FIELD_NUMBER; + hash = (53 * hash) + getBusinessInvolveMsg().hashCode(); + hash = (37 * hash) + IS_UNCOMPLETE_FIELD_NUMBER; + hash = (53 * hash) + getIsUncomplete(); + hash = (37 * hash) + TIME_FLAG_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimeFlag()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code dataflow.BussFlowExternal} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:dataflow.BussFlowExternal) + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternalOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.internal_static_dataflow_BussFlowExternal_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.internal_static_dataflow_BussFlowExternal_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.class, com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.Builder.class); + } + + // Construct using com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + tableId_ = 0; + + id_ = ""; + + probeIf_ = 0L; + + channel_ = ""; + + systemName_ = ""; + + interfaceId_ = ""; + + sessionId_ = ""; + + phoneId_ = ""; + + netType_ = ""; + + netSegment_ = ""; + + requestIp_ = 0L; + + requestPort_ = 0L; + + responseIp_ = 0L; + + responsePort_ = 0L; + + startTvSec_ = 0L; + + startTvUsec_ = 0L; + + endTvSec_ = 0L; + + endTvUsec_ = 0L; + + dealState_ = 0; + + serverTranslateTime_ = 0L; + + serverResponseTime_ = 0L; + + beginUrl_ = ""; + + operatingSytem_ = ""; + + serverResCode_ = 0; + + browser_ = ""; + + businessDetailMesg_ = ""; + + insertTime_ = 0L; + + businessInvolveMsg_ = ""; + + isUncomplete_ = 0; + + timeFlag_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.internal_static_dataflow_BussFlowExternal_descriptor; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal getDefaultInstanceForType() { + return com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.getDefaultInstance(); + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal build() { + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal buildPartial() { + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal result = new com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal(this); + result.tableId_ = tableId_; + result.id_ = id_; + result.probeIf_ = probeIf_; + result.channel_ = channel_; + result.systemName_ = systemName_; + result.interfaceId_ = interfaceId_; + result.sessionId_ = sessionId_; + result.phoneId_ = phoneId_; + result.netType_ = netType_; + result.netSegment_ = netSegment_; + result.requestIp_ = requestIp_; + result.requestPort_ = requestPort_; + result.responseIp_ = responseIp_; + result.responsePort_ = responsePort_; + result.startTvSec_ = startTvSec_; + result.startTvUsec_ = startTvUsec_; + result.endTvSec_ = endTvSec_; + result.endTvUsec_ = endTvUsec_; + result.dealState_ = dealState_; + result.serverTranslateTime_ = serverTranslateTime_; + result.serverResponseTime_ = serverResponseTime_; + result.beginUrl_ = beginUrl_; + result.operatingSytem_ = operatingSytem_; + result.serverResCode_ = serverResCode_; + result.browser_ = browser_; + result.businessDetailMesg_ = businessDetailMesg_; + result.insertTime_ = insertTime_; + result.businessInvolveMsg_ = businessInvolveMsg_; + result.isUncomplete_ = isUncomplete_; + result.timeFlag_ = timeFlag_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal) { + return mergeFrom((com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal other) { + if (other == com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal.getDefaultInstance()) return this; + if (other.getTableId() != 0) { + setTableId(other.getTableId()); + } + if (!other.getId().isEmpty()) { + id_ = other.id_; + onChanged(); + } + if (other.getProbeIf() != 0L) { + setProbeIf(other.getProbeIf()); + } + if (!other.getChannel().isEmpty()) { + channel_ = other.channel_; + onChanged(); + } + if (!other.getSystemName().isEmpty()) { + systemName_ = other.systemName_; + onChanged(); + } + if (!other.getInterfaceId().isEmpty()) { + interfaceId_ = other.interfaceId_; + onChanged(); + } + if (!other.getSessionId().isEmpty()) { + sessionId_ = other.sessionId_; + onChanged(); + } + if (!other.getPhoneId().isEmpty()) { + phoneId_ = other.phoneId_; + onChanged(); + } + if (!other.getNetType().isEmpty()) { + netType_ = other.netType_; + onChanged(); + } + if (!other.getNetSegment().isEmpty()) { + netSegment_ = other.netSegment_; + onChanged(); + } + if (other.getRequestIp() != 0L) { + setRequestIp(other.getRequestIp()); + } + if (other.getRequestPort() != 0L) { + setRequestPort(other.getRequestPort()); + } + if (other.getResponseIp() != 0L) { + setResponseIp(other.getResponseIp()); + } + if (other.getResponsePort() != 0L) { + setResponsePort(other.getResponsePort()); + } + if (other.getStartTvSec() != 0L) { + setStartTvSec(other.getStartTvSec()); + } + if (other.getStartTvUsec() != 0L) { + setStartTvUsec(other.getStartTvUsec()); + } + if (other.getEndTvSec() != 0L) { + setEndTvSec(other.getEndTvSec()); + } + if (other.getEndTvUsec() != 0L) { + setEndTvUsec(other.getEndTvUsec()); + } + if (other.getDealState() != 0) { + setDealState(other.getDealState()); + } + if (other.getServerTranslateTime() != 0L) { + setServerTranslateTime(other.getServerTranslateTime()); + } + if (other.getServerResponseTime() != 0L) { + setServerResponseTime(other.getServerResponseTime()); + } + if (!other.getBeginUrl().isEmpty()) { + beginUrl_ = other.beginUrl_; + onChanged(); + } + if (!other.getOperatingSytem().isEmpty()) { + operatingSytem_ = other.operatingSytem_; + onChanged(); + } + if (other.getServerResCode() != 0) { + setServerResCode(other.getServerResCode()); + } + if (!other.getBrowser().isEmpty()) { + browser_ = other.browser_; + onChanged(); + } + if (!other.getBusinessDetailMesg().isEmpty()) { + businessDetailMesg_ = other.businessDetailMesg_; + onChanged(); + } + if (other.getInsertTime() != 0L) { + setInsertTime(other.getInsertTime()); + } + if (!other.getBusinessInvolveMsg().isEmpty()) { + businessInvolveMsg_ = other.businessInvolveMsg_; + onChanged(); + } + if (other.getIsUncomplete() != 0) { + setIsUncomplete(other.getIsUncomplete()); + } + if (other.getTimeFlag() != 0L) { + setTimeFlag(other.getTimeFlag()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int tableId_ ; + /** + * int32 table_id = 1; + * @return The tableId. + */ + @java.lang.Override + public int getTableId() { + return tableId_; + } + /** + * int32 table_id = 1; + * @param value The tableId to set. + * @return This builder for chaining. + */ + public Builder setTableId(int value) { + + tableId_ = value; + onChanged(); + return this; + } + /** + * int32 table_id = 1; + * @return This builder for chaining. + */ + public Builder clearTableId() { + + tableId_ = 0; + onChanged(); + return this; + } + + private java.lang.Object id_ = ""; + /** + * string id = 2; + * @return The id. + */ + public java.lang.String getId() { + java.lang.Object ref = id_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + id_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string id = 2; + * @return The bytes for id. + */ + public com.google.protobuf.ByteString + getIdBytes() { + java.lang.Object ref = id_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + id_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string id = 2; + * @param value The id to set. + * @return This builder for chaining. + */ + public Builder setId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + id_ = value; + onChanged(); + return this; + } + /** + * string id = 2; + * @return This builder for chaining. + */ + public Builder clearId() { + + id_ = getDefaultInstance().getId(); + onChanged(); + return this; + } + /** + * string id = 2; + * @param value The bytes for id to set. + * @return This builder for chaining. + */ + public Builder setIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + id_ = value; + onChanged(); + return this; + } + + private long probeIf_ ; + /** + *
+       *接口号
+       * 
+ * + * int64 probe_if = 3; + * @return The probeIf. + */ + @java.lang.Override + public long getProbeIf() { + return probeIf_; + } + /** + *
+       *接口号
+       * 
+ * + * int64 probe_if = 3; + * @param value The probeIf to set. + * @return This builder for chaining. + */ + public Builder setProbeIf(long value) { + + probeIf_ = value; + onChanged(); + return this; + } + /** + *
+       *接口号
+       * 
+ * + * int64 probe_if = 3; + * @return This builder for chaining. + */ + public Builder clearProbeIf() { + + probeIf_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object channel_ = ""; + /** + *
+       *营业厅渠道:前台或者分析服务器给出,渠道标识
+       * 
+ * + * string channel = 4; + * @return The channel. + */ + public java.lang.String getChannel() { + java.lang.Object ref = channel_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + channel_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *营业厅渠道:前台或者分析服务器给出,渠道标识
+       * 
+ * + * string channel = 4; + * @return The bytes for channel. + */ + public com.google.protobuf.ByteString + getChannelBytes() { + java.lang.Object ref = channel_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + channel_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *营业厅渠道:前台或者分析服务器给出,渠道标识
+       * 
+ * + * string channel = 4; + * @param value The channel to set. + * @return This builder for chaining. + */ + public Builder setChannel( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + channel_ = value; + onChanged(); + return this; + } + /** + *
+       *营业厅渠道:前台或者分析服务器给出,渠道标识
+       * 
+ * + * string channel = 4; + * @return This builder for chaining. + */ + public Builder clearChannel() { + + channel_ = getDefaultInstance().getChannel(); + onChanged(); + return this; + } + /** + *
+       *营业厅渠道:前台或者分析服务器给出,渠道标识
+       * 
+ * + * string channel = 4; + * @param value The bytes for channel to set. + * @return This builder for chaining. + */ + public Builder setChannelBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + channel_ = value; + onChanged(); + return this; + } + + private java.lang.Object systemName_ = ""; + /** + *
+       *外部系统名称
+       * 
+ * + * string system_name = 5; + * @return The systemName. + */ + public java.lang.String getSystemName() { + java.lang.Object ref = systemName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + systemName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *外部系统名称
+       * 
+ * + * string system_name = 5; + * @return The bytes for systemName. + */ + public com.google.protobuf.ByteString + getSystemNameBytes() { + java.lang.Object ref = systemName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + systemName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *外部系统名称
+       * 
+ * + * string system_name = 5; + * @param value The systemName to set. + * @return This builder for chaining. + */ + public Builder setSystemName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + systemName_ = value; + onChanged(); + return this; + } + /** + *
+       *外部系统名称
+       * 
+ * + * string system_name = 5; + * @return This builder for chaining. + */ + public Builder clearSystemName() { + + systemName_ = getDefaultInstance().getSystemName(); + onChanged(); + return this; + } + /** + *
+       *外部系统名称
+       * 
+ * + * string system_name = 5; + * @param value The bytes for systemName to set. + * @return This builder for chaining. + */ + public Builder setSystemNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + systemName_ = value; + onChanged(); + return this; + } + + private java.lang.Object interfaceId_ = ""; + /** + *
+       * 业务接口编码
+       * 
+ * + * string interface_id = 6; + * @return The interfaceId. + */ + public java.lang.String getInterfaceId() { + java.lang.Object ref = interfaceId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + interfaceId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * 业务接口编码
+       * 
+ * + * string interface_id = 6; + * @return The bytes for interfaceId. + */ + public com.google.protobuf.ByteString + getInterfaceIdBytes() { + java.lang.Object ref = interfaceId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + interfaceId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * 业务接口编码
+       * 
+ * + * string interface_id = 6; + * @param value The interfaceId to set. + * @return This builder for chaining. + */ + public Builder setInterfaceId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + interfaceId_ = value; + onChanged(); + return this; + } + /** + *
+       * 业务接口编码
+       * 
+ * + * string interface_id = 6; + * @return This builder for chaining. + */ + public Builder clearInterfaceId() { + + interfaceId_ = getDefaultInstance().getInterfaceId(); + onChanged(); + return this; + } + /** + *
+       * 业务接口编码
+       * 
+ * + * string interface_id = 6; + * @param value The bytes for interfaceId to set. + * @return This builder for chaining. + */ + public Builder setInterfaceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + interfaceId_ = value; + onChanged(); + return this; + } + + private java.lang.Object sessionId_ = ""; + /** + *
+       *sessionid
+       * 
+ * + * string session_id = 7; + * @return The sessionId. + */ + public java.lang.String getSessionId() { + java.lang.Object ref = sessionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *sessionid
+       * 
+ * + * string session_id = 7; + * @return The bytes for sessionId. + */ + public com.google.protobuf.ByteString + getSessionIdBytes() { + java.lang.Object ref = sessionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + sessionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *sessionid
+       * 
+ * + * string session_id = 7; + * @param value The sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + sessionId_ = value; + onChanged(); + return this; + } + /** + *
+       *sessionid
+       * 
+ * + * string session_id = 7; + * @return This builder for chaining. + */ + public Builder clearSessionId() { + + sessionId_ = getDefaultInstance().getSessionId(); + onChanged(); + return this; + } + /** + *
+       *sessionid
+       * 
+ * + * string session_id = 7; + * @param value The bytes for sessionId to set. + * @return This builder for chaining. + */ + public Builder setSessionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + sessionId_ = value; + onChanged(); + return this; + } + + private java.lang.Object phoneId_ = ""; + /** + *
+       *受理手机号码
+       * 
+ * + * string phone_id = 8; + * @return The phoneId. + */ + public java.lang.String getPhoneId() { + java.lang.Object ref = phoneId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + phoneId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *受理手机号码
+       * 
+ * + * string phone_id = 8; + * @return The bytes for phoneId. + */ + public com.google.protobuf.ByteString + getPhoneIdBytes() { + java.lang.Object ref = phoneId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + phoneId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *受理手机号码
+       * 
+ * + * string phone_id = 8; + * @param value The phoneId to set. + * @return This builder for chaining. + */ + public Builder setPhoneId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + phoneId_ = value; + onChanged(); + return this; + } + /** + *
+       *受理手机号码
+       * 
+ * + * string phone_id = 8; + * @return This builder for chaining. + */ + public Builder clearPhoneId() { + + phoneId_ = getDefaultInstance().getPhoneId(); + onChanged(); + return this; + } + /** + *
+       *受理手机号码
+       * 
+ * + * string phone_id = 8; + * @param value The bytes for phoneId to set. + * @return This builder for chaining. + */ + public Builder setPhoneIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + phoneId_ = value; + onChanged(); + return this; + } + + private java.lang.Object netType_ = ""; + /** + * string net_type = 9; + * @return The netType. + */ + public java.lang.String getNetType() { + java.lang.Object ref = netType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + netType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * string net_type = 9; + * @return The bytes for netType. + */ + public com.google.protobuf.ByteString + getNetTypeBytes() { + java.lang.Object ref = netType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + netType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * string net_type = 9; + * @param value The netType to set. + * @return This builder for chaining. + */ + public Builder setNetType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + netType_ = value; + onChanged(); + return this; + } + /** + * string net_type = 9; + * @return This builder for chaining. + */ + public Builder clearNetType() { + + netType_ = getDefaultInstance().getNetType(); + onChanged(); + return this; + } + /** + * string net_type = 9; + * @param value The bytes for netType to set. + * @return This builder for chaining. + */ + public Builder setNetTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + netType_ = value; + onChanged(); + return this; + } + + private java.lang.Object netSegment_ = ""; + /** + *
+       *网段标识(客户-web)
+       * 
+ * + * string net_segment = 10; + * @return The netSegment. + */ + public java.lang.String getNetSegment() { + java.lang.Object ref = netSegment_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + netSegment_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *网段标识(客户-web)
+       * 
+ * + * string net_segment = 10; + * @return The bytes for netSegment. + */ + public com.google.protobuf.ByteString + getNetSegmentBytes() { + java.lang.Object ref = netSegment_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + netSegment_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *网段标识(客户-web)
+       * 
+ * + * string net_segment = 10; + * @param value The netSegment to set. + * @return This builder for chaining. + */ + public Builder setNetSegment( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + netSegment_ = value; + onChanged(); + return this; + } + /** + *
+       *网段标识(客户-web)
+       * 
+ * + * string net_segment = 10; + * @return This builder for chaining. + */ + public Builder clearNetSegment() { + + netSegment_ = getDefaultInstance().getNetSegment(); + onChanged(); + return this; + } + /** + *
+       *网段标识(客户-web)
+       * 
+ * + * string net_segment = 10; + * @param value The bytes for netSegment to set. + * @return This builder for chaining. + */ + public Builder setNetSegmentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + netSegment_ = value; + onChanged(); + return this; + } + + private long requestIp_ ; + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @return The requestIp. + */ + @java.lang.Override + public long getRequestIp() { + return requestIp_; + } + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @param value The requestIp to set. + * @return This builder for chaining. + */ + public Builder setRequestIp(long value) { + + requestIp_ = value; + onChanged(); + return this; + } + /** + *
+       *Web客户端IP
+       * 
+ * + * int64 request_ip = 11; + * @return This builder for chaining. + */ + public Builder clearRequestIp() { + + requestIp_ = 0L; + onChanged(); + return this; + } + + private long requestPort_ ; + /** + *
+       *Web客户端端口
+       * 
+ * + * int64 request_port = 12; + * @return The requestPort. + */ + @java.lang.Override + public long getRequestPort() { + return requestPort_; + } + /** + *
+       *Web客户端端口
+       * 
+ * + * int64 request_port = 12; + * @param value The requestPort to set. + * @return This builder for chaining. + */ + public Builder setRequestPort(long value) { + + requestPort_ = value; + onChanged(); + return this; + } + /** + *
+       *Web客户端端口
+       * 
+ * + * int64 request_port = 12; + * @return This builder for chaining. + */ + public Builder clearRequestPort() { + + requestPort_ = 0L; + onChanged(); + return this; + } + + private long responseIp_ ; + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @return The responseIp. + */ + @java.lang.Override + public long getResponseIp() { + return responseIp_; + } + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @param value The responseIp to set. + * @return This builder for chaining. + */ + public Builder setResponseIp(long value) { + + responseIp_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器IP
+       * 
+ * + * int64 response_ip = 13; + * @return This builder for chaining. + */ + public Builder clearResponseIp() { + + responseIp_ = 0L; + onChanged(); + return this; + } + + private long responsePort_ ; + /** + *
+       *Web服务器端口
+       * 
+ * + * int64 response_port = 14; + * @return The responsePort. + */ + @java.lang.Override + public long getResponsePort() { + return responsePort_; + } + /** + *
+       *Web服务器端口
+       * 
+ * + * int64 response_port = 14; + * @param value The responsePort to set. + * @return This builder for chaining. + */ + public Builder setResponsePort(long value) { + + responsePort_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器端口
+       * 
+ * + * int64 response_port = 14; + * @return This builder for chaining. + */ + public Builder clearResponsePort() { + + responsePort_ = 0L; + onChanged(); + return this; + } + + private long startTvSec_ ; + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @return The startTvSec. + */ + @java.lang.Override + public long getStartTvSec() { + return startTvSec_; + } + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @param value The startTvSec to set. + * @return This builder for chaining. + */ + public Builder setStartTvSec(long value) { + + startTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *Web开始时间秒
+       * 
+ * + * int64 start_tv_sec = 15; + * @return This builder for chaining. + */ + public Builder clearStartTvSec() { + + startTvSec_ = 0L; + onChanged(); + return this; + } + + private long startTvUsec_ ; + /** + *
+       *开始时间微秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @return The startTvUsec. + */ + @java.lang.Override + public long getStartTvUsec() { + return startTvUsec_; + } + /** + *
+       *开始时间微秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @param value The startTvUsec to set. + * @return This builder for chaining. + */ + public Builder setStartTvUsec(long value) { + + startTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *开始时间微秒
+       * 
+ * + * int64 start_tv_usec = 16; + * @return This builder for chaining. + */ + public Builder clearStartTvUsec() { + + startTvUsec_ = 0L; + onChanged(); + return this; + } + + private long endTvSec_ ; + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @return The endTvSec. + */ + @java.lang.Override + public long getEndTvSec() { + return endTvSec_; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @param value The endTvSec to set. + * @return This builder for chaining. + */ + public Builder setEndTvSec(long value) { + + endTvSec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间秒
+       * 
+ * + * int64 end_tv_sec = 17; + * @return This builder for chaining. + */ + public Builder clearEndTvSec() { + + endTvSec_ = 0L; + onChanged(); + return this; + } + + private long endTvUsec_ ; + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @return The endTvUsec. + */ + @java.lang.Override + public long getEndTvUsec() { + return endTvUsec_; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @param value The endTvUsec to set. + * @return This builder for chaining. + */ + public Builder setEndTvUsec(long value) { + + endTvUsec_ = value; + onChanged(); + return this; + } + /** + *
+       *结束时间微妙
+       * 
+ * + * int64 end_tv_usec = 18; + * @return This builder for chaining. + */ + public Builder clearEndTvUsec() { + + endTvUsec_ = 0L; + onChanged(); + return this; + } + + private int dealState_ ; + /** + *
+       *Web操作成功/失败标识1成功0失败
+       * 
+ * + * int32 deal_state = 19; + * @return The dealState. + */ + @java.lang.Override + public int getDealState() { + return dealState_; + } + /** + *
+       *Web操作成功/失败标识1成功0失败
+       * 
+ * + * int32 deal_state = 19; + * @param value The dealState to set. + * @return This builder for chaining. + */ + public Builder setDealState(int value) { + + dealState_ = value; + onChanged(); + return this; + } + /** + *
+       *Web操作成功/失败标识1成功0失败
+       * 
+ * + * int32 deal_state = 19; + * @return This builder for chaining. + */ + public Builder clearDealState() { + + dealState_ = 0; + onChanged(); + return this; + } + + private long serverTranslateTime_ ; + /** + *
+       *Web服务器传输耗时
+       * 
+ * + * int64 server_translate_time = 20; + * @return The serverTranslateTime. + */ + @java.lang.Override + public long getServerTranslateTime() { + return serverTranslateTime_; + } + /** + *
+       *Web服务器传输耗时
+       * 
+ * + * int64 server_translate_time = 20; + * @param value The serverTranslateTime to set. + * @return This builder for chaining. + */ + public Builder setServerTranslateTime(long value) { + + serverTranslateTime_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器传输耗时
+       * 
+ * + * int64 server_translate_time = 20; + * @return This builder for chaining. + */ + public Builder clearServerTranslateTime() { + + serverTranslateTime_ = 0L; + onChanged(); + return this; + } + + private long serverResponseTime_ ; + /** + *
+       *Web服务器响应时间
+       * 
+ * + * int64 server_response_time = 21; + * @return The serverResponseTime. + */ + @java.lang.Override + public long getServerResponseTime() { + return serverResponseTime_; + } + /** + *
+       *Web服务器响应时间
+       * 
+ * + * int64 server_response_time = 21; + * @param value The serverResponseTime to set. + * @return This builder for chaining. + */ + public Builder setServerResponseTime(long value) { + + serverResponseTime_ = value; + onChanged(); + return this; + } + /** + *
+       *Web服务器响应时间
+       * 
+ * + * int64 server_response_time = 21; + * @return This builder for chaining. + */ + public Builder clearServerResponseTime() { + + serverResponseTime_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object beginUrl_ = ""; + /** + *
+       *url
+       * 
+ * + * string begin_url = 22; + * @return The beginUrl. + */ + public java.lang.String getBeginUrl() { + java.lang.Object ref = beginUrl_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + beginUrl_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *url
+       * 
+ * + * string begin_url = 22; + * @return The bytes for beginUrl. + */ + public com.google.protobuf.ByteString + getBeginUrlBytes() { + java.lang.Object ref = beginUrl_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + beginUrl_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *url
+       * 
+ * + * string begin_url = 22; + * @param value The beginUrl to set. + * @return This builder for chaining. + */ + public Builder setBeginUrl( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + beginUrl_ = value; + onChanged(); + return this; + } + /** + *
+       *url
+       * 
+ * + * string begin_url = 22; + * @return This builder for chaining. + */ + public Builder clearBeginUrl() { + + beginUrl_ = getDefaultInstance().getBeginUrl(); + onChanged(); + return this; + } + /** + *
+       *url
+       * 
+ * + * string begin_url = 22; + * @param value The bytes for beginUrl to set. + * @return This builder for chaining. + */ + public Builder setBeginUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + beginUrl_ = value; + onChanged(); + return this; + } + + private java.lang.Object operatingSytem_ = ""; + /** + *
+       *操作系统
+       * 
+ * + * string operating_sytem = 23; + * @return The operatingSytem. + */ + public java.lang.String getOperatingSytem() { + java.lang.Object ref = operatingSytem_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + operatingSytem_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *操作系统
+       * 
+ * + * string operating_sytem = 23; + * @return The bytes for operatingSytem. + */ + public com.google.protobuf.ByteString + getOperatingSytemBytes() { + java.lang.Object ref = operatingSytem_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operatingSytem_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *操作系统
+       * 
+ * + * string operating_sytem = 23; + * @param value The operatingSytem to set. + * @return This builder for chaining. + */ + public Builder setOperatingSytem( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + operatingSytem_ = value; + onChanged(); + return this; + } + /** + *
+       *操作系统
+       * 
+ * + * string operating_sytem = 23; + * @return This builder for chaining. + */ + public Builder clearOperatingSytem() { + + operatingSytem_ = getDefaultInstance().getOperatingSytem(); + onChanged(); + return this; + } + /** + *
+       *操作系统
+       * 
+ * + * string operating_sytem = 23; + * @param value The bytes for operatingSytem to set. + * @return This builder for chaining. + */ + public Builder setOperatingSytemBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + operatingSytem_ = value; + onChanged(); + return this; + } + + private int serverResCode_ ; + /** + *
+       *Web系统返回码
+       * 
+ * + * int32 server_res_code = 24; + * @return The serverResCode. + */ + @java.lang.Override + public int getServerResCode() { + return serverResCode_; + } + /** + *
+       *Web系统返回码
+       * 
+ * + * int32 server_res_code = 24; + * @param value The serverResCode to set. + * @return This builder for chaining. + */ + public Builder setServerResCode(int value) { + + serverResCode_ = value; + onChanged(); + return this; + } + /** + *
+       *Web系统返回码
+       * 
+ * + * int32 server_res_code = 24; + * @return This builder for chaining. + */ + public Builder clearServerResCode() { + + serverResCode_ = 0; + onChanged(); + return this; + } + + private java.lang.Object browser_ = ""; + /** + *
+       *浏览器
+       * 
+ * + * string browser = 25; + * @return The browser. + */ + public java.lang.String getBrowser() { + java.lang.Object ref = browser_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + browser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *浏览器
+       * 
+ * + * string browser = 25; + * @return The bytes for browser. + */ + public com.google.protobuf.ByteString + getBrowserBytes() { + java.lang.Object ref = browser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + browser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *浏览器
+       * 
+ * + * string browser = 25; + * @param value The browser to set. + * @return This builder for chaining. + */ + public Builder setBrowser( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + browser_ = value; + onChanged(); + return this; + } + /** + *
+       *浏览器
+       * 
+ * + * string browser = 25; + * @return This builder for chaining. + */ + public Builder clearBrowser() { + + browser_ = getDefaultInstance().getBrowser(); + onChanged(); + return this; + } + /** + *
+       *浏览器
+       * 
+ * + * string browser = 25; + * @param value The bytes for browser to set. + * @return This builder for chaining. + */ + public Builder setBrowserBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + browser_ = value; + onChanged(); + return this; + } + + private java.lang.Object businessDetailMesg_ = ""; + /** + *
+       *要获取的指标
+       * 
+ * + * string business_detail_mesg = 26; + * @return The businessDetailMesg. + */ + public java.lang.String getBusinessDetailMesg() { + java.lang.Object ref = businessDetailMesg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + businessDetailMesg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *要获取的指标
+       * 
+ * + * string business_detail_mesg = 26; + * @return The bytes for businessDetailMesg. + */ + public com.google.protobuf.ByteString + getBusinessDetailMesgBytes() { + java.lang.Object ref = businessDetailMesg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessDetailMesg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *要获取的指标
+       * 
+ * + * string business_detail_mesg = 26; + * @param value The businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesg( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + businessDetailMesg_ = value; + onChanged(); + return this; + } + /** + *
+       *要获取的指标
+       * 
+ * + * string business_detail_mesg = 26; + * @return This builder for chaining. + */ + public Builder clearBusinessDetailMesg() { + + businessDetailMesg_ = getDefaultInstance().getBusinessDetailMesg(); + onChanged(); + return this; + } + /** + *
+       *要获取的指标
+       * 
+ * + * string business_detail_mesg = 26; + * @param value The bytes for businessDetailMesg to set. + * @return This builder for chaining. + */ + public Builder setBusinessDetailMesgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + businessDetailMesg_ = value; + onChanged(); + return this; + } + + private long insertTime_ ; + /** + *
+       *插入时间? 没有被使用
+       * 
+ * + * int64 insert_time = 27; + * @return The insertTime. + */ + @java.lang.Override + public long getInsertTime() { + return insertTime_; + } + /** + *
+       *插入时间? 没有被使用
+       * 
+ * + * int64 insert_time = 27; + * @param value The insertTime to set. + * @return This builder for chaining. + */ + public Builder setInsertTime(long value) { + + insertTime_ = value; + onChanged(); + return this; + } + /** + *
+       *插入时间? 没有被使用
+       * 
+ * + * int64 insert_time = 27; + * @return This builder for chaining. + */ + public Builder clearInsertTime() { + + insertTime_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object businessInvolveMsg_ = ""; + /** + *
+       *要关联的指标
+       * 
+ * + * string business_involve_msg = 28; + * @return The businessInvolveMsg. + */ + public java.lang.String getBusinessInvolveMsg() { + java.lang.Object ref = businessInvolveMsg_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + businessInvolveMsg_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       *要关联的指标
+       * 
+ * + * string business_involve_msg = 28; + * @return The bytes for businessInvolveMsg. + */ + public com.google.protobuf.ByteString + getBusinessInvolveMsgBytes() { + java.lang.Object ref = businessInvolveMsg_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + businessInvolveMsg_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       *要关联的指标
+       * 
+ * + * string business_involve_msg = 28; + * @param value The businessInvolveMsg to set. + * @return This builder for chaining. + */ + public Builder setBusinessInvolveMsg( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + businessInvolveMsg_ = value; + onChanged(); + return this; + } + /** + *
+       *要关联的指标
+       * 
+ * + * string business_involve_msg = 28; + * @return This builder for chaining. + */ + public Builder clearBusinessInvolveMsg() { + + businessInvolveMsg_ = getDefaultInstance().getBusinessInvolveMsg(); + onChanged(); + return this; + } + /** + *
+       *要关联的指标
+       * 
+ * + * string business_involve_msg = 28; + * @param value The bytes for businessInvolveMsg to set. + * @return This builder for chaining. + */ + public Builder setBusinessInvolveMsgBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + businessInvolveMsg_ = value; + onChanged(); + return this; + } + + private int isUncomplete_ ; + /** + * int32 is_uncomplete = 29; + * @return The isUncomplete. + */ + @java.lang.Override + public int getIsUncomplete() { + return isUncomplete_; + } + /** + * int32 is_uncomplete = 29; + * @param value The isUncomplete to set. + * @return This builder for chaining. + */ + public Builder setIsUncomplete(int value) { + + isUncomplete_ = value; + onChanged(); + return this; + } + /** + * int32 is_uncomplete = 29; + * @return This builder for chaining. + */ + public Builder clearIsUncomplete() { + + isUncomplete_ = 0; + onChanged(); + return this; + } + + private long timeFlag_ ; + /** + * int64 time_flag = 30; + * @return The timeFlag. + */ + @java.lang.Override + public long getTimeFlag() { + return timeFlag_; + } + /** + * int64 time_flag = 30; + * @param value The timeFlag to set. + * @return This builder for chaining. + */ + public Builder setTimeFlag(long value) { + + timeFlag_ = value; + onChanged(); + return this; + } + /** + * int64 time_flag = 30; + * @return This builder for chaining. + */ + public Builder clearTimeFlag() { + + timeFlag_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:dataflow.BussFlowExternal) + } + + // @@protoc_insertion_point(class_scope:dataflow.BussFlowExternal) + private static final com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal(); + } + + public static com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public BussFlowExternal parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BussFlowExternal(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.yuandian.dataflow.proto.BussFlowExternalOuterClass.BussFlowExternal getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_dataflow_BussFlowExternal_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_dataflow_BussFlowExternal_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\026BussFlowExternal.proto\022\010dataflow\"\231\005\n\020B" + + "ussFlowExternal\022\020\n\010table_id\030\001 \001(\005\022\n\n\002id\030" + + "\002 \001(\t\022\020\n\010probe_if\030\003 \001(\003\022\017\n\007channel\030\004 \001(\t" + + "\022\023\n\013system_name\030\005 \001(\t\022\024\n\014interface_id\030\006 " + + "\001(\t\022\022\n\nsession_id\030\007 \001(\t\022\020\n\010phone_id\030\010 \001(" + + "\t\022\020\n\010net_type\030\t \001(\t\022\023\n\013net_segment\030\n \001(\t" + + "\022\022\n\nrequest_ip\030\013 \001(\003\022\024\n\014request_port\030\014 \001" + + "(\003\022\023\n\013response_ip\030\r \001(\003\022\025\n\rresponse_port" + + "\030\016 \001(\003\022\024\n\014start_tv_sec\030\017 \001(\003\022\025\n\rstart_tv" + + "_usec\030\020 \001(\003\022\022\n\nend_tv_sec\030\021 \001(\003\022\023\n\013end_t" + + "v_usec\030\022 \001(\003\022\022\n\ndeal_state\030\023 \001(\005\022\035\n\025serv" + + "er_translate_time\030\024 \001(\003\022\034\n\024server_respon" + + "se_time\030\025 \001(\003\022\021\n\tbegin_url\030\026 \001(\t\022\027\n\017oper" + + "ating_sytem\030\027 \001(\t\022\027\n\017server_res_code\030\030 \001" + + "(\005\022\017\n\007browser\030\031 \001(\t\022\034\n\024business_detail_m" + + "esg\030\032 \001(\t\022\023\n\013insert_time\030\033 \001(\003\022\034\n\024busine" + + "ss_involve_msg\030\034 \001(\t\022\025\n\ris_uncomplete\030\035 " + + "\001(\005\022\021\n\ttime_flag\030\036 \001(\003B2\n\033com.yuandian.d" + + "ataflow.protoZ\023../grpc-gen;grpcgenb\006prot" + + "o3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_dataflow_BussFlowExternal_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_dataflow_BussFlowExternal_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_dataflow_BussFlowExternal_descriptor, + new java.lang.String[] { "TableId", "Id", "ProbeIf", "Channel", "SystemName", "InterfaceId", "SessionId", "PhoneId", "NetType", "NetSegment", "RequestIp", "RequestPort", "ResponseIp", "ResponsePort", "StartTvSec", "StartTvUsec", "EndTvSec", "EndTvUsec", "DealState", "ServerTranslateTime", "ServerResponseTime", "BeginUrl", "OperatingSytem", "ServerResCode", "Browser", "BusinessDetailMesg", "InsertTime", "BusinessInvolveMsg", "IsUncomplete", "TimeFlag", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/src/main/java/com/yuandian/dataflow/proto/CollectPacketsServerGrpc.java b/src/main/java/com/yuandian/dataflow/proto/CollectPacketsServerGrpc.java index 4a0e0f5..ded05bf 100644 --- a/src/main/java/com/yuandian/dataflow/proto/CollectPacketsServerGrpc.java +++ b/src/main/java/com/yuandian/dataflow/proto/CollectPacketsServerGrpc.java @@ -12,7 +12,7 @@ public final class CollectPacketsServerGrpc { private CollectPacketsServerGrpc() {} - public static final String SERVICE_NAME = "com.yuandian.dataflow.proto.CollectPacketsServer"; + public static final String SERVICE_NAME = "dataflow.CollectPacketsServer"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor