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

com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: src/main/resources/com/github/bingoohuang/blackcat/sdk/protobuf/BlackcatMsg.proto

package com.github.bingoohuang.blackcat.sdk.protobuf;

public final class BlackcatMsg {
  private BlackcatMsg() {}
  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 BlackcatReqHeadOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
     */
    boolean hasReqType();
    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType getReqType();

    /**
     * required string hostname = 2;
     */
    boolean hasHostname();
    /**
     * required string hostname = 2;
     */
    java.lang.String getHostname();
    /**
     * required string hostname = 2;
     */
    com.google.protobuf.ByteString
        getHostnameBytes();

    /**
     * required uint64 timestamp = 3;
     */
    boolean hasTimestamp();
    /**
     * required uint64 timestamp = 3;
     */
    long getTimestamp();
  }
  /**
   * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead}
   */
  public  static final class BlackcatReqHead extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead)
      BlackcatReqHeadOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use BlackcatReqHead.newBuilder() to construct.
    private BlackcatReqHead(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private BlackcatReqHead() {
      reqType_ = 0;
      hostname_ = "";
      timestamp_ = 0L;
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private BlackcatReqHead(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              int rawValue = input.readEnum();
              com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType value = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                reqType_ = rawValue;
              }
              break;
            }
            case 18: {
              com.google.protobuf.ByteString bs = input.readBytes();
              bitField0_ |= 0x00000002;
              hostname_ = bs;
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              timestamp_ = input.readUInt64();
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor;
    }

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder.class);
    }

    /**
     * Protobuf enum {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType}
     */
    public enum ReqType
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * BlackcatMemory = 0;
       */
      BlackcatMemory(0),
      /**
       * BlackcatFileStores = 1;
       */
      BlackcatFileStores(1),
      /**
       * BlackcatLoad = 2;
       */
      BlackcatLoad(2),
      /**
       * BlackcatProcess = 3;
       */
      BlackcatProcess(3),
      /**
       * BlackcatConfig = 4;
       */
      BlackcatConfig(4),
      /**
       * BlackcatMethodRuntime = 5;
       */
      BlackcatMethodRuntime(5),
      /**
       * BlackcatFileSystemUsage = 6;
       */
      BlackcatFileSystemUsage(6),
      /**
       * BlackcatNetStat = 7;
       */
      BlackcatNetStat(7),
      /**
       * BlackcatJSON = 8;
       */
      BlackcatJSON(8),
      /**
       * BlackcatTrace = 9;
       */
      BlackcatTrace(9),
      /**
       * BlackcatMetric = 10;
       */
      BlackcatMetric(10),
      /**
       * BlackcatLogException = 11;
       */
      BlackcatLogException(11),
      ;

      /**
       * BlackcatMemory = 0;
       */
      public static final int BlackcatMemory_VALUE = 0;
      /**
       * BlackcatFileStores = 1;
       */
      public static final int BlackcatFileStores_VALUE = 1;
      /**
       * BlackcatLoad = 2;
       */
      public static final int BlackcatLoad_VALUE = 2;
      /**
       * BlackcatProcess = 3;
       */
      public static final int BlackcatProcess_VALUE = 3;
      /**
       * BlackcatConfig = 4;
       */
      public static final int BlackcatConfig_VALUE = 4;
      /**
       * BlackcatMethodRuntime = 5;
       */
      public static final int BlackcatMethodRuntime_VALUE = 5;
      /**
       * BlackcatFileSystemUsage = 6;
       */
      public static final int BlackcatFileSystemUsage_VALUE = 6;
      /**
       * BlackcatNetStat = 7;
       */
      public static final int BlackcatNetStat_VALUE = 7;
      /**
       * BlackcatJSON = 8;
       */
      public static final int BlackcatJSON_VALUE = 8;
      /**
       * BlackcatTrace = 9;
       */
      public static final int BlackcatTrace_VALUE = 9;
      /**
       * BlackcatMetric = 10;
       */
      public static final int BlackcatMetric_VALUE = 10;
      /**
       * BlackcatLogException = 11;
       */
      public static final int BlackcatLogException_VALUE = 11;


      public final int getNumber() {
        return value;
      }

      /**
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static ReqType valueOf(int value) {
        return forNumber(value);
      }

      public static ReqType forNumber(int value) {
        switch (value) {
          case 0: return BlackcatMemory;
          case 1: return BlackcatFileStores;
          case 2: return BlackcatLoad;
          case 3: return BlackcatProcess;
          case 4: return BlackcatConfig;
          case 5: return BlackcatMethodRuntime;
          case 6: return BlackcatFileSystemUsage;
          case 7: return BlackcatNetStat;
          case 8: return BlackcatJSON;
          case 9: return BlackcatTrace;
          case 10: return BlackcatMetric;
          case 11: return BlackcatLogException;
          default: return null;
        }
      }

      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          ReqType> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public ReqType findValueByNumber(int number) {
                return ReqType.forNumber(number);
              }
            };

      public final com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDescriptor().getEnumTypes().get(0);
      }

      private static final ReqType[] VALUES = values();

      public static ReqType valueOf(
          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private ReqType(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType)
    }

    private int bitField0_;
    public static final int REQTYPE_FIELD_NUMBER = 1;
    private int reqType_;
    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
     */
    public boolean hasReqType() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
     */
    public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType getReqType() {
      com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType result = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType.valueOf(reqType_);
      return result == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType.BlackcatMemory : result;
    }

    public static final int HOSTNAME_FIELD_NUMBER = 2;
    private volatile java.lang.Object hostname_;
    /**
     * required string hostname = 2;
     */
    public boolean hasHostname() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * required string hostname = 2;
     */
    public java.lang.String getHostname() {
      java.lang.Object ref = hostname_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        if (bs.isValidUtf8()) {
          hostname_ = s;
        }
        return s;
      }
    }
    /**
     * required string hostname = 2;
     */
    public com.google.protobuf.ByteString
        getHostnameBytes() {
      java.lang.Object ref = hostname_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        hostname_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TIMESTAMP_FIELD_NUMBER = 3;
    private long timestamp_;
    /**
     * required uint64 timestamp = 3;
     */
    public boolean hasTimestamp() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * required uint64 timestamp = 3;
     */
    public long getTimestamp() {
      return timestamp_;
    }

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasReqType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasHostname()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasTimestamp()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeEnum(1, reqType_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hostname_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeUInt64(3, timestamp_);
      }
      unknownFields.writeTo(output);
    }

    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, reqType_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, hostname_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt64Size(3, timestamp_);
      }
      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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead)) {
        return super.equals(obj);
      }
      com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead) obj;

      boolean result = true;
      result = result && (hasReqType() == other.hasReqType());
      if (hasReqType()) {
        result = result && reqType_ == other.reqType_;
      }
      result = result && (hasHostname() == other.hasHostname());
      if (hasHostname()) {
        result = result && getHostname()
            .equals(other.getHostname());
      }
      result = result && (hasTimestamp() == other.hasTimestamp());
      if (hasTimestamp()) {
        result = result && (getTimestamp()
            == other.getTimestamp());
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasReqType()) {
        hash = (37 * hash) + REQTYPE_FIELD_NUMBER;
        hash = (53 * hash) + reqType_;
      }
      if (hasHostname()) {
        hash = (37 * hash) + HOSTNAME_FIELD_NUMBER;
        hash = (53 * hash) + getHostname().hashCode();
      }
      if (hasTimestamp()) {
        hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER;
        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
            getTimestamp());
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead)
        com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor;
      }

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder.class);
      }

      // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        reqType_ = 0;
        bitField0_ = (bitField0_ & ~0x00000001);
        hostname_ = "";
        bitField0_ = (bitField0_ & ~0x00000002);
        timestamp_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor;
      }

      public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getDefaultInstanceForType() {
        return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance();
      }

      public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead build() {
        com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead buildPartial() {
        com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.reqType_ = reqType_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.hostname_ = hostname_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.timestamp_ = timestamp_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead) {
          return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead other) {
        if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance()) return this;
        if (other.hasReqType()) {
          setReqType(other.getReqType());
        }
        if (other.hasHostname()) {
          bitField0_ |= 0x00000002;
          hostname_ = other.hostname_;
          onChanged();
        }
        if (other.hasTimestamp()) {
          setTimestamp(other.getTimestamp());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        if (!hasReqType()) {
          return false;
        }
        if (!hasHostname()) {
          return false;
        }
        if (!hasTimestamp()) {
          return false;
        }
        return true;
      }

      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int reqType_ = 0;
      /**
       * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
       */
      public boolean hasReqType() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
       */
      public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType getReqType() {
        com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType result = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType.valueOf(reqType_);
        return result == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType.BlackcatMemory : result;
      }
      /**
       * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
       */
      public Builder setReqType(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.ReqType value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        reqType_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead.ReqType reqType = 1;
       */
      public Builder clearReqType() {
        bitField0_ = (bitField0_ & ~0x00000001);
        reqType_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object hostname_ = "";
      /**
       * required string hostname = 2;
       */
      public boolean hasHostname() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * required string hostname = 2;
       */
      public java.lang.String getHostname() {
        java.lang.Object ref = hostname_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (bs.isValidUtf8()) {
            hostname_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * required string hostname = 2;
       */
      public com.google.protobuf.ByteString
          getHostnameBytes() {
        java.lang.Object ref = hostname_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          hostname_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * required string hostname = 2;
       */
      public Builder setHostname(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        hostname_ = value;
        onChanged();
        return this;
      }
      /**
       * required string hostname = 2;
       */
      public Builder clearHostname() {
        bitField0_ = (bitField0_ & ~0x00000002);
        hostname_ = getDefaultInstance().getHostname();
        onChanged();
        return this;
      }
      /**
       * required string hostname = 2;
       */
      public Builder setHostnameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        hostname_ = value;
        onChanged();
        return this;
      }

      private long timestamp_ ;
      /**
       * required uint64 timestamp = 3;
       */
      public boolean hasTimestamp() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * required uint64 timestamp = 3;
       */
      public long getTimestamp() {
        return timestamp_;
      }
      /**
       * required uint64 timestamp = 3;
       */
      public Builder setTimestamp(long value) {
        bitField0_ |= 0x00000004;
        timestamp_ = value;
        onChanged();
        return this;
      }
      /**
       * required uint64 timestamp = 3;
       */
      public Builder clearTimestamp() {
        bitField0_ = (bitField0_ & ~0x00000004);
        timestamp_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead)
    }

    // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead)
    private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead();
    }

    public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      public BlackcatReqHead parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
          return new BlackcatReqHead(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface BlackcatReqOrBuilder extends
      // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq)
      com.google.protobuf.MessageOrBuilder {

    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1;
     */
    boolean hasBlackcatReqHead();
    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getBlackcatReqHead();
    /**
     * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder getBlackcatReqHeadOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2;
     */
    boolean hasBlackcatMemory();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getBlackcatMemory();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder getBlackcatMemoryOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3;
     */
    boolean hasBlackcatFileStores();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getBlackcatFileStores();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder getBlackcatFileStoresOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4;
     */
    boolean hasBlackcatLoad();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getBlackcatLoad();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder getBlackcatLoadOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5;
     */
    boolean hasBlackcatProcess();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getBlackcatProcess();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder getBlackcatProcessOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6;
     */
    boolean hasBlackcatMethodRuntime();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getBlackcatMethodRuntime();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder getBlackcatMethodRuntimeOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7;
     */
    boolean hasBlackcatFileSystemUsage();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getBlackcatFileSystemUsage();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder getBlackcatFileSystemUsageOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8;
     */
    boolean hasBlackcatNetStat();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getBlackcatNetStat();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder getBlackcatNetStatOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9;
     */
    boolean hasBlackcatJSON();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getBlackcatJSON();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder getBlackcatJSONOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10;
     */
    boolean hasBlackcatTrace();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getBlackcatTrace();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder getBlackcatTraceOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11;
     */
    boolean hasBlackcatMetric();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getBlackcatMetric();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder getBlackcatMetricOrBuilder();

    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12;
     */
    boolean hasBlackcatLogException();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getBlackcatLogException();
    /**
     * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12;
     */
    com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder getBlackcatLogExceptionOrBuilder();
  }
  /**
   * 
   * 请求消息
   * 
* * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq} */ public static final class BlackcatReq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq) BlackcatReqOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatReq.newBuilder() to construct. private BlackcatReq(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatReq() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatReq( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = blackcatReqHead_.toBuilder(); } blackcatReqHead_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatReqHead_); blackcatReqHead_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = blackcatMemory_.toBuilder(); } blackcatMemory_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatMemory_); blackcatMemory_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = blackcatFileStores_.toBuilder(); } blackcatFileStores_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatFileStores_); blackcatFileStores_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = blackcatLoad_.toBuilder(); } blackcatLoad_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatLoad_); blackcatLoad_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = blackcatProcess_.toBuilder(); } blackcatProcess_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatProcess_); blackcatProcess_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = blackcatMethodRuntime_.toBuilder(); } blackcatMethodRuntime_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatMethodRuntime_); blackcatMethodRuntime_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = blackcatFileSystemUsage_.toBuilder(); } blackcatFileSystemUsage_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatFileSystemUsage_); blackcatFileSystemUsage_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = blackcatNetStat_.toBuilder(); } blackcatNetStat_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatNetStat_); blackcatNetStat_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = blackcatJSON_.toBuilder(); } blackcatJSON_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatJSON_); blackcatJSON_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 82: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder subBuilder = null; if (((bitField0_ & 0x00000200) == 0x00000200)) { subBuilder = blackcatTrace_.toBuilder(); } blackcatTrace_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatTrace_); blackcatTrace_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000200; break; } case 90: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder subBuilder = null; if (((bitField0_ & 0x00000400) == 0x00000400)) { subBuilder = blackcatMetric_.toBuilder(); } blackcatMetric_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatMetric_); blackcatMetric_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000400; break; } case 98: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder subBuilder = null; if (((bitField0_ & 0x00000800) == 0x00000800)) { subBuilder = blackcatLogException_.toBuilder(); } blackcatLogException_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatLogException_); blackcatLogException_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000800; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.Builder.class); } private int bitField0_; public static final int BLACKCATREQHEAD_FIELD_NUMBER = 1; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead blackcatReqHead_; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public boolean hasBlackcatReqHead() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getBlackcatReqHead() { return blackcatReqHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance() : blackcatReqHead_; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder getBlackcatReqHeadOrBuilder() { return blackcatReqHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance() : blackcatReqHead_; } public static final int BLACKCATMEMORY_FIELD_NUMBER = 2; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory blackcatMemory_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public boolean hasBlackcatMemory() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getBlackcatMemory() { return blackcatMemory_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance() : blackcatMemory_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder getBlackcatMemoryOrBuilder() { return blackcatMemory_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance() : blackcatMemory_; } public static final int BLACKCATFILESTORES_FIELD_NUMBER = 3; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores blackcatFileStores_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public boolean hasBlackcatFileStores() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getBlackcatFileStores() { return blackcatFileStores_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance() : blackcatFileStores_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder getBlackcatFileStoresOrBuilder() { return blackcatFileStores_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance() : blackcatFileStores_; } public static final int BLACKCATLOAD_FIELD_NUMBER = 4; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad blackcatLoad_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public boolean hasBlackcatLoad() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getBlackcatLoad() { return blackcatLoad_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance() : blackcatLoad_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder getBlackcatLoadOrBuilder() { return blackcatLoad_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance() : blackcatLoad_; } public static final int BLACKCATPROCESS_FIELD_NUMBER = 5; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess blackcatProcess_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public boolean hasBlackcatProcess() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getBlackcatProcess() { return blackcatProcess_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance() : blackcatProcess_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder getBlackcatProcessOrBuilder() { return blackcatProcess_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance() : blackcatProcess_; } public static final int BLACKCATMETHODRUNTIME_FIELD_NUMBER = 6; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime blackcatMethodRuntime_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public boolean hasBlackcatMethodRuntime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getBlackcatMethodRuntime() { return blackcatMethodRuntime_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance() : blackcatMethodRuntime_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder getBlackcatMethodRuntimeOrBuilder() { return blackcatMethodRuntime_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance() : blackcatMethodRuntime_; } public static final int BLACKCATFILESYSTEMUSAGE_FIELD_NUMBER = 7; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage blackcatFileSystemUsage_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public boolean hasBlackcatFileSystemUsage() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getBlackcatFileSystemUsage() { return blackcatFileSystemUsage_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance() : blackcatFileSystemUsage_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder getBlackcatFileSystemUsageOrBuilder() { return blackcatFileSystemUsage_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance() : blackcatFileSystemUsage_; } public static final int BLACKCATNETSTAT_FIELD_NUMBER = 8; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat blackcatNetStat_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public boolean hasBlackcatNetStat() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getBlackcatNetStat() { return blackcatNetStat_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance() : blackcatNetStat_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder getBlackcatNetStatOrBuilder() { return blackcatNetStat_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance() : blackcatNetStat_; } public static final int BLACKCATJSON_FIELD_NUMBER = 9; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON blackcatJSON_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public boolean hasBlackcatJSON() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getBlackcatJSON() { return blackcatJSON_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance() : blackcatJSON_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder getBlackcatJSONOrBuilder() { return blackcatJSON_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance() : blackcatJSON_; } public static final int BLACKCATTRACE_FIELD_NUMBER = 10; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace blackcatTrace_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public boolean hasBlackcatTrace() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getBlackcatTrace() { return blackcatTrace_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance() : blackcatTrace_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder getBlackcatTraceOrBuilder() { return blackcatTrace_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance() : blackcatTrace_; } public static final int BLACKCATMETRIC_FIELD_NUMBER = 11; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric blackcatMetric_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public boolean hasBlackcatMetric() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getBlackcatMetric() { return blackcatMetric_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance() : blackcatMetric_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder getBlackcatMetricOrBuilder() { return blackcatMetric_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance() : blackcatMetric_; } public static final int BLACKCATLOGEXCEPTION_FIELD_NUMBER = 12; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException blackcatLogException_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public boolean hasBlackcatLogException() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getBlackcatLogException() { return blackcatLogException_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance() : blackcatLogException_; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder getBlackcatLogExceptionOrBuilder() { return blackcatLogException_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance() : blackcatLogException_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasBlackcatReqHead()) { memoizedIsInitialized = 0; return false; } if (!getBlackcatReqHead().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasBlackcatMemory()) { if (!getBlackcatMemory().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatFileStores()) { if (!getBlackcatFileStores().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatLoad()) { if (!getBlackcatLoad().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatProcess()) { if (!getBlackcatProcess().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatMethodRuntime()) { if (!getBlackcatMethodRuntime().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatFileSystemUsage()) { if (!getBlackcatFileSystemUsage().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatNetStat()) { if (!getBlackcatNetStat().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatJSON()) { if (!getBlackcatJSON().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatTrace()) { if (!getBlackcatTrace().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatMetric()) { if (!getBlackcatMetric().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasBlackcatLogException()) { if (!getBlackcatLogException().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getBlackcatReqHead()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getBlackcatMemory()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getBlackcatFileStores()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getBlackcatLoad()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getBlackcatProcess()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, getBlackcatMethodRuntime()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getBlackcatFileSystemUsage()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, getBlackcatNetStat()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, getBlackcatJSON()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeMessage(10, getBlackcatTrace()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeMessage(11, getBlackcatMetric()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeMessage(12, getBlackcatLogException()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBlackcatReqHead()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBlackcatMemory()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getBlackcatFileStores()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getBlackcatLoad()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getBlackcatProcess()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getBlackcatMethodRuntime()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getBlackcatFileSystemUsage()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getBlackcatNetStat()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getBlackcatJSON()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getBlackcatTrace()); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getBlackcatMetric()); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getBlackcatLogException()); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq) obj; boolean result = true; result = result && (hasBlackcatReqHead() == other.hasBlackcatReqHead()); if (hasBlackcatReqHead()) { result = result && getBlackcatReqHead() .equals(other.getBlackcatReqHead()); } result = result && (hasBlackcatMemory() == other.hasBlackcatMemory()); if (hasBlackcatMemory()) { result = result && getBlackcatMemory() .equals(other.getBlackcatMemory()); } result = result && (hasBlackcatFileStores() == other.hasBlackcatFileStores()); if (hasBlackcatFileStores()) { result = result && getBlackcatFileStores() .equals(other.getBlackcatFileStores()); } result = result && (hasBlackcatLoad() == other.hasBlackcatLoad()); if (hasBlackcatLoad()) { result = result && getBlackcatLoad() .equals(other.getBlackcatLoad()); } result = result && (hasBlackcatProcess() == other.hasBlackcatProcess()); if (hasBlackcatProcess()) { result = result && getBlackcatProcess() .equals(other.getBlackcatProcess()); } result = result && (hasBlackcatMethodRuntime() == other.hasBlackcatMethodRuntime()); if (hasBlackcatMethodRuntime()) { result = result && getBlackcatMethodRuntime() .equals(other.getBlackcatMethodRuntime()); } result = result && (hasBlackcatFileSystemUsage() == other.hasBlackcatFileSystemUsage()); if (hasBlackcatFileSystemUsage()) { result = result && getBlackcatFileSystemUsage() .equals(other.getBlackcatFileSystemUsage()); } result = result && (hasBlackcatNetStat() == other.hasBlackcatNetStat()); if (hasBlackcatNetStat()) { result = result && getBlackcatNetStat() .equals(other.getBlackcatNetStat()); } result = result && (hasBlackcatJSON() == other.hasBlackcatJSON()); if (hasBlackcatJSON()) { result = result && getBlackcatJSON() .equals(other.getBlackcatJSON()); } result = result && (hasBlackcatTrace() == other.hasBlackcatTrace()); if (hasBlackcatTrace()) { result = result && getBlackcatTrace() .equals(other.getBlackcatTrace()); } result = result && (hasBlackcatMetric() == other.hasBlackcatMetric()); if (hasBlackcatMetric()) { result = result && getBlackcatMetric() .equals(other.getBlackcatMetric()); } result = result && (hasBlackcatLogException() == other.hasBlackcatLogException()); if (hasBlackcatLogException()) { result = result && getBlackcatLogException() .equals(other.getBlackcatLogException()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBlackcatReqHead()) { hash = (37 * hash) + BLACKCATREQHEAD_FIELD_NUMBER; hash = (53 * hash) + getBlackcatReqHead().hashCode(); } if (hasBlackcatMemory()) { hash = (37 * hash) + BLACKCATMEMORY_FIELD_NUMBER; hash = (53 * hash) + getBlackcatMemory().hashCode(); } if (hasBlackcatFileStores()) { hash = (37 * hash) + BLACKCATFILESTORES_FIELD_NUMBER; hash = (53 * hash) + getBlackcatFileStores().hashCode(); } if (hasBlackcatLoad()) { hash = (37 * hash) + BLACKCATLOAD_FIELD_NUMBER; hash = (53 * hash) + getBlackcatLoad().hashCode(); } if (hasBlackcatProcess()) { hash = (37 * hash) + BLACKCATPROCESS_FIELD_NUMBER; hash = (53 * hash) + getBlackcatProcess().hashCode(); } if (hasBlackcatMethodRuntime()) { hash = (37 * hash) + BLACKCATMETHODRUNTIME_FIELD_NUMBER; hash = (53 * hash) + getBlackcatMethodRuntime().hashCode(); } if (hasBlackcatFileSystemUsage()) { hash = (37 * hash) + BLACKCATFILESYSTEMUSAGE_FIELD_NUMBER; hash = (53 * hash) + getBlackcatFileSystemUsage().hashCode(); } if (hasBlackcatNetStat()) { hash = (37 * hash) + BLACKCATNETSTAT_FIELD_NUMBER; hash = (53 * hash) + getBlackcatNetStat().hashCode(); } if (hasBlackcatJSON()) { hash = (37 * hash) + BLACKCATJSON_FIELD_NUMBER; hash = (53 * hash) + getBlackcatJSON().hashCode(); } if (hasBlackcatTrace()) { hash = (37 * hash) + BLACKCATTRACE_FIELD_NUMBER; hash = (53 * hash) + getBlackcatTrace().hashCode(); } if (hasBlackcatMetric()) { hash = (37 * hash) + BLACKCATMETRIC_FIELD_NUMBER; hash = (53 * hash) + getBlackcatMetric().hashCode(); } if (hasBlackcatLogException()) { hash = (37 * hash) + BLACKCATLOGEXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getBlackcatLogException().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBlackcatReqHeadFieldBuilder(); getBlackcatMemoryFieldBuilder(); getBlackcatFileStoresFieldBuilder(); getBlackcatLoadFieldBuilder(); getBlackcatProcessFieldBuilder(); getBlackcatMethodRuntimeFieldBuilder(); getBlackcatFileSystemUsageFieldBuilder(); getBlackcatNetStatFieldBuilder(); getBlackcatJSONFieldBuilder(); getBlackcatTraceFieldBuilder(); getBlackcatMetricFieldBuilder(); getBlackcatLogExceptionFieldBuilder(); } } public Builder clear() { super.clear(); if (blackcatReqHeadBuilder_ == null) { blackcatReqHead_ = null; } else { blackcatReqHeadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (blackcatMemoryBuilder_ == null) { blackcatMemory_ = null; } else { blackcatMemoryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (blackcatFileStoresBuilder_ == null) { blackcatFileStores_ = null; } else { blackcatFileStoresBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (blackcatLoadBuilder_ == null) { blackcatLoad_ = null; } else { blackcatLoadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (blackcatProcessBuilder_ == null) { blackcatProcess_ = null; } else { blackcatProcessBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (blackcatMethodRuntimeBuilder_ == null) { blackcatMethodRuntime_ = null; } else { blackcatMethodRuntimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (blackcatFileSystemUsageBuilder_ == null) { blackcatFileSystemUsage_ = null; } else { blackcatFileSystemUsageBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (blackcatNetStatBuilder_ == null) { blackcatNetStat_ = null; } else { blackcatNetStatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (blackcatJSONBuilder_ == null) { blackcatJSON_ = null; } else { blackcatJSONBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); if (blackcatTraceBuilder_ == null) { blackcatTrace_ = null; } else { blackcatTraceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); if (blackcatMetricBuilder_ == null) { blackcatMetric_ = null; } else { blackcatMetricBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); if (blackcatLogExceptionBuilder_ == null) { blackcatLogException_ = null; } else { blackcatLogExceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (blackcatReqHeadBuilder_ == null) { result.blackcatReqHead_ = blackcatReqHead_; } else { result.blackcatReqHead_ = blackcatReqHeadBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (blackcatMemoryBuilder_ == null) { result.blackcatMemory_ = blackcatMemory_; } else { result.blackcatMemory_ = blackcatMemoryBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (blackcatFileStoresBuilder_ == null) { result.blackcatFileStores_ = blackcatFileStores_; } else { result.blackcatFileStores_ = blackcatFileStoresBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (blackcatLoadBuilder_ == null) { result.blackcatLoad_ = blackcatLoad_; } else { result.blackcatLoad_ = blackcatLoadBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (blackcatProcessBuilder_ == null) { result.blackcatProcess_ = blackcatProcess_; } else { result.blackcatProcess_ = blackcatProcessBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (blackcatMethodRuntimeBuilder_ == null) { result.blackcatMethodRuntime_ = blackcatMethodRuntime_; } else { result.blackcatMethodRuntime_ = blackcatMethodRuntimeBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (blackcatFileSystemUsageBuilder_ == null) { result.blackcatFileSystemUsage_ = blackcatFileSystemUsage_; } else { result.blackcatFileSystemUsage_ = blackcatFileSystemUsageBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (blackcatNetStatBuilder_ == null) { result.blackcatNetStat_ = blackcatNetStat_; } else { result.blackcatNetStat_ = blackcatNetStatBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (blackcatJSONBuilder_ == null) { result.blackcatJSON_ = blackcatJSON_; } else { result.blackcatJSON_ = blackcatJSONBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } if (blackcatTraceBuilder_ == null) { result.blackcatTrace_ = blackcatTrace_; } else { result.blackcatTrace_ = blackcatTraceBuilder_.build(); } if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } if (blackcatMetricBuilder_ == null) { result.blackcatMetric_ = blackcatMetric_; } else { result.blackcatMetric_ = blackcatMetricBuilder_.build(); } if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } if (blackcatLogExceptionBuilder_ == null) { result.blackcatLogException_ = blackcatLogException_; } else { result.blackcatLogException_ = blackcatLogExceptionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq.getDefaultInstance()) return this; if (other.hasBlackcatReqHead()) { mergeBlackcatReqHead(other.getBlackcatReqHead()); } if (other.hasBlackcatMemory()) { mergeBlackcatMemory(other.getBlackcatMemory()); } if (other.hasBlackcatFileStores()) { mergeBlackcatFileStores(other.getBlackcatFileStores()); } if (other.hasBlackcatLoad()) { mergeBlackcatLoad(other.getBlackcatLoad()); } if (other.hasBlackcatProcess()) { mergeBlackcatProcess(other.getBlackcatProcess()); } if (other.hasBlackcatMethodRuntime()) { mergeBlackcatMethodRuntime(other.getBlackcatMethodRuntime()); } if (other.hasBlackcatFileSystemUsage()) { mergeBlackcatFileSystemUsage(other.getBlackcatFileSystemUsage()); } if (other.hasBlackcatNetStat()) { mergeBlackcatNetStat(other.getBlackcatNetStat()); } if (other.hasBlackcatJSON()) { mergeBlackcatJSON(other.getBlackcatJSON()); } if (other.hasBlackcatTrace()) { mergeBlackcatTrace(other.getBlackcatTrace()); } if (other.hasBlackcatMetric()) { mergeBlackcatMetric(other.getBlackcatMetric()); } if (other.hasBlackcatLogException()) { mergeBlackcatLogException(other.getBlackcatLogException()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasBlackcatReqHead()) { return false; } if (!getBlackcatReqHead().isInitialized()) { return false; } if (hasBlackcatMemory()) { if (!getBlackcatMemory().isInitialized()) { return false; } } if (hasBlackcatFileStores()) { if (!getBlackcatFileStores().isInitialized()) { return false; } } if (hasBlackcatLoad()) { if (!getBlackcatLoad().isInitialized()) { return false; } } if (hasBlackcatProcess()) { if (!getBlackcatProcess().isInitialized()) { return false; } } if (hasBlackcatMethodRuntime()) { if (!getBlackcatMethodRuntime().isInitialized()) { return false; } } if (hasBlackcatFileSystemUsage()) { if (!getBlackcatFileSystemUsage().isInitialized()) { return false; } } if (hasBlackcatNetStat()) { if (!getBlackcatNetStat().isInitialized()) { return false; } } if (hasBlackcatJSON()) { if (!getBlackcatJSON().isInitialized()) { return false; } } if (hasBlackcatTrace()) { if (!getBlackcatTrace().isInitialized()) { return false; } } if (hasBlackcatMetric()) { if (!getBlackcatMetric().isInitialized()) { return false; } } if (hasBlackcatLogException()) { if (!getBlackcatLogException().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead blackcatReqHead_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder> blackcatReqHeadBuilder_; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public boolean hasBlackcatReqHead() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead getBlackcatReqHead() { if (blackcatReqHeadBuilder_ == null) { return blackcatReqHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance() : blackcatReqHead_; } else { return blackcatReqHeadBuilder_.getMessage(); } } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public Builder setBlackcatReqHead(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead value) { if (blackcatReqHeadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatReqHead_ = value; onChanged(); } else { blackcatReqHeadBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public Builder setBlackcatReqHead( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder builderForValue) { if (blackcatReqHeadBuilder_ == null) { blackcatReqHead_ = builderForValue.build(); onChanged(); } else { blackcatReqHeadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public Builder mergeBlackcatReqHead(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead value) { if (blackcatReqHeadBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && blackcatReqHead_ != null && blackcatReqHead_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance()) { blackcatReqHead_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.newBuilder(blackcatReqHead_).mergeFrom(value).buildPartial(); } else { blackcatReqHead_ = value; } onChanged(); } else { blackcatReqHeadBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public Builder clearBlackcatReqHead() { if (blackcatReqHeadBuilder_ == null) { blackcatReqHead_ = null; onChanged(); } else { blackcatReqHeadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder getBlackcatReqHeadBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBlackcatReqHeadFieldBuilder().getBuilder(); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder getBlackcatReqHeadOrBuilder() { if (blackcatReqHeadBuilder_ != null) { return blackcatReqHeadBuilder_.getMessageOrBuilder(); } else { return blackcatReqHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.getDefaultInstance() : blackcatReqHead_; } } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReqHead blackcatReqHead = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder> getBlackcatReqHeadFieldBuilder() { if (blackcatReqHeadBuilder_ == null) { blackcatReqHeadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReqHeadOrBuilder>( getBlackcatReqHead(), getParentForChildren(), isClean()); blackcatReqHead_ = null; } return blackcatReqHeadBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory blackcatMemory_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder> blackcatMemoryBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public boolean hasBlackcatMemory() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getBlackcatMemory() { if (blackcatMemoryBuilder_ == null) { return blackcatMemory_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance() : blackcatMemory_; } else { return blackcatMemoryBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public Builder setBlackcatMemory(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory value) { if (blackcatMemoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatMemory_ = value; onChanged(); } else { blackcatMemoryBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public Builder setBlackcatMemory( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder builderForValue) { if (blackcatMemoryBuilder_ == null) { blackcatMemory_ = builderForValue.build(); onChanged(); } else { blackcatMemoryBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public Builder mergeBlackcatMemory(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory value) { if (blackcatMemoryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && blackcatMemory_ != null && blackcatMemory_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance()) { blackcatMemory_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.newBuilder(blackcatMemory_).mergeFrom(value).buildPartial(); } else { blackcatMemory_ = value; } onChanged(); } else { blackcatMemoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public Builder clearBlackcatMemory() { if (blackcatMemoryBuilder_ == null) { blackcatMemory_ = null; onChanged(); } else { blackcatMemoryBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder getBlackcatMemoryBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBlackcatMemoryFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder getBlackcatMemoryOrBuilder() { if (blackcatMemoryBuilder_ != null) { return blackcatMemoryBuilder_.getMessageOrBuilder(); } else { return blackcatMemory_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance() : blackcatMemory_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory blackcatMemory = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder> getBlackcatMemoryFieldBuilder() { if (blackcatMemoryBuilder_ == null) { blackcatMemoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder>( getBlackcatMemory(), getParentForChildren(), isClean()); blackcatMemory_ = null; } return blackcatMemoryBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores blackcatFileStores_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder> blackcatFileStoresBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public boolean hasBlackcatFileStores() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getBlackcatFileStores() { if (blackcatFileStoresBuilder_ == null) { return blackcatFileStores_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance() : blackcatFileStores_; } else { return blackcatFileStoresBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public Builder setBlackcatFileStores(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores value) { if (blackcatFileStoresBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatFileStores_ = value; onChanged(); } else { blackcatFileStoresBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public Builder setBlackcatFileStores( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder builderForValue) { if (blackcatFileStoresBuilder_ == null) { blackcatFileStores_ = builderForValue.build(); onChanged(); } else { blackcatFileStoresBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public Builder mergeBlackcatFileStores(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores value) { if (blackcatFileStoresBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && blackcatFileStores_ != null && blackcatFileStores_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance()) { blackcatFileStores_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.newBuilder(blackcatFileStores_).mergeFrom(value).buildPartial(); } else { blackcatFileStores_ = value; } onChanged(); } else { blackcatFileStoresBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public Builder clearBlackcatFileStores() { if (blackcatFileStoresBuilder_ == null) { blackcatFileStores_ = null; onChanged(); } else { blackcatFileStoresBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder getBlackcatFileStoresBuilder() { bitField0_ |= 0x00000004; onChanged(); return getBlackcatFileStoresFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder getBlackcatFileStoresOrBuilder() { if (blackcatFileStoresBuilder_ != null) { return blackcatFileStoresBuilder_.getMessageOrBuilder(); } else { return blackcatFileStores_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance() : blackcatFileStores_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores blackcatFileStores = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder> getBlackcatFileStoresFieldBuilder() { if (blackcatFileStoresBuilder_ == null) { blackcatFileStoresBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder>( getBlackcatFileStores(), getParentForChildren(), isClean()); blackcatFileStores_ = null; } return blackcatFileStoresBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad blackcatLoad_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder> blackcatLoadBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public boolean hasBlackcatLoad() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getBlackcatLoad() { if (blackcatLoadBuilder_ == null) { return blackcatLoad_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance() : blackcatLoad_; } else { return blackcatLoadBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public Builder setBlackcatLoad(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad value) { if (blackcatLoadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatLoad_ = value; onChanged(); } else { blackcatLoadBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public Builder setBlackcatLoad( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder builderForValue) { if (blackcatLoadBuilder_ == null) { blackcatLoad_ = builderForValue.build(); onChanged(); } else { blackcatLoadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public Builder mergeBlackcatLoad(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad value) { if (blackcatLoadBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && blackcatLoad_ != null && blackcatLoad_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance()) { blackcatLoad_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.newBuilder(blackcatLoad_).mergeFrom(value).buildPartial(); } else { blackcatLoad_ = value; } onChanged(); } else { blackcatLoadBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public Builder clearBlackcatLoad() { if (blackcatLoadBuilder_ == null) { blackcatLoad_ = null; onChanged(); } else { blackcatLoadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder getBlackcatLoadBuilder() { bitField0_ |= 0x00000008; onChanged(); return getBlackcatLoadFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder getBlackcatLoadOrBuilder() { if (blackcatLoadBuilder_ != null) { return blackcatLoadBuilder_.getMessageOrBuilder(); } else { return blackcatLoad_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance() : blackcatLoad_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad blackcatLoad = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder> getBlackcatLoadFieldBuilder() { if (blackcatLoadBuilder_ == null) { blackcatLoadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder>( getBlackcatLoad(), getParentForChildren(), isClean()); blackcatLoad_ = null; } return blackcatLoadBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess blackcatProcess_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder> blackcatProcessBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public boolean hasBlackcatProcess() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getBlackcatProcess() { if (blackcatProcessBuilder_ == null) { return blackcatProcess_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance() : blackcatProcess_; } else { return blackcatProcessBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public Builder setBlackcatProcess(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess value) { if (blackcatProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatProcess_ = value; onChanged(); } else { blackcatProcessBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public Builder setBlackcatProcess( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder builderForValue) { if (blackcatProcessBuilder_ == null) { blackcatProcess_ = builderForValue.build(); onChanged(); } else { blackcatProcessBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public Builder mergeBlackcatProcess(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess value) { if (blackcatProcessBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && blackcatProcess_ != null && blackcatProcess_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance()) { blackcatProcess_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.newBuilder(blackcatProcess_).mergeFrom(value).buildPartial(); } else { blackcatProcess_ = value; } onChanged(); } else { blackcatProcessBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public Builder clearBlackcatProcess() { if (blackcatProcessBuilder_ == null) { blackcatProcess_ = null; onChanged(); } else { blackcatProcessBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder getBlackcatProcessBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBlackcatProcessFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder getBlackcatProcessOrBuilder() { if (blackcatProcessBuilder_ != null) { return blackcatProcessBuilder_.getMessageOrBuilder(); } else { return blackcatProcess_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance() : blackcatProcess_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess blackcatProcess = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder> getBlackcatProcessFieldBuilder() { if (blackcatProcessBuilder_ == null) { blackcatProcessBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder>( getBlackcatProcess(), getParentForChildren(), isClean()); blackcatProcess_ = null; } return blackcatProcessBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime blackcatMethodRuntime_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder> blackcatMethodRuntimeBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public boolean hasBlackcatMethodRuntime() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getBlackcatMethodRuntime() { if (blackcatMethodRuntimeBuilder_ == null) { return blackcatMethodRuntime_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance() : blackcatMethodRuntime_; } else { return blackcatMethodRuntimeBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public Builder setBlackcatMethodRuntime(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime value) { if (blackcatMethodRuntimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatMethodRuntime_ = value; onChanged(); } else { blackcatMethodRuntimeBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public Builder setBlackcatMethodRuntime( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder builderForValue) { if (blackcatMethodRuntimeBuilder_ == null) { blackcatMethodRuntime_ = builderForValue.build(); onChanged(); } else { blackcatMethodRuntimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public Builder mergeBlackcatMethodRuntime(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime value) { if (blackcatMethodRuntimeBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && blackcatMethodRuntime_ != null && blackcatMethodRuntime_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance()) { blackcatMethodRuntime_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.newBuilder(blackcatMethodRuntime_).mergeFrom(value).buildPartial(); } else { blackcatMethodRuntime_ = value; } onChanged(); } else { blackcatMethodRuntimeBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public Builder clearBlackcatMethodRuntime() { if (blackcatMethodRuntimeBuilder_ == null) { blackcatMethodRuntime_ = null; onChanged(); } else { blackcatMethodRuntimeBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder getBlackcatMethodRuntimeBuilder() { bitField0_ |= 0x00000020; onChanged(); return getBlackcatMethodRuntimeFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder getBlackcatMethodRuntimeOrBuilder() { if (blackcatMethodRuntimeBuilder_ != null) { return blackcatMethodRuntimeBuilder_.getMessageOrBuilder(); } else { return blackcatMethodRuntime_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance() : blackcatMethodRuntime_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime blackcatMethodRuntime = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder> getBlackcatMethodRuntimeFieldBuilder() { if (blackcatMethodRuntimeBuilder_ == null) { blackcatMethodRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder>( getBlackcatMethodRuntime(), getParentForChildren(), isClean()); blackcatMethodRuntime_ = null; } return blackcatMethodRuntimeBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage blackcatFileSystemUsage_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder> blackcatFileSystemUsageBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public boolean hasBlackcatFileSystemUsage() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getBlackcatFileSystemUsage() { if (blackcatFileSystemUsageBuilder_ == null) { return blackcatFileSystemUsage_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance() : blackcatFileSystemUsage_; } else { return blackcatFileSystemUsageBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public Builder setBlackcatFileSystemUsage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage value) { if (blackcatFileSystemUsageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatFileSystemUsage_ = value; onChanged(); } else { blackcatFileSystemUsageBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public Builder setBlackcatFileSystemUsage( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder builderForValue) { if (blackcatFileSystemUsageBuilder_ == null) { blackcatFileSystemUsage_ = builderForValue.build(); onChanged(); } else { blackcatFileSystemUsageBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public Builder mergeBlackcatFileSystemUsage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage value) { if (blackcatFileSystemUsageBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && blackcatFileSystemUsage_ != null && blackcatFileSystemUsage_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance()) { blackcatFileSystemUsage_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.newBuilder(blackcatFileSystemUsage_).mergeFrom(value).buildPartial(); } else { blackcatFileSystemUsage_ = value; } onChanged(); } else { blackcatFileSystemUsageBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public Builder clearBlackcatFileSystemUsage() { if (blackcatFileSystemUsageBuilder_ == null) { blackcatFileSystemUsage_ = null; onChanged(); } else { blackcatFileSystemUsageBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder getBlackcatFileSystemUsageBuilder() { bitField0_ |= 0x00000040; onChanged(); return getBlackcatFileSystemUsageFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder getBlackcatFileSystemUsageOrBuilder() { if (blackcatFileSystemUsageBuilder_ != null) { return blackcatFileSystemUsageBuilder_.getMessageOrBuilder(); } else { return blackcatFileSystemUsage_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance() : blackcatFileSystemUsage_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage blackcatFileSystemUsage = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder> getBlackcatFileSystemUsageFieldBuilder() { if (blackcatFileSystemUsageBuilder_ == null) { blackcatFileSystemUsageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder>( getBlackcatFileSystemUsage(), getParentForChildren(), isClean()); blackcatFileSystemUsage_ = null; } return blackcatFileSystemUsageBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat blackcatNetStat_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder> blackcatNetStatBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public boolean hasBlackcatNetStat() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getBlackcatNetStat() { if (blackcatNetStatBuilder_ == null) { return blackcatNetStat_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance() : blackcatNetStat_; } else { return blackcatNetStatBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public Builder setBlackcatNetStat(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat value) { if (blackcatNetStatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatNetStat_ = value; onChanged(); } else { blackcatNetStatBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public Builder setBlackcatNetStat( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder builderForValue) { if (blackcatNetStatBuilder_ == null) { blackcatNetStat_ = builderForValue.build(); onChanged(); } else { blackcatNetStatBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public Builder mergeBlackcatNetStat(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat value) { if (blackcatNetStatBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && blackcatNetStat_ != null && blackcatNetStat_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance()) { blackcatNetStat_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.newBuilder(blackcatNetStat_).mergeFrom(value).buildPartial(); } else { blackcatNetStat_ = value; } onChanged(); } else { blackcatNetStatBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public Builder clearBlackcatNetStat() { if (blackcatNetStatBuilder_ == null) { blackcatNetStat_ = null; onChanged(); } else { blackcatNetStatBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder getBlackcatNetStatBuilder() { bitField0_ |= 0x00000080; onChanged(); return getBlackcatNetStatFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder getBlackcatNetStatOrBuilder() { if (blackcatNetStatBuilder_ != null) { return blackcatNetStatBuilder_.getMessageOrBuilder(); } else { return blackcatNetStat_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance() : blackcatNetStat_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat blackcatNetStat = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder> getBlackcatNetStatFieldBuilder() { if (blackcatNetStatBuilder_ == null) { blackcatNetStatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder>( getBlackcatNetStat(), getParentForChildren(), isClean()); blackcatNetStat_ = null; } return blackcatNetStatBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON blackcatJSON_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder> blackcatJSONBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public boolean hasBlackcatJSON() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getBlackcatJSON() { if (blackcatJSONBuilder_ == null) { return blackcatJSON_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance() : blackcatJSON_; } else { return blackcatJSONBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public Builder setBlackcatJSON(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON value) { if (blackcatJSONBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatJSON_ = value; onChanged(); } else { blackcatJSONBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public Builder setBlackcatJSON( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder builderForValue) { if (blackcatJSONBuilder_ == null) { blackcatJSON_ = builderForValue.build(); onChanged(); } else { blackcatJSONBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public Builder mergeBlackcatJSON(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON value) { if (blackcatJSONBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && blackcatJSON_ != null && blackcatJSON_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance()) { blackcatJSON_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.newBuilder(blackcatJSON_).mergeFrom(value).buildPartial(); } else { blackcatJSON_ = value; } onChanged(); } else { blackcatJSONBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public Builder clearBlackcatJSON() { if (blackcatJSONBuilder_ == null) { blackcatJSON_ = null; onChanged(); } else { blackcatJSONBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder getBlackcatJSONBuilder() { bitField0_ |= 0x00000100; onChanged(); return getBlackcatJSONFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder getBlackcatJSONOrBuilder() { if (blackcatJSONBuilder_ != null) { return blackcatJSONBuilder_.getMessageOrBuilder(); } else { return blackcatJSON_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance() : blackcatJSON_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON blackcatJSON = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder> getBlackcatJSONFieldBuilder() { if (blackcatJSONBuilder_ == null) { blackcatJSONBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder>( getBlackcatJSON(), getParentForChildren(), isClean()); blackcatJSON_ = null; } return blackcatJSONBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace blackcatTrace_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder> blackcatTraceBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public boolean hasBlackcatTrace() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getBlackcatTrace() { if (blackcatTraceBuilder_ == null) { return blackcatTrace_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance() : blackcatTrace_; } else { return blackcatTraceBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public Builder setBlackcatTrace(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace value) { if (blackcatTraceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatTrace_ = value; onChanged(); } else { blackcatTraceBuilder_.setMessage(value); } bitField0_ |= 0x00000200; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public Builder setBlackcatTrace( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder builderForValue) { if (blackcatTraceBuilder_ == null) { blackcatTrace_ = builderForValue.build(); onChanged(); } else { blackcatTraceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public Builder mergeBlackcatTrace(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace value) { if (blackcatTraceBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && blackcatTrace_ != null && blackcatTrace_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance()) { blackcatTrace_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.newBuilder(blackcatTrace_).mergeFrom(value).buildPartial(); } else { blackcatTrace_ = value; } onChanged(); } else { blackcatTraceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000200; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public Builder clearBlackcatTrace() { if (blackcatTraceBuilder_ == null) { blackcatTrace_ = null; onChanged(); } else { blackcatTraceBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000200); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder getBlackcatTraceBuilder() { bitField0_ |= 0x00000200; onChanged(); return getBlackcatTraceFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder getBlackcatTraceOrBuilder() { if (blackcatTraceBuilder_ != null) { return blackcatTraceBuilder_.getMessageOrBuilder(); } else { return blackcatTrace_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance() : blackcatTrace_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace blackcatTrace = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder> getBlackcatTraceFieldBuilder() { if (blackcatTraceBuilder_ == null) { blackcatTraceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder>( getBlackcatTrace(), getParentForChildren(), isClean()); blackcatTrace_ = null; } return blackcatTraceBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric blackcatMetric_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder> blackcatMetricBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public boolean hasBlackcatMetric() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getBlackcatMetric() { if (blackcatMetricBuilder_ == null) { return blackcatMetric_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance() : blackcatMetric_; } else { return blackcatMetricBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public Builder setBlackcatMetric(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric value) { if (blackcatMetricBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatMetric_ = value; onChanged(); } else { blackcatMetricBuilder_.setMessage(value); } bitField0_ |= 0x00000400; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public Builder setBlackcatMetric( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder builderForValue) { if (blackcatMetricBuilder_ == null) { blackcatMetric_ = builderForValue.build(); onChanged(); } else { blackcatMetricBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public Builder mergeBlackcatMetric(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric value) { if (blackcatMetricBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400) && blackcatMetric_ != null && blackcatMetric_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance()) { blackcatMetric_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.newBuilder(blackcatMetric_).mergeFrom(value).buildPartial(); } else { blackcatMetric_ = value; } onChanged(); } else { blackcatMetricBuilder_.mergeFrom(value); } bitField0_ |= 0x00000400; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public Builder clearBlackcatMetric() { if (blackcatMetricBuilder_ == null) { blackcatMetric_ = null; onChanged(); } else { blackcatMetricBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder getBlackcatMetricBuilder() { bitField0_ |= 0x00000400; onChanged(); return getBlackcatMetricFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder getBlackcatMetricOrBuilder() { if (blackcatMetricBuilder_ != null) { return blackcatMetricBuilder_.getMessageOrBuilder(); } else { return blackcatMetric_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance() : blackcatMetric_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric blackcatMetric = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder> getBlackcatMetricFieldBuilder() { if (blackcatMetricBuilder_ == null) { blackcatMetricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder>( getBlackcatMetric(), getParentForChildren(), isClean()); blackcatMetric_ = null; } return blackcatMetricBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException blackcatLogException_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder> blackcatLogExceptionBuilder_; /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public boolean hasBlackcatLogException() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getBlackcatLogException() { if (blackcatLogExceptionBuilder_ == null) { return blackcatLogException_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance() : blackcatLogException_; } else { return blackcatLogExceptionBuilder_.getMessage(); } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public Builder setBlackcatLogException(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException value) { if (blackcatLogExceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatLogException_ = value; onChanged(); } else { blackcatLogExceptionBuilder_.setMessage(value); } bitField0_ |= 0x00000800; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public Builder setBlackcatLogException( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder builderForValue) { if (blackcatLogExceptionBuilder_ == null) { blackcatLogException_ = builderForValue.build(); onChanged(); } else { blackcatLogExceptionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public Builder mergeBlackcatLogException(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException value) { if (blackcatLogExceptionBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800) && blackcatLogException_ != null && blackcatLogException_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance()) { blackcatLogException_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.newBuilder(blackcatLogException_).mergeFrom(value).buildPartial(); } else { blackcatLogException_ = value; } onChanged(); } else { blackcatLogExceptionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000800; return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public Builder clearBlackcatLogException() { if (blackcatLogExceptionBuilder_ == null) { blackcatLogException_ = null; onChanged(); } else { blackcatLogExceptionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000800); return this; } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder getBlackcatLogExceptionBuilder() { bitField0_ |= 0x00000800; onChanged(); return getBlackcatLogExceptionFieldBuilder().getBuilder(); } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder getBlackcatLogExceptionOrBuilder() { if (blackcatLogExceptionBuilder_ != null) { return blackcatLogExceptionBuilder_.getMessageOrBuilder(); } else { return blackcatLogException_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance() : blackcatLogException_; } } /** * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException blackcatLogException = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder> getBlackcatLogExceptionFieldBuilder() { if (blackcatLogExceptionBuilder_ == null) { blackcatLogExceptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder>( getBlackcatLogException(), getParentForChildren(), isClean()); blackcatLogException_ = null; } return blackcatLogExceptionBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatReq) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatReq parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatReq(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatReq getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatRspHeadOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead) com.google.protobuf.MessageOrBuilder { /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ boolean hasRspType(); /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType getRspType(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead} */ public static final class BlackcatRspHead extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead) BlackcatRspHeadOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatRspHead.newBuilder() to construct. private BlackcatRspHead(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatRspHead() { rspType_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatRspHead( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType value = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; rspType_ = rawValue; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder.class); } /** * Protobuf enum {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType} */ public enum RspType implements com.google.protobuf.ProtocolMessageEnum { /** * BlackcatEvent = 0; */ BlackcatEvent(0), /** * BlackcatWarnConfig = 1; */ BlackcatWarnConfig(1), ; /** * BlackcatEvent = 0; */ public static final int BlackcatEvent_VALUE = 0; /** * BlackcatWarnConfig = 1; */ public static final int BlackcatWarnConfig_VALUE = 1; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RspType valueOf(int value) { return forNumber(value); } public static RspType forNumber(int value) { switch (value) { case 0: return BlackcatEvent; case 1: return BlackcatWarnConfig; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RspType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RspType findValueByNumber(int number) { return RspType.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDescriptor().getEnumTypes().get(0); } private static final RspType[] VALUES = values(); public static RspType valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private RspType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType) } private int bitField0_; public static final int RSPTYPE_FIELD_NUMBER = 1; private int rspType_; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public boolean hasRspType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType getRspType() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType result = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType.valueOf(rspType_); return result == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType.BlackcatEvent : result; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasRspType()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, rspType_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, rspType_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead) obj; boolean result = true; result = result && (hasRspType() == other.hasRspType()); if (hasRspType()) { result = result && rspType_ == other.rspType_; } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRspType()) { hash = (37 * hash) + RSPTYPE_FIELD_NUMBER; hash = (53 * hash) + rspType_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); rspType_ = 0; bitField0_ = (bitField0_ & ~0x00000001); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.rspType_ = rspType_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance()) return this; if (other.hasRspType()) { setRspType(other.getRspType()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasRspType()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int rspType_ = 0; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public boolean hasRspType() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType getRspType() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType result = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType.valueOf(rspType_); return result == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType.BlackcatEvent : result; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public Builder setRspType(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.RspType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; rspType_ = value.getNumber(); onChanged(); return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead.RspType rspType = 1; */ public Builder clearRspType() { bitField0_ = (bitField0_ & ~0x00000001); rspType_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatRspHead parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatRspHead(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatWarnConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig) com.google.protobuf.MessageOrBuilder { /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ java.util.List getBlackcatWarnProcessList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getBlackcatWarnProcess(int index); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ int getBlackcatWarnProcessCount(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ java.util.List getBlackcatWarnProcessOrBuilderList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder getBlackcatWarnProcessOrBuilder( int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig} */ public static final class BlackcatWarnConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig) BlackcatWarnConfigOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatWarnConfig.newBuilder() to construct. private BlackcatWarnConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatWarnConfig() { blackcatWarnProcess_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatWarnConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { blackcatWarnProcess_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } blackcatWarnProcess_.add( input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { blackcatWarnProcess_ = java.util.Collections.unmodifiableList(blackcatWarnProcess_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder.class); } public interface BlackcatWarnProcessOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess) com.google.protobuf.MessageOrBuilder { /** *
       * 进程名称
       * 
* * required string processName = 1; */ boolean hasProcessName(); /** *
       * 进程名称
       * 
* * required string processName = 1; */ java.lang.String getProcessName(); /** *
       * 进程名称
       * 
* * required string processName = 1; */ com.google.protobuf.ByteString getProcessNameBytes(); /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ java.util.List getProcessKeysList(); /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ int getProcessKeysCount(); /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ java.lang.String getProcessKeys(int index); /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ com.google.protobuf.ByteString getProcessKeysBytes(int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess} */ public static final class BlackcatWarnProcess extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess) BlackcatWarnProcessOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatWarnProcess.newBuilder() to construct. private BlackcatWarnProcess(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatWarnProcess() { processName_ = ""; processKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatWarnProcess( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; processName_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { processKeys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } processKeys_.add(bs); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { processKeys_ = processKeys_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder.class); } private int bitField0_; public static final int PROCESSNAME_FIELD_NUMBER = 1; private volatile java.lang.Object processName_; /** *
       * 进程名称
       * 
* * required string processName = 1; */ public boolean hasProcessName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * 进程名称
       * 
* * required string processName = 1; */ public java.lang.String getProcessName() { java.lang.Object ref = processName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processName_ = s; } return s; } } /** *
       * 进程名称
       * 
* * required string processName = 1; */ public com.google.protobuf.ByteString getProcessNameBytes() { java.lang.Object ref = processName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROCESSKEYS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList processKeys_; /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ public com.google.protobuf.ProtocolStringList getProcessKeysList() { return processKeys_; } /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ public int getProcessKeysCount() { return processKeys_.size(); } /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ public java.lang.String getProcessKeys(int index) { return processKeys_.get(index); } /** *
       * 进程识别关键字
       * 
* * repeated string processKeys = 2; */ public com.google.protobuf.ByteString getProcessKeysBytes(int index) { return processKeys_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasProcessName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, processName_); } for (int i = 0; i < processKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, processKeys_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, processName_); } { int dataSize = 0; for (int i = 0; i < processKeys_.size(); i++) { dataSize += computeStringSizeNoTag(processKeys_.getRaw(i)); } size += dataSize; size += 1 * getProcessKeysList().size(); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess) obj; boolean result = true; result = result && (hasProcessName() == other.hasProcessName()); if (hasProcessName()) { result = result && getProcessName() .equals(other.getProcessName()); } result = result && getProcessKeysList() .equals(other.getProcessKeysList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasProcessName()) { hash = (37 * hash) + PROCESSNAME_FIELD_NUMBER; hash = (53 * hash) + getProcessName().hashCode(); } if (getProcessKeysCount() > 0) { hash = (37 * hash) + PROCESSKEYS_FIELD_NUMBER; hash = (53 * hash) + getProcessKeysList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); processName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); processKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.processName_ = processName_; if (((bitField0_ & 0x00000002) == 0x00000002)) { processKeys_ = processKeys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.processKeys_ = processKeys_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.getDefaultInstance()) return this; if (other.hasProcessName()) { bitField0_ |= 0x00000001; processName_ = other.processName_; onChanged(); } if (!other.processKeys_.isEmpty()) { if (processKeys_.isEmpty()) { processKeys_ = other.processKeys_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureProcessKeysIsMutable(); processKeys_.addAll(other.processKeys_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasProcessName()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object processName_ = ""; /** *
         * 进程名称
         * 
* * required string processName = 1; */ public boolean hasProcessName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
         * 进程名称
         * 
* * required string processName = 1; */ public java.lang.String getProcessName() { java.lang.Object ref = processName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { processName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * 进程名称
         * 
* * required string processName = 1; */ public com.google.protobuf.ByteString getProcessNameBytes() { java.lang.Object ref = processName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); processName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * 进程名称
         * 
* * required string processName = 1; */ public Builder setProcessName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; processName_ = value; onChanged(); return this; } /** *
         * 进程名称
         * 
* * required string processName = 1; */ public Builder clearProcessName() { bitField0_ = (bitField0_ & ~0x00000001); processName_ = getDefaultInstance().getProcessName(); onChanged(); return this; } /** *
         * 进程名称
         * 
* * required string processName = 1; */ public Builder setProcessNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; processName_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList processKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureProcessKeysIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { processKeys_ = new com.google.protobuf.LazyStringArrayList(processKeys_); bitField0_ |= 0x00000002; } } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public com.google.protobuf.ProtocolStringList getProcessKeysList() { return processKeys_.getUnmodifiableView(); } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public int getProcessKeysCount() { return processKeys_.size(); } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public java.lang.String getProcessKeys(int index) { return processKeys_.get(index); } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public com.google.protobuf.ByteString getProcessKeysBytes(int index) { return processKeys_.getByteString(index); } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public Builder setProcessKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureProcessKeysIsMutable(); processKeys_.set(index, value); onChanged(); return this; } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public Builder addProcessKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureProcessKeysIsMutable(); processKeys_.add(value); onChanged(); return this; } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public Builder addAllProcessKeys( java.lang.Iterable values) { ensureProcessKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, processKeys_); onChanged(); return this; } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public Builder clearProcessKeys() { processKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
         * 进程识别关键字
         * 
* * repeated string processKeys = 2; */ public Builder addProcessKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureProcessKeysIsMutable(); processKeys_.add(value); onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatWarnProcess parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatWarnProcess(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int BLACKCATWARNPROCESS_FIELD_NUMBER = 1; private java.util.List blackcatWarnProcess_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public java.util.List getBlackcatWarnProcessList() { return blackcatWarnProcess_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public java.util.List getBlackcatWarnProcessOrBuilderList() { return blackcatWarnProcess_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public int getBlackcatWarnProcessCount() { return blackcatWarnProcess_.size(); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getBlackcatWarnProcess(int index) { return blackcatWarnProcess_.get(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder getBlackcatWarnProcessOrBuilder( int index) { return blackcatWarnProcess_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getBlackcatWarnProcessCount(); i++) { if (!getBlackcatWarnProcess(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < blackcatWarnProcess_.size(); i++) { output.writeMessage(1, blackcatWarnProcess_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < blackcatWarnProcess_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, blackcatWarnProcess_.get(i)); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig) obj; boolean result = true; result = result && getBlackcatWarnProcessList() .equals(other.getBlackcatWarnProcessList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getBlackcatWarnProcessCount() > 0) { hash = (37 * hash) + BLACKCATWARNPROCESS_FIELD_NUMBER; hash = (53 * hash) + getBlackcatWarnProcessList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBlackcatWarnProcessFieldBuilder(); } } public Builder clear() { super.clear(); if (blackcatWarnProcessBuilder_ == null) { blackcatWarnProcess_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { blackcatWarnProcessBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig(this); int from_bitField0_ = bitField0_; if (blackcatWarnProcessBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { blackcatWarnProcess_ = java.util.Collections.unmodifiableList(blackcatWarnProcess_); bitField0_ = (bitField0_ & ~0x00000001); } result.blackcatWarnProcess_ = blackcatWarnProcess_; } else { result.blackcatWarnProcess_ = blackcatWarnProcessBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance()) return this; if (blackcatWarnProcessBuilder_ == null) { if (!other.blackcatWarnProcess_.isEmpty()) { if (blackcatWarnProcess_.isEmpty()) { blackcatWarnProcess_ = other.blackcatWarnProcess_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.addAll(other.blackcatWarnProcess_); } onChanged(); } } else { if (!other.blackcatWarnProcess_.isEmpty()) { if (blackcatWarnProcessBuilder_.isEmpty()) { blackcatWarnProcessBuilder_.dispose(); blackcatWarnProcessBuilder_ = null; blackcatWarnProcess_ = other.blackcatWarnProcess_; bitField0_ = (bitField0_ & ~0x00000001); blackcatWarnProcessBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBlackcatWarnProcessFieldBuilder() : null; } else { blackcatWarnProcessBuilder_.addAllMessages(other.blackcatWarnProcess_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getBlackcatWarnProcessCount(); i++) { if (!getBlackcatWarnProcess(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List blackcatWarnProcess_ = java.util.Collections.emptyList(); private void ensureBlackcatWarnProcessIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { blackcatWarnProcess_ = new java.util.ArrayList(blackcatWarnProcess_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder> blackcatWarnProcessBuilder_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public java.util.List getBlackcatWarnProcessList() { if (blackcatWarnProcessBuilder_ == null) { return java.util.Collections.unmodifiableList(blackcatWarnProcess_); } else { return blackcatWarnProcessBuilder_.getMessageList(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public int getBlackcatWarnProcessCount() { if (blackcatWarnProcessBuilder_ == null) { return blackcatWarnProcess_.size(); } else { return blackcatWarnProcessBuilder_.getCount(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess getBlackcatWarnProcess(int index) { if (blackcatWarnProcessBuilder_ == null) { return blackcatWarnProcess_.get(index); } else { return blackcatWarnProcessBuilder_.getMessage(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder setBlackcatWarnProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess value) { if (blackcatWarnProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.set(index, value); onChanged(); } else { blackcatWarnProcessBuilder_.setMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder setBlackcatWarnProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder builderForValue) { if (blackcatWarnProcessBuilder_ == null) { ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.set(index, builderForValue.build()); onChanged(); } else { blackcatWarnProcessBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder addBlackcatWarnProcess(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess value) { if (blackcatWarnProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.add(value); onChanged(); } else { blackcatWarnProcessBuilder_.addMessage(value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder addBlackcatWarnProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess value) { if (blackcatWarnProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.add(index, value); onChanged(); } else { blackcatWarnProcessBuilder_.addMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder addBlackcatWarnProcess( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder builderForValue) { if (blackcatWarnProcessBuilder_ == null) { ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.add(builderForValue.build()); onChanged(); } else { blackcatWarnProcessBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder addBlackcatWarnProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder builderForValue) { if (blackcatWarnProcessBuilder_ == null) { ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.add(index, builderForValue.build()); onChanged(); } else { blackcatWarnProcessBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder addAllBlackcatWarnProcess( java.lang.Iterable values) { if (blackcatWarnProcessBuilder_ == null) { ensureBlackcatWarnProcessIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, blackcatWarnProcess_); onChanged(); } else { blackcatWarnProcessBuilder_.addAllMessages(values); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder clearBlackcatWarnProcess() { if (blackcatWarnProcessBuilder_ == null) { blackcatWarnProcess_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { blackcatWarnProcessBuilder_.clear(); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public Builder removeBlackcatWarnProcess(int index) { if (blackcatWarnProcessBuilder_ == null) { ensureBlackcatWarnProcessIsMutable(); blackcatWarnProcess_.remove(index); onChanged(); } else { blackcatWarnProcessBuilder_.remove(index); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder getBlackcatWarnProcessBuilder( int index) { return getBlackcatWarnProcessFieldBuilder().getBuilder(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder getBlackcatWarnProcessOrBuilder( int index) { if (blackcatWarnProcessBuilder_ == null) { return blackcatWarnProcess_.get(index); } else { return blackcatWarnProcessBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public java.util.List getBlackcatWarnProcessOrBuilderList() { if (blackcatWarnProcessBuilder_ != null) { return blackcatWarnProcessBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(blackcatWarnProcess_); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder addBlackcatWarnProcessBuilder() { return getBlackcatWarnProcessFieldBuilder().addBuilder( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder addBlackcatWarnProcessBuilder( int index) { return getBlackcatWarnProcessFieldBuilder().addBuilder( index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig.BlackcatWarnProcess blackcatWarnProcess = 1; */ public java.util.List getBlackcatWarnProcessBuilderList() { return getBlackcatWarnProcessFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder> getBlackcatWarnProcessFieldBuilder() { if (blackcatWarnProcessBuilder_ == null) { blackcatWarnProcessBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.BlackcatWarnProcessOrBuilder>( blackcatWarnProcess_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); blackcatWarnProcess_ = null; } return blackcatWarnProcessBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatWarnConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatWarnConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatRspOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp) com.google.protobuf.MessageOrBuilder { /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ boolean hasBlackcatRspHead(); /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getBlackcatRspHead(); /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder getBlackcatRspHeadOrBuilder(); /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ boolean hasBlackcatWarnConfig(); /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getBlackcatWarnConfig(); /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder getBlackcatWarnConfigOrBuilder(); } /** *
   * 响应消息
   * 
* * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp} */ public static final class BlackcatRsp extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp) BlackcatRspOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatRsp.newBuilder() to construct. private BlackcatRsp(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatRsp() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatRsp( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = blackcatRspHead_.toBuilder(); } blackcatRspHead_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatRspHead_); blackcatRspHead_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = blackcatWarnConfig_.toBuilder(); } blackcatWarnConfig_ = input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(blackcatWarnConfig_); blackcatWarnConfig_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.Builder.class); } private int bitField0_; public static final int BLACKCATRSPHEAD_FIELD_NUMBER = 1; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead blackcatRspHead_; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public boolean hasBlackcatRspHead() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getBlackcatRspHead() { return blackcatRspHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance() : blackcatRspHead_; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder getBlackcatRspHeadOrBuilder() { return blackcatRspHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance() : blackcatRspHead_; } public static final int BLACKCATWARNCONFIG_FIELD_NUMBER = 2; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig blackcatWarnConfig_; /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public boolean hasBlackcatWarnConfig() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getBlackcatWarnConfig() { return blackcatWarnConfig_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance() : blackcatWarnConfig_; } /** *
     * 响应监控设置参数
     * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder getBlackcatWarnConfigOrBuilder() { return blackcatWarnConfig_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance() : blackcatWarnConfig_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasBlackcatRspHead()) { memoizedIsInitialized = 0; return false; } if (!getBlackcatRspHead().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasBlackcatWarnConfig()) { if (!getBlackcatWarnConfig().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getBlackcatRspHead()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getBlackcatWarnConfig()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getBlackcatRspHead()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getBlackcatWarnConfig()); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp) obj; boolean result = true; result = result && (hasBlackcatRspHead() == other.hasBlackcatRspHead()); if (hasBlackcatRspHead()) { result = result && getBlackcatRspHead() .equals(other.getBlackcatRspHead()); } result = result && (hasBlackcatWarnConfig() == other.hasBlackcatWarnConfig()); if (hasBlackcatWarnConfig()) { result = result && getBlackcatWarnConfig() .equals(other.getBlackcatWarnConfig()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasBlackcatRspHead()) { hash = (37 * hash) + BLACKCATRSPHEAD_FIELD_NUMBER; hash = (53 * hash) + getBlackcatRspHead().hashCode(); } if (hasBlackcatWarnConfig()) { hash = (37 * hash) + BLACKCATWARNCONFIG_FIELD_NUMBER; hash = (53 * hash) + getBlackcatWarnConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBlackcatRspHeadFieldBuilder(); getBlackcatWarnConfigFieldBuilder(); } } public Builder clear() { super.clear(); if (blackcatRspHeadBuilder_ == null) { blackcatRspHead_ = null; } else { blackcatRspHeadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (blackcatWarnConfigBuilder_ == null) { blackcatWarnConfig_ = null; } else { blackcatWarnConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (blackcatRspHeadBuilder_ == null) { result.blackcatRspHead_ = blackcatRspHead_; } else { result.blackcatRspHead_ = blackcatRspHeadBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (blackcatWarnConfigBuilder_ == null) { result.blackcatWarnConfig_ = blackcatWarnConfig_; } else { result.blackcatWarnConfig_ = blackcatWarnConfigBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp.getDefaultInstance()) return this; if (other.hasBlackcatRspHead()) { mergeBlackcatRspHead(other.getBlackcatRspHead()); } if (other.hasBlackcatWarnConfig()) { mergeBlackcatWarnConfig(other.getBlackcatWarnConfig()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasBlackcatRspHead()) { return false; } if (!getBlackcatRspHead().isInitialized()) { return false; } if (hasBlackcatWarnConfig()) { if (!getBlackcatWarnConfig().isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead blackcatRspHead_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder> blackcatRspHeadBuilder_; /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public boolean hasBlackcatRspHead() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead getBlackcatRspHead() { if (blackcatRspHeadBuilder_ == null) { return blackcatRspHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance() : blackcatRspHead_; } else { return blackcatRspHeadBuilder_.getMessage(); } } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public Builder setBlackcatRspHead(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead value) { if (blackcatRspHeadBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatRspHead_ = value; onChanged(); } else { blackcatRspHeadBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public Builder setBlackcatRspHead( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder builderForValue) { if (blackcatRspHeadBuilder_ == null) { blackcatRspHead_ = builderForValue.build(); onChanged(); } else { blackcatRspHeadBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public Builder mergeBlackcatRspHead(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead value) { if (blackcatRspHeadBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && blackcatRspHead_ != null && blackcatRspHead_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance()) { blackcatRspHead_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.newBuilder(blackcatRspHead_).mergeFrom(value).buildPartial(); } else { blackcatRspHead_ = value; } onChanged(); } else { blackcatRspHeadBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public Builder clearBlackcatRspHead() { if (blackcatRspHeadBuilder_ == null) { blackcatRspHead_ = null; onChanged(); } else { blackcatRspHeadBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder getBlackcatRspHeadBuilder() { bitField0_ |= 0x00000001; onChanged(); return getBlackcatRspHeadFieldBuilder().getBuilder(); } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder getBlackcatRspHeadOrBuilder() { if (blackcatRspHeadBuilder_ != null) { return blackcatRspHeadBuilder_.getMessageOrBuilder(); } else { return blackcatRspHead_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.getDefaultInstance() : blackcatRspHead_; } } /** * required .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRspHead blackcatRspHead = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder> getBlackcatRspHeadFieldBuilder() { if (blackcatRspHeadBuilder_ == null) { blackcatRspHeadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHead.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRspHeadOrBuilder>( getBlackcatRspHead(), getParentForChildren(), isClean()); blackcatRspHead_ = null; } return blackcatRspHeadBuilder_; } private com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig blackcatWarnConfig_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder> blackcatWarnConfigBuilder_; /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public boolean hasBlackcatWarnConfig() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig getBlackcatWarnConfig() { if (blackcatWarnConfigBuilder_ == null) { return blackcatWarnConfig_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance() : blackcatWarnConfig_; } else { return blackcatWarnConfigBuilder_.getMessage(); } } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public Builder setBlackcatWarnConfig(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig value) { if (blackcatWarnConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } blackcatWarnConfig_ = value; onChanged(); } else { blackcatWarnConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public Builder setBlackcatWarnConfig( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder builderForValue) { if (blackcatWarnConfigBuilder_ == null) { blackcatWarnConfig_ = builderForValue.build(); onChanged(); } else { blackcatWarnConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public Builder mergeBlackcatWarnConfig(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig value) { if (blackcatWarnConfigBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && blackcatWarnConfig_ != null && blackcatWarnConfig_ != com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance()) { blackcatWarnConfig_ = com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.newBuilder(blackcatWarnConfig_).mergeFrom(value).buildPartial(); } else { blackcatWarnConfig_ = value; } onChanged(); } else { blackcatWarnConfigBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public Builder clearBlackcatWarnConfig() { if (blackcatWarnConfigBuilder_ == null) { blackcatWarnConfig_ = null; onChanged(); } else { blackcatWarnConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder getBlackcatWarnConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getBlackcatWarnConfigFieldBuilder().getBuilder(); } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder getBlackcatWarnConfigOrBuilder() { if (blackcatWarnConfigBuilder_ != null) { return blackcatWarnConfigBuilder_.getMessageOrBuilder(); } else { return blackcatWarnConfig_ == null ? com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.getDefaultInstance() : blackcatWarnConfig_; } } /** *
       * 响应监控设置参数
       * 
* * optional .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatWarnConfig blackcatWarnConfig = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder> getBlackcatWarnConfigFieldBuilder() { if (blackcatWarnConfigBuilder_ == null) { blackcatWarnConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfig.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatWarnConfigOrBuilder>( getBlackcatWarnConfig(), getParentForChildren(), isClean()); blackcatWarnConfig_ = null; } return blackcatWarnConfigBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatRsp) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatRsp parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatRsp(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatRsp getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatLogExceptionOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException) com.google.protobuf.MessageOrBuilder { /** * required string logger = 1; */ boolean hasLogger(); /** * required string logger = 1; */ java.lang.String getLogger(); /** * required string logger = 1; */ com.google.protobuf.ByteString getLoggerBytes(); /** * required string tcode = 2; */ boolean hasTcode(); /** * required string tcode = 2; */ java.lang.String getTcode(); /** * required string tcode = 2; */ com.google.protobuf.ByteString getTcodeBytes(); /** * required string tid = 3; */ boolean hasTid(); /** * required string tid = 3; */ java.lang.String getTid(); /** * required string tid = 3; */ com.google.protobuf.ByteString getTidBytes(); /** * required string exceptionNames = 4; */ boolean hasExceptionNames(); /** * required string exceptionNames = 4; */ java.lang.String getExceptionNames(); /** * required string exceptionNames = 4; */ com.google.protobuf.ByteString getExceptionNamesBytes(); /** * required string contextLogs = 5; */ boolean hasContextLogs(); /** * required string contextLogs = 5; */ java.lang.String getContextLogs(); /** * required string contextLogs = 5; */ com.google.protobuf.ByteString getContextLogsBytes(); /** * required string timestamp = 6; */ boolean hasTimestamp(); /** * required string timestamp = 6; */ java.lang.String getTimestamp(); /** * required string timestamp = 6; */ com.google.protobuf.ByteString getTimestampBytes(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException} */ public static final class BlackcatLogException extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException) BlackcatLogExceptionOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatLogException.newBuilder() to construct. private BlackcatLogException(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatLogException() { logger_ = ""; tcode_ = ""; tid_ = ""; exceptionNames_ = ""; contextLogs_ = ""; timestamp_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatLogException( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; logger_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; tcode_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; tid_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; exceptionNames_ = bs; break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; contextLogs_ = bs; break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; timestamp_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder.class); } private int bitField0_; public static final int LOGGER_FIELD_NUMBER = 1; private volatile java.lang.Object logger_; /** * required string logger = 1; */ public boolean hasLogger() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string logger = 1; */ public java.lang.String getLogger() { java.lang.Object ref = logger_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { logger_ = s; } return s; } } /** * required string logger = 1; */ public com.google.protobuf.ByteString getLoggerBytes() { java.lang.Object ref = logger_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logger_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TCODE_FIELD_NUMBER = 2; private volatile java.lang.Object tcode_; /** * required string tcode = 2; */ public boolean hasTcode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string tcode = 2; */ public java.lang.String getTcode() { java.lang.Object ref = tcode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tcode_ = s; } return s; } } /** * required string tcode = 2; */ public com.google.protobuf.ByteString getTcodeBytes() { java.lang.Object ref = tcode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tcode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TID_FIELD_NUMBER = 3; private volatile java.lang.Object tid_; /** * required string tid = 3; */ public boolean hasTid() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string tid = 3; */ public java.lang.String getTid() { java.lang.Object ref = tid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tid_ = s; } return s; } } /** * required string tid = 3; */ public com.google.protobuf.ByteString getTidBytes() { java.lang.Object ref = tid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXCEPTIONNAMES_FIELD_NUMBER = 4; private volatile java.lang.Object exceptionNames_; /** * required string exceptionNames = 4; */ public boolean hasExceptionNames() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string exceptionNames = 4; */ public java.lang.String getExceptionNames() { java.lang.Object ref = exceptionNames_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { exceptionNames_ = s; } return s; } } /** * required string exceptionNames = 4; */ public com.google.protobuf.ByteString getExceptionNamesBytes() { java.lang.Object ref = exceptionNames_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exceptionNames_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONTEXTLOGS_FIELD_NUMBER = 5; private volatile java.lang.Object contextLogs_; /** * required string contextLogs = 5; */ public boolean hasContextLogs() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required string contextLogs = 5; */ public java.lang.String getContextLogs() { java.lang.Object ref = contextLogs_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { contextLogs_ = s; } return s; } } /** * required string contextLogs = 5; */ public com.google.protobuf.ByteString getContextLogsBytes() { java.lang.Object ref = contextLogs_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contextLogs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TIMESTAMP_FIELD_NUMBER = 6; private volatile java.lang.Object timestamp_; /** * required string timestamp = 6; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required string timestamp = 6; */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { timestamp_ = s; } return s; } } /** * required string timestamp = 6; */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasLogger()) { memoizedIsInitialized = 0; return false; } if (!hasTcode()) { memoizedIsInitialized = 0; return false; } if (!hasTid()) { memoizedIsInitialized = 0; return false; } if (!hasExceptionNames()) { memoizedIsInitialized = 0; return false; } if (!hasContextLogs()) { memoizedIsInitialized = 0; return false; } if (!hasTimestamp()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, logger_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tcode_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tid_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, exceptionNames_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, contextLogs_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, timestamp_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, logger_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tcode_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tid_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, exceptionNames_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, contextLogs_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, timestamp_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException) obj; boolean result = true; result = result && (hasLogger() == other.hasLogger()); if (hasLogger()) { result = result && getLogger() .equals(other.getLogger()); } result = result && (hasTcode() == other.hasTcode()); if (hasTcode()) { result = result && getTcode() .equals(other.getTcode()); } result = result && (hasTid() == other.hasTid()); if (hasTid()) { result = result && getTid() .equals(other.getTid()); } result = result && (hasExceptionNames() == other.hasExceptionNames()); if (hasExceptionNames()) { result = result && getExceptionNames() .equals(other.getExceptionNames()); } result = result && (hasContextLogs() == other.hasContextLogs()); if (hasContextLogs()) { result = result && getContextLogs() .equals(other.getContextLogs()); } result = result && (hasTimestamp() == other.hasTimestamp()); if (hasTimestamp()) { result = result && getTimestamp() .equals(other.getTimestamp()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLogger()) { hash = (37 * hash) + LOGGER_FIELD_NUMBER; hash = (53 * hash) + getLogger().hashCode(); } if (hasTcode()) { hash = (37 * hash) + TCODE_FIELD_NUMBER; hash = (53 * hash) + getTcode().hashCode(); } if (hasTid()) { hash = (37 * hash) + TID_FIELD_NUMBER; hash = (53 * hash) + getTid().hashCode(); } if (hasExceptionNames()) { hash = (37 * hash) + EXCEPTIONNAMES_FIELD_NUMBER; hash = (53 * hash) + getExceptionNames().hashCode(); } if (hasContextLogs()) { hash = (37 * hash) + CONTEXTLOGS_FIELD_NUMBER; hash = (53 * hash) + getContextLogs().hashCode(); } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getTimestamp().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogExceptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); logger_ = ""; bitField0_ = (bitField0_ & ~0x00000001); tcode_ = ""; bitField0_ = (bitField0_ & ~0x00000002); tid_ = ""; bitField0_ = (bitField0_ & ~0x00000004); exceptionNames_ = ""; bitField0_ = (bitField0_ & ~0x00000008); contextLogs_ = ""; bitField0_ = (bitField0_ & ~0x00000010); timestamp_ = ""; bitField0_ = (bitField0_ & ~0x00000020); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.logger_ = logger_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.tcode_ = tcode_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.tid_ = tid_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.exceptionNames_ = exceptionNames_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.contextLogs_ = contextLogs_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.timestamp_ = timestamp_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException.getDefaultInstance()) return this; if (other.hasLogger()) { bitField0_ |= 0x00000001; logger_ = other.logger_; onChanged(); } if (other.hasTcode()) { bitField0_ |= 0x00000002; tcode_ = other.tcode_; onChanged(); } if (other.hasTid()) { bitField0_ |= 0x00000004; tid_ = other.tid_; onChanged(); } if (other.hasExceptionNames()) { bitField0_ |= 0x00000008; exceptionNames_ = other.exceptionNames_; onChanged(); } if (other.hasContextLogs()) { bitField0_ |= 0x00000010; contextLogs_ = other.contextLogs_; onChanged(); } if (other.hasTimestamp()) { bitField0_ |= 0x00000020; timestamp_ = other.timestamp_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasLogger()) { return false; } if (!hasTcode()) { return false; } if (!hasTid()) { return false; } if (!hasExceptionNames()) { return false; } if (!hasContextLogs()) { return false; } if (!hasTimestamp()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object logger_ = ""; /** * required string logger = 1; */ public boolean hasLogger() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string logger = 1; */ public java.lang.String getLogger() { java.lang.Object ref = logger_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { logger_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string logger = 1; */ public com.google.protobuf.ByteString getLoggerBytes() { java.lang.Object ref = logger_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); logger_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string logger = 1; */ public Builder setLogger( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; logger_ = value; onChanged(); return this; } /** * required string logger = 1; */ public Builder clearLogger() { bitField0_ = (bitField0_ & ~0x00000001); logger_ = getDefaultInstance().getLogger(); onChanged(); return this; } /** * required string logger = 1; */ public Builder setLoggerBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; logger_ = value; onChanged(); return this; } private java.lang.Object tcode_ = ""; /** * required string tcode = 2; */ public boolean hasTcode() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string tcode = 2; */ public java.lang.String getTcode() { java.lang.Object ref = tcode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tcode_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string tcode = 2; */ public com.google.protobuf.ByteString getTcodeBytes() { java.lang.Object ref = tcode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tcode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string tcode = 2; */ public Builder setTcode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tcode_ = value; onChanged(); return this; } /** * required string tcode = 2; */ public Builder clearTcode() { bitField0_ = (bitField0_ & ~0x00000002); tcode_ = getDefaultInstance().getTcode(); onChanged(); return this; } /** * required string tcode = 2; */ public Builder setTcodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; tcode_ = value; onChanged(); return this; } private java.lang.Object tid_ = ""; /** * required string tid = 3; */ public boolean hasTid() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string tid = 3; */ public java.lang.String getTid() { java.lang.Object ref = tid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { tid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string tid = 3; */ public com.google.protobuf.ByteString getTidBytes() { java.lang.Object ref = tid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string tid = 3; */ public Builder setTid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tid_ = value; onChanged(); return this; } /** * required string tid = 3; */ public Builder clearTid() { bitField0_ = (bitField0_ & ~0x00000004); tid_ = getDefaultInstance().getTid(); onChanged(); return this; } /** * required string tid = 3; */ public Builder setTidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; tid_ = value; onChanged(); return this; } private java.lang.Object exceptionNames_ = ""; /** * required string exceptionNames = 4; */ public boolean hasExceptionNames() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string exceptionNames = 4; */ public java.lang.String getExceptionNames() { java.lang.Object ref = exceptionNames_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { exceptionNames_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string exceptionNames = 4; */ public com.google.protobuf.ByteString getExceptionNamesBytes() { java.lang.Object ref = exceptionNames_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); exceptionNames_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string exceptionNames = 4; */ public Builder setExceptionNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; exceptionNames_ = value; onChanged(); return this; } /** * required string exceptionNames = 4; */ public Builder clearExceptionNames() { bitField0_ = (bitField0_ & ~0x00000008); exceptionNames_ = getDefaultInstance().getExceptionNames(); onChanged(); return this; } /** * required string exceptionNames = 4; */ public Builder setExceptionNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; exceptionNames_ = value; onChanged(); return this; } private java.lang.Object contextLogs_ = ""; /** * required string contextLogs = 5; */ public boolean hasContextLogs() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required string contextLogs = 5; */ public java.lang.String getContextLogs() { java.lang.Object ref = contextLogs_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { contextLogs_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string contextLogs = 5; */ public com.google.protobuf.ByteString getContextLogsBytes() { java.lang.Object ref = contextLogs_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contextLogs_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string contextLogs = 5; */ public Builder setContextLogs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; contextLogs_ = value; onChanged(); return this; } /** * required string contextLogs = 5; */ public Builder clearContextLogs() { bitField0_ = (bitField0_ & ~0x00000010); contextLogs_ = getDefaultInstance().getContextLogs(); onChanged(); return this; } /** * required string contextLogs = 5; */ public Builder setContextLogsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; contextLogs_ = value; onChanged(); return this; } private java.lang.Object timestamp_ = ""; /** * required string timestamp = 6; */ public boolean hasTimestamp() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required string timestamp = 6; */ public java.lang.String getTimestamp() { java.lang.Object ref = timestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { timestamp_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string timestamp = 6; */ public com.google.protobuf.ByteString getTimestampBytes() { java.lang.Object ref = timestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string timestamp = 6; */ public Builder setTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; timestamp_ = value; onChanged(); return this; } /** * required string timestamp = 6; */ public Builder clearTimestamp() { bitField0_ = (bitField0_ & ~0x00000020); timestamp_ = getDefaultInstance().getTimestamp(); onChanged(); return this; } /** * required string timestamp = 6; */ public Builder setTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; timestamp_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLogException) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatLogException parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatLogException(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLogException getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatMemoryOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory) com.google.protobuf.MessageOrBuilder { /** * required uint64 total = 1; */ boolean hasTotal(); /** * required uint64 total = 1; */ long getTotal(); /** * required uint64 available = 2; */ boolean hasAvailable(); /** * required uint64 available = 2; */ long getAvailable(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory} */ public static final class BlackcatMemory extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory) BlackcatMemoryOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatMemory.newBuilder() to construct. private BlackcatMemory(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatMemory() { total_ = 0L; available_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatMemory( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; total_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; available_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder.class); } private int bitField0_; public static final int TOTAL_FIELD_NUMBER = 1; private long total_; /** * required uint64 total = 1; */ public boolean hasTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 total = 1; */ public long getTotal() { return total_; } public static final int AVAILABLE_FIELD_NUMBER = 2; private long available_; /** * required uint64 available = 2; */ public boolean hasAvailable() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint64 available = 2; */ public long getAvailable() { return available_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTotal()) { memoizedIsInitialized = 0; return false; } if (!hasAvailable()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, available_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, total_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, available_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory) obj; boolean result = true; result = result && (hasTotal() == other.hasTotal()); if (hasTotal()) { result = result && (getTotal() == other.getTotal()); } result = result && (hasAvailable() == other.hasAvailable()); if (hasAvailable()) { result = result && (getAvailable() == other.getAvailable()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTotal()) { hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotal()); } if (hasAvailable()) { hash = (37 * hash) + AVAILABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAvailable()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemoryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); total_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); available_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.total_ = total_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.available_ = available_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory.getDefaultInstance()) return this; if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasAvailable()) { setAvailable(other.getAvailable()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTotal()) { return false; } if (!hasAvailable()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long total_ ; /** * required uint64 total = 1; */ public boolean hasTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 total = 1; */ public long getTotal() { return total_; } /** * required uint64 total = 1; */ public Builder setTotal(long value) { bitField0_ |= 0x00000001; total_ = value; onChanged(); return this; } /** * required uint64 total = 1; */ public Builder clearTotal() { bitField0_ = (bitField0_ & ~0x00000001); total_ = 0L; onChanged(); return this; } private long available_ ; /** * required uint64 available = 2; */ public boolean hasAvailable() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint64 available = 2; */ public long getAvailable() { return available_; } /** * required uint64 available = 2; */ public Builder setAvailable(long value) { bitField0_ |= 0x00000002; available_ = value; onChanged(); return this; } /** * required uint64 available = 2; */ public Builder clearAvailable() { bitField0_ = (bitField0_ & ~0x00000002); available_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMemory) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatMemory parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatMemory(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMemory getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatFileStoresOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores) com.google.protobuf.MessageOrBuilder { /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ java.util.List getFileStoreList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getFileStore(int index); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ int getFileStoreCount(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ java.util.List getFileStoreOrBuilderList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder getFileStoreOrBuilder( int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores} */ public static final class BlackcatFileStores extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores) BlackcatFileStoresOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatFileStores.newBuilder() to construct. private BlackcatFileStores(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatFileStores() { fileStore_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatFileStores( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { fileStore_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } fileStore_.add( input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { fileStore_ = java.util.Collections.unmodifiableList(fileStore_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder.class); } public interface FileStoreOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore) com.google.protobuf.MessageOrBuilder { /** * required string name = 1; */ boolean hasName(); /** * required string name = 1; */ java.lang.String getName(); /** * required string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * required string description = 2; */ boolean hasDescription(); /** * required string description = 2; */ java.lang.String getDescription(); /** * required string description = 2; */ com.google.protobuf.ByteString getDescriptionBytes(); /** * required uint64 total = 3; */ boolean hasTotal(); /** * required uint64 total = 3; */ long getTotal(); /** * required uint64 usable = 4; */ boolean hasUsable(); /** * required uint64 usable = 4; */ long getUsable(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore} */ public static final class FileStore extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore) FileStoreOrBuilder { private static final long serialVersionUID = 0L; // Use FileStore.newBuilder() to construct. private FileStore(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FileStore() { name_ = ""; description_ = ""; total_ = 0L; usable_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FileStore( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; description_ = bs; break; } case 24: { bitField0_ |= 0x00000004; total_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; usable_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string name = 1; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 1; */ 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 DESCRIPTION_FIELD_NUMBER = 2; private volatile java.lang.Object description_; /** * required string description = 2; */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string description = 2; */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } } /** * required string description = 2; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TOTAL_FIELD_NUMBER = 3; private long total_; /** * required uint64 total = 3; */ public boolean hasTotal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 total = 3; */ public long getTotal() { return total_; } public static final int USABLE_FIELD_NUMBER = 4; private long usable_; /** * required uint64 usable = 4; */ public boolean hasUsable() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 usable = 4; */ public long getUsable() { return usable_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasDescription()) { memoizedIsInitialized = 0; return false; } if (!hasTotal()) { memoizedIsInitialized = 0; return false; } if (!hasUsable()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, total_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, usable_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, total_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, usable_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasDescription() == other.hasDescription()); if (hasDescription()) { result = result && getDescription() .equals(other.getDescription()); } result = result && (hasTotal() == other.hasTotal()); if (hasTotal()) { result = result && (getTotal() == other.getTotal()); } result = result && (hasUsable() == other.hasUsable()); if (hasUsable()) { result = result && (getUsable() == other.getUsable()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } if (hasTotal()) { hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotal()); } if (hasUsable()) { hash = (37 * hash) + USABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUsable()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); description_ = ""; bitField0_ = (bitField0_ & ~0x00000002); total_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); usable_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.description_ = description_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.total_ = total_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.usable_ = usable_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasDescription()) { bitField0_ |= 0x00000002; description_ = other.description_; onChanged(); } if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasUsable()) { setUsable(other.getUsable()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasDescription()) { return false; } if (!hasTotal()) { return false; } if (!hasUsable()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string name = 1; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 1; */ 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; } } /** * required string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * required string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * required string description = 2; */ public boolean hasDescription() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string description = 2; */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { description_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string description = 2; */ public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string description = 2; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; description_ = value; onChanged(); return this; } /** * required string description = 2; */ public Builder clearDescription() { bitField0_ = (bitField0_ & ~0x00000002); description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * required string description = 2; */ public Builder setDescriptionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; description_ = value; onChanged(); return this; } private long total_ ; /** * required uint64 total = 3; */ public boolean hasTotal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 total = 3; */ public long getTotal() { return total_; } /** * required uint64 total = 3; */ public Builder setTotal(long value) { bitField0_ |= 0x00000004; total_ = value; onChanged(); return this; } /** * required uint64 total = 3; */ public Builder clearTotal() { bitField0_ = (bitField0_ & ~0x00000004); total_ = 0L; onChanged(); return this; } private long usable_ ; /** * required uint64 usable = 4; */ public boolean hasUsable() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 usable = 4; */ public long getUsable() { return usable_; } /** * required uint64 usable = 4; */ public Builder setUsable(long value) { bitField0_ |= 0x00000008; usable_ = value; onChanged(); return this; } /** * required uint64 usable = 4; */ public Builder clearUsable() { bitField0_ = (bitField0_ & ~0x00000008); usable_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public FileStore parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FileStore(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int FILESTORE_FIELD_NUMBER = 1; private java.util.List fileStore_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public java.util.List getFileStoreList() { return fileStore_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public java.util.List getFileStoreOrBuilderList() { return fileStore_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public int getFileStoreCount() { return fileStore_.size(); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getFileStore(int index) { return fileStore_.get(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder getFileStoreOrBuilder( int index) { return fileStore_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getFileStoreCount(); i++) { if (!getFileStore(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < fileStore_.size(); i++) { output.writeMessage(1, fileStore_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < fileStore_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, fileStore_.get(i)); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores) obj; boolean result = true; result = result && getFileStoreList() .equals(other.getFileStoreList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getFileStoreCount() > 0) { hash = (37 * hash) + FILESTORE_FIELD_NUMBER; hash = (53 * hash) + getFileStoreList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStoresOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFileStoreFieldBuilder(); } } public Builder clear() { super.clear(); if (fileStoreBuilder_ == null) { fileStore_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { fileStoreBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores(this); int from_bitField0_ = bitField0_; if (fileStoreBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { fileStore_ = java.util.Collections.unmodifiableList(fileStore_); bitField0_ = (bitField0_ & ~0x00000001); } result.fileStore_ = fileStore_; } else { result.fileStore_ = fileStoreBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.getDefaultInstance()) return this; if (fileStoreBuilder_ == null) { if (!other.fileStore_.isEmpty()) { if (fileStore_.isEmpty()) { fileStore_ = other.fileStore_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFileStoreIsMutable(); fileStore_.addAll(other.fileStore_); } onChanged(); } } else { if (!other.fileStore_.isEmpty()) { if (fileStoreBuilder_.isEmpty()) { fileStoreBuilder_.dispose(); fileStoreBuilder_ = null; fileStore_ = other.fileStore_; bitField0_ = (bitField0_ & ~0x00000001); fileStoreBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFileStoreFieldBuilder() : null; } else { fileStoreBuilder_.addAllMessages(other.fileStore_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getFileStoreCount(); i++) { if (!getFileStore(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List fileStore_ = java.util.Collections.emptyList(); private void ensureFileStoreIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { fileStore_ = new java.util.ArrayList(fileStore_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder> fileStoreBuilder_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public java.util.List getFileStoreList() { if (fileStoreBuilder_ == null) { return java.util.Collections.unmodifiableList(fileStore_); } else { return fileStoreBuilder_.getMessageList(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public int getFileStoreCount() { if (fileStoreBuilder_ == null) { return fileStore_.size(); } else { return fileStoreBuilder_.getCount(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore getFileStore(int index) { if (fileStoreBuilder_ == null) { return fileStore_.get(index); } else { return fileStoreBuilder_.getMessage(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder setFileStore( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore value) { if (fileStoreBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileStoreIsMutable(); fileStore_.set(index, value); onChanged(); } else { fileStoreBuilder_.setMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder setFileStore( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder builderForValue) { if (fileStoreBuilder_ == null) { ensureFileStoreIsMutable(); fileStore_.set(index, builderForValue.build()); onChanged(); } else { fileStoreBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder addFileStore(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore value) { if (fileStoreBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileStoreIsMutable(); fileStore_.add(value); onChanged(); } else { fileStoreBuilder_.addMessage(value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder addFileStore( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore value) { if (fileStoreBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFileStoreIsMutable(); fileStore_.add(index, value); onChanged(); } else { fileStoreBuilder_.addMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder addFileStore( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder builderForValue) { if (fileStoreBuilder_ == null) { ensureFileStoreIsMutable(); fileStore_.add(builderForValue.build()); onChanged(); } else { fileStoreBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder addFileStore( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder builderForValue) { if (fileStoreBuilder_ == null) { ensureFileStoreIsMutable(); fileStore_.add(index, builderForValue.build()); onChanged(); } else { fileStoreBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder addAllFileStore( java.lang.Iterable values) { if (fileStoreBuilder_ == null) { ensureFileStoreIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fileStore_); onChanged(); } else { fileStoreBuilder_.addAllMessages(values); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder clearFileStore() { if (fileStoreBuilder_ == null) { fileStore_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fileStoreBuilder_.clear(); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public Builder removeFileStore(int index) { if (fileStoreBuilder_ == null) { ensureFileStoreIsMutable(); fileStore_.remove(index); onChanged(); } else { fileStoreBuilder_.remove(index); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder getFileStoreBuilder( int index) { return getFileStoreFieldBuilder().getBuilder(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder getFileStoreOrBuilder( int index) { if (fileStoreBuilder_ == null) { return fileStore_.get(index); } else { return fileStoreBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public java.util.List getFileStoreOrBuilderList() { if (fileStoreBuilder_ != null) { return fileStoreBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fileStore_); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder addFileStoreBuilder() { return getFileStoreFieldBuilder().addBuilder( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder addFileStoreBuilder( int index) { return getFileStoreFieldBuilder().addBuilder( index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores.FileStore fileStore = 1; */ public java.util.List getFileStoreBuilderList() { return getFileStoreFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder> getFileStoreFieldBuilder() { if (fileStoreBuilder_ == null) { fileStoreBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStore.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores.FileStoreOrBuilder>( fileStore_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); fileStore_ = null; } return fileStoreBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileStores) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatFileStores parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatFileStores(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileStores getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatLoadOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad) com.google.protobuf.MessageOrBuilder { /** * required uint32 cpuNum = 1; */ boolean hasCpuNum(); /** * required uint32 cpuNum = 1; */ int getCpuNum(); /** *
     * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
     * 
* * required float oneMinAvg = 2; */ boolean hasOneMinAvg(); /** *
     * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
     * 
* * required float oneMinAvg = 2; */ float getOneMinAvg(); /** * required float fiveMinsAvg = 3; */ boolean hasFiveMinsAvg(); /** * required float fiveMinsAvg = 3; */ float getFiveMinsAvg(); /** * required float fifteenMinsAvg = 4; */ boolean hasFifteenMinsAvg(); /** * required float fifteenMinsAvg = 4; */ float getFifteenMinsAvg(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ java.util.List getTopProcessList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getTopProcess(int index); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ int getTopProcessCount(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ java.util.List getTopProcessOrBuilderList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder getTopProcessOrBuilder( int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad} */ public static final class BlackcatLoad extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad) BlackcatLoadOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatLoad.newBuilder() to construct. private BlackcatLoad(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatLoad() { cpuNum_ = 0; oneMinAvg_ = 0F; fiveMinsAvg_ = 0F; fifteenMinsAvg_ = 0F; topProcess_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatLoad( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; cpuNum_ = input.readUInt32(); break; } case 21: { bitField0_ |= 0x00000002; oneMinAvg_ = input.readFloat(); break; } case 29: { bitField0_ |= 0x00000004; fiveMinsAvg_ = input.readFloat(); break; } case 37: { bitField0_ |= 0x00000008; fifteenMinsAvg_ = input.readFloat(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { topProcess_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } topProcess_.add( input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { topProcess_ = java.util.Collections.unmodifiableList(topProcess_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder.class); } public interface TopProcessOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess) com.google.protobuf.MessageOrBuilder { /** * required uint64 pid = 1; */ boolean hasPid(); /** * required uint64 pid = 1; */ long getPid(); /** * required string name = 2; */ boolean hasName(); /** * required string name = 2; */ java.lang.String getName(); /** * required string name = 2; */ com.google.protobuf.ByteString getNameBytes(); /** * required double cpuPercent = 3; */ boolean hasCpuPercent(); /** * required double cpuPercent = 3; */ double getCpuPercent(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess} */ public static final class TopProcess extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess) TopProcessOrBuilder { private static final long serialVersionUID = 0L; // Use TopProcess.newBuilder() to construct. private TopProcess(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TopProcess() { pid_ = 0L; name_ = ""; cpuPercent_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TopProcess( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; pid_ = input.readUInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; name_ = bs; break; } case 25: { bitField0_ |= 0x00000004; cpuPercent_ = input.readDouble(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder.class); } private int bitField0_; public static final int PID_FIELD_NUMBER = 1; private long pid_; /** * required uint64 pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 pid = 1; */ public long getPid() { return pid_; } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string name = 2; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 2; */ 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 CPUPERCENT_FIELD_NUMBER = 3; private double cpuPercent_; /** * required double cpuPercent = 3; */ public boolean hasCpuPercent() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required double cpuPercent = 3; */ public double getCpuPercent() { return cpuPercent_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPid()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasCpuPercent()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, cpuPercent_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, cpuPercent_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess) obj; boolean result = true; result = result && (hasPid() == other.hasPid()); if (hasPid()) { result = result && (getPid() == other.getPid()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasCpuPercent() == other.hasCpuPercent()); if (hasCpuPercent()) { result = result && ( java.lang.Double.doubleToLongBits(getCpuPercent()) == java.lang.Double.doubleToLongBits( other.getCpuPercent())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPid()) { hash = (37 * hash) + PID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPid()); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasCpuPercent()) { hash = (37 * hash) + CPUPERCENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getCpuPercent())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); pid_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); name_ = ""; bitField0_ = (bitField0_ & ~0x00000002); cpuPercent_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.pid_ = pid_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.name_ = name_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.cpuPercent_ = cpuPercent_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.getDefaultInstance()) return this; if (other.hasPid()) { setPid(other.getPid()); } if (other.hasName()) { bitField0_ |= 0x00000002; name_ = other.name_; onChanged(); } if (other.hasCpuPercent()) { setCpuPercent(other.getCpuPercent()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPid()) { return false; } if (!hasName()) { return false; } if (!hasCpuPercent()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long pid_ ; /** * required uint64 pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 pid = 1; */ public long getPid() { return pid_; } /** * required uint64 pid = 1; */ public Builder setPid(long value) { bitField0_ |= 0x00000001; pid_ = value; onChanged(); return this; } /** * required uint64 pid = 1; */ public Builder clearPid() { bitField0_ = (bitField0_ & ~0x00000001); pid_ = 0L; onChanged(); return this; } private java.lang.Object name_ = ""; /** * required string name = 2; */ public boolean hasName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string name = 2; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 2; */ 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; } } /** * required string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } /** * required string name = 2; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000002); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 2; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; name_ = value; onChanged(); return this; } private double cpuPercent_ ; /** * required double cpuPercent = 3; */ public boolean hasCpuPercent() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required double cpuPercent = 3; */ public double getCpuPercent() { return cpuPercent_; } /** * required double cpuPercent = 3; */ public Builder setCpuPercent(double value) { bitField0_ |= 0x00000004; cpuPercent_ = value; onChanged(); return this; } /** * required double cpuPercent = 3; */ public Builder clearCpuPercent() { bitField0_ = (bitField0_ & ~0x00000004); cpuPercent_ = 0D; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public TopProcess parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TopProcess(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int CPUNUM_FIELD_NUMBER = 1; private int cpuNum_; /** * required uint32 cpuNum = 1; */ public boolean hasCpuNum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 cpuNum = 1; */ public int getCpuNum() { return cpuNum_; } public static final int ONEMINAVG_FIELD_NUMBER = 2; private float oneMinAvg_; /** *
     * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
     * 
* * required float oneMinAvg = 2; */ public boolean hasOneMinAvg() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
     * 
* * required float oneMinAvg = 2; */ public float getOneMinAvg() { return oneMinAvg_; } public static final int FIVEMINSAVG_FIELD_NUMBER = 3; private float fiveMinsAvg_; /** * required float fiveMinsAvg = 3; */ public boolean hasFiveMinsAvg() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required float fiveMinsAvg = 3; */ public float getFiveMinsAvg() { return fiveMinsAvg_; } public static final int FIFTEENMINSAVG_FIELD_NUMBER = 4; private float fifteenMinsAvg_; /** * required float fifteenMinsAvg = 4; */ public boolean hasFifteenMinsAvg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required float fifteenMinsAvg = 4; */ public float getFifteenMinsAvg() { return fifteenMinsAvg_; } public static final int TOPPROCESS_FIELD_NUMBER = 5; private java.util.List topProcess_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public java.util.List getTopProcessList() { return topProcess_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public java.util.List getTopProcessOrBuilderList() { return topProcess_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public int getTopProcessCount() { return topProcess_.size(); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getTopProcess(int index) { return topProcess_.get(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder getTopProcessOrBuilder( int index) { return topProcess_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasCpuNum()) { memoizedIsInitialized = 0; return false; } if (!hasOneMinAvg()) { memoizedIsInitialized = 0; return false; } if (!hasFiveMinsAvg()) { memoizedIsInitialized = 0; return false; } if (!hasFifteenMinsAvg()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getTopProcessCount(); i++) { if (!getTopProcess(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, cpuNum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeFloat(2, oneMinAvg_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeFloat(3, fiveMinsAvg_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeFloat(4, fifteenMinsAvg_); } for (int i = 0; i < topProcess_.size(); i++) { output.writeMessage(5, topProcess_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, cpuNum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(2, oneMinAvg_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(3, fiveMinsAvg_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeFloatSize(4, fifteenMinsAvg_); } for (int i = 0; i < topProcess_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, topProcess_.get(i)); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad) obj; boolean result = true; result = result && (hasCpuNum() == other.hasCpuNum()); if (hasCpuNum()) { result = result && (getCpuNum() == other.getCpuNum()); } result = result && (hasOneMinAvg() == other.hasOneMinAvg()); if (hasOneMinAvg()) { result = result && ( java.lang.Float.floatToIntBits(getOneMinAvg()) == java.lang.Float.floatToIntBits( other.getOneMinAvg())); } result = result && (hasFiveMinsAvg() == other.hasFiveMinsAvg()); if (hasFiveMinsAvg()) { result = result && ( java.lang.Float.floatToIntBits(getFiveMinsAvg()) == java.lang.Float.floatToIntBits( other.getFiveMinsAvg())); } result = result && (hasFifteenMinsAvg() == other.hasFifteenMinsAvg()); if (hasFifteenMinsAvg()) { result = result && ( java.lang.Float.floatToIntBits(getFifteenMinsAvg()) == java.lang.Float.floatToIntBits( other.getFifteenMinsAvg())); } result = result && getTopProcessList() .equals(other.getTopProcessList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCpuNum()) { hash = (37 * hash) + CPUNUM_FIELD_NUMBER; hash = (53 * hash) + getCpuNum(); } if (hasOneMinAvg()) { hash = (37 * hash) + ONEMINAVG_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getOneMinAvg()); } if (hasFiveMinsAvg()) { hash = (37 * hash) + FIVEMINSAVG_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFiveMinsAvg()); } if (hasFifteenMinsAvg()) { hash = (37 * hash) + FIFTEENMINSAVG_FIELD_NUMBER; hash = (53 * hash) + java.lang.Float.floatToIntBits( getFifteenMinsAvg()); } if (getTopProcessCount() > 0) { hash = (37 * hash) + TOPPROCESS_FIELD_NUMBER; hash = (53 * hash) + getTopProcessList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTopProcessFieldBuilder(); } } public Builder clear() { super.clear(); cpuNum_ = 0; bitField0_ = (bitField0_ & ~0x00000001); oneMinAvg_ = 0F; bitField0_ = (bitField0_ & ~0x00000002); fiveMinsAvg_ = 0F; bitField0_ = (bitField0_ & ~0x00000004); fifteenMinsAvg_ = 0F; bitField0_ = (bitField0_ & ~0x00000008); if (topProcessBuilder_ == null) { topProcess_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { topProcessBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.cpuNum_ = cpuNum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.oneMinAvg_ = oneMinAvg_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.fiveMinsAvg_ = fiveMinsAvg_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.fifteenMinsAvg_ = fifteenMinsAvg_; if (topProcessBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { topProcess_ = java.util.Collections.unmodifiableList(topProcess_); bitField0_ = (bitField0_ & ~0x00000010); } result.topProcess_ = topProcess_; } else { result.topProcess_ = topProcessBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.getDefaultInstance()) return this; if (other.hasCpuNum()) { setCpuNum(other.getCpuNum()); } if (other.hasOneMinAvg()) { setOneMinAvg(other.getOneMinAvg()); } if (other.hasFiveMinsAvg()) { setFiveMinsAvg(other.getFiveMinsAvg()); } if (other.hasFifteenMinsAvg()) { setFifteenMinsAvg(other.getFifteenMinsAvg()); } if (topProcessBuilder_ == null) { if (!other.topProcess_.isEmpty()) { if (topProcess_.isEmpty()) { topProcess_ = other.topProcess_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureTopProcessIsMutable(); topProcess_.addAll(other.topProcess_); } onChanged(); } } else { if (!other.topProcess_.isEmpty()) { if (topProcessBuilder_.isEmpty()) { topProcessBuilder_.dispose(); topProcessBuilder_ = null; topProcess_ = other.topProcess_; bitField0_ = (bitField0_ & ~0x00000010); topProcessBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTopProcessFieldBuilder() : null; } else { topProcessBuilder_.addAllMessages(other.topProcess_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasCpuNum()) { return false; } if (!hasOneMinAvg()) { return false; } if (!hasFiveMinsAvg()) { return false; } if (!hasFifteenMinsAvg()) { return false; } for (int i = 0; i < getTopProcessCount(); i++) { if (!getTopProcess(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int cpuNum_ ; /** * required uint32 cpuNum = 1; */ public boolean hasCpuNum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 cpuNum = 1; */ public int getCpuNum() { return cpuNum_; } /** * required uint32 cpuNum = 1; */ public Builder setCpuNum(int value) { bitField0_ |= 0x00000001; cpuNum_ = value; onChanged(); return this; } /** * required uint32 cpuNum = 1; */ public Builder clearCpuNum() { bitField0_ = (bitField0_ & ~0x00000001); cpuNum_ = 0; onChanged(); return this; } private float oneMinAvg_ ; /** *
       * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
       * 
* * required float oneMinAvg = 2; */ public boolean hasOneMinAvg() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
       * 
* * required float oneMinAvg = 2; */ public float getOneMinAvg() { return oneMinAvg_; } /** *
       * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
       * 
* * required float oneMinAvg = 2; */ public Builder setOneMinAvg(float value) { bitField0_ |= 0x00000002; oneMinAvg_ = value; onChanged(); return this; } /** *
       * Load meaning, pls refer http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages
       * 
* * required float oneMinAvg = 2; */ public Builder clearOneMinAvg() { bitField0_ = (bitField0_ & ~0x00000002); oneMinAvg_ = 0F; onChanged(); return this; } private float fiveMinsAvg_ ; /** * required float fiveMinsAvg = 3; */ public boolean hasFiveMinsAvg() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required float fiveMinsAvg = 3; */ public float getFiveMinsAvg() { return fiveMinsAvg_; } /** * required float fiveMinsAvg = 3; */ public Builder setFiveMinsAvg(float value) { bitField0_ |= 0x00000004; fiveMinsAvg_ = value; onChanged(); return this; } /** * required float fiveMinsAvg = 3; */ public Builder clearFiveMinsAvg() { bitField0_ = (bitField0_ & ~0x00000004); fiveMinsAvg_ = 0F; onChanged(); return this; } private float fifteenMinsAvg_ ; /** * required float fifteenMinsAvg = 4; */ public boolean hasFifteenMinsAvg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required float fifteenMinsAvg = 4; */ public float getFifteenMinsAvg() { return fifteenMinsAvg_; } /** * required float fifteenMinsAvg = 4; */ public Builder setFifteenMinsAvg(float value) { bitField0_ |= 0x00000008; fifteenMinsAvg_ = value; onChanged(); return this; } /** * required float fifteenMinsAvg = 4; */ public Builder clearFifteenMinsAvg() { bitField0_ = (bitField0_ & ~0x00000008); fifteenMinsAvg_ = 0F; onChanged(); return this; } private java.util.List topProcess_ = java.util.Collections.emptyList(); private void ensureTopProcessIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { topProcess_ = new java.util.ArrayList(topProcess_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder> topProcessBuilder_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public java.util.List getTopProcessList() { if (topProcessBuilder_ == null) { return java.util.Collections.unmodifiableList(topProcess_); } else { return topProcessBuilder_.getMessageList(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public int getTopProcessCount() { if (topProcessBuilder_ == null) { return topProcess_.size(); } else { return topProcessBuilder_.getCount(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess getTopProcess(int index) { if (topProcessBuilder_ == null) { return topProcess_.get(index); } else { return topProcessBuilder_.getMessage(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder setTopProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess value) { if (topProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopProcessIsMutable(); topProcess_.set(index, value); onChanged(); } else { topProcessBuilder_.setMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder setTopProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder builderForValue) { if (topProcessBuilder_ == null) { ensureTopProcessIsMutable(); topProcess_.set(index, builderForValue.build()); onChanged(); } else { topProcessBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder addTopProcess(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess value) { if (topProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopProcessIsMutable(); topProcess_.add(value); onChanged(); } else { topProcessBuilder_.addMessage(value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder addTopProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess value) { if (topProcessBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTopProcessIsMutable(); topProcess_.add(index, value); onChanged(); } else { topProcessBuilder_.addMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder addTopProcess( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder builderForValue) { if (topProcessBuilder_ == null) { ensureTopProcessIsMutable(); topProcess_.add(builderForValue.build()); onChanged(); } else { topProcessBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder addTopProcess( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder builderForValue) { if (topProcessBuilder_ == null) { ensureTopProcessIsMutable(); topProcess_.add(index, builderForValue.build()); onChanged(); } else { topProcessBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder addAllTopProcess( java.lang.Iterable values) { if (topProcessBuilder_ == null) { ensureTopProcessIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, topProcess_); onChanged(); } else { topProcessBuilder_.addAllMessages(values); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder clearTopProcess() { if (topProcessBuilder_ == null) { topProcess_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { topProcessBuilder_.clear(); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public Builder removeTopProcess(int index) { if (topProcessBuilder_ == null) { ensureTopProcessIsMutable(); topProcess_.remove(index); onChanged(); } else { topProcessBuilder_.remove(index); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder getTopProcessBuilder( int index) { return getTopProcessFieldBuilder().getBuilder(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder getTopProcessOrBuilder( int index) { if (topProcessBuilder_ == null) { return topProcess_.get(index); } else { return topProcessBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public java.util.List getTopProcessOrBuilderList() { if (topProcessBuilder_ != null) { return topProcessBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(topProcess_); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder addTopProcessBuilder() { return getTopProcessFieldBuilder().addBuilder( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder addTopProcessBuilder( int index) { return getTopProcessFieldBuilder().addBuilder( index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad.TopProcess topProcess = 5; */ public java.util.List getTopProcessBuilderList() { return getTopProcessFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder> getTopProcessFieldBuilder() { if (topProcessBuilder_ == null) { topProcessBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcess.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad.TopProcessOrBuilder>( topProcess_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); topProcess_ = null; } return topProcessBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatLoad) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatLoad parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatLoad(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatLoad getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatProcessOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess) com.google.protobuf.MessageOrBuilder { /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ java.util.List getProcList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getProc(int index); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ int getProcCount(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ java.util.List getProcOrBuilderList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder getProcOrBuilder( int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess} */ public static final class BlackcatProcess extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess) BlackcatProcessOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatProcess.newBuilder() to construct. private BlackcatProcess(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatProcess() { proc_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatProcess( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { proc_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } proc_.add( input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { proc_ = java.util.Collections.unmodifiableList(proc_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder.class); } public interface ProcOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc) com.google.protobuf.MessageOrBuilder { /** * required uint64 pid = 1; */ boolean hasPid(); /** * required uint64 pid = 1; */ long getPid(); /** * required string args = 2; */ boolean hasArgs(); /** * required string args = 2; */ java.lang.String getArgs(); /** * required string args = 2; */ com.google.protobuf.ByteString getArgsBytes(); /** *
       * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
       * RES stands for the resident size,
       * which is an accurate representation
       * of how much actual physical memory a process is consuming.
       * (This also corresponds directly to the %MEM column.)
       * 
* * required uint64 res = 3; */ boolean hasRes(); /** *
       * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
       * RES stands for the resident size,
       * which is an accurate representation
       * of how much actual physical memory a process is consuming.
       * (This also corresponds directly to the %MEM column.)
       * 
* * required uint64 res = 3; */ long getRes(); /** * required uint64 startTime = 4; */ boolean hasStartTime(); /** * required uint64 startTime = 4; */ long getStartTime(); /** *
       * 进程名称
       * 
* * required string name = 5; */ boolean hasName(); /** *
       * 进程名称
       * 
* * required string name = 5; */ java.lang.String getName(); /** *
       * 进程名称
       * 
* * required string name = 5; */ com.google.protobuf.ByteString getNameBytes(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc} */ public static final class Proc extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc) ProcOrBuilder { private static final long serialVersionUID = 0L; // Use Proc.newBuilder() to construct. private Proc(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Proc() { pid_ = 0L; args_ = ""; res_ = 0L; startTime_ = 0L; name_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Proc( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; pid_ = input.readUInt64(); break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; args_ = bs; break; } case 24: { bitField0_ |= 0x00000004; res_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; startTime_ = input.readUInt64(); break; } case 42: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; name_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder.class); } private int bitField0_; public static final int PID_FIELD_NUMBER = 1; private long pid_; /** * required uint64 pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 pid = 1; */ public long getPid() { return pid_; } public static final int ARGS_FIELD_NUMBER = 2; private volatile java.lang.Object args_; /** * required string args = 2; */ public boolean hasArgs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string args = 2; */ public java.lang.String getArgs() { java.lang.Object ref = args_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { args_ = s; } return s; } } /** * required string args = 2; */ public com.google.protobuf.ByteString getArgsBytes() { java.lang.Object ref = args_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); args_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RES_FIELD_NUMBER = 3; private long res_; /** *
       * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
       * RES stands for the resident size,
       * which is an accurate representation
       * of how much actual physical memory a process is consuming.
       * (This also corresponds directly to the %MEM column.)
       * 
* * required uint64 res = 3; */ public boolean hasRes() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
       * RES stands for the resident size,
       * which is an accurate representation
       * of how much actual physical memory a process is consuming.
       * (This also corresponds directly to the %MEM column.)
       * 
* * required uint64 res = 3; */ public long getRes() { return res_; } public static final int STARTTIME_FIELD_NUMBER = 4; private long startTime_; /** * required uint64 startTime = 4; */ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 startTime = 4; */ public long getStartTime() { return startTime_; } public static final int NAME_FIELD_NUMBER = 5; private volatile java.lang.Object name_; /** *
       * 进程名称
       * 
* * required string name = 5; */ public boolean hasName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
       * 进程名称
       * 
* * required string name = 5; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** *
       * 进程名称
       * 
* * required string name = 5; */ 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; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPid()) { memoizedIsInitialized = 0; return false; } if (!hasArgs()) { memoizedIsInitialized = 0; return false; } if (!hasRes()) { memoizedIsInitialized = 0; return false; } if (!hasStartTime()) { memoizedIsInitialized = 0; return false; } if (!hasName()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, args_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, res_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, startTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, name_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, args_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, res_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, startTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, name_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc) obj; boolean result = true; result = result && (hasPid() == other.hasPid()); if (hasPid()) { result = result && (getPid() == other.getPid()); } result = result && (hasArgs() == other.hasArgs()); if (hasArgs()) { result = result && getArgs() .equals(other.getArgs()); } result = result && (hasRes() == other.hasRes()); if (hasRes()) { result = result && (getRes() == other.getRes()); } result = result && (hasStartTime() == other.hasStartTime()); if (hasStartTime()) { result = result && (getStartTime() == other.getStartTime()); } result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPid()) { hash = (37 * hash) + PID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPid()); } if (hasArgs()) { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgs().hashCode(); } if (hasRes()) { hash = (37 * hash) + RES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRes()); } if (hasStartTime()) { hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); } if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); pid_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); args_ = ""; bitField0_ = (bitField0_ & ~0x00000002); res_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); startTime_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); name_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.pid_ = pid_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.args_ = args_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.res_ = res_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.startTime_ = startTime_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.name_ = name_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.getDefaultInstance()) return this; if (other.hasPid()) { setPid(other.getPid()); } if (other.hasArgs()) { bitField0_ |= 0x00000002; args_ = other.args_; onChanged(); } if (other.hasRes()) { setRes(other.getRes()); } if (other.hasStartTime()) { setStartTime(other.getStartTime()); } if (other.hasName()) { bitField0_ |= 0x00000010; name_ = other.name_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPid()) { return false; } if (!hasArgs()) { return false; } if (!hasRes()) { return false; } if (!hasStartTime()) { return false; } if (!hasName()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long pid_ ; /** * required uint64 pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint64 pid = 1; */ public long getPid() { return pid_; } /** * required uint64 pid = 1; */ public Builder setPid(long value) { bitField0_ |= 0x00000001; pid_ = value; onChanged(); return this; } /** * required uint64 pid = 1; */ public Builder clearPid() { bitField0_ = (bitField0_ & ~0x00000001); pid_ = 0L; onChanged(); return this; } private java.lang.Object args_ = ""; /** * required string args = 2; */ public boolean hasArgs() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string args = 2; */ public java.lang.String getArgs() { java.lang.Object ref = args_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { args_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string args = 2; */ public com.google.protobuf.ByteString getArgsBytes() { java.lang.Object ref = args_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); args_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string args = 2; */ public Builder setArgs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; args_ = value; onChanged(); return this; } /** * required string args = 2; */ public Builder clearArgs() { bitField0_ = (bitField0_ & ~0x00000002); args_ = getDefaultInstance().getArgs(); onChanged(); return this; } /** * required string args = 2; */ public Builder setArgsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; args_ = value; onChanged(); return this; } private long res_ ; /** *
         * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
         * RES stands for the resident size,
         * which is an accurate representation
         * of how much actual physical memory a process is consuming.
         * (This also corresponds directly to the %MEM column.)
         * 
* * required uint64 res = 3; */ public boolean hasRes() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
         * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
         * RES stands for the resident size,
         * which is an accurate representation
         * of how much actual physical memory a process is consuming.
         * (This also corresponds directly to the %MEM column.)
         * 
* * required uint64 res = 3; */ public long getRes() { return res_; } /** *
         * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
         * RES stands for the resident size,
         * which is an accurate representation
         * of how much actual physical memory a process is consuming.
         * (This also corresponds directly to the %MEM column.)
         * 
* * required uint64 res = 3; */ public Builder setRes(long value) { bitField0_ |= 0x00000004; res_ = value; onChanged(); return this; } /** *
         * http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/
         * RES stands for the resident size,
         * which is an accurate representation
         * of how much actual physical memory a process is consuming.
         * (This also corresponds directly to the %MEM column.)
         * 
* * required uint64 res = 3; */ public Builder clearRes() { bitField0_ = (bitField0_ & ~0x00000004); res_ = 0L; onChanged(); return this; } private long startTime_ ; /** * required uint64 startTime = 4; */ public boolean hasStartTime() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 startTime = 4; */ public long getStartTime() { return startTime_; } /** * required uint64 startTime = 4; */ public Builder setStartTime(long value) { bitField0_ |= 0x00000008; startTime_ = value; onChanged(); return this; } /** * required uint64 startTime = 4; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000008); startTime_ = 0L; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
         * 进程名称
         * 
* * required string name = 5; */ public boolean hasName() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
         * 进程名称
         * 
* * required string name = 5; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * 进程名称
         * 
* * required string name = 5; */ 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; } } /** *
         * 进程名称
         * 
* * required string name = 5; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; name_ = value; onChanged(); return this; } /** *
         * 进程名称
         * 
* * required string name = 5; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000010); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
         * 进程名称
         * 
* * required string name = 5; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; name_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Proc parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Proc(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int PROC_FIELD_NUMBER = 1; private java.util.List proc_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public java.util.List getProcList() { return proc_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public java.util.List getProcOrBuilderList() { return proc_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public int getProcCount() { return proc_.size(); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getProc(int index) { return proc_.get(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder getProcOrBuilder( int index) { return proc_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getProcCount(); i++) { if (!getProc(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < proc_.size(); i++) { output.writeMessage(1, proc_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < proc_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, proc_.get(i)); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess) obj; boolean result = true; result = result && getProcList() .equals(other.getProcList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getProcCount() > 0) { hash = (37 * hash) + PROC_FIELD_NUMBER; hash = (53 * hash) + getProcList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcessOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getProcFieldBuilder(); } } public Builder clear() { super.clear(); if (procBuilder_ == null) { proc_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { procBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess(this); int from_bitField0_ = bitField0_; if (procBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { proc_ = java.util.Collections.unmodifiableList(proc_); bitField0_ = (bitField0_ & ~0x00000001); } result.proc_ = proc_; } else { result.proc_ = procBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.getDefaultInstance()) return this; if (procBuilder_ == null) { if (!other.proc_.isEmpty()) { if (proc_.isEmpty()) { proc_ = other.proc_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureProcIsMutable(); proc_.addAll(other.proc_); } onChanged(); } } else { if (!other.proc_.isEmpty()) { if (procBuilder_.isEmpty()) { procBuilder_.dispose(); procBuilder_ = null; proc_ = other.proc_; bitField0_ = (bitField0_ & ~0x00000001); procBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getProcFieldBuilder() : null; } else { procBuilder_.addAllMessages(other.proc_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getProcCount(); i++) { if (!getProc(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List proc_ = java.util.Collections.emptyList(); private void ensureProcIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { proc_ = new java.util.ArrayList(proc_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder> procBuilder_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public java.util.List getProcList() { if (procBuilder_ == null) { return java.util.Collections.unmodifiableList(proc_); } else { return procBuilder_.getMessageList(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public int getProcCount() { if (procBuilder_ == null) { return proc_.size(); } else { return procBuilder_.getCount(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc getProc(int index) { if (procBuilder_ == null) { return proc_.get(index); } else { return procBuilder_.getMessage(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder setProc( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc value) { if (procBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcIsMutable(); proc_.set(index, value); onChanged(); } else { procBuilder_.setMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder setProc( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder builderForValue) { if (procBuilder_ == null) { ensureProcIsMutable(); proc_.set(index, builderForValue.build()); onChanged(); } else { procBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder addProc(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc value) { if (procBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcIsMutable(); proc_.add(value); onChanged(); } else { procBuilder_.addMessage(value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder addProc( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc value) { if (procBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureProcIsMutable(); proc_.add(index, value); onChanged(); } else { procBuilder_.addMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder addProc( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder builderForValue) { if (procBuilder_ == null) { ensureProcIsMutable(); proc_.add(builderForValue.build()); onChanged(); } else { procBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder addProc( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder builderForValue) { if (procBuilder_ == null) { ensureProcIsMutable(); proc_.add(index, builderForValue.build()); onChanged(); } else { procBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder addAllProc( java.lang.Iterable values) { if (procBuilder_ == null) { ensureProcIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, proc_); onChanged(); } else { procBuilder_.addAllMessages(values); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder clearProc() { if (procBuilder_ == null) { proc_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { procBuilder_.clear(); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public Builder removeProc(int index) { if (procBuilder_ == null) { ensureProcIsMutable(); proc_.remove(index); onChanged(); } else { procBuilder_.remove(index); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder getProcBuilder( int index) { return getProcFieldBuilder().getBuilder(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder getProcOrBuilder( int index) { if (procBuilder_ == null) { return proc_.get(index); } else { return procBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public java.util.List getProcOrBuilderList() { if (procBuilder_ != null) { return procBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(proc_); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder addProcBuilder() { return getProcFieldBuilder().addBuilder( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder addProcBuilder( int index) { return getProcFieldBuilder().addBuilder( index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess.Proc proc = 1; */ public java.util.List getProcBuilderList() { return getProcFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder> getProcFieldBuilder() { if (procBuilder_ == null) { procBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.Proc.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess.ProcOrBuilder>( proc_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); proc_ = null; } return procBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatProcess) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatProcess parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatProcess(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatProcess getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatMethodRuntimeOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime) com.google.protobuf.MessageOrBuilder { /** * required string pid = 1; */ boolean hasPid(); /** * required string pid = 1; */ java.lang.String getPid(); /** * required string pid = 1; */ com.google.protobuf.ByteString getPidBytes(); /** * required string executionId = 2; */ boolean hasExecutionId(); /** * required string executionId = 2; */ java.lang.String getExecutionId(); /** * required string executionId = 2; */ com.google.protobuf.ByteString getExecutionIdBytes(); /** * required uint64 startMillis = 3; */ boolean hasStartMillis(); /** * required uint64 startMillis = 3; */ long getStartMillis(); /** * required uint64 endMillis = 4; */ boolean hasEndMillis(); /** * required uint64 endMillis = 4; */ long getEndMillis(); /** * required uint64 costNano = 5; */ boolean hasCostNano(); /** * required uint64 costNano = 5; */ long getCostNano(); /** * required string className = 6; */ boolean hasClassName(); /** * required string className = 6; */ java.lang.String getClassName(); /** * required string className = 6; */ com.google.protobuf.ByteString getClassNameBytes(); /** * required string methodName = 7; */ boolean hasMethodName(); /** * required string methodName = 7; */ java.lang.String getMethodName(); /** * required string methodName = 7; */ com.google.protobuf.ByteString getMethodNameBytes(); /** * required string methodDesc = 8; */ boolean hasMethodDesc(); /** * required string methodDesc = 8; */ java.lang.String getMethodDesc(); /** * required string methodDesc = 8; */ com.google.protobuf.ByteString getMethodDescBytes(); /** * required string args = 9; */ boolean hasArgs(); /** * required string args = 9; */ java.lang.String getArgs(); /** * required string args = 9; */ com.google.protobuf.ByteString getArgsBytes(); /** * required string result = 10; */ boolean hasResult(); /** * required string result = 10; */ java.lang.String getResult(); /** * required string result = 10; */ com.google.protobuf.ByteString getResultBytes(); /** * optional string throwableCaught = 11; */ boolean hasThrowableCaught(); /** * optional string throwableCaught = 11; */ java.lang.String getThrowableCaught(); /** * optional string throwableCaught = 11; */ com.google.protobuf.ByteString getThrowableCaughtBytes(); /** * optional string throwableUncaught = 12; */ boolean hasThrowableUncaught(); /** * optional string throwableUncaught = 12; */ java.lang.String getThrowableUncaught(); /** * optional string throwableUncaught = 12; */ com.google.protobuf.ByteString getThrowableUncaughtBytes(); /** * required bool sameThrowable = 13; */ boolean hasSameThrowable(); /** * required bool sameThrowable = 13; */ boolean getSameThrowable(); /** * required string invokeId = 14; */ boolean hasInvokeId(); /** * required string invokeId = 14; */ java.lang.String getInvokeId(); /** * required string invokeId = 14; */ com.google.protobuf.ByteString getInvokeIdBytes(); /** * required string traceId = 15; */ boolean hasTraceId(); /** * required string traceId = 15; */ java.lang.String getTraceId(); /** * required string traceId = 15; */ com.google.protobuf.ByteString getTraceIdBytes(); /** * required string linkId = 16; */ boolean hasLinkId(); /** * required string linkId = 16; */ java.lang.String getLinkId(); /** * required string linkId = 16; */ com.google.protobuf.ByteString getLinkIdBytes(); /** * optional string throwableMessage = 17; */ boolean hasThrowableMessage(); /** * optional string throwableMessage = 17; */ java.lang.String getThrowableMessage(); /** * optional string throwableMessage = 17; */ com.google.protobuf.ByteString getThrowableMessageBytes(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime} */ public static final class BlackcatMethodRuntime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime) BlackcatMethodRuntimeOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatMethodRuntime.newBuilder() to construct. private BlackcatMethodRuntime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatMethodRuntime() { pid_ = ""; executionId_ = ""; startMillis_ = 0L; endMillis_ = 0L; costNano_ = 0L; className_ = ""; methodName_ = ""; methodDesc_ = ""; args_ = ""; result_ = ""; throwableCaught_ = ""; throwableUncaught_ = ""; sameThrowable_ = false; invokeId_ = ""; traceId_ = ""; linkId_ = ""; throwableMessage_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatMethodRuntime( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; pid_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; executionId_ = bs; break; } case 24: { bitField0_ |= 0x00000004; startMillis_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; endMillis_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; costNano_ = input.readUInt64(); break; } case 50: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; className_ = bs; break; } case 58: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000040; methodName_ = bs; break; } case 66: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000080; methodDesc_ = bs; break; } case 74: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000100; args_ = bs; break; } case 82: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000200; result_ = bs; break; } case 90: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; throwableCaught_ = bs; break; } case 98: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000800; throwableUncaught_ = bs; break; } case 104: { bitField0_ |= 0x00001000; sameThrowable_ = input.readBool(); break; } case 114: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00002000; invokeId_ = bs; break; } case 122: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00004000; traceId_ = bs; break; } case 130: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00008000; linkId_ = bs; break; } case 138: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00010000; throwableMessage_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder.class); } private int bitField0_; public static final int PID_FIELD_NUMBER = 1; private volatile java.lang.Object pid_; /** * required string pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string pid = 1; */ public java.lang.String getPid() { java.lang.Object ref = pid_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { pid_ = s; } return s; } } /** * required string pid = 1; */ public com.google.protobuf.ByteString getPidBytes() { java.lang.Object ref = pid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXECUTIONID_FIELD_NUMBER = 2; private volatile java.lang.Object executionId_; /** * required string executionId = 2; */ public boolean hasExecutionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string executionId = 2; */ public java.lang.String getExecutionId() { java.lang.Object ref = executionId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { executionId_ = s; } return s; } } /** * required string executionId = 2; */ public com.google.protobuf.ByteString getExecutionIdBytes() { java.lang.Object ref = executionId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTMILLIS_FIELD_NUMBER = 3; private long startMillis_; /** * required uint64 startMillis = 3; */ public boolean hasStartMillis() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 startMillis = 3; */ public long getStartMillis() { return startMillis_; } public static final int ENDMILLIS_FIELD_NUMBER = 4; private long endMillis_; /** * required uint64 endMillis = 4; */ public boolean hasEndMillis() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 endMillis = 4; */ public long getEndMillis() { return endMillis_; } public static final int COSTNANO_FIELD_NUMBER = 5; private long costNano_; /** * required uint64 costNano = 5; */ public boolean hasCostNano() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint64 costNano = 5; */ public long getCostNano() { return costNano_; } public static final int CLASSNAME_FIELD_NUMBER = 6; private volatile java.lang.Object className_; /** * required string className = 6; */ public boolean hasClassName() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required string className = 6; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { className_ = s; } return s; } } /** * required string className = 6; */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METHODNAME_FIELD_NUMBER = 7; private volatile java.lang.Object methodName_; /** * required string methodName = 7; */ public boolean hasMethodName() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required string methodName = 7; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { methodName_ = s; } return s; } } /** * required string methodName = 7; */ public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METHODDESC_FIELD_NUMBER = 8; private volatile java.lang.Object methodDesc_; /** * required string methodDesc = 8; */ public boolean hasMethodDesc() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required string methodDesc = 8; */ public java.lang.String getMethodDesc() { java.lang.Object ref = methodDesc_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { methodDesc_ = s; } return s; } } /** * required string methodDesc = 8; */ public com.google.protobuf.ByteString getMethodDescBytes() { java.lang.Object ref = methodDesc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ARGS_FIELD_NUMBER = 9; private volatile java.lang.Object args_; /** * required string args = 9; */ public boolean hasArgs() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required string args = 9; */ public java.lang.String getArgs() { java.lang.Object ref = args_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { args_ = s; } return s; } } /** * required string args = 9; */ public com.google.protobuf.ByteString getArgsBytes() { java.lang.Object ref = args_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); args_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESULT_FIELD_NUMBER = 10; private volatile java.lang.Object result_; /** * required string result = 10; */ public boolean hasResult() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required string result = 10; */ public java.lang.String getResult() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { result_ = s; } return s; } } /** * required string result = 10; */ public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); result_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int THROWABLECAUGHT_FIELD_NUMBER = 11; private volatile java.lang.Object throwableCaught_; /** * optional string throwableCaught = 11; */ public boolean hasThrowableCaught() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string throwableCaught = 11; */ public java.lang.String getThrowableCaught() { java.lang.Object ref = throwableCaught_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableCaught_ = s; } return s; } } /** * optional string throwableCaught = 11; */ public com.google.protobuf.ByteString getThrowableCaughtBytes() { java.lang.Object ref = throwableCaught_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableCaught_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int THROWABLEUNCAUGHT_FIELD_NUMBER = 12; private volatile java.lang.Object throwableUncaught_; /** * optional string throwableUncaught = 12; */ public boolean hasThrowableUncaught() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string throwableUncaught = 12; */ public java.lang.String getThrowableUncaught() { java.lang.Object ref = throwableUncaught_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableUncaught_ = s; } return s; } } /** * optional string throwableUncaught = 12; */ public com.google.protobuf.ByteString getThrowableUncaughtBytes() { java.lang.Object ref = throwableUncaught_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableUncaught_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SAMETHROWABLE_FIELD_NUMBER = 13; private boolean sameThrowable_; /** * required bool sameThrowable = 13; */ public boolean hasSameThrowable() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required bool sameThrowable = 13; */ public boolean getSameThrowable() { return sameThrowable_; } public static final int INVOKEID_FIELD_NUMBER = 14; private volatile java.lang.Object invokeId_; /** * required string invokeId = 14; */ public boolean hasInvokeId() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required string invokeId = 14; */ public java.lang.String getInvokeId() { java.lang.Object ref = invokeId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { invokeId_ = s; } return s; } } /** * required string invokeId = 14; */ public com.google.protobuf.ByteString getInvokeIdBytes() { java.lang.Object ref = invokeId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invokeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACEID_FIELD_NUMBER = 15; private volatile java.lang.Object traceId_; /** * required string traceId = 15; */ public boolean hasTraceId() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required string traceId = 15; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { traceId_ = s; } return s; } } /** * required string traceId = 15; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINKID_FIELD_NUMBER = 16; private volatile java.lang.Object linkId_; /** * required string linkId = 16; */ public boolean hasLinkId() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * required string linkId = 16; */ public java.lang.String getLinkId() { java.lang.Object ref = linkId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { linkId_ = s; } return s; } } /** * required string linkId = 16; */ public com.google.protobuf.ByteString getLinkIdBytes() { java.lang.Object ref = linkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int THROWABLEMESSAGE_FIELD_NUMBER = 17; private volatile java.lang.Object throwableMessage_; /** * optional string throwableMessage = 17; */ public boolean hasThrowableMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string throwableMessage = 17; */ public java.lang.String getThrowableMessage() { java.lang.Object ref = throwableMessage_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableMessage_ = s; } return s; } } /** * optional string throwableMessage = 17; */ public com.google.protobuf.ByteString getThrowableMessageBytes() { java.lang.Object ref = throwableMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasPid()) { memoizedIsInitialized = 0; return false; } if (!hasExecutionId()) { memoizedIsInitialized = 0; return false; } if (!hasStartMillis()) { memoizedIsInitialized = 0; return false; } if (!hasEndMillis()) { memoizedIsInitialized = 0; return false; } if (!hasCostNano()) { memoizedIsInitialized = 0; return false; } if (!hasClassName()) { memoizedIsInitialized = 0; return false; } if (!hasMethodName()) { memoizedIsInitialized = 0; return false; } if (!hasMethodDesc()) { memoizedIsInitialized = 0; return false; } if (!hasArgs()) { memoizedIsInitialized = 0; return false; } if (!hasResult()) { memoizedIsInitialized = 0; return false; } if (!hasSameThrowable()) { memoizedIsInitialized = 0; return false; } if (!hasInvokeId()) { memoizedIsInitialized = 0; return false; } if (!hasTraceId()) { memoizedIsInitialized = 0; return false; } if (!hasLinkId()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, executionId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, startMillis_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, endMillis_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt64(5, costNano_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, className_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, methodName_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, methodDesc_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, args_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, result_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, throwableCaught_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, throwableUncaught_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeBool(13, sameThrowable_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, invokeId_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, traceId_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, linkId_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 17, throwableMessage_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pid_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, executionId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, startMillis_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, endMillis_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, costNano_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, className_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, methodName_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, methodDesc_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, args_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, result_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, throwableCaught_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, throwableUncaught_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, sameThrowable_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, invokeId_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, traceId_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, linkId_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, throwableMessage_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime) obj; boolean result = true; result = result && (hasPid() == other.hasPid()); if (hasPid()) { result = result && getPid() .equals(other.getPid()); } result = result && (hasExecutionId() == other.hasExecutionId()); if (hasExecutionId()) { result = result && getExecutionId() .equals(other.getExecutionId()); } result = result && (hasStartMillis() == other.hasStartMillis()); if (hasStartMillis()) { result = result && (getStartMillis() == other.getStartMillis()); } result = result && (hasEndMillis() == other.hasEndMillis()); if (hasEndMillis()) { result = result && (getEndMillis() == other.getEndMillis()); } result = result && (hasCostNano() == other.hasCostNano()); if (hasCostNano()) { result = result && (getCostNano() == other.getCostNano()); } result = result && (hasClassName() == other.hasClassName()); if (hasClassName()) { result = result && getClassName() .equals(other.getClassName()); } result = result && (hasMethodName() == other.hasMethodName()); if (hasMethodName()) { result = result && getMethodName() .equals(other.getMethodName()); } result = result && (hasMethodDesc() == other.hasMethodDesc()); if (hasMethodDesc()) { result = result && getMethodDesc() .equals(other.getMethodDesc()); } result = result && (hasArgs() == other.hasArgs()); if (hasArgs()) { result = result && getArgs() .equals(other.getArgs()); } result = result && (hasResult() == other.hasResult()); if (hasResult()) { result = result && getResult() .equals(other.getResult()); } result = result && (hasThrowableCaught() == other.hasThrowableCaught()); if (hasThrowableCaught()) { result = result && getThrowableCaught() .equals(other.getThrowableCaught()); } result = result && (hasThrowableUncaught() == other.hasThrowableUncaught()); if (hasThrowableUncaught()) { result = result && getThrowableUncaught() .equals(other.getThrowableUncaught()); } result = result && (hasSameThrowable() == other.hasSameThrowable()); if (hasSameThrowable()) { result = result && (getSameThrowable() == other.getSameThrowable()); } result = result && (hasInvokeId() == other.hasInvokeId()); if (hasInvokeId()) { result = result && getInvokeId() .equals(other.getInvokeId()); } result = result && (hasTraceId() == other.hasTraceId()); if (hasTraceId()) { result = result && getTraceId() .equals(other.getTraceId()); } result = result && (hasLinkId() == other.hasLinkId()); if (hasLinkId()) { result = result && getLinkId() .equals(other.getLinkId()); } result = result && (hasThrowableMessage() == other.hasThrowableMessage()); if (hasThrowableMessage()) { result = result && getThrowableMessage() .equals(other.getThrowableMessage()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPid()) { hash = (37 * hash) + PID_FIELD_NUMBER; hash = (53 * hash) + getPid().hashCode(); } if (hasExecutionId()) { hash = (37 * hash) + EXECUTIONID_FIELD_NUMBER; hash = (53 * hash) + getExecutionId().hashCode(); } if (hasStartMillis()) { hash = (37 * hash) + STARTMILLIS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartMillis()); } if (hasEndMillis()) { hash = (37 * hash) + ENDMILLIS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndMillis()); } if (hasCostNano()) { hash = (37 * hash) + COSTNANO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCostNano()); } if (hasClassName()) { hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); } if (hasMethodName()) { hash = (37 * hash) + METHODNAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); } if (hasMethodDesc()) { hash = (37 * hash) + METHODDESC_FIELD_NUMBER; hash = (53 * hash) + getMethodDesc().hashCode(); } if (hasArgs()) { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgs().hashCode(); } if (hasResult()) { hash = (37 * hash) + RESULT_FIELD_NUMBER; hash = (53 * hash) + getResult().hashCode(); } if (hasThrowableCaught()) { hash = (37 * hash) + THROWABLECAUGHT_FIELD_NUMBER; hash = (53 * hash) + getThrowableCaught().hashCode(); } if (hasThrowableUncaught()) { hash = (37 * hash) + THROWABLEUNCAUGHT_FIELD_NUMBER; hash = (53 * hash) + getThrowableUncaught().hashCode(); } if (hasSameThrowable()) { hash = (37 * hash) + SAMETHROWABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSameThrowable()); } if (hasInvokeId()) { hash = (37 * hash) + INVOKEID_FIELD_NUMBER; hash = (53 * hash) + getInvokeId().hashCode(); } if (hasTraceId()) { hash = (37 * hash) + TRACEID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); } if (hasLinkId()) { hash = (37 * hash) + LINKID_FIELD_NUMBER; hash = (53 * hash) + getLinkId().hashCode(); } if (hasThrowableMessage()) { hash = (37 * hash) + THROWABLEMESSAGE_FIELD_NUMBER; hash = (53 * hash) + getThrowableMessage().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); pid_ = ""; bitField0_ = (bitField0_ & ~0x00000001); executionId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); startMillis_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); endMillis_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); costNano_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); className_ = ""; bitField0_ = (bitField0_ & ~0x00000020); methodName_ = ""; bitField0_ = (bitField0_ & ~0x00000040); methodDesc_ = ""; bitField0_ = (bitField0_ & ~0x00000080); args_ = ""; bitField0_ = (bitField0_ & ~0x00000100); result_ = ""; bitField0_ = (bitField0_ & ~0x00000200); throwableCaught_ = ""; bitField0_ = (bitField0_ & ~0x00000400); throwableUncaught_ = ""; bitField0_ = (bitField0_ & ~0x00000800); sameThrowable_ = false; bitField0_ = (bitField0_ & ~0x00001000); invokeId_ = ""; bitField0_ = (bitField0_ & ~0x00002000); traceId_ = ""; bitField0_ = (bitField0_ & ~0x00004000); linkId_ = ""; bitField0_ = (bitField0_ & ~0x00008000); throwableMessage_ = ""; bitField0_ = (bitField0_ & ~0x00010000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.pid_ = pid_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.executionId_ = executionId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.startMillis_ = startMillis_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.endMillis_ = endMillis_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.costNano_ = costNano_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.className_ = className_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.methodName_ = methodName_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.methodDesc_ = methodDesc_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.args_ = args_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.result_ = result_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.throwableCaught_ = throwableCaught_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.throwableUncaught_ = throwableUncaught_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.sameThrowable_ = sameThrowable_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.invokeId_ = invokeId_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.traceId_ = traceId_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.linkId_ = linkId_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.throwableMessage_ = throwableMessage_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime.getDefaultInstance()) return this; if (other.hasPid()) { bitField0_ |= 0x00000001; pid_ = other.pid_; onChanged(); } if (other.hasExecutionId()) { bitField0_ |= 0x00000002; executionId_ = other.executionId_; onChanged(); } if (other.hasStartMillis()) { setStartMillis(other.getStartMillis()); } if (other.hasEndMillis()) { setEndMillis(other.getEndMillis()); } if (other.hasCostNano()) { setCostNano(other.getCostNano()); } if (other.hasClassName()) { bitField0_ |= 0x00000020; className_ = other.className_; onChanged(); } if (other.hasMethodName()) { bitField0_ |= 0x00000040; methodName_ = other.methodName_; onChanged(); } if (other.hasMethodDesc()) { bitField0_ |= 0x00000080; methodDesc_ = other.methodDesc_; onChanged(); } if (other.hasArgs()) { bitField0_ |= 0x00000100; args_ = other.args_; onChanged(); } if (other.hasResult()) { bitField0_ |= 0x00000200; result_ = other.result_; onChanged(); } if (other.hasThrowableCaught()) { bitField0_ |= 0x00000400; throwableCaught_ = other.throwableCaught_; onChanged(); } if (other.hasThrowableUncaught()) { bitField0_ |= 0x00000800; throwableUncaught_ = other.throwableUncaught_; onChanged(); } if (other.hasSameThrowable()) { setSameThrowable(other.getSameThrowable()); } if (other.hasInvokeId()) { bitField0_ |= 0x00002000; invokeId_ = other.invokeId_; onChanged(); } if (other.hasTraceId()) { bitField0_ |= 0x00004000; traceId_ = other.traceId_; onChanged(); } if (other.hasLinkId()) { bitField0_ |= 0x00008000; linkId_ = other.linkId_; onChanged(); } if (other.hasThrowableMessage()) { bitField0_ |= 0x00010000; throwableMessage_ = other.throwableMessage_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasPid()) { return false; } if (!hasExecutionId()) { return false; } if (!hasStartMillis()) { return false; } if (!hasEndMillis()) { return false; } if (!hasCostNano()) { return false; } if (!hasClassName()) { return false; } if (!hasMethodName()) { return false; } if (!hasMethodDesc()) { return false; } if (!hasArgs()) { return false; } if (!hasResult()) { return false; } if (!hasSameThrowable()) { return false; } if (!hasInvokeId()) { return false; } if (!hasTraceId()) { return false; } if (!hasLinkId()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object pid_ = ""; /** * required string pid = 1; */ public boolean hasPid() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string pid = 1; */ public java.lang.String getPid() { java.lang.Object ref = pid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { pid_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string pid = 1; */ public com.google.protobuf.ByteString getPidBytes() { java.lang.Object ref = pid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); pid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string pid = 1; */ public Builder setPid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pid_ = value; onChanged(); return this; } /** * required string pid = 1; */ public Builder clearPid() { bitField0_ = (bitField0_ & ~0x00000001); pid_ = getDefaultInstance().getPid(); onChanged(); return this; } /** * required string pid = 1; */ public Builder setPidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; pid_ = value; onChanged(); return this; } private java.lang.Object executionId_ = ""; /** * required string executionId = 2; */ public boolean hasExecutionId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string executionId = 2; */ public java.lang.String getExecutionId() { java.lang.Object ref = executionId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { executionId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string executionId = 2; */ public com.google.protobuf.ByteString getExecutionIdBytes() { java.lang.Object ref = executionId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executionId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string executionId = 2; */ public Builder setExecutionId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; executionId_ = value; onChanged(); return this; } /** * required string executionId = 2; */ public Builder clearExecutionId() { bitField0_ = (bitField0_ & ~0x00000002); executionId_ = getDefaultInstance().getExecutionId(); onChanged(); return this; } /** * required string executionId = 2; */ public Builder setExecutionIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; executionId_ = value; onChanged(); return this; } private long startMillis_ ; /** * required uint64 startMillis = 3; */ public boolean hasStartMillis() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 startMillis = 3; */ public long getStartMillis() { return startMillis_; } /** * required uint64 startMillis = 3; */ public Builder setStartMillis(long value) { bitField0_ |= 0x00000004; startMillis_ = value; onChanged(); return this; } /** * required uint64 startMillis = 3; */ public Builder clearStartMillis() { bitField0_ = (bitField0_ & ~0x00000004); startMillis_ = 0L; onChanged(); return this; } private long endMillis_ ; /** * required uint64 endMillis = 4; */ public boolean hasEndMillis() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 endMillis = 4; */ public long getEndMillis() { return endMillis_; } /** * required uint64 endMillis = 4; */ public Builder setEndMillis(long value) { bitField0_ |= 0x00000008; endMillis_ = value; onChanged(); return this; } /** * required uint64 endMillis = 4; */ public Builder clearEndMillis() { bitField0_ = (bitField0_ & ~0x00000008); endMillis_ = 0L; onChanged(); return this; } private long costNano_ ; /** * required uint64 costNano = 5; */ public boolean hasCostNano() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint64 costNano = 5; */ public long getCostNano() { return costNano_; } /** * required uint64 costNano = 5; */ public Builder setCostNano(long value) { bitField0_ |= 0x00000010; costNano_ = value; onChanged(); return this; } /** * required uint64 costNano = 5; */ public Builder clearCostNano() { bitField0_ = (bitField0_ & ~0x00000010); costNano_ = 0L; onChanged(); return this; } private java.lang.Object className_ = ""; /** * required string className = 6; */ public boolean hasClassName() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required string className = 6; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { className_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string className = 6; */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string className = 6; */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; className_ = value; onChanged(); return this; } /** * required string className = 6; */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000020); className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * required string className = 6; */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; className_ = value; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * required string methodName = 7; */ public boolean hasMethodName() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required string methodName = 7; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { methodName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string methodName = 7; */ public com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string methodName = 7; */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; methodName_ = value; onChanged(); return this; } /** * required string methodName = 7; */ public Builder clearMethodName() { bitField0_ = (bitField0_ & ~0x00000040); methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * required string methodName = 7; */ public Builder setMethodNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; methodName_ = value; onChanged(); return this; } private java.lang.Object methodDesc_ = ""; /** * required string methodDesc = 8; */ public boolean hasMethodDesc() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required string methodDesc = 8; */ public java.lang.String getMethodDesc() { java.lang.Object ref = methodDesc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { methodDesc_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string methodDesc = 8; */ public com.google.protobuf.ByteString getMethodDescBytes() { java.lang.Object ref = methodDesc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodDesc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string methodDesc = 8; */ public Builder setMethodDesc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; methodDesc_ = value; onChanged(); return this; } /** * required string methodDesc = 8; */ public Builder clearMethodDesc() { bitField0_ = (bitField0_ & ~0x00000080); methodDesc_ = getDefaultInstance().getMethodDesc(); onChanged(); return this; } /** * required string methodDesc = 8; */ public Builder setMethodDescBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; methodDesc_ = value; onChanged(); return this; } private java.lang.Object args_ = ""; /** * required string args = 9; */ public boolean hasArgs() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required string args = 9; */ public java.lang.String getArgs() { java.lang.Object ref = args_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { args_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string args = 9; */ public com.google.protobuf.ByteString getArgsBytes() { java.lang.Object ref = args_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); args_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string args = 9; */ public Builder setArgs( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; args_ = value; onChanged(); return this; } /** * required string args = 9; */ public Builder clearArgs() { bitField0_ = (bitField0_ & ~0x00000100); args_ = getDefaultInstance().getArgs(); onChanged(); return this; } /** * required string args = 9; */ public Builder setArgsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; args_ = value; onChanged(); return this; } private java.lang.Object result_ = ""; /** * required string result = 10; */ public boolean hasResult() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required string result = 10; */ public java.lang.String getResult() { java.lang.Object ref = result_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { result_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string result = 10; */ public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); result_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string result = 10; */ public Builder setResult( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; result_ = value; onChanged(); return this; } /** * required string result = 10; */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000200); result_ = getDefaultInstance().getResult(); onChanged(); return this; } /** * required string result = 10; */ public Builder setResultBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000200; result_ = value; onChanged(); return this; } private java.lang.Object throwableCaught_ = ""; /** * optional string throwableCaught = 11; */ public boolean hasThrowableCaught() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional string throwableCaught = 11; */ public java.lang.String getThrowableCaught() { java.lang.Object ref = throwableCaught_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableCaught_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string throwableCaught = 11; */ public com.google.protobuf.ByteString getThrowableCaughtBytes() { java.lang.Object ref = throwableCaught_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableCaught_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string throwableCaught = 11; */ public Builder setThrowableCaught( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; throwableCaught_ = value; onChanged(); return this; } /** * optional string throwableCaught = 11; */ public Builder clearThrowableCaught() { bitField0_ = (bitField0_ & ~0x00000400); throwableCaught_ = getDefaultInstance().getThrowableCaught(); onChanged(); return this; } /** * optional string throwableCaught = 11; */ public Builder setThrowableCaughtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000400; throwableCaught_ = value; onChanged(); return this; } private java.lang.Object throwableUncaught_ = ""; /** * optional string throwableUncaught = 12; */ public boolean hasThrowableUncaught() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * optional string throwableUncaught = 12; */ public java.lang.String getThrowableUncaught() { java.lang.Object ref = throwableUncaught_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableUncaught_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string throwableUncaught = 12; */ public com.google.protobuf.ByteString getThrowableUncaughtBytes() { java.lang.Object ref = throwableUncaught_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableUncaught_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string throwableUncaught = 12; */ public Builder setThrowableUncaught( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; throwableUncaught_ = value; onChanged(); return this; } /** * optional string throwableUncaught = 12; */ public Builder clearThrowableUncaught() { bitField0_ = (bitField0_ & ~0x00000800); throwableUncaught_ = getDefaultInstance().getThrowableUncaught(); onChanged(); return this; } /** * optional string throwableUncaught = 12; */ public Builder setThrowableUncaughtBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000800; throwableUncaught_ = value; onChanged(); return this; } private boolean sameThrowable_ ; /** * required bool sameThrowable = 13; */ public boolean hasSameThrowable() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required bool sameThrowable = 13; */ public boolean getSameThrowable() { return sameThrowable_; } /** * required bool sameThrowable = 13; */ public Builder setSameThrowable(boolean value) { bitField0_ |= 0x00001000; sameThrowable_ = value; onChanged(); return this; } /** * required bool sameThrowable = 13; */ public Builder clearSameThrowable() { bitField0_ = (bitField0_ & ~0x00001000); sameThrowable_ = false; onChanged(); return this; } private java.lang.Object invokeId_ = ""; /** * required string invokeId = 14; */ public boolean hasInvokeId() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required string invokeId = 14; */ public java.lang.String getInvokeId() { java.lang.Object ref = invokeId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { invokeId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string invokeId = 14; */ public com.google.protobuf.ByteString getInvokeIdBytes() { java.lang.Object ref = invokeId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invokeId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string invokeId = 14; */ public Builder setInvokeId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; invokeId_ = value; onChanged(); return this; } /** * required string invokeId = 14; */ public Builder clearInvokeId() { bitField0_ = (bitField0_ & ~0x00002000); invokeId_ = getDefaultInstance().getInvokeId(); onChanged(); return this; } /** * required string invokeId = 14; */ public Builder setInvokeIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00002000; invokeId_ = value; onChanged(); return this; } private java.lang.Object traceId_ = ""; /** * required string traceId = 15; */ public boolean hasTraceId() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required string traceId = 15; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { traceId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string traceId = 15; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string traceId = 15; */ public Builder setTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; traceId_ = value; onChanged(); return this; } /** * required string traceId = 15; */ public Builder clearTraceId() { bitField0_ = (bitField0_ & ~0x00004000); traceId_ = getDefaultInstance().getTraceId(); onChanged(); return this; } /** * required string traceId = 15; */ public Builder setTraceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00004000; traceId_ = value; onChanged(); return this; } private java.lang.Object linkId_ = ""; /** * required string linkId = 16; */ public boolean hasLinkId() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * required string linkId = 16; */ public java.lang.String getLinkId() { java.lang.Object ref = linkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { linkId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string linkId = 16; */ public com.google.protobuf.ByteString getLinkIdBytes() { java.lang.Object ref = linkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string linkId = 16; */ public Builder setLinkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; linkId_ = value; onChanged(); return this; } /** * required string linkId = 16; */ public Builder clearLinkId() { bitField0_ = (bitField0_ & ~0x00008000); linkId_ = getDefaultInstance().getLinkId(); onChanged(); return this; } /** * required string linkId = 16; */ public Builder setLinkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00008000; linkId_ = value; onChanged(); return this; } private java.lang.Object throwableMessage_ = ""; /** * optional string throwableMessage = 17; */ public boolean hasThrowableMessage() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * optional string throwableMessage = 17; */ public java.lang.String getThrowableMessage() { java.lang.Object ref = throwableMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { throwableMessage_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string throwableMessage = 17; */ public com.google.protobuf.ByteString getThrowableMessageBytes() { java.lang.Object ref = throwableMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); throwableMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string throwableMessage = 17; */ public Builder setThrowableMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; throwableMessage_ = value; onChanged(); return this; } /** * optional string throwableMessage = 17; */ public Builder clearThrowableMessage() { bitField0_ = (bitField0_ & ~0x00010000); throwableMessage_ = getDefaultInstance().getThrowableMessage(); onChanged(); return this; } /** * optional string throwableMessage = 17; */ public Builder setThrowableMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00010000; throwableMessage_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMethodRuntime) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatMethodRuntime parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatMethodRuntime(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMethodRuntime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatFileSystemUsageOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage) com.google.protobuf.MessageOrBuilder { /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ java.util.List getUsageList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getUsage(int index); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ int getUsageCount(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ java.util.List getUsageOrBuilderList(); /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder getUsageOrBuilder( int index); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage} */ public static final class BlackcatFileSystemUsage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage) BlackcatFileSystemUsageOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatFileSystemUsage.newBuilder() to construct. private BlackcatFileSystemUsage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatFileSystemUsage() { usage_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatFileSystemUsage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { usage_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } usage_.add( input.readMessage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.PARSER, extensionRegistry)); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { usage_ = java.util.Collections.unmodifiableList(usage_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder.class); } public interface UsageOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage) com.google.protobuf.MessageOrBuilder { /** * required string devName = 1; */ boolean hasDevName(); /** * required string devName = 1; */ java.lang.String getDevName(); /** * required string devName = 1; */ com.google.protobuf.ByteString getDevNameBytes(); /** * required string dirName = 2; */ boolean hasDirName(); /** * required string dirName = 2; */ java.lang.String getDirName(); /** * required string dirName = 2; */ com.google.protobuf.ByteString getDirNameBytes(); /** * required uint64 diskReads = 3; */ boolean hasDiskReads(); /** * required uint64 diskReads = 3; */ long getDiskReads(); /** * required uint64 diskWrites = 4; */ boolean hasDiskWrites(); /** * required uint64 diskWrites = 4; */ long getDiskWrites(); /** * required uint64 diskReadBytes = 5; */ boolean hasDiskReadBytes(); /** * required uint64 diskReadBytes = 5; */ long getDiskReadBytes(); /** * required uint64 diskWriteBytes = 6; */ boolean hasDiskWriteBytes(); /** * required uint64 diskWriteBytes = 6; */ long getDiskWriteBytes(); /** * required double diskQueue = 7; */ boolean hasDiskQueue(); /** * required double diskQueue = 7; */ double getDiskQueue(); /** * required double diskServiceTime = 8; */ boolean hasDiskServiceTime(); /** * required double diskServiceTime = 8; */ double getDiskServiceTime(); /** * required uint64 avail = 9; */ boolean hasAvail(); /** * required uint64 avail = 9; */ long getAvail(); /** * required uint64 used = 10; */ boolean hasUsed(); /** * required uint64 used = 10; */ long getUsed(); /** * required uint64 total = 11; */ boolean hasTotal(); /** * required uint64 total = 11; */ long getTotal(); /** * required double usePercent = 12; */ boolean hasUsePercent(); /** * required double usePercent = 12; */ double getUsePercent(); /** * required uint64 free = 13; */ boolean hasFree(); /** * required uint64 free = 13; */ long getFree(); /** * required uint64 freeFiles = 14; */ boolean hasFreeFiles(); /** * required uint64 freeFiles = 14; */ long getFreeFiles(); /** * required uint64 files = 15; */ boolean hasFiles(); /** * required uint64 files = 15; */ long getFiles(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage} */ public static final class Usage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage) UsageOrBuilder { private static final long serialVersionUID = 0L; // Use Usage.newBuilder() to construct. private Usage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Usage() { devName_ = ""; dirName_ = ""; diskReads_ = 0L; diskWrites_ = 0L; diskReadBytes_ = 0L; diskWriteBytes_ = 0L; diskQueue_ = 0D; diskServiceTime_ = 0D; avail_ = 0L; used_ = 0L; total_ = 0L; usePercent_ = 0D; free_ = 0L; freeFiles_ = 0L; files_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Usage( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; devName_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; dirName_ = bs; break; } case 24: { bitField0_ |= 0x00000004; diskReads_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; diskWrites_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; diskReadBytes_ = input.readUInt64(); break; } case 48: { bitField0_ |= 0x00000020; diskWriteBytes_ = input.readUInt64(); break; } case 57: { bitField0_ |= 0x00000040; diskQueue_ = input.readDouble(); break; } case 65: { bitField0_ |= 0x00000080; diskServiceTime_ = input.readDouble(); break; } case 72: { bitField0_ |= 0x00000100; avail_ = input.readUInt64(); break; } case 80: { bitField0_ |= 0x00000200; used_ = input.readUInt64(); break; } case 88: { bitField0_ |= 0x00000400; total_ = input.readUInt64(); break; } case 97: { bitField0_ |= 0x00000800; usePercent_ = input.readDouble(); break; } case 104: { bitField0_ |= 0x00001000; free_ = input.readUInt64(); break; } case 112: { bitField0_ |= 0x00002000; freeFiles_ = input.readUInt64(); break; } case 120: { bitField0_ |= 0x00004000; files_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder.class); } private int bitField0_; public static final int DEVNAME_FIELD_NUMBER = 1; private volatile java.lang.Object devName_; /** * required string devName = 1; */ public boolean hasDevName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string devName = 1; */ public java.lang.String getDevName() { java.lang.Object ref = devName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { devName_ = s; } return s; } } /** * required string devName = 1; */ public com.google.protobuf.ByteString getDevNameBytes() { java.lang.Object ref = devName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); devName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DIRNAME_FIELD_NUMBER = 2; private volatile java.lang.Object dirName_; /** * required string dirName = 2; */ public boolean hasDirName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string dirName = 2; */ public java.lang.String getDirName() { java.lang.Object ref = dirName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { dirName_ = s; } return s; } } /** * required string dirName = 2; */ public com.google.protobuf.ByteString getDirNameBytes() { java.lang.Object ref = dirName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dirName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISKREADS_FIELD_NUMBER = 3; private long diskReads_; /** * required uint64 diskReads = 3; */ public boolean hasDiskReads() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 diskReads = 3; */ public long getDiskReads() { return diskReads_; } public static final int DISKWRITES_FIELD_NUMBER = 4; private long diskWrites_; /** * required uint64 diskWrites = 4; */ public boolean hasDiskWrites() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 diskWrites = 4; */ public long getDiskWrites() { return diskWrites_; } public static final int DISKREADBYTES_FIELD_NUMBER = 5; private long diskReadBytes_; /** * required uint64 diskReadBytes = 5; */ public boolean hasDiskReadBytes() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint64 diskReadBytes = 5; */ public long getDiskReadBytes() { return diskReadBytes_; } public static final int DISKWRITEBYTES_FIELD_NUMBER = 6; private long diskWriteBytes_; /** * required uint64 diskWriteBytes = 6; */ public boolean hasDiskWriteBytes() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required uint64 diskWriteBytes = 6; */ public long getDiskWriteBytes() { return diskWriteBytes_; } public static final int DISKQUEUE_FIELD_NUMBER = 7; private double diskQueue_; /** * required double diskQueue = 7; */ public boolean hasDiskQueue() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required double diskQueue = 7; */ public double getDiskQueue() { return diskQueue_; } public static final int DISKSERVICETIME_FIELD_NUMBER = 8; private double diskServiceTime_; /** * required double diskServiceTime = 8; */ public boolean hasDiskServiceTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required double diskServiceTime = 8; */ public double getDiskServiceTime() { return diskServiceTime_; } public static final int AVAIL_FIELD_NUMBER = 9; private long avail_; /** * required uint64 avail = 9; */ public boolean hasAvail() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required uint64 avail = 9; */ public long getAvail() { return avail_; } public static final int USED_FIELD_NUMBER = 10; private long used_; /** * required uint64 used = 10; */ public boolean hasUsed() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required uint64 used = 10; */ public long getUsed() { return used_; } public static final int TOTAL_FIELD_NUMBER = 11; private long total_; /** * required uint64 total = 11; */ public boolean hasTotal() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * required uint64 total = 11; */ public long getTotal() { return total_; } public static final int USEPERCENT_FIELD_NUMBER = 12; private double usePercent_; /** * required double usePercent = 12; */ public boolean hasUsePercent() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * required double usePercent = 12; */ public double getUsePercent() { return usePercent_; } public static final int FREE_FIELD_NUMBER = 13; private long free_; /** * required uint64 free = 13; */ public boolean hasFree() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required uint64 free = 13; */ public long getFree() { return free_; } public static final int FREEFILES_FIELD_NUMBER = 14; private long freeFiles_; /** * required uint64 freeFiles = 14; */ public boolean hasFreeFiles() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required uint64 freeFiles = 14; */ public long getFreeFiles() { return freeFiles_; } public static final int FILES_FIELD_NUMBER = 15; private long files_; /** * required uint64 files = 15; */ public boolean hasFiles() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required uint64 files = 15; */ public long getFiles() { return files_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasDevName()) { memoizedIsInitialized = 0; return false; } if (!hasDirName()) { memoizedIsInitialized = 0; return false; } if (!hasDiskReads()) { memoizedIsInitialized = 0; return false; } if (!hasDiskWrites()) { memoizedIsInitialized = 0; return false; } if (!hasDiskReadBytes()) { memoizedIsInitialized = 0; return false; } if (!hasDiskWriteBytes()) { memoizedIsInitialized = 0; return false; } if (!hasDiskQueue()) { memoizedIsInitialized = 0; return false; } if (!hasDiskServiceTime()) { memoizedIsInitialized = 0; return false; } if (!hasAvail()) { memoizedIsInitialized = 0; return false; } if (!hasUsed()) { memoizedIsInitialized = 0; return false; } if (!hasTotal()) { memoizedIsInitialized = 0; return false; } if (!hasUsePercent()) { memoizedIsInitialized = 0; return false; } if (!hasFree()) { memoizedIsInitialized = 0; return false; } if (!hasFreeFiles()) { memoizedIsInitialized = 0; return false; } if (!hasFiles()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, devName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dirName_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, diskReads_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, diskWrites_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt64(5, diskReadBytes_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt64(6, diskWriteBytes_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeDouble(7, diskQueue_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeDouble(8, diskServiceTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeUInt64(9, avail_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeUInt64(10, used_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeUInt64(11, total_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeDouble(12, usePercent_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeUInt64(13, free_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeUInt64(14, freeFiles_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeUInt64(15, files_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, devName_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dirName_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, diskReads_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(4, diskWrites_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(5, diskReadBytes_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, diskWriteBytes_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, diskQueue_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, diskServiceTime_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, avail_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(10, used_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(11, total_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, usePercent_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(13, free_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(14, freeFiles_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(15, files_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage) obj; boolean result = true; result = result && (hasDevName() == other.hasDevName()); if (hasDevName()) { result = result && getDevName() .equals(other.getDevName()); } result = result && (hasDirName() == other.hasDirName()); if (hasDirName()) { result = result && getDirName() .equals(other.getDirName()); } result = result && (hasDiskReads() == other.hasDiskReads()); if (hasDiskReads()) { result = result && (getDiskReads() == other.getDiskReads()); } result = result && (hasDiskWrites() == other.hasDiskWrites()); if (hasDiskWrites()) { result = result && (getDiskWrites() == other.getDiskWrites()); } result = result && (hasDiskReadBytes() == other.hasDiskReadBytes()); if (hasDiskReadBytes()) { result = result && (getDiskReadBytes() == other.getDiskReadBytes()); } result = result && (hasDiskWriteBytes() == other.hasDiskWriteBytes()); if (hasDiskWriteBytes()) { result = result && (getDiskWriteBytes() == other.getDiskWriteBytes()); } result = result && (hasDiskQueue() == other.hasDiskQueue()); if (hasDiskQueue()) { result = result && ( java.lang.Double.doubleToLongBits(getDiskQueue()) == java.lang.Double.doubleToLongBits( other.getDiskQueue())); } result = result && (hasDiskServiceTime() == other.hasDiskServiceTime()); if (hasDiskServiceTime()) { result = result && ( java.lang.Double.doubleToLongBits(getDiskServiceTime()) == java.lang.Double.doubleToLongBits( other.getDiskServiceTime())); } result = result && (hasAvail() == other.hasAvail()); if (hasAvail()) { result = result && (getAvail() == other.getAvail()); } result = result && (hasUsed() == other.hasUsed()); if (hasUsed()) { result = result && (getUsed() == other.getUsed()); } result = result && (hasTotal() == other.hasTotal()); if (hasTotal()) { result = result && (getTotal() == other.getTotal()); } result = result && (hasUsePercent() == other.hasUsePercent()); if (hasUsePercent()) { result = result && ( java.lang.Double.doubleToLongBits(getUsePercent()) == java.lang.Double.doubleToLongBits( other.getUsePercent())); } result = result && (hasFree() == other.hasFree()); if (hasFree()) { result = result && (getFree() == other.getFree()); } result = result && (hasFreeFiles() == other.hasFreeFiles()); if (hasFreeFiles()) { result = result && (getFreeFiles() == other.getFreeFiles()); } result = result && (hasFiles() == other.hasFiles()); if (hasFiles()) { result = result && (getFiles() == other.getFiles()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDevName()) { hash = (37 * hash) + DEVNAME_FIELD_NUMBER; hash = (53 * hash) + getDevName().hashCode(); } if (hasDirName()) { hash = (37 * hash) + DIRNAME_FIELD_NUMBER; hash = (53 * hash) + getDirName().hashCode(); } if (hasDiskReads()) { hash = (37 * hash) + DISKREADS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDiskReads()); } if (hasDiskWrites()) { hash = (37 * hash) + DISKWRITES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDiskWrites()); } if (hasDiskReadBytes()) { hash = (37 * hash) + DISKREADBYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDiskReadBytes()); } if (hasDiskWriteBytes()) { hash = (37 * hash) + DISKWRITEBYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getDiskWriteBytes()); } if (hasDiskQueue()) { hash = (37 * hash) + DISKQUEUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDiskQueue())); } if (hasDiskServiceTime()) { hash = (37 * hash) + DISKSERVICETIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDiskServiceTime())); } if (hasAvail()) { hash = (37 * hash) + AVAIL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAvail()); } if (hasUsed()) { hash = (37 * hash) + USED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUsed()); } if (hasTotal()) { hash = (37 * hash) + TOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotal()); } if (hasUsePercent()) { hash = (37 * hash) + USEPERCENT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getUsePercent())); } if (hasFree()) { hash = (37 * hash) + FREE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFree()); } if (hasFreeFiles()) { hash = (37 * hash) + FREEFILES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFreeFiles()); } if (hasFiles()) { hash = (37 * hash) + FILES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFiles()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); devName_ = ""; bitField0_ = (bitField0_ & ~0x00000001); dirName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); diskReads_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); diskWrites_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); diskReadBytes_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); diskWriteBytes_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); diskQueue_ = 0D; bitField0_ = (bitField0_ & ~0x00000040); diskServiceTime_ = 0D; bitField0_ = (bitField0_ & ~0x00000080); avail_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); used_ = 0L; bitField0_ = (bitField0_ & ~0x00000200); total_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); usePercent_ = 0D; bitField0_ = (bitField0_ & ~0x00000800); free_ = 0L; bitField0_ = (bitField0_ & ~0x00001000); freeFiles_ = 0L; bitField0_ = (bitField0_ & ~0x00002000); files_ = 0L; bitField0_ = (bitField0_ & ~0x00004000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.devName_ = devName_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.dirName_ = dirName_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.diskReads_ = diskReads_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.diskWrites_ = diskWrites_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.diskReadBytes_ = diskReadBytes_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.diskWriteBytes_ = diskWriteBytes_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.diskQueue_ = diskQueue_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.diskServiceTime_ = diskServiceTime_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.avail_ = avail_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.used_ = used_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.total_ = total_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.usePercent_ = usePercent_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.free_ = free_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.freeFiles_ = freeFiles_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.files_ = files_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.getDefaultInstance()) return this; if (other.hasDevName()) { bitField0_ |= 0x00000001; devName_ = other.devName_; onChanged(); } if (other.hasDirName()) { bitField0_ |= 0x00000002; dirName_ = other.dirName_; onChanged(); } if (other.hasDiskReads()) { setDiskReads(other.getDiskReads()); } if (other.hasDiskWrites()) { setDiskWrites(other.getDiskWrites()); } if (other.hasDiskReadBytes()) { setDiskReadBytes(other.getDiskReadBytes()); } if (other.hasDiskWriteBytes()) { setDiskWriteBytes(other.getDiskWriteBytes()); } if (other.hasDiskQueue()) { setDiskQueue(other.getDiskQueue()); } if (other.hasDiskServiceTime()) { setDiskServiceTime(other.getDiskServiceTime()); } if (other.hasAvail()) { setAvail(other.getAvail()); } if (other.hasUsed()) { setUsed(other.getUsed()); } if (other.hasTotal()) { setTotal(other.getTotal()); } if (other.hasUsePercent()) { setUsePercent(other.getUsePercent()); } if (other.hasFree()) { setFree(other.getFree()); } if (other.hasFreeFiles()) { setFreeFiles(other.getFreeFiles()); } if (other.hasFiles()) { setFiles(other.getFiles()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasDevName()) { return false; } if (!hasDirName()) { return false; } if (!hasDiskReads()) { return false; } if (!hasDiskWrites()) { return false; } if (!hasDiskReadBytes()) { return false; } if (!hasDiskWriteBytes()) { return false; } if (!hasDiskQueue()) { return false; } if (!hasDiskServiceTime()) { return false; } if (!hasAvail()) { return false; } if (!hasUsed()) { return false; } if (!hasTotal()) { return false; } if (!hasUsePercent()) { return false; } if (!hasFree()) { return false; } if (!hasFreeFiles()) { return false; } if (!hasFiles()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object devName_ = ""; /** * required string devName = 1; */ public boolean hasDevName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string devName = 1; */ public java.lang.String getDevName() { java.lang.Object ref = devName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { devName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string devName = 1; */ public com.google.protobuf.ByteString getDevNameBytes() { java.lang.Object ref = devName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); devName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string devName = 1; */ public Builder setDevName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; devName_ = value; onChanged(); return this; } /** * required string devName = 1; */ public Builder clearDevName() { bitField0_ = (bitField0_ & ~0x00000001); devName_ = getDefaultInstance().getDevName(); onChanged(); return this; } /** * required string devName = 1; */ public Builder setDevNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; devName_ = value; onChanged(); return this; } private java.lang.Object dirName_ = ""; /** * required string dirName = 2; */ public boolean hasDirName() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string dirName = 2; */ public java.lang.String getDirName() { java.lang.Object ref = dirName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { dirName_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string dirName = 2; */ public com.google.protobuf.ByteString getDirNameBytes() { java.lang.Object ref = dirName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dirName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string dirName = 2; */ public Builder setDirName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; dirName_ = value; onChanged(); return this; } /** * required string dirName = 2; */ public Builder clearDirName() { bitField0_ = (bitField0_ & ~0x00000002); dirName_ = getDefaultInstance().getDirName(); onChanged(); return this; } /** * required string dirName = 2; */ public Builder setDirNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; dirName_ = value; onChanged(); return this; } private long diskReads_ ; /** * required uint64 diskReads = 3; */ public boolean hasDiskReads() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint64 diskReads = 3; */ public long getDiskReads() { return diskReads_; } /** * required uint64 diskReads = 3; */ public Builder setDiskReads(long value) { bitField0_ |= 0x00000004; diskReads_ = value; onChanged(); return this; } /** * required uint64 diskReads = 3; */ public Builder clearDiskReads() { bitField0_ = (bitField0_ & ~0x00000004); diskReads_ = 0L; onChanged(); return this; } private long diskWrites_ ; /** * required uint64 diskWrites = 4; */ public boolean hasDiskWrites() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint64 diskWrites = 4; */ public long getDiskWrites() { return diskWrites_; } /** * required uint64 diskWrites = 4; */ public Builder setDiskWrites(long value) { bitField0_ |= 0x00000008; diskWrites_ = value; onChanged(); return this; } /** * required uint64 diskWrites = 4; */ public Builder clearDiskWrites() { bitField0_ = (bitField0_ & ~0x00000008); diskWrites_ = 0L; onChanged(); return this; } private long diskReadBytes_ ; /** * required uint64 diskReadBytes = 5; */ public boolean hasDiskReadBytes() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint64 diskReadBytes = 5; */ public long getDiskReadBytes() { return diskReadBytes_; } /** * required uint64 diskReadBytes = 5; */ public Builder setDiskReadBytes(long value) { bitField0_ |= 0x00000010; diskReadBytes_ = value; onChanged(); return this; } /** * required uint64 diskReadBytes = 5; */ public Builder clearDiskReadBytes() { bitField0_ = (bitField0_ & ~0x00000010); diskReadBytes_ = 0L; onChanged(); return this; } private long diskWriteBytes_ ; /** * required uint64 diskWriteBytes = 6; */ public boolean hasDiskWriteBytes() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required uint64 diskWriteBytes = 6; */ public long getDiskWriteBytes() { return diskWriteBytes_; } /** * required uint64 diskWriteBytes = 6; */ public Builder setDiskWriteBytes(long value) { bitField0_ |= 0x00000020; diskWriteBytes_ = value; onChanged(); return this; } /** * required uint64 diskWriteBytes = 6; */ public Builder clearDiskWriteBytes() { bitField0_ = (bitField0_ & ~0x00000020); diskWriteBytes_ = 0L; onChanged(); return this; } private double diskQueue_ ; /** * required double diskQueue = 7; */ public boolean hasDiskQueue() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required double diskQueue = 7; */ public double getDiskQueue() { return diskQueue_; } /** * required double diskQueue = 7; */ public Builder setDiskQueue(double value) { bitField0_ |= 0x00000040; diskQueue_ = value; onChanged(); return this; } /** * required double diskQueue = 7; */ public Builder clearDiskQueue() { bitField0_ = (bitField0_ & ~0x00000040); diskQueue_ = 0D; onChanged(); return this; } private double diskServiceTime_ ; /** * required double diskServiceTime = 8; */ public boolean hasDiskServiceTime() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required double diskServiceTime = 8; */ public double getDiskServiceTime() { return diskServiceTime_; } /** * required double diskServiceTime = 8; */ public Builder setDiskServiceTime(double value) { bitField0_ |= 0x00000080; diskServiceTime_ = value; onChanged(); return this; } /** * required double diskServiceTime = 8; */ public Builder clearDiskServiceTime() { bitField0_ = (bitField0_ & ~0x00000080); diskServiceTime_ = 0D; onChanged(); return this; } private long avail_ ; /** * required uint64 avail = 9; */ public boolean hasAvail() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required uint64 avail = 9; */ public long getAvail() { return avail_; } /** * required uint64 avail = 9; */ public Builder setAvail(long value) { bitField0_ |= 0x00000100; avail_ = value; onChanged(); return this; } /** * required uint64 avail = 9; */ public Builder clearAvail() { bitField0_ = (bitField0_ & ~0x00000100); avail_ = 0L; onChanged(); return this; } private long used_ ; /** * required uint64 used = 10; */ public boolean hasUsed() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required uint64 used = 10; */ public long getUsed() { return used_; } /** * required uint64 used = 10; */ public Builder setUsed(long value) { bitField0_ |= 0x00000200; used_ = value; onChanged(); return this; } /** * required uint64 used = 10; */ public Builder clearUsed() { bitField0_ = (bitField0_ & ~0x00000200); used_ = 0L; onChanged(); return this; } private long total_ ; /** * required uint64 total = 11; */ public boolean hasTotal() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * required uint64 total = 11; */ public long getTotal() { return total_; } /** * required uint64 total = 11; */ public Builder setTotal(long value) { bitField0_ |= 0x00000400; total_ = value; onChanged(); return this; } /** * required uint64 total = 11; */ public Builder clearTotal() { bitField0_ = (bitField0_ & ~0x00000400); total_ = 0L; onChanged(); return this; } private double usePercent_ ; /** * required double usePercent = 12; */ public boolean hasUsePercent() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * required double usePercent = 12; */ public double getUsePercent() { return usePercent_; } /** * required double usePercent = 12; */ public Builder setUsePercent(double value) { bitField0_ |= 0x00000800; usePercent_ = value; onChanged(); return this; } /** * required double usePercent = 12; */ public Builder clearUsePercent() { bitField0_ = (bitField0_ & ~0x00000800); usePercent_ = 0D; onChanged(); return this; } private long free_ ; /** * required uint64 free = 13; */ public boolean hasFree() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required uint64 free = 13; */ public long getFree() { return free_; } /** * required uint64 free = 13; */ public Builder setFree(long value) { bitField0_ |= 0x00001000; free_ = value; onChanged(); return this; } /** * required uint64 free = 13; */ public Builder clearFree() { bitField0_ = (bitField0_ & ~0x00001000); free_ = 0L; onChanged(); return this; } private long freeFiles_ ; /** * required uint64 freeFiles = 14; */ public boolean hasFreeFiles() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required uint64 freeFiles = 14; */ public long getFreeFiles() { return freeFiles_; } /** * required uint64 freeFiles = 14; */ public Builder setFreeFiles(long value) { bitField0_ |= 0x00002000; freeFiles_ = value; onChanged(); return this; } /** * required uint64 freeFiles = 14; */ public Builder clearFreeFiles() { bitField0_ = (bitField0_ & ~0x00002000); freeFiles_ = 0L; onChanged(); return this; } private long files_ ; /** * required uint64 files = 15; */ public boolean hasFiles() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required uint64 files = 15; */ public long getFiles() { return files_; } /** * required uint64 files = 15; */ public Builder setFiles(long value) { bitField0_ |= 0x00004000; files_ = value; onChanged(); return this; } /** * required uint64 files = 15; */ public Builder clearFiles() { bitField0_ = (bitField0_ & ~0x00004000); files_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public Usage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Usage(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int USAGE_FIELD_NUMBER = 1; private java.util.List usage_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public java.util.List getUsageList() { return usage_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public java.util.List getUsageOrBuilderList() { return usage_; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public int getUsageCount() { return usage_.size(); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getUsage(int index) { return usage_.get(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder getUsageOrBuilder( int index) { return usage_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getUsageCount(); i++) { if (!getUsage(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < usage_.size(); i++) { output.writeMessage(1, usage_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < usage_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, usage_.get(i)); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage) obj; boolean result = true; result = result && getUsageList() .equals(other.getUsageList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUsageCount() > 0) { hash = (37 * hash) + USAGE_FIELD_NUMBER; hash = (53 * hash) + getUsageList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUsageFieldBuilder(); } } public Builder clear() { super.clear(); if (usageBuilder_ == null) { usage_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { usageBuilder_.clear(); } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage(this); int from_bitField0_ = bitField0_; if (usageBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { usage_ = java.util.Collections.unmodifiableList(usage_); bitField0_ = (bitField0_ & ~0x00000001); } result.usage_ = usage_; } else { result.usage_ = usageBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.getDefaultInstance()) return this; if (usageBuilder_ == null) { if (!other.usage_.isEmpty()) { if (usage_.isEmpty()) { usage_ = other.usage_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUsageIsMutable(); usage_.addAll(other.usage_); } onChanged(); } } else { if (!other.usage_.isEmpty()) { if (usageBuilder_.isEmpty()) { usageBuilder_.dispose(); usageBuilder_ = null; usage_ = other.usage_; bitField0_ = (bitField0_ & ~0x00000001); usageBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUsageFieldBuilder() : null; } else { usageBuilder_.addAllMessages(other.usage_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getUsageCount(); i++) { if (!getUsage(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List usage_ = java.util.Collections.emptyList(); private void ensureUsageIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { usage_ = new java.util.ArrayList(usage_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder> usageBuilder_; /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public java.util.List getUsageList() { if (usageBuilder_ == null) { return java.util.Collections.unmodifiableList(usage_); } else { return usageBuilder_.getMessageList(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public int getUsageCount() { if (usageBuilder_ == null) { return usage_.size(); } else { return usageBuilder_.getCount(); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage getUsage(int index) { if (usageBuilder_ == null) { return usage_.get(index); } else { return usageBuilder_.getMessage(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder setUsage( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.set(index, value); onChanged(); } else { usageBuilder_.setMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder setUsage( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.set(index, builderForValue.build()); onChanged(); } else { usageBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder addUsage(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.add(value); onChanged(); } else { usageBuilder_.addMessage(value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder addUsage( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage value) { if (usageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUsageIsMutable(); usage_.add(index, value); onChanged(); } else { usageBuilder_.addMessage(index, value); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder addUsage( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.add(builderForValue.build()); onChanged(); } else { usageBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder addUsage( int index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder builderForValue) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.add(index, builderForValue.build()); onChanged(); } else { usageBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder addAllUsage( java.lang.Iterable values) { if (usageBuilder_ == null) { ensureUsageIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, usage_); onChanged(); } else { usageBuilder_.addAllMessages(values); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder clearUsage() { if (usageBuilder_ == null) { usage_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { usageBuilder_.clear(); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public Builder removeUsage(int index) { if (usageBuilder_ == null) { ensureUsageIsMutable(); usage_.remove(index); onChanged(); } else { usageBuilder_.remove(index); } return this; } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder getUsageBuilder( int index) { return getUsageFieldBuilder().getBuilder(index); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder getUsageOrBuilder( int index) { if (usageBuilder_ == null) { return usage_.get(index); } else { return usageBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public java.util.List getUsageOrBuilderList() { if (usageBuilder_ != null) { return usageBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(usage_); } } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder addUsageBuilder() { return getUsageFieldBuilder().addBuilder( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder addUsageBuilder( int index) { return getUsageFieldBuilder().addBuilder( index, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.getDefaultInstance()); } /** * repeated .com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage.Usage usage = 1; */ public java.util.List getUsageBuilderList() { return getUsageFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder> getUsageFieldBuilder() { if (usageBuilder_ == null) { usageBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.Usage.Builder, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage.UsageOrBuilder>( usage_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); usage_ = null; } return usageBuilder_; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatFileSystemUsage) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatFileSystemUsage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatFileSystemUsage(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatFileSystemUsage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatNetStatOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat) com.google.protobuf.MessageOrBuilder { /** * required uint32 tcpInboundTotal = 1; */ boolean hasTcpInboundTotal(); /** * required uint32 tcpInboundTotal = 1; */ int getTcpInboundTotal(); /** * required uint32 tcpOutboundTotal = 2; */ boolean hasTcpOutboundTotal(); /** * required uint32 tcpOutboundTotal = 2; */ int getTcpOutboundTotal(); /** * required uint32 allInboundTotal = 3; */ boolean hasAllInboundTotal(); /** * required uint32 allInboundTotal = 3; */ int getAllInboundTotal(); /** * required uint32 allOutboundTotal = 4; */ boolean hasAllOutboundTotal(); /** * required uint32 allOutboundTotal = 4; */ int getAllOutboundTotal(); /** * required uint32 tcpEstablished = 5; */ boolean hasTcpEstablished(); /** * required uint32 tcpEstablished = 5; */ int getTcpEstablished(); /** * required uint32 tcpSynSent = 6; */ boolean hasTcpSynSent(); /** * required uint32 tcpSynSent = 6; */ int getTcpSynSent(); /** * required uint32 tcpSynRecv = 7; */ boolean hasTcpSynRecv(); /** * required uint32 tcpSynRecv = 7; */ int getTcpSynRecv(); /** * required uint32 tcpFinWait1 = 8; */ boolean hasTcpFinWait1(); /** * required uint32 tcpFinWait1 = 8; */ int getTcpFinWait1(); /** * required uint32 tcpFinWait2 = 9; */ boolean hasTcpFinWait2(); /** * required uint32 tcpFinWait2 = 9; */ int getTcpFinWait2(); /** * required uint32 tcpTimeWait = 10; */ boolean hasTcpTimeWait(); /** * required uint32 tcpTimeWait = 10; */ int getTcpTimeWait(); /** * required uint32 tcpClose = 11; */ boolean hasTcpClose(); /** * required uint32 tcpClose = 11; */ int getTcpClose(); /** * required uint32 tcpCloseWait = 12; */ boolean hasTcpCloseWait(); /** * required uint32 tcpCloseWait = 12; */ int getTcpCloseWait(); /** * required uint32 tcpLastAck = 13; */ boolean hasTcpLastAck(); /** * required uint32 tcpLastAck = 13; */ int getTcpLastAck(); /** * required uint32 tcpListen = 14; */ boolean hasTcpListen(); /** * required uint32 tcpListen = 14; */ int getTcpListen(); /** * required uint32 tcpClosing = 15; */ boolean hasTcpClosing(); /** * required uint32 tcpClosing = 15; */ int getTcpClosing(); /** * required uint32 tcpIdle = 16; */ boolean hasTcpIdle(); /** * required uint32 tcpIdle = 16; */ int getTcpIdle(); /** * required uint32 tcpBound = 17; */ boolean hasTcpBound(); /** * required uint32 tcpBound = 17; */ int getTcpBound(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat} */ public static final class BlackcatNetStat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat) BlackcatNetStatOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatNetStat.newBuilder() to construct. private BlackcatNetStat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatNetStat() { tcpInboundTotal_ = 0; tcpOutboundTotal_ = 0; allInboundTotal_ = 0; allOutboundTotal_ = 0; tcpEstablished_ = 0; tcpSynSent_ = 0; tcpSynRecv_ = 0; tcpFinWait1_ = 0; tcpFinWait2_ = 0; tcpTimeWait_ = 0; tcpClose_ = 0; tcpCloseWait_ = 0; tcpLastAck_ = 0; tcpListen_ = 0; tcpClosing_ = 0; tcpIdle_ = 0; tcpBound_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatNetStat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; tcpInboundTotal_ = input.readUInt32(); break; } case 16: { bitField0_ |= 0x00000002; tcpOutboundTotal_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; allInboundTotal_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; allOutboundTotal_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000010; tcpEstablished_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000020; tcpSynSent_ = input.readUInt32(); break; } case 56: { bitField0_ |= 0x00000040; tcpSynRecv_ = input.readUInt32(); break; } case 64: { bitField0_ |= 0x00000080; tcpFinWait1_ = input.readUInt32(); break; } case 72: { bitField0_ |= 0x00000100; tcpFinWait2_ = input.readUInt32(); break; } case 80: { bitField0_ |= 0x00000200; tcpTimeWait_ = input.readUInt32(); break; } case 88: { bitField0_ |= 0x00000400; tcpClose_ = input.readUInt32(); break; } case 96: { bitField0_ |= 0x00000800; tcpCloseWait_ = input.readUInt32(); break; } case 104: { bitField0_ |= 0x00001000; tcpLastAck_ = input.readUInt32(); break; } case 112: { bitField0_ |= 0x00002000; tcpListen_ = input.readUInt32(); break; } case 120: { bitField0_ |= 0x00004000; tcpClosing_ = input.readUInt32(); break; } case 128: { bitField0_ |= 0x00008000; tcpIdle_ = input.readUInt32(); break; } case 136: { bitField0_ |= 0x00010000; tcpBound_ = input.readUInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder.class); } private int bitField0_; public static final int TCPINBOUNDTOTAL_FIELD_NUMBER = 1; private int tcpInboundTotal_; /** * required uint32 tcpInboundTotal = 1; */ public boolean hasTcpInboundTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 tcpInboundTotal = 1; */ public int getTcpInboundTotal() { return tcpInboundTotal_; } public static final int TCPOUTBOUNDTOTAL_FIELD_NUMBER = 2; private int tcpOutboundTotal_; /** * required uint32 tcpOutboundTotal = 2; */ public boolean hasTcpOutboundTotal() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 tcpOutboundTotal = 2; */ public int getTcpOutboundTotal() { return tcpOutboundTotal_; } public static final int ALLINBOUNDTOTAL_FIELD_NUMBER = 3; private int allInboundTotal_; /** * required uint32 allInboundTotal = 3; */ public boolean hasAllInboundTotal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint32 allInboundTotal = 3; */ public int getAllInboundTotal() { return allInboundTotal_; } public static final int ALLOUTBOUNDTOTAL_FIELD_NUMBER = 4; private int allOutboundTotal_; /** * required uint32 allOutboundTotal = 4; */ public boolean hasAllOutboundTotal() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint32 allOutboundTotal = 4; */ public int getAllOutboundTotal() { return allOutboundTotal_; } public static final int TCPESTABLISHED_FIELD_NUMBER = 5; private int tcpEstablished_; /** * required uint32 tcpEstablished = 5; */ public boolean hasTcpEstablished() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint32 tcpEstablished = 5; */ public int getTcpEstablished() { return tcpEstablished_; } public static final int TCPSYNSENT_FIELD_NUMBER = 6; private int tcpSynSent_; /** * required uint32 tcpSynSent = 6; */ public boolean hasTcpSynSent() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required uint32 tcpSynSent = 6; */ public int getTcpSynSent() { return tcpSynSent_; } public static final int TCPSYNRECV_FIELD_NUMBER = 7; private int tcpSynRecv_; /** * required uint32 tcpSynRecv = 7; */ public boolean hasTcpSynRecv() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required uint32 tcpSynRecv = 7; */ public int getTcpSynRecv() { return tcpSynRecv_; } public static final int TCPFINWAIT1_FIELD_NUMBER = 8; private int tcpFinWait1_; /** * required uint32 tcpFinWait1 = 8; */ public boolean hasTcpFinWait1() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required uint32 tcpFinWait1 = 8; */ public int getTcpFinWait1() { return tcpFinWait1_; } public static final int TCPFINWAIT2_FIELD_NUMBER = 9; private int tcpFinWait2_; /** * required uint32 tcpFinWait2 = 9; */ public boolean hasTcpFinWait2() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required uint32 tcpFinWait2 = 9; */ public int getTcpFinWait2() { return tcpFinWait2_; } public static final int TCPTIMEWAIT_FIELD_NUMBER = 10; private int tcpTimeWait_; /** * required uint32 tcpTimeWait = 10; */ public boolean hasTcpTimeWait() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required uint32 tcpTimeWait = 10; */ public int getTcpTimeWait() { return tcpTimeWait_; } public static final int TCPCLOSE_FIELD_NUMBER = 11; private int tcpClose_; /** * required uint32 tcpClose = 11; */ public boolean hasTcpClose() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * required uint32 tcpClose = 11; */ public int getTcpClose() { return tcpClose_; } public static final int TCPCLOSEWAIT_FIELD_NUMBER = 12; private int tcpCloseWait_; /** * required uint32 tcpCloseWait = 12; */ public boolean hasTcpCloseWait() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * required uint32 tcpCloseWait = 12; */ public int getTcpCloseWait() { return tcpCloseWait_; } public static final int TCPLASTACK_FIELD_NUMBER = 13; private int tcpLastAck_; /** * required uint32 tcpLastAck = 13; */ public boolean hasTcpLastAck() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required uint32 tcpLastAck = 13; */ public int getTcpLastAck() { return tcpLastAck_; } public static final int TCPLISTEN_FIELD_NUMBER = 14; private int tcpListen_; /** * required uint32 tcpListen = 14; */ public boolean hasTcpListen() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required uint32 tcpListen = 14; */ public int getTcpListen() { return tcpListen_; } public static final int TCPCLOSING_FIELD_NUMBER = 15; private int tcpClosing_; /** * required uint32 tcpClosing = 15; */ public boolean hasTcpClosing() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required uint32 tcpClosing = 15; */ public int getTcpClosing() { return tcpClosing_; } public static final int TCPIDLE_FIELD_NUMBER = 16; private int tcpIdle_; /** * required uint32 tcpIdle = 16; */ public boolean hasTcpIdle() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * required uint32 tcpIdle = 16; */ public int getTcpIdle() { return tcpIdle_; } public static final int TCPBOUND_FIELD_NUMBER = 17; private int tcpBound_; /** * required uint32 tcpBound = 17; */ public boolean hasTcpBound() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * required uint32 tcpBound = 17; */ public int getTcpBound() { return tcpBound_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTcpInboundTotal()) { memoizedIsInitialized = 0; return false; } if (!hasTcpOutboundTotal()) { memoizedIsInitialized = 0; return false; } if (!hasAllInboundTotal()) { memoizedIsInitialized = 0; return false; } if (!hasAllOutboundTotal()) { memoizedIsInitialized = 0; return false; } if (!hasTcpEstablished()) { memoizedIsInitialized = 0; return false; } if (!hasTcpSynSent()) { memoizedIsInitialized = 0; return false; } if (!hasTcpSynRecv()) { memoizedIsInitialized = 0; return false; } if (!hasTcpFinWait1()) { memoizedIsInitialized = 0; return false; } if (!hasTcpFinWait2()) { memoizedIsInitialized = 0; return false; } if (!hasTcpTimeWait()) { memoizedIsInitialized = 0; return false; } if (!hasTcpClose()) { memoizedIsInitialized = 0; return false; } if (!hasTcpCloseWait()) { memoizedIsInitialized = 0; return false; } if (!hasTcpLastAck()) { memoizedIsInitialized = 0; return false; } if (!hasTcpListen()) { memoizedIsInitialized = 0; return false; } if (!hasTcpClosing()) { memoizedIsInitialized = 0; return false; } if (!hasTcpIdle()) { memoizedIsInitialized = 0; return false; } if (!hasTcpBound()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, tcpInboundTotal_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, tcpOutboundTotal_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, allInboundTotal_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, allOutboundTotal_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(5, tcpEstablished_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, tcpSynSent_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeUInt32(7, tcpSynRecv_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeUInt32(8, tcpFinWait1_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeUInt32(9, tcpFinWait2_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeUInt32(10, tcpTimeWait_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeUInt32(11, tcpClose_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { output.writeUInt32(12, tcpCloseWait_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeUInt32(13, tcpLastAck_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { output.writeUInt32(14, tcpListen_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { output.writeUInt32(15, tcpClosing_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { output.writeUInt32(16, tcpIdle_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { output.writeUInt32(17, tcpBound_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(1, tcpInboundTotal_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, tcpOutboundTotal_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, allInboundTotal_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, allOutboundTotal_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, tcpEstablished_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(6, tcpSynSent_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(7, tcpSynRecv_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, tcpFinWait1_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(9, tcpFinWait2_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(10, tcpTimeWait_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(11, tcpClose_); } if (((bitField0_ & 0x00000800) == 0x00000800)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(12, tcpCloseWait_); } if (((bitField0_ & 0x00001000) == 0x00001000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(13, tcpLastAck_); } if (((bitField0_ & 0x00002000) == 0x00002000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(14, tcpListen_); } if (((bitField0_ & 0x00004000) == 0x00004000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(15, tcpClosing_); } if (((bitField0_ & 0x00008000) == 0x00008000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(16, tcpIdle_); } if (((bitField0_ & 0x00010000) == 0x00010000)) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(17, tcpBound_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat) obj; boolean result = true; result = result && (hasTcpInboundTotal() == other.hasTcpInboundTotal()); if (hasTcpInboundTotal()) { result = result && (getTcpInboundTotal() == other.getTcpInboundTotal()); } result = result && (hasTcpOutboundTotal() == other.hasTcpOutboundTotal()); if (hasTcpOutboundTotal()) { result = result && (getTcpOutboundTotal() == other.getTcpOutboundTotal()); } result = result && (hasAllInboundTotal() == other.hasAllInboundTotal()); if (hasAllInboundTotal()) { result = result && (getAllInboundTotal() == other.getAllInboundTotal()); } result = result && (hasAllOutboundTotal() == other.hasAllOutboundTotal()); if (hasAllOutboundTotal()) { result = result && (getAllOutboundTotal() == other.getAllOutboundTotal()); } result = result && (hasTcpEstablished() == other.hasTcpEstablished()); if (hasTcpEstablished()) { result = result && (getTcpEstablished() == other.getTcpEstablished()); } result = result && (hasTcpSynSent() == other.hasTcpSynSent()); if (hasTcpSynSent()) { result = result && (getTcpSynSent() == other.getTcpSynSent()); } result = result && (hasTcpSynRecv() == other.hasTcpSynRecv()); if (hasTcpSynRecv()) { result = result && (getTcpSynRecv() == other.getTcpSynRecv()); } result = result && (hasTcpFinWait1() == other.hasTcpFinWait1()); if (hasTcpFinWait1()) { result = result && (getTcpFinWait1() == other.getTcpFinWait1()); } result = result && (hasTcpFinWait2() == other.hasTcpFinWait2()); if (hasTcpFinWait2()) { result = result && (getTcpFinWait2() == other.getTcpFinWait2()); } result = result && (hasTcpTimeWait() == other.hasTcpTimeWait()); if (hasTcpTimeWait()) { result = result && (getTcpTimeWait() == other.getTcpTimeWait()); } result = result && (hasTcpClose() == other.hasTcpClose()); if (hasTcpClose()) { result = result && (getTcpClose() == other.getTcpClose()); } result = result && (hasTcpCloseWait() == other.hasTcpCloseWait()); if (hasTcpCloseWait()) { result = result && (getTcpCloseWait() == other.getTcpCloseWait()); } result = result && (hasTcpLastAck() == other.hasTcpLastAck()); if (hasTcpLastAck()) { result = result && (getTcpLastAck() == other.getTcpLastAck()); } result = result && (hasTcpListen() == other.hasTcpListen()); if (hasTcpListen()) { result = result && (getTcpListen() == other.getTcpListen()); } result = result && (hasTcpClosing() == other.hasTcpClosing()); if (hasTcpClosing()) { result = result && (getTcpClosing() == other.getTcpClosing()); } result = result && (hasTcpIdle() == other.hasTcpIdle()); if (hasTcpIdle()) { result = result && (getTcpIdle() == other.getTcpIdle()); } result = result && (hasTcpBound() == other.hasTcpBound()); if (hasTcpBound()) { result = result && (getTcpBound() == other.getTcpBound()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTcpInboundTotal()) { hash = (37 * hash) + TCPINBOUNDTOTAL_FIELD_NUMBER; hash = (53 * hash) + getTcpInboundTotal(); } if (hasTcpOutboundTotal()) { hash = (37 * hash) + TCPOUTBOUNDTOTAL_FIELD_NUMBER; hash = (53 * hash) + getTcpOutboundTotal(); } if (hasAllInboundTotal()) { hash = (37 * hash) + ALLINBOUNDTOTAL_FIELD_NUMBER; hash = (53 * hash) + getAllInboundTotal(); } if (hasAllOutboundTotal()) { hash = (37 * hash) + ALLOUTBOUNDTOTAL_FIELD_NUMBER; hash = (53 * hash) + getAllOutboundTotal(); } if (hasTcpEstablished()) { hash = (37 * hash) + TCPESTABLISHED_FIELD_NUMBER; hash = (53 * hash) + getTcpEstablished(); } if (hasTcpSynSent()) { hash = (37 * hash) + TCPSYNSENT_FIELD_NUMBER; hash = (53 * hash) + getTcpSynSent(); } if (hasTcpSynRecv()) { hash = (37 * hash) + TCPSYNRECV_FIELD_NUMBER; hash = (53 * hash) + getTcpSynRecv(); } if (hasTcpFinWait1()) { hash = (37 * hash) + TCPFINWAIT1_FIELD_NUMBER; hash = (53 * hash) + getTcpFinWait1(); } if (hasTcpFinWait2()) { hash = (37 * hash) + TCPFINWAIT2_FIELD_NUMBER; hash = (53 * hash) + getTcpFinWait2(); } if (hasTcpTimeWait()) { hash = (37 * hash) + TCPTIMEWAIT_FIELD_NUMBER; hash = (53 * hash) + getTcpTimeWait(); } if (hasTcpClose()) { hash = (37 * hash) + TCPCLOSE_FIELD_NUMBER; hash = (53 * hash) + getTcpClose(); } if (hasTcpCloseWait()) { hash = (37 * hash) + TCPCLOSEWAIT_FIELD_NUMBER; hash = (53 * hash) + getTcpCloseWait(); } if (hasTcpLastAck()) { hash = (37 * hash) + TCPLASTACK_FIELD_NUMBER; hash = (53 * hash) + getTcpLastAck(); } if (hasTcpListen()) { hash = (37 * hash) + TCPLISTEN_FIELD_NUMBER; hash = (53 * hash) + getTcpListen(); } if (hasTcpClosing()) { hash = (37 * hash) + TCPCLOSING_FIELD_NUMBER; hash = (53 * hash) + getTcpClosing(); } if (hasTcpIdle()) { hash = (37 * hash) + TCPIDLE_FIELD_NUMBER; hash = (53 * hash) + getTcpIdle(); } if (hasTcpBound()) { hash = (37 * hash) + TCPBOUND_FIELD_NUMBER; hash = (53 * hash) + getTcpBound(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); tcpInboundTotal_ = 0; bitField0_ = (bitField0_ & ~0x00000001); tcpOutboundTotal_ = 0; bitField0_ = (bitField0_ & ~0x00000002); allInboundTotal_ = 0; bitField0_ = (bitField0_ & ~0x00000004); allOutboundTotal_ = 0; bitField0_ = (bitField0_ & ~0x00000008); tcpEstablished_ = 0; bitField0_ = (bitField0_ & ~0x00000010); tcpSynSent_ = 0; bitField0_ = (bitField0_ & ~0x00000020); tcpSynRecv_ = 0; bitField0_ = (bitField0_ & ~0x00000040); tcpFinWait1_ = 0; bitField0_ = (bitField0_ & ~0x00000080); tcpFinWait2_ = 0; bitField0_ = (bitField0_ & ~0x00000100); tcpTimeWait_ = 0; bitField0_ = (bitField0_ & ~0x00000200); tcpClose_ = 0; bitField0_ = (bitField0_ & ~0x00000400); tcpCloseWait_ = 0; bitField0_ = (bitField0_ & ~0x00000800); tcpLastAck_ = 0; bitField0_ = (bitField0_ & ~0x00001000); tcpListen_ = 0; bitField0_ = (bitField0_ & ~0x00002000); tcpClosing_ = 0; bitField0_ = (bitField0_ & ~0x00004000); tcpIdle_ = 0; bitField0_ = (bitField0_ & ~0x00008000); tcpBound_ = 0; bitField0_ = (bitField0_ & ~0x00010000); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.tcpInboundTotal_ = tcpInboundTotal_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.tcpOutboundTotal_ = tcpOutboundTotal_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.allInboundTotal_ = allInboundTotal_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.allOutboundTotal_ = allOutboundTotal_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.tcpEstablished_ = tcpEstablished_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.tcpSynSent_ = tcpSynSent_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } result.tcpSynRecv_ = tcpSynRecv_; if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } result.tcpFinWait1_ = tcpFinWait1_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } result.tcpFinWait2_ = tcpFinWait2_; if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.tcpTimeWait_ = tcpTimeWait_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.tcpClose_ = tcpClose_; if (((from_bitField0_ & 0x00000800) == 0x00000800)) { to_bitField0_ |= 0x00000800; } result.tcpCloseWait_ = tcpCloseWait_; if (((from_bitField0_ & 0x00001000) == 0x00001000)) { to_bitField0_ |= 0x00001000; } result.tcpLastAck_ = tcpLastAck_; if (((from_bitField0_ & 0x00002000) == 0x00002000)) { to_bitField0_ |= 0x00002000; } result.tcpListen_ = tcpListen_; if (((from_bitField0_ & 0x00004000) == 0x00004000)) { to_bitField0_ |= 0x00004000; } result.tcpClosing_ = tcpClosing_; if (((from_bitField0_ & 0x00008000) == 0x00008000)) { to_bitField0_ |= 0x00008000; } result.tcpIdle_ = tcpIdle_; if (((from_bitField0_ & 0x00010000) == 0x00010000)) { to_bitField0_ |= 0x00010000; } result.tcpBound_ = tcpBound_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat.getDefaultInstance()) return this; if (other.hasTcpInboundTotal()) { setTcpInboundTotal(other.getTcpInboundTotal()); } if (other.hasTcpOutboundTotal()) { setTcpOutboundTotal(other.getTcpOutboundTotal()); } if (other.hasAllInboundTotal()) { setAllInboundTotal(other.getAllInboundTotal()); } if (other.hasAllOutboundTotal()) { setAllOutboundTotal(other.getAllOutboundTotal()); } if (other.hasTcpEstablished()) { setTcpEstablished(other.getTcpEstablished()); } if (other.hasTcpSynSent()) { setTcpSynSent(other.getTcpSynSent()); } if (other.hasTcpSynRecv()) { setTcpSynRecv(other.getTcpSynRecv()); } if (other.hasTcpFinWait1()) { setTcpFinWait1(other.getTcpFinWait1()); } if (other.hasTcpFinWait2()) { setTcpFinWait2(other.getTcpFinWait2()); } if (other.hasTcpTimeWait()) { setTcpTimeWait(other.getTcpTimeWait()); } if (other.hasTcpClose()) { setTcpClose(other.getTcpClose()); } if (other.hasTcpCloseWait()) { setTcpCloseWait(other.getTcpCloseWait()); } if (other.hasTcpLastAck()) { setTcpLastAck(other.getTcpLastAck()); } if (other.hasTcpListen()) { setTcpListen(other.getTcpListen()); } if (other.hasTcpClosing()) { setTcpClosing(other.getTcpClosing()); } if (other.hasTcpIdle()) { setTcpIdle(other.getTcpIdle()); } if (other.hasTcpBound()) { setTcpBound(other.getTcpBound()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTcpInboundTotal()) { return false; } if (!hasTcpOutboundTotal()) { return false; } if (!hasAllInboundTotal()) { return false; } if (!hasAllOutboundTotal()) { return false; } if (!hasTcpEstablished()) { return false; } if (!hasTcpSynSent()) { return false; } if (!hasTcpSynRecv()) { return false; } if (!hasTcpFinWait1()) { return false; } if (!hasTcpFinWait2()) { return false; } if (!hasTcpTimeWait()) { return false; } if (!hasTcpClose()) { return false; } if (!hasTcpCloseWait()) { return false; } if (!hasTcpLastAck()) { return false; } if (!hasTcpListen()) { return false; } if (!hasTcpClosing()) { return false; } if (!hasTcpIdle()) { return false; } if (!hasTcpBound()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int tcpInboundTotal_ ; /** * required uint32 tcpInboundTotal = 1; */ public boolean hasTcpInboundTotal() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 tcpInboundTotal = 1; */ public int getTcpInboundTotal() { return tcpInboundTotal_; } /** * required uint32 tcpInboundTotal = 1; */ public Builder setTcpInboundTotal(int value) { bitField0_ |= 0x00000001; tcpInboundTotal_ = value; onChanged(); return this; } /** * required uint32 tcpInboundTotal = 1; */ public Builder clearTcpInboundTotal() { bitField0_ = (bitField0_ & ~0x00000001); tcpInboundTotal_ = 0; onChanged(); return this; } private int tcpOutboundTotal_ ; /** * required uint32 tcpOutboundTotal = 2; */ public boolean hasTcpOutboundTotal() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint32 tcpOutboundTotal = 2; */ public int getTcpOutboundTotal() { return tcpOutboundTotal_; } /** * required uint32 tcpOutboundTotal = 2; */ public Builder setTcpOutboundTotal(int value) { bitField0_ |= 0x00000002; tcpOutboundTotal_ = value; onChanged(); return this; } /** * required uint32 tcpOutboundTotal = 2; */ public Builder clearTcpOutboundTotal() { bitField0_ = (bitField0_ & ~0x00000002); tcpOutboundTotal_ = 0; onChanged(); return this; } private int allInboundTotal_ ; /** * required uint32 allInboundTotal = 3; */ public boolean hasAllInboundTotal() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required uint32 allInboundTotal = 3; */ public int getAllInboundTotal() { return allInboundTotal_; } /** * required uint32 allInboundTotal = 3; */ public Builder setAllInboundTotal(int value) { bitField0_ |= 0x00000004; allInboundTotal_ = value; onChanged(); return this; } /** * required uint32 allInboundTotal = 3; */ public Builder clearAllInboundTotal() { bitField0_ = (bitField0_ & ~0x00000004); allInboundTotal_ = 0; onChanged(); return this; } private int allOutboundTotal_ ; /** * required uint32 allOutboundTotal = 4; */ public boolean hasAllOutboundTotal() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required uint32 allOutboundTotal = 4; */ public int getAllOutboundTotal() { return allOutboundTotal_; } /** * required uint32 allOutboundTotal = 4; */ public Builder setAllOutboundTotal(int value) { bitField0_ |= 0x00000008; allOutboundTotal_ = value; onChanged(); return this; } /** * required uint32 allOutboundTotal = 4; */ public Builder clearAllOutboundTotal() { bitField0_ = (bitField0_ & ~0x00000008); allOutboundTotal_ = 0; onChanged(); return this; } private int tcpEstablished_ ; /** * required uint32 tcpEstablished = 5; */ public boolean hasTcpEstablished() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * required uint32 tcpEstablished = 5; */ public int getTcpEstablished() { return tcpEstablished_; } /** * required uint32 tcpEstablished = 5; */ public Builder setTcpEstablished(int value) { bitField0_ |= 0x00000010; tcpEstablished_ = value; onChanged(); return this; } /** * required uint32 tcpEstablished = 5; */ public Builder clearTcpEstablished() { bitField0_ = (bitField0_ & ~0x00000010); tcpEstablished_ = 0; onChanged(); return this; } private int tcpSynSent_ ; /** * required uint32 tcpSynSent = 6; */ public boolean hasTcpSynSent() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * required uint32 tcpSynSent = 6; */ public int getTcpSynSent() { return tcpSynSent_; } /** * required uint32 tcpSynSent = 6; */ public Builder setTcpSynSent(int value) { bitField0_ |= 0x00000020; tcpSynSent_ = value; onChanged(); return this; } /** * required uint32 tcpSynSent = 6; */ public Builder clearTcpSynSent() { bitField0_ = (bitField0_ & ~0x00000020); tcpSynSent_ = 0; onChanged(); return this; } private int tcpSynRecv_ ; /** * required uint32 tcpSynRecv = 7; */ public boolean hasTcpSynRecv() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * required uint32 tcpSynRecv = 7; */ public int getTcpSynRecv() { return tcpSynRecv_; } /** * required uint32 tcpSynRecv = 7; */ public Builder setTcpSynRecv(int value) { bitField0_ |= 0x00000040; tcpSynRecv_ = value; onChanged(); return this; } /** * required uint32 tcpSynRecv = 7; */ public Builder clearTcpSynRecv() { bitField0_ = (bitField0_ & ~0x00000040); tcpSynRecv_ = 0; onChanged(); return this; } private int tcpFinWait1_ ; /** * required uint32 tcpFinWait1 = 8; */ public boolean hasTcpFinWait1() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * required uint32 tcpFinWait1 = 8; */ public int getTcpFinWait1() { return tcpFinWait1_; } /** * required uint32 tcpFinWait1 = 8; */ public Builder setTcpFinWait1(int value) { bitField0_ |= 0x00000080; tcpFinWait1_ = value; onChanged(); return this; } /** * required uint32 tcpFinWait1 = 8; */ public Builder clearTcpFinWait1() { bitField0_ = (bitField0_ & ~0x00000080); tcpFinWait1_ = 0; onChanged(); return this; } private int tcpFinWait2_ ; /** * required uint32 tcpFinWait2 = 9; */ public boolean hasTcpFinWait2() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * required uint32 tcpFinWait2 = 9; */ public int getTcpFinWait2() { return tcpFinWait2_; } /** * required uint32 tcpFinWait2 = 9; */ public Builder setTcpFinWait2(int value) { bitField0_ |= 0x00000100; tcpFinWait2_ = value; onChanged(); return this; } /** * required uint32 tcpFinWait2 = 9; */ public Builder clearTcpFinWait2() { bitField0_ = (bitField0_ & ~0x00000100); tcpFinWait2_ = 0; onChanged(); return this; } private int tcpTimeWait_ ; /** * required uint32 tcpTimeWait = 10; */ public boolean hasTcpTimeWait() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * required uint32 tcpTimeWait = 10; */ public int getTcpTimeWait() { return tcpTimeWait_; } /** * required uint32 tcpTimeWait = 10; */ public Builder setTcpTimeWait(int value) { bitField0_ |= 0x00000200; tcpTimeWait_ = value; onChanged(); return this; } /** * required uint32 tcpTimeWait = 10; */ public Builder clearTcpTimeWait() { bitField0_ = (bitField0_ & ~0x00000200); tcpTimeWait_ = 0; onChanged(); return this; } private int tcpClose_ ; /** * required uint32 tcpClose = 11; */ public boolean hasTcpClose() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * required uint32 tcpClose = 11; */ public int getTcpClose() { return tcpClose_; } /** * required uint32 tcpClose = 11; */ public Builder setTcpClose(int value) { bitField0_ |= 0x00000400; tcpClose_ = value; onChanged(); return this; } /** * required uint32 tcpClose = 11; */ public Builder clearTcpClose() { bitField0_ = (bitField0_ & ~0x00000400); tcpClose_ = 0; onChanged(); return this; } private int tcpCloseWait_ ; /** * required uint32 tcpCloseWait = 12; */ public boolean hasTcpCloseWait() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** * required uint32 tcpCloseWait = 12; */ public int getTcpCloseWait() { return tcpCloseWait_; } /** * required uint32 tcpCloseWait = 12; */ public Builder setTcpCloseWait(int value) { bitField0_ |= 0x00000800; tcpCloseWait_ = value; onChanged(); return this; } /** * required uint32 tcpCloseWait = 12; */ public Builder clearTcpCloseWait() { bitField0_ = (bitField0_ & ~0x00000800); tcpCloseWait_ = 0; onChanged(); return this; } private int tcpLastAck_ ; /** * required uint32 tcpLastAck = 13; */ public boolean hasTcpLastAck() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** * required uint32 tcpLastAck = 13; */ public int getTcpLastAck() { return tcpLastAck_; } /** * required uint32 tcpLastAck = 13; */ public Builder setTcpLastAck(int value) { bitField0_ |= 0x00001000; tcpLastAck_ = value; onChanged(); return this; } /** * required uint32 tcpLastAck = 13; */ public Builder clearTcpLastAck() { bitField0_ = (bitField0_ & ~0x00001000); tcpLastAck_ = 0; onChanged(); return this; } private int tcpListen_ ; /** * required uint32 tcpListen = 14; */ public boolean hasTcpListen() { return ((bitField0_ & 0x00002000) == 0x00002000); } /** * required uint32 tcpListen = 14; */ public int getTcpListen() { return tcpListen_; } /** * required uint32 tcpListen = 14; */ public Builder setTcpListen(int value) { bitField0_ |= 0x00002000; tcpListen_ = value; onChanged(); return this; } /** * required uint32 tcpListen = 14; */ public Builder clearTcpListen() { bitField0_ = (bitField0_ & ~0x00002000); tcpListen_ = 0; onChanged(); return this; } private int tcpClosing_ ; /** * required uint32 tcpClosing = 15; */ public boolean hasTcpClosing() { return ((bitField0_ & 0x00004000) == 0x00004000); } /** * required uint32 tcpClosing = 15; */ public int getTcpClosing() { return tcpClosing_; } /** * required uint32 tcpClosing = 15; */ public Builder setTcpClosing(int value) { bitField0_ |= 0x00004000; tcpClosing_ = value; onChanged(); return this; } /** * required uint32 tcpClosing = 15; */ public Builder clearTcpClosing() { bitField0_ = (bitField0_ & ~0x00004000); tcpClosing_ = 0; onChanged(); return this; } private int tcpIdle_ ; /** * required uint32 tcpIdle = 16; */ public boolean hasTcpIdle() { return ((bitField0_ & 0x00008000) == 0x00008000); } /** * required uint32 tcpIdle = 16; */ public int getTcpIdle() { return tcpIdle_; } /** * required uint32 tcpIdle = 16; */ public Builder setTcpIdle(int value) { bitField0_ |= 0x00008000; tcpIdle_ = value; onChanged(); return this; } /** * required uint32 tcpIdle = 16; */ public Builder clearTcpIdle() { bitField0_ = (bitField0_ & ~0x00008000); tcpIdle_ = 0; onChanged(); return this; } private int tcpBound_ ; /** * required uint32 tcpBound = 17; */ public boolean hasTcpBound() { return ((bitField0_ & 0x00010000) == 0x00010000); } /** * required uint32 tcpBound = 17; */ public int getTcpBound() { return tcpBound_; } /** * required uint32 tcpBound = 17; */ public Builder setTcpBound(int value) { bitField0_ |= 0x00010000; tcpBound_ = value; onChanged(); return this; } /** * required uint32 tcpBound = 17; */ public Builder clearTcpBound() { bitField0_ = (bitField0_ & ~0x00010000); tcpBound_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatNetStat) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatNetStat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatNetStat(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatNetStat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatJSONOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON) com.google.protobuf.MessageOrBuilder { /** * required string schema = 1; */ boolean hasSchema(); /** * required string schema = 1; */ java.lang.String getSchema(); /** * required string schema = 1; */ com.google.protobuf.ByteString getSchemaBytes(); /** * required string json = 2; */ boolean hasJson(); /** * required string json = 2; */ java.lang.String getJson(); /** * required string json = 2; */ com.google.protobuf.ByteString getJsonBytes(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON} */ public static final class BlackcatJSON extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON) BlackcatJSONOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatJSON.newBuilder() to construct. private BlackcatJSON(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatJSON() { schema_ = ""; json_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatJSON( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; schema_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; json_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder.class); } private int bitField0_; public static final int SCHEMA_FIELD_NUMBER = 1; private volatile java.lang.Object schema_; /** * required string schema = 1; */ public boolean hasSchema() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string schema = 1; */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { schema_ = s; } return s; } } /** * required string schema = 1; */ public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JSON_FIELD_NUMBER = 2; private volatile java.lang.Object json_; /** * required string json = 2; */ public boolean hasJson() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string json = 2; */ public java.lang.String getJson() { java.lang.Object ref = json_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { json_ = s; } return s; } } /** * required string json = 2; */ public com.google.protobuf.ByteString getJsonBytes() { java.lang.Object ref = json_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); json_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasSchema()) { memoizedIsInitialized = 0; return false; } if (!hasJson()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schema_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, json_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schema_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, json_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON) obj; boolean result = true; result = result && (hasSchema() == other.hasSchema()); if (hasSchema()) { result = result && getSchema() .equals(other.getSchema()); } result = result && (hasJson() == other.hasJson()); if (hasJson()) { result = result && getJson() .equals(other.getJson()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSchema()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); } if (hasJson()) { hash = (37 * hash) + JSON_FIELD_NUMBER; hash = (53 * hash) + getJson().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSONOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); schema_ = ""; bitField0_ = (bitField0_ & ~0x00000001); json_ = ""; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.schema_ = schema_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.json_ = json_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON.getDefaultInstance()) return this; if (other.hasSchema()) { bitField0_ |= 0x00000001; schema_ = other.schema_; onChanged(); } if (other.hasJson()) { bitField0_ |= 0x00000002; json_ = other.json_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasSchema()) { return false; } if (!hasJson()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object schema_ = ""; /** * required string schema = 1; */ public boolean hasSchema() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string schema = 1; */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { schema_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string schema = 1; */ public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string schema = 1; */ public Builder setSchema( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; schema_ = value; onChanged(); return this; } /** * required string schema = 1; */ public Builder clearSchema() { bitField0_ = (bitField0_ & ~0x00000001); schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** * required string schema = 1; */ public Builder setSchemaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; schema_ = value; onChanged(); return this; } private java.lang.Object json_ = ""; /** * required string json = 2; */ public boolean hasJson() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string json = 2; */ public java.lang.String getJson() { java.lang.Object ref = json_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { json_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string json = 2; */ public com.google.protobuf.ByteString getJsonBytes() { java.lang.Object ref = json_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); json_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string json = 2; */ public Builder setJson( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; json_ = value; onChanged(); return this; } /** * required string json = 2; */ public Builder clearJson() { bitField0_ = (bitField0_ & ~0x00000002); json_ = getDefaultInstance().getJson(); onChanged(); return this; } /** * required string json = 2; */ public Builder setJsonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; json_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatJSON) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatJSON parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatJSON(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatJSON getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatTraceOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace) com.google.protobuf.MessageOrBuilder { /** * required string traceId = 1; */ boolean hasTraceId(); /** * required string traceId = 1; */ java.lang.String getTraceId(); /** * required string traceId = 1; */ com.google.protobuf.ByteString getTraceIdBytes(); /** * required string linkId = 2; */ boolean hasLinkId(); /** * required string linkId = 2; */ java.lang.String getLinkId(); /** * required string linkId = 2; */ com.google.protobuf.ByteString getLinkIdBytes(); /** * required string msgType = 3; */ boolean hasMsgType(); /** * required string msgType = 3; */ java.lang.String getMsgType(); /** * required string msgType = 3; */ com.google.protobuf.ByteString getMsgTypeBytes(); /** * required string msg = 4; */ boolean hasMsg(); /** * required string msg = 4; */ java.lang.String getMsg(); /** * required string msg = 4; */ com.google.protobuf.ByteString getMsgBytes(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace} */ public static final class BlackcatTrace extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace) BlackcatTraceOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatTrace.newBuilder() to construct. private BlackcatTrace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatTrace() { traceId_ = ""; linkId_ = ""; msgType_ = ""; msg_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; traceId_ = bs; break; } case 18: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; linkId_ = bs; break; } case 26: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; msgType_ = bs; break; } case 34: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; msg_ = bs; break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder.class); } private int bitField0_; public static final int TRACEID_FIELD_NUMBER = 1; private volatile java.lang.Object traceId_; /** * required string traceId = 1; */ public boolean hasTraceId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string traceId = 1; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { traceId_ = s; } return s; } } /** * required string traceId = 1; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LINKID_FIELD_NUMBER = 2; private volatile java.lang.Object linkId_; /** * required string linkId = 2; */ public boolean hasLinkId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string linkId = 2; */ public java.lang.String getLinkId() { java.lang.Object ref = linkId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { linkId_ = s; } return s; } } /** * required string linkId = 2; */ public com.google.protobuf.ByteString getLinkIdBytes() { java.lang.Object ref = linkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSGTYPE_FIELD_NUMBER = 3; private volatile java.lang.Object msgType_; /** * required string msgType = 3; */ public boolean hasMsgType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string msgType = 3; */ public java.lang.String getMsgType() { java.lang.Object ref = msgType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msgType_ = s; } return s; } } /** * required string msgType = 3; */ public com.google.protobuf.ByteString getMsgTypeBytes() { java.lang.Object ref = msgType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MSG_FIELD_NUMBER = 4; private volatile java.lang.Object msg_; /** * required string msg = 4; */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string msg = 4; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } } /** * required string msg = 4; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasTraceId()) { memoizedIsInitialized = 0; return false; } if (!hasLinkId()) { memoizedIsInitialized = 0; return false; } if (!hasMsgType()) { memoizedIsInitialized = 0; return false; } if (!hasMsg()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, traceId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, linkId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, msgType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, msg_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, traceId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, linkId_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, msgType_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, msg_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace) obj; boolean result = true; result = result && (hasTraceId() == other.hasTraceId()); if (hasTraceId()) { result = result && getTraceId() .equals(other.getTraceId()); } result = result && (hasLinkId() == other.hasLinkId()); if (hasLinkId()) { result = result && getLinkId() .equals(other.getLinkId()); } result = result && (hasMsgType() == other.hasMsgType()); if (hasMsgType()) { result = result && getMsgType() .equals(other.getMsgType()); } result = result && (hasMsg() == other.hasMsg()); if (hasMsg()) { result = result && getMsg() .equals(other.getMsg()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTraceId()) { hash = (37 * hash) + TRACEID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); } if (hasLinkId()) { hash = (37 * hash) + LINKID_FIELD_NUMBER; hash = (53 * hash) + getLinkId().hashCode(); } if (hasMsgType()) { hash = (37 * hash) + MSGTYPE_FIELD_NUMBER; hash = (53 * hash) + getMsgType().hashCode(); } if (hasMsg()) { hash = (37 * hash) + MSG_FIELD_NUMBER; hash = (53 * hash) + getMsg().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTraceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); traceId_ = ""; bitField0_ = (bitField0_ & ~0x00000001); linkId_ = ""; bitField0_ = (bitField0_ & ~0x00000002); msgType_ = ""; bitField0_ = (bitField0_ & ~0x00000004); msg_ = ""; bitField0_ = (bitField0_ & ~0x00000008); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.traceId_ = traceId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.linkId_ = linkId_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.msgType_ = msgType_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.msg_ = msg_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace.getDefaultInstance()) return this; if (other.hasTraceId()) { bitField0_ |= 0x00000001; traceId_ = other.traceId_; onChanged(); } if (other.hasLinkId()) { bitField0_ |= 0x00000002; linkId_ = other.linkId_; onChanged(); } if (other.hasMsgType()) { bitField0_ |= 0x00000004; msgType_ = other.msgType_; onChanged(); } if (other.hasMsg()) { bitField0_ |= 0x00000008; msg_ = other.msg_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasTraceId()) { return false; } if (!hasLinkId()) { return false; } if (!hasMsgType()) { return false; } if (!hasMsg()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object traceId_ = ""; /** * required string traceId = 1; */ public boolean hasTraceId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string traceId = 1; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { traceId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string traceId = 1; */ public com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string traceId = 1; */ public Builder setTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; traceId_ = value; onChanged(); return this; } /** * required string traceId = 1; */ public Builder clearTraceId() { bitField0_ = (bitField0_ & ~0x00000001); traceId_ = getDefaultInstance().getTraceId(); onChanged(); return this; } /** * required string traceId = 1; */ public Builder setTraceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; traceId_ = value; onChanged(); return this; } private java.lang.Object linkId_ = ""; /** * required string linkId = 2; */ public boolean hasLinkId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required string linkId = 2; */ public java.lang.String getLinkId() { java.lang.Object ref = linkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { linkId_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string linkId = 2; */ public com.google.protobuf.ByteString getLinkIdBytes() { java.lang.Object ref = linkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); linkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string linkId = 2; */ public Builder setLinkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; linkId_ = value; onChanged(); return this; } /** * required string linkId = 2; */ public Builder clearLinkId() { bitField0_ = (bitField0_ & ~0x00000002); linkId_ = getDefaultInstance().getLinkId(); onChanged(); return this; } /** * required string linkId = 2; */ public Builder setLinkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; linkId_ = value; onChanged(); return this; } private java.lang.Object msgType_ = ""; /** * required string msgType = 3; */ public boolean hasMsgType() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required string msgType = 3; */ public java.lang.String getMsgType() { java.lang.Object ref = msgType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msgType_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string msgType = 3; */ public com.google.protobuf.ByteString getMsgTypeBytes() { java.lang.Object ref = msgType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msgType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string msgType = 3; */ public Builder setMsgType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msgType_ = value; onChanged(); return this; } /** * required string msgType = 3; */ public Builder clearMsgType() { bitField0_ = (bitField0_ & ~0x00000004); msgType_ = getDefaultInstance().getMsgType(); onChanged(); return this; } /** * required string msgType = 3; */ public Builder setMsgTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; msgType_ = value; onChanged(); return this; } private java.lang.Object msg_ = ""; /** * required string msg = 4; */ public boolean hasMsg() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * required string msg = 4; */ public java.lang.String getMsg() { java.lang.Object ref = msg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { msg_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string msg = 4; */ public com.google.protobuf.ByteString getMsgBytes() { java.lang.Object ref = msg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); msg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * required string msg = 4; */ public Builder setMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } /** * required string msg = 4; */ public Builder clearMsg() { bitField0_ = (bitField0_ & ~0x00000008); msg_ = getDefaultInstance().getMsg(); onChanged(); return this; } /** * required string msg = 4; */ public Builder setMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; msg_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatTrace) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatTrace parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatTrace(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatTrace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BlackcatMetricOrBuilder extends // @@protoc_insertion_point(interface_extends:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric) com.google.protobuf.MessageOrBuilder { /** * required string name = 1; */ boolean hasName(); /** * required string name = 1; */ java.lang.String getName(); /** * required string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * required uint64 value = 2; */ boolean hasValue(); /** * required uint64 value = 2; */ long getValue(); } /** * Protobuf type {@code com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric} */ public static final class BlackcatMetric extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric) BlackcatMetricOrBuilder { private static final long serialVersionUID = 0L; // Use BlackcatMetric.newBuilder() to construct. private BlackcatMetric(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BlackcatMetric() { name_ = ""; value_ = 0L; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BlackcatMetric( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 16: { bitField0_ |= 0x00000002; value_ = input.readUInt64(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string name = 1; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 1; */ 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 VALUE_FIELD_NUMBER = 2; private long value_; /** * required uint64 value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint64 value = 2; */ public long getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(2, value_); } 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric)) { return super.equals(obj); } com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric other = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && (getValue() == other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getValue()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric 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.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } 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 com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric) com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetricOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_fieldAccessorTable .ensureFieldAccessorsInitialized( com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.class, com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.Builder.class); } // Construct using com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getDefaultInstanceForType() { return com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance(); } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric build() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric buildPartial() { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric result = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric) { return mergeFrom((com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric other) { if (other == com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasValue()) { return false; } return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string name = 1; */ 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(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 1; */ 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; } } /** * required string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * required string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 1; */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private long value_ ; /** * required uint64 value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required uint64 value = 2; */ public long getValue() { return value_; } /** * required uint64 value = 2; */ public Builder setValue(long value) { bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * required uint64 value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric) } // @@protoc_insertion_point(class_scope:com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMetric) private static final com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric(); } public static com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BlackcatMetric parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BlackcatMetric(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.github.bingoohuang.blackcat.sdk.protobuf.BlackcatMsg.BlackcatMetric getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\nQsrc/main/resources/com/github/bingoohu" + "ang/blackcat/sdk/protobuf/BlackcatMsg.pr" + "oto\022,com.github.bingoohuang.blackcat.sdk" + ".protobuf\"\241\003\n\017BlackcatReqHead\022V\n\007reqType" + "\030\001 \002(\0162E.com.github.bingoohuang.blackcat" + ".sdk.protobuf.BlackcatReqHead.ReqType\022\020\n" + "\010hostname\030\002 \002(\t\022\021\n\ttimestamp\030\003 \002(\004\"\220\002\n\007R" + "eqType\022\022\n\016BlackcatMemory\020\000\022\026\n\022BlackcatFi" + "leStores\020\001\022\020\n\014BlackcatLoad\020\002\022\023\n\017Blackcat" + "Process\020\003\022\022\n\016BlackcatConfig\020\004\022\031\n\025Blackca", "tMethodRuntime\020\005\022\033\n\027BlackcatFileSystemUs" + "age\020\006\022\023\n\017BlackcatNetStat\020\007\022\020\n\014BlackcatJS" + "ON\020\010\022\021\n\rBlackcatTrace\020\t\022\022\n\016BlackcatMetri" + "c\020\n\022\030\n\024BlackcatLogException\020\013\"\305\010\n\013Blackc" + "atReq\022V\n\017blackcatReqHead\030\001 \002(\0132=.com.git" + "hub.bingoohuang.blackcat.sdk.protobuf.Bl" + "ackcatReqHead\022T\n\016blackcatMemory\030\002 \001(\0132<." + "com.github.bingoohuang.blackcat.sdk.prot" + "obuf.BlackcatMemory\022\\\n\022blackcatFileStore" + "s\030\003 \001(\[email protected]", "t.sdk.protobuf.BlackcatFileStores\022P\n\014bla" + "ckcatLoad\030\004 \001(\0132:.com.github.bingoohuang" + ".blackcat.sdk.protobuf.BlackcatLoad\022V\n\017b" + "lackcatProcess\030\005 \001(\0132=.com.github.bingoo" + "huang.blackcat.sdk.protobuf.BlackcatProc" + "ess\022b\n\025blackcatMethodRuntime\030\006 \001(\0132C.com" + ".github.bingoohuang.blackcat.sdk.protobu" + "f.BlackcatMethodRuntime\022f\n\027blackcatFileS" + "ystemUsage\030\007 \001(\0132E.com.github.bingoohuan" + "g.blackcat.sdk.protobuf.BlackcatFileSyst", "emUsage\022V\n\017blackcatNetStat\030\010 \001(\0132=.com.g" + "ithub.bingoohuang.blackcat.sdk.protobuf." + "BlackcatNetStat\022P\n\014blackcatJSON\030\t \001(\0132:." + "com.github.bingoohuang.blackcat.sdk.prot" + "obuf.BlackcatJSON\022R\n\rblackcatTrace\030\n \001(\013" + "2;.com.github.bingoohuang.blackcat.sdk.p" + "rotobuf.BlackcatTrace\022T\n\016blackcatMetric\030" + "\013 \001(\0132<.com.github.bingoohuang.blackcat." + "sdk.protobuf.BlackcatMetric\022`\n\024blackcatL" + "ogException\030\014 \001(\0132B.com.github.bingoohua", "ng.blackcat.sdk.protobuf.BlackcatLogExce" + "ption\"\237\001\n\017BlackcatRspHead\022V\n\007rspType\030\001 \002" + "(\0162E.com.github.bingoohuang.blackcat.sdk" + ".protobuf.BlackcatRspHead.RspType\"4\n\007Rsp" + "Type\022\021\n\rBlackcatEvent\020\000\022\026\n\022BlackcatWarnC" + "onfig\020\001\"\310\001\n\022BlackcatWarnConfig\022q\n\023blackc" + "atWarnProcess\030\001 \003(\0132T.com.github.bingooh" + "uang.blackcat.sdk.protobuf.BlackcatWarnC" + "onfig.BlackcatWarnProcess\032?\n\023BlackcatWar" + "nProcess\022\023\n\013processName\030\001 \002(\t\022\023\n\013process", "Keys\030\002 \003(\t\"\303\001\n\013BlackcatRsp\022V\n\017blackcatRs" + "pHead\030\001 \002(\0132=.com.github.bingoohuang.bla" + "ckcat.sdk.protobuf.BlackcatRspHead\022\\\n\022bl" + "ackcatWarnConfig\030\002 \001(\[email protected]" + "oohuang.blackcat.sdk.protobuf.BlackcatWa" + "rnConfig\"\202\001\n\024BlackcatLogException\022\016\n\006log" + "ger\030\001 \002(\t\022\r\n\005tcode\030\002 \002(\t\022\013\n\003tid\030\003 \002(\t\022\026\n" + "\016exceptionNames\030\004 \002(\t\022\023\n\013contextLogs\030\005 \002" + "(\t\022\021\n\ttimestamp\030\006 \002(\t\"2\n\016BlackcatMemory\022" + "\r\n\005total\030\001 \002(\004\022\021\n\tavailable\030\002 \002(\004\"\302\001\n\022Bl", "ackcatFileStores\022]\n\tfileStore\030\001 \003(\0132J.co" + "m.github.bingoohuang.blackcat.sdk.protob" + "uf.BlackcatFileStores.FileStore\032M\n\tFileS" + "tore\022\014\n\004name\030\001 \002(\t\022\023\n\013description\030\002 \002(\t\022" + "\r\n\005total\030\003 \002(\004\022\016\n\006usable\030\004 \002(\004\"\366\001\n\014Black" + "catLoad\022\016\n\006cpuNum\030\001 \002(\r\022\021\n\toneMinAvg\030\002 \002" + "(\002\022\023\n\013fiveMinsAvg\030\003 \002(\002\022\026\n\016fifteenMinsAv" + "g\030\004 \002(\002\022Y\n\ntopProcess\030\005 \003(\0132E.com.github" + ".bingoohuang.blackcat.sdk.protobuf.Black" + "catLoad.TopProcess\032;\n\nTopProcess\022\013\n\003pid\030", "\001 \002(\004\022\014\n\004name\030\002 \002(\t\022\022\n\ncpuPercent\030\003 \002(\001\"" + "\264\001\n\017BlackcatProcess\022P\n\004proc\030\001 \003(\0132B.com." + "github.bingoohuang.blackcat.sdk.protobuf" + ".BlackcatProcess.Proc\032O\n\004Proc\022\013\n\003pid\030\001 \002" + "(\004\022\014\n\004args\030\002 \002(\t\022\013\n\003res\030\003 \002(\004\022\021\n\tstartTi" + "me\030\004 \002(\004\022\014\n\004name\030\005 \002(\t\"\344\002\n\025BlackcatMetho" + "dRuntime\022\013\n\003pid\030\001 \002(\t\022\023\n\013executionId\030\002 \002" + "(\t\022\023\n\013startMillis\030\003 \002(\004\022\021\n\tendMillis\030\004 \002" + "(\004\022\020\n\010costNano\030\005 \002(\004\022\021\n\tclassName\030\006 \002(\t\022" + "\022\n\nmethodName\030\007 \002(\t\022\022\n\nmethodDesc\030\010 \002(\t\022", "\014\n\004args\030\t \002(\t\022\016\n\006result\030\n \002(\t\022\027\n\017throwab" + "leCaught\030\013 \001(\t\022\031\n\021throwableUncaught\030\014 \001(" + "\t\022\025\n\rsameThrowable\030\r \002(\010\022\020\n\010invokeId\030\016 \002" + "(\t\022\017\n\007traceId\030\017 \002(\t\022\016\n\006linkId\030\020 \002(\t\022\030\n\020t" + "hrowableMessage\030\021 \001(\t\"\223\003\n\027BlackcatFileSy" + "stemUsage\022Z\n\005usage\030\001 \003(\0132K.com.github.bi" + "ngoohuang.blackcat.sdk.protobuf.Blackcat" + "FileSystemUsage.Usage\032\233\002\n\005Usage\022\017\n\007devNa" + "me\030\001 \002(\t\022\017\n\007dirName\030\002 \002(\t\022\021\n\tdiskReads\030\003" + " \002(\004\022\022\n\ndiskWrites\030\004 \002(\004\022\025\n\rdiskReadByte", "s\030\005 \002(\004\022\026\n\016diskWriteBytes\030\006 \002(\004\022\021\n\tdiskQ" + "ueue\030\007 \002(\001\022\027\n\017diskServiceTime\030\010 \002(\001\022\r\n\005a" + "vail\030\t \002(\004\022\014\n\004used\030\n \002(\004\022\r\n\005total\030\013 \002(\004\022" + "\022\n\nusePercent\030\014 \002(\001\022\014\n\004free\030\r \002(\004\022\021\n\tfre" + "eFiles\030\016 \002(\004\022\r\n\005files\030\017 \002(\004\"\374\002\n\017Blackcat" + "NetStat\022\027\n\017tcpInboundTotal\030\001 \002(\r\022\030\n\020tcpO" + "utboundTotal\030\002 \002(\r\022\027\n\017allInboundTotal\030\003 " + "\002(\r\022\030\n\020allOutboundTotal\030\004 \002(\r\022\026\n\016tcpEsta" + "blished\030\005 \002(\r\022\022\n\ntcpSynSent\030\006 \002(\r\022\022\n\ntcp" + "SynRecv\030\007 \002(\r\022\023\n\013tcpFinWait1\030\010 \002(\r\022\023\n\013tc", "pFinWait2\030\t \002(\r\022\023\n\013tcpTimeWait\030\n \002(\r\022\020\n\010" + "tcpClose\030\013 \002(\r\022\024\n\014tcpCloseWait\030\014 \002(\r\022\022\n\n" + "tcpLastAck\030\r \002(\r\022\021\n\ttcpListen\030\016 \002(\r\022\022\n\nt" + "cpClosing\030\017 \002(\r\022\017\n\007tcpIdle\030\020 \002(\r\022\020\n\010tcpB" + "ound\030\021 \002(\r\",\n\014BlackcatJSON\022\016\n\006schema\030\001 \002" + "(\t\022\014\n\004json\030\002 \002(\t\"N\n\rBlackcatTrace\022\017\n\007tra" + "ceId\030\001 \002(\t\022\016\n\006linkId\030\002 \002(\t\022\017\n\007msgType\030\003 " + "\002(\t\022\013\n\003msg\030\004 \002(\t\"-\n\016BlackcatMetric\022\014\n\004na" + "me\030\001 \002(\t\022\r\n\005value\030\002 \002(\004B;\n,com.github.bi" + "ngoohuang.blackcat.sdk.protobufB\013Blackca", "tMsg" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReqHead_descriptor, new java.lang.String[] { "ReqType", "Hostname", "Timestamp", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatReq_descriptor, new java.lang.String[] { "BlackcatReqHead", "BlackcatMemory", "BlackcatFileStores", "BlackcatLoad", "BlackcatProcess", "BlackcatMethodRuntime", "BlackcatFileSystemUsage", "BlackcatNetStat", "BlackcatJSON", "BlackcatTrace", "BlackcatMetric", "BlackcatLogException", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRspHead_descriptor, new java.lang.String[] { "RspType", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor, new java.lang.String[] { "BlackcatWarnProcess", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor = internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_descriptor.getNestedTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatWarnConfig_BlackcatWarnProcess_descriptor, new java.lang.String[] { "ProcessName", "ProcessKeys", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatRsp_descriptor, new java.lang.String[] { "BlackcatRspHead", "BlackcatWarnConfig", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLogException_descriptor, new java.lang.String[] { "Logger", "Tcode", "Tid", "ExceptionNames", "ContextLogs", "Timestamp", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMemory_descriptor, new java.lang.String[] { "Total", "Available", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor, new java.lang.String[] { "FileStore", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor = internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_descriptor.getNestedTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileStores_FileStore_descriptor, new java.lang.String[] { "Name", "Description", "Total", "Usable", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor, new java.lang.String[] { "CpuNum", "OneMinAvg", "FiveMinsAvg", "FifteenMinsAvg", "TopProcess", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor = internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_descriptor.getNestedTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatLoad_TopProcess_descriptor, new java.lang.String[] { "Pid", "Name", "CpuPercent", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor, new java.lang.String[] { "Proc", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor = internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_descriptor.getNestedTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatProcess_Proc_descriptor, new java.lang.String[] { "Pid", "Args", "Res", "StartTime", "Name", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMethodRuntime_descriptor, new java.lang.String[] { "Pid", "ExecutionId", "StartMillis", "EndMillis", "CostNano", "ClassName", "MethodName", "MethodDesc", "Args", "Result", "ThrowableCaught", "ThrowableUncaught", "SameThrowable", "InvokeId", "TraceId", "LinkId", "ThrowableMessage", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor, new java.lang.String[] { "Usage", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor = internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_descriptor.getNestedTypes().get(0); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatFileSystemUsage_Usage_descriptor, new java.lang.String[] { "DevName", "DirName", "DiskReads", "DiskWrites", "DiskReadBytes", "DiskWriteBytes", "DiskQueue", "DiskServiceTime", "Avail", "Used", "Total", "UsePercent", "Free", "FreeFiles", "Files", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatNetStat_descriptor, new java.lang.String[] { "TcpInboundTotal", "TcpOutboundTotal", "AllInboundTotal", "AllOutboundTotal", "TcpEstablished", "TcpSynSent", "TcpSynRecv", "TcpFinWait1", "TcpFinWait2", "TcpTimeWait", "TcpClose", "TcpCloseWait", "TcpLastAck", "TcpListen", "TcpClosing", "TcpIdle", "TcpBound", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatJSON_descriptor, new java.lang.String[] { "Schema", "Json", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatTrace_descriptor, new java.lang.String[] { "TraceId", "LinkId", "MsgType", "Msg", }); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_github_bingoohuang_blackcat_sdk_protobuf_BlackcatMetric_descriptor, new java.lang.String[] { "Name", "Value", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy