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

org.glowroot.wire.api.model.AgentConfigOuterClass Maven / Gradle / Ivy

There is a newer version: 0.9.24
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: AgentConfig.proto

package org.glowroot.wire.api.model;

public final class AgentConfigOuterClass {
  private AgentConfigOuterClass() {}
  public static void registerAllExtensions(
      org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry registry) {
  }
  public interface AgentConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig)
      org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {

    /**
     * optional string agent_version = 1;
     */
    java.lang.String getAgentVersion();
    /**
     * optional string agent_version = 1;
     */
    org.glowroot.agent.shaded.google.protobuf.ByteString
        getAgentVersionBytes();

    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
     */
    boolean hasTransactionConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getTransactionConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder getTransactionConfigOrBuilder();

    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3;
     */
    boolean hasUiConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getUiConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder getUiConfigOrBuilder();

    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4;
     */
    boolean hasUserRecordingConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getUserRecordingConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder getUserRecordingConfigOrBuilder();

    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
     */
    boolean hasAdvancedConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getAdvancedConfig();
    /**
     * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder getAdvancedConfigOrBuilder();

    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10;
     */
    java.util.List 
        getGaugeConfigList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getGaugeConfig(int index);
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10;
     */
    int getGaugeConfigCount();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10;
     */
    java.util.List 
        getGaugeConfigOrBuilderList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder getGaugeConfigOrBuilder(
        int index);

    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11;
     */
    java.util.List 
        getAlertConfigList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getAlertConfig(int index);
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11;
     */
    int getAlertConfigCount();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11;
     */
    java.util.List 
        getAlertConfigOrBuilderList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder getAlertConfigOrBuilder(
        int index);

    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12;
     */
    java.util.List 
        getPluginConfigList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getPluginConfig(int index);
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12;
     */
    int getPluginConfigCount();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12;
     */
    java.util.List 
        getPluginConfigOrBuilderList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder getPluginConfigOrBuilder(
        int index);

    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13;
     */
    java.util.List 
        getInstrumentationConfigList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getInstrumentationConfig(int index);
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13;
     */
    int getInstrumentationConfigCount();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13;
     */
    java.util.List 
        getInstrumentationConfigOrBuilderList();
    /**
     * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13;
     */
    org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder getInstrumentationConfigOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig}
   */
  public  static final class AgentConfig extends
      org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
      // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig)
      AgentConfigOrBuilder {
    // Use AgentConfig.newBuilder() to construct.
    private AgentConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
    }
    private AgentConfig() {
      agentVersion_ = "";
      gaugeConfig_ = java.util.Collections.emptyList();
      alertConfig_ = java.util.Collections.emptyList();
      pluginConfig_ = java.util.Collections.emptyList();
      instrumentationConfig_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
    }
    private AgentConfig(
        org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
        org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
      this();
      int mutable_bitField0_ = 0;
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!input.skipField(tag)) {
                done = true;
              }
              break;
            }
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              agentVersion_ = s;
              break;
            }
            case 18: {
              org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder subBuilder = null;
              if (transactionConfig_ != null) {
                subBuilder = transactionConfig_.toBuilder();
              }
              transactionConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(transactionConfig_);
                transactionConfig_ = subBuilder.buildPartial();
              }

              break;
            }
            case 26: {
              org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder subBuilder = null;
              if (uiConfig_ != null) {
                subBuilder = uiConfig_.toBuilder();
              }
              uiConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(uiConfig_);
                uiConfig_ = subBuilder.buildPartial();
              }

              break;
            }
            case 34: {
              org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder subBuilder = null;
              if (userRecordingConfig_ != null) {
                subBuilder = userRecordingConfig_.toBuilder();
              }
              userRecordingConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(userRecordingConfig_);
                userRecordingConfig_ = subBuilder.buildPartial();
              }

              break;
            }
            case 42: {
              org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder subBuilder = null;
              if (advancedConfig_ != null) {
                subBuilder = advancedConfig_.toBuilder();
              }
              advancedConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(advancedConfig_);
                advancedConfig_ = subBuilder.buildPartial();
              }

              break;
            }
            case 82: {
              if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
                gaugeConfig_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000020;
              }
              gaugeConfig_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.parser(), extensionRegistry));
              break;
            }
            case 90: {
              if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
                alertConfig_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000040;
              }
              alertConfig_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.parser(), extensionRegistry));
              break;
            }
            case 98: {
              if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
                pluginConfig_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000080;
              }
              pluginConfig_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.parser(), extensionRegistry));
              break;
            }
            case 106: {
              if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
                instrumentationConfig_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000100;
              }
              instrumentationConfig_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.parser(), extensionRegistry));
              break;
            }
          }
        }
      } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
        throw new RuntimeException(e.setUnfinishedMessage(this));
      } catch (java.io.IOException e) {
        throw new RuntimeException(
            new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
                e.getMessage()).setUnfinishedMessage(this));
      } finally {
        if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
          gaugeConfig_ = java.util.Collections.unmodifiableList(gaugeConfig_);
        }
        if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
          alertConfig_ = java.util.Collections.unmodifiableList(alertConfig_);
        }
        if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
          pluginConfig_ = java.util.Collections.unmodifiableList(pluginConfig_);
        }
        if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
          instrumentationConfig_ = java.util.Collections.unmodifiableList(instrumentationConfig_);
        }
        makeExtensionsImmutable();
      }
    }
    public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor;
    }

    protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder.class);
    }

    public interface TransactionConfigOrBuilder extends
        // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.TransactionConfig)
        org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {

      /**
       * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
       *
       * 
       * optional used due to non-zero default value
       * 
*/ boolean hasSlowThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
       * optional used due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getSlowThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
       * optional used due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getSlowThresholdMillisOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ boolean hasProfilingIntervalMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder(); /** * optional bool capture_thread_stats = 3; */ boolean getCaptureThreadStats(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.TransactionConfig} */ public static final class TransactionConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.TransactionConfig) TransactionConfigOrBuilder { // Use TransactionConfig.newBuilder() to construct. private TransactionConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private TransactionConfig() { captureThreadStats_ = false; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private TransactionConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (slowThresholdMillis_ != null) { subBuilder = slowThresholdMillis_.toBuilder(); } slowThresholdMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(slowThresholdMillis_); slowThresholdMillis_ = subBuilder.buildPartial(); } break; } case 18: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (profilingIntervalMillis_ != null) { subBuilder = profilingIntervalMillis_.toBuilder(); } profilingIntervalMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(profilingIntervalMillis_); profilingIntervalMillis_ = subBuilder.buildPartial(); } break; } case 24: { captureThreadStats_ = input.readBool(); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder.class); } public static final int SLOW_THRESHOLD_MILLIS_FIELD_NUMBER = 1; private org.glowroot.wire.api.model.Proto.OptionalInt32 slowThresholdMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
       * optional used due to non-zero default value
       * 
*/ public boolean hasSlowThresholdMillis() { return slowThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
       * optional used due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getSlowThresholdMillis() { return slowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : slowThresholdMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
       * optional used due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getSlowThresholdMillisOrBuilder() { return getSlowThresholdMillis(); } public static final int PROFILING_INTERVAL_MILLIS_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.Proto.OptionalInt32 profilingIntervalMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ public boolean hasProfilingIntervalMillis() { return profilingIntervalMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis() { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * optional used due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder() { return getProfilingIntervalMillis(); } public static final int CAPTURE_THREAD_STATS_FIELD_NUMBER = 3; private boolean captureThreadStats_; /** * optional bool capture_thread_stats = 3; */ public boolean getCaptureThreadStats() { return captureThreadStats_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (slowThresholdMillis_ != null) { output.writeMessage(1, getSlowThresholdMillis()); } if (profilingIntervalMillis_ != null) { output.writeMessage(2, getProfilingIntervalMillis()); } if (captureThreadStats_ != false) { output.writeBool(3, captureThreadStats_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (slowThresholdMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(1, getSlowThresholdMillis()); } if (profilingIntervalMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getProfilingIntervalMillis()); } if (captureThreadStats_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(3, captureThreadStats_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.TransactionConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.TransactionConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (slowThresholdMillisBuilder_ == null) { slowThresholdMillis_ = null; } else { slowThresholdMillis_ = null; slowThresholdMillisBuilder_ = null; } if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = null; } else { profilingIntervalMillis_ = null; profilingIntervalMillisBuilder_ = null; } captureThreadStats_ = false; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig(this); if (slowThresholdMillisBuilder_ == null) { result.slowThresholdMillis_ = slowThresholdMillis_; } else { result.slowThresholdMillis_ = slowThresholdMillisBuilder_.build(); } if (profilingIntervalMillisBuilder_ == null) { result.profilingIntervalMillis_ = profilingIntervalMillis_; } else { result.profilingIntervalMillis_ = profilingIntervalMillisBuilder_.build(); } result.captureThreadStats_ = captureThreadStats_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.getDefaultInstance()) return this; if (other.hasSlowThresholdMillis()) { mergeSlowThresholdMillis(other.getSlowThresholdMillis()); } if (other.hasProfilingIntervalMillis()) { mergeProfilingIntervalMillis(other.getProfilingIntervalMillis()); } if (other.getCaptureThreadStats() != false) { setCaptureThreadStats(other.getCaptureThreadStats()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.glowroot.wire.api.model.Proto.OptionalInt32 slowThresholdMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> slowThresholdMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public boolean hasSlowThresholdMillis() { return slowThresholdMillisBuilder_ != null || slowThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getSlowThresholdMillis() { if (slowThresholdMillisBuilder_ == null) { return slowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : slowThresholdMillis_; } else { return slowThresholdMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public Builder setSlowThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (slowThresholdMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } slowThresholdMillis_ = value; onChanged(); } else { slowThresholdMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public Builder setSlowThresholdMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (slowThresholdMillisBuilder_ == null) { slowThresholdMillis_ = builderForValue.build(); onChanged(); } else { slowThresholdMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public Builder mergeSlowThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (slowThresholdMillisBuilder_ == null) { if (slowThresholdMillis_ != null) { slowThresholdMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(slowThresholdMillis_).mergeFrom(value).buildPartial(); } else { slowThresholdMillis_ = value; } onChanged(); } else { slowThresholdMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public Builder clearSlowThresholdMillis() { if (slowThresholdMillisBuilder_ == null) { slowThresholdMillis_ = null; onChanged(); } else { slowThresholdMillis_ = null; slowThresholdMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getSlowThresholdMillisBuilder() { onChanged(); return getSlowThresholdMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getSlowThresholdMillisOrBuilder() { if (slowThresholdMillisBuilder_ != null) { return slowThresholdMillisBuilder_.getMessageOrBuilder(); } else { return slowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : slowThresholdMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1; * *
         * optional used due to non-zero default value
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getSlowThresholdMillisFieldBuilder() { if (slowThresholdMillisBuilder_ == null) { slowThresholdMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getSlowThresholdMillis(), getParentForChildren(), isClean()); slowThresholdMillis_ = null; } return slowThresholdMillisBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 profilingIntervalMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> profilingIntervalMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public boolean hasProfilingIntervalMillis() { return profilingIntervalMillisBuilder_ != null || profilingIntervalMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis() { if (profilingIntervalMillisBuilder_ == null) { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } else { return profilingIntervalMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public Builder setProfilingIntervalMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (profilingIntervalMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profilingIntervalMillis_ = value; onChanged(); } else { profilingIntervalMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public Builder setProfilingIntervalMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = builderForValue.build(); onChanged(); } else { profilingIntervalMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public Builder mergeProfilingIntervalMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (profilingIntervalMillisBuilder_ == null) { if (profilingIntervalMillis_ != null) { profilingIntervalMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(profilingIntervalMillis_).mergeFrom(value).buildPartial(); } else { profilingIntervalMillis_ = value; } onChanged(); } else { profilingIntervalMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public Builder clearProfilingIntervalMillis() { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = null; onChanged(); } else { profilingIntervalMillis_ = null; profilingIntervalMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getProfilingIntervalMillisBuilder() { onChanged(); return getProfilingIntervalMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder() { if (profilingIntervalMillisBuilder_ != null) { return profilingIntervalMillisBuilder_.getMessageOrBuilder(); } else { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * optional used due to non-zero default value
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getProfilingIntervalMillisFieldBuilder() { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getProfilingIntervalMillis(), getParentForChildren(), isClean()); profilingIntervalMillis_ = null; } return profilingIntervalMillisBuilder_; } private boolean captureThreadStats_ ; /** * optional bool capture_thread_stats = 3; */ public boolean getCaptureThreadStats() { return captureThreadStats_; } /** * optional bool capture_thread_stats = 3; */ public Builder setCaptureThreadStats(boolean value) { captureThreadStats_ = value; onChanged(); return this; } /** * optional bool capture_thread_stats = 3; */ public Builder clearCaptureThreadStats() { captureThreadStats_ = false; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.TransactionConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.TransactionConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public TransactionConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new TransactionConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UiConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.UiConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string default_displayed_transaction_type = 1; */ java.lang.String getDefaultDisplayedTransactionType(); /** * optional string default_displayed_transaction_type = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getDefaultDisplayedTransactionTypeBytes(); /** * repeated double default_displayed_percentile = 2; */ java.util.List getDefaultDisplayedPercentileList(); /** * repeated double default_displayed_percentile = 2; */ int getDefaultDisplayedPercentileCount(); /** * repeated double default_displayed_percentile = 2; */ double getDefaultDisplayedPercentile(int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UiConfig} */ public static final class UiConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.UiConfig) UiConfigOrBuilder { // Use UiConfig.newBuilder() to construct. private UiConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UiConfig() { defaultDisplayedTransactionType_ = ""; defaultDisplayedPercentile_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private UiConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); defaultDisplayedTransactionType_ = s; break; } case 17: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { defaultDisplayedPercentile_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } defaultDisplayedPercentile_.add(input.readDouble()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { defaultDisplayedPercentile_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { defaultDisplayedPercentile_.add(input.readDouble()); } input.popLimit(limit); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { defaultDisplayedPercentile_ = java.util.Collections.unmodifiableList(defaultDisplayedPercentile_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder.class); } private int bitField0_; public static final int DEFAULT_DISPLAYED_TRANSACTION_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object defaultDisplayedTransactionType_; /** * optional string default_displayed_transaction_type = 1; */ public java.lang.String getDefaultDisplayedTransactionType() { java.lang.Object ref = defaultDisplayedTransactionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDisplayedTransactionType_ = s; return s; } } /** * optional string default_displayed_transaction_type = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getDefaultDisplayedTransactionTypeBytes() { java.lang.Object ref = defaultDisplayedTransactionType_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDisplayedTransactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int DEFAULT_DISPLAYED_PERCENTILE_FIELD_NUMBER = 2; private java.util.List defaultDisplayedPercentile_; /** * repeated double default_displayed_percentile = 2; */ public java.util.List getDefaultDisplayedPercentileList() { return defaultDisplayedPercentile_; } /** * repeated double default_displayed_percentile = 2; */ public int getDefaultDisplayedPercentileCount() { return defaultDisplayedPercentile_.size(); } /** * repeated double default_displayed_percentile = 2; */ public double getDefaultDisplayedPercentile(int index) { return defaultDisplayedPercentile_.get(index); } private int defaultDisplayedPercentileMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getDefaultDisplayedTransactionTypeBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, defaultDisplayedTransactionType_); } if (getDefaultDisplayedPercentileList().size() > 0) { output.writeRawVarint32(18); output.writeRawVarint32(defaultDisplayedPercentileMemoizedSerializedSize); } for (int i = 0; i < defaultDisplayedPercentile_.size(); i++) { output.writeDoubleNoTag(defaultDisplayedPercentile_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDefaultDisplayedTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, defaultDisplayedTransactionType_); } { int dataSize = 0; dataSize = 8 * getDefaultDisplayedPercentileList().size(); size += dataSize; if (!getDefaultDisplayedPercentileList().isEmpty()) { size += 1; size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } defaultDisplayedPercentileMemoizedSerializedSize = dataSize; } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UiConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.UiConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); defaultDisplayedTransactionType_ = ""; defaultDisplayedPercentile_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.defaultDisplayedTransactionType_ = defaultDisplayedTransactionType_; if (((bitField0_ & 0x00000002) == 0x00000002)) { defaultDisplayedPercentile_ = java.util.Collections.unmodifiableList(defaultDisplayedPercentile_); bitField0_ = (bitField0_ & ~0x00000002); } result.defaultDisplayedPercentile_ = defaultDisplayedPercentile_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.getDefaultInstance()) return this; if (!other.getDefaultDisplayedTransactionType().isEmpty()) { defaultDisplayedTransactionType_ = other.defaultDisplayedTransactionType_; onChanged(); } if (!other.defaultDisplayedPercentile_.isEmpty()) { if (defaultDisplayedPercentile_.isEmpty()) { defaultDisplayedPercentile_ = other.defaultDisplayedPercentile_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDefaultDisplayedPercentileIsMutable(); defaultDisplayedPercentile_.addAll(other.defaultDisplayedPercentile_); } onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object defaultDisplayedTransactionType_ = ""; /** * optional string default_displayed_transaction_type = 1; */ public java.lang.String getDefaultDisplayedTransactionType() { java.lang.Object ref = defaultDisplayedTransactionType_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultDisplayedTransactionType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string default_displayed_transaction_type = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getDefaultDisplayedTransactionTypeBytes() { java.lang.Object ref = defaultDisplayedTransactionType_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultDisplayedTransactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string default_displayed_transaction_type = 1; */ public Builder setDefaultDisplayedTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultDisplayedTransactionType_ = value; onChanged(); return this; } /** * optional string default_displayed_transaction_type = 1; */ public Builder clearDefaultDisplayedTransactionType() { defaultDisplayedTransactionType_ = getDefaultInstance().getDefaultDisplayedTransactionType(); onChanged(); return this; } /** * optional string default_displayed_transaction_type = 1; */ public Builder setDefaultDisplayedTransactionTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultDisplayedTransactionType_ = value; onChanged(); return this; } private java.util.List defaultDisplayedPercentile_ = java.util.Collections.emptyList(); private void ensureDefaultDisplayedPercentileIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { defaultDisplayedPercentile_ = new java.util.ArrayList(defaultDisplayedPercentile_); bitField0_ |= 0x00000002; } } /** * repeated double default_displayed_percentile = 2; */ public java.util.List getDefaultDisplayedPercentileList() { return java.util.Collections.unmodifiableList(defaultDisplayedPercentile_); } /** * repeated double default_displayed_percentile = 2; */ public int getDefaultDisplayedPercentileCount() { return defaultDisplayedPercentile_.size(); } /** * repeated double default_displayed_percentile = 2; */ public double getDefaultDisplayedPercentile(int index) { return defaultDisplayedPercentile_.get(index); } /** * repeated double default_displayed_percentile = 2; */ public Builder setDefaultDisplayedPercentile( int index, double value) { ensureDefaultDisplayedPercentileIsMutable(); defaultDisplayedPercentile_.set(index, value); onChanged(); return this; } /** * repeated double default_displayed_percentile = 2; */ public Builder addDefaultDisplayedPercentile(double value) { ensureDefaultDisplayedPercentileIsMutable(); defaultDisplayedPercentile_.add(value); onChanged(); return this; } /** * repeated double default_displayed_percentile = 2; */ public Builder addAllDefaultDisplayedPercentile( java.lang.Iterable values) { ensureDefaultDisplayedPercentileIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, defaultDisplayedPercentile_); onChanged(); return this; } /** * repeated double default_displayed_percentile = 2; */ public Builder clearDefaultDisplayedPercentile() { defaultDisplayedPercentile_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.UiConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.UiConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public UiConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new UiConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserRecordingConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * repeated string user = 1; */ org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getUserList(); /** * repeated string user = 1; */ int getUserCount(); /** * repeated string user = 1; */ java.lang.String getUser(int index); /** * repeated string user = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes(int index); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ boolean hasProfilingIntervalMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig} */ public static final class UserRecordingConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig) UserRecordingConfigOrBuilder { // Use UserRecordingConfig.newBuilder() to construct. private UserRecordingConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private UserRecordingConfig() { user_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private UserRecordingConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { user_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } user_.add(s); break; } case 18: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (profilingIntervalMillis_ != null) { subBuilder = profilingIntervalMillis_.toBuilder(); } profilingIntervalMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(profilingIntervalMillis_); profilingIntervalMillis_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { user_ = user_.getUnmodifiableView(); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder.class); } private int bitField0_; public static final int USER_FIELD_NUMBER = 1; private org.glowroot.agent.shaded.google.protobuf.LazyStringList user_; /** * repeated string user = 1; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getUserList() { return user_; } /** * repeated string user = 1; */ public int getUserCount() { return user_.size(); } /** * repeated string user = 1; */ public java.lang.String getUser(int index) { return user_.get(index); } /** * repeated string user = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes(int index) { return user_.getByteString(index); } public static final int PROFILING_INTERVAL_MILLIS_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.Proto.OptionalInt32 profilingIntervalMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ public boolean hasProfilingIntervalMillis() { return profilingIntervalMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis() { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder() { return getProfilingIntervalMillis(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < user_.size(); i++) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, user_.getRaw(i)); } if (profilingIntervalMillis_ != null) { output.writeMessage(2, getProfilingIntervalMillis()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < user_.size(); i++) { dataSize += computeStringSizeNoTag(user_.getRaw(i)); } size += dataSize; size += 1 * getUserList().size(); } if (profilingIntervalMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getProfilingIntervalMillis()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); user_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = null; } else { profilingIntervalMillis_ = null; profilingIntervalMillisBuilder_ = null; } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { user_ = user_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.user_ = user_; if (profilingIntervalMillisBuilder_ == null) { result.profilingIntervalMillis_ = profilingIntervalMillis_; } else { result.profilingIntervalMillis_ = profilingIntervalMillisBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.getDefaultInstance()) return this; if (!other.user_.isEmpty()) { if (user_.isEmpty()) { user_ = other.user_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserIsMutable(); user_.addAll(other.user_); } onChanged(); } if (other.hasProfilingIntervalMillis()) { mergeProfilingIntervalMillis(other.getProfilingIntervalMillis()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.glowroot.agent.shaded.google.protobuf.LazyStringList user_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUserIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { user_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(user_); bitField0_ |= 0x00000001; } } /** * repeated string user = 1; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getUserList() { return user_.getUnmodifiableView(); } /** * repeated string user = 1; */ public int getUserCount() { return user_.size(); } /** * repeated string user = 1; */ public java.lang.String getUser(int index) { return user_.get(index); } /** * repeated string user = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes(int index) { return user_.getByteString(index); } /** * repeated string user = 1; */ public Builder setUser( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureUserIsMutable(); user_.set(index, value); onChanged(); return this; } /** * repeated string user = 1; */ public Builder addUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureUserIsMutable(); user_.add(value); onChanged(); return this; } /** * repeated string user = 1; */ public Builder addAllUser( java.lang.Iterable values) { ensureUserIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, user_); onChanged(); return this; } /** * repeated string user = 1; */ public Builder clearUser() { user_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string user = 1; */ public Builder addUserBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureUserIsMutable(); user_.add(value); onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalInt32 profilingIntervalMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> profilingIntervalMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public boolean hasProfilingIntervalMillis() { return profilingIntervalMillisBuilder_ != null || profilingIntervalMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis() { if (profilingIntervalMillisBuilder_ == null) { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } else { return profilingIntervalMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public Builder setProfilingIntervalMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (profilingIntervalMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profilingIntervalMillis_ = value; onChanged(); } else { profilingIntervalMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public Builder setProfilingIntervalMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = builderForValue.build(); onChanged(); } else { profilingIntervalMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public Builder mergeProfilingIntervalMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (profilingIntervalMillisBuilder_ == null) { if (profilingIntervalMillis_ != null) { profilingIntervalMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(profilingIntervalMillis_).mergeFrom(value).buildPartial(); } else { profilingIntervalMillis_ = value; } onChanged(); } else { profilingIntervalMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public Builder clearProfilingIntervalMillis() { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillis_ = null; onChanged(); } else { profilingIntervalMillis_ = null; profilingIntervalMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getProfilingIntervalMillisBuilder() { onChanged(); return getProfilingIntervalMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder() { if (profilingIntervalMillisBuilder_ != null) { return profilingIntervalMillisBuilder_.getMessageOrBuilder(); } else { return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2; * *
         * absent means N/A
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getProfilingIntervalMillisFieldBuilder() { if (profilingIntervalMillisBuilder_ == null) { profilingIntervalMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getProfilingIntervalMillis(), getParentForChildren(), isClean()); profilingIntervalMillis_ = null; } return profilingIntervalMillisBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public UserRecordingConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new UserRecordingConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AdvancedConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional bool weaving_timer = 1; */ boolean getWeavingTimer(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ boolean hasImmediatePartialStoreThresholdSeconds(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getImmediatePartialStoreThresholdSeconds(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getImmediatePartialStoreThresholdSecondsOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ boolean hasMaxAggregateTransactionsPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateTransactionsPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateTransactionsPerTypeOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ boolean hasMaxAggregateQueriesPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateQueriesPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateQueriesPerTypeOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ boolean hasMaxAggregateServiceCallsPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateServiceCallsPerType(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateServiceCallsPerTypeOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ boolean hasMaxTraceEntriesPerTransaction(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTraceEntriesPerTransaction(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTraceEntriesPerTransactionOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ boolean hasMaxStackTraceSamplesPerTransaction(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxStackTraceSamplesPerTransaction(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxStackTraceSamplesPerTransactionOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ boolean hasMbeanGaugeNotFoundDelaySeconds(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMbeanGaugeNotFoundDelaySeconds(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMbeanGaugeNotFoundDelaySecondsOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AdvancedConfig} */ public static final class AdvancedConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig) AdvancedConfigOrBuilder { // Use AdvancedConfig.newBuilder() to construct. private AdvancedConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private AdvancedConfig() { weavingTimer_ = false; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private AdvancedConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { weavingTimer_ = input.readBool(); break; } case 18: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (immediatePartialStoreThresholdSeconds_ != null) { subBuilder = immediatePartialStoreThresholdSeconds_.toBuilder(); } immediatePartialStoreThresholdSeconds_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(immediatePartialStoreThresholdSeconds_); immediatePartialStoreThresholdSeconds_ = subBuilder.buildPartial(); } break; } case 26: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (maxAggregateTransactionsPerType_ != null) { subBuilder = maxAggregateTransactionsPerType_.toBuilder(); } maxAggregateTransactionsPerType_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxAggregateTransactionsPerType_); maxAggregateTransactionsPerType_ = subBuilder.buildPartial(); } break; } case 34: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (maxAggregateQueriesPerType_ != null) { subBuilder = maxAggregateQueriesPerType_.toBuilder(); } maxAggregateQueriesPerType_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxAggregateQueriesPerType_); maxAggregateQueriesPerType_ = subBuilder.buildPartial(); } break; } case 42: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (maxAggregateServiceCallsPerType_ != null) { subBuilder = maxAggregateServiceCallsPerType_.toBuilder(); } maxAggregateServiceCallsPerType_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxAggregateServiceCallsPerType_); maxAggregateServiceCallsPerType_ = subBuilder.buildPartial(); } break; } case 50: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (maxTraceEntriesPerTransaction_ != null) { subBuilder = maxTraceEntriesPerTransaction_.toBuilder(); } maxTraceEntriesPerTransaction_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxTraceEntriesPerTransaction_); maxTraceEntriesPerTransaction_ = subBuilder.buildPartial(); } break; } case 58: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (maxStackTraceSamplesPerTransaction_ != null) { subBuilder = maxStackTraceSamplesPerTransaction_.toBuilder(); } maxStackTraceSamplesPerTransaction_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxStackTraceSamplesPerTransaction_); maxStackTraceSamplesPerTransaction_ = subBuilder.buildPartial(); } break; } case 66: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (mbeanGaugeNotFoundDelaySeconds_ != null) { subBuilder = mbeanGaugeNotFoundDelaySeconds_.toBuilder(); } mbeanGaugeNotFoundDelaySeconds_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mbeanGaugeNotFoundDelaySeconds_); mbeanGaugeNotFoundDelaySeconds_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder.class); } public static final int WEAVING_TIMER_FIELD_NUMBER = 1; private boolean weavingTimer_; /** * optional bool weaving_timer = 1; */ public boolean getWeavingTimer() { return weavingTimer_; } public static final int IMMEDIATE_PARTIAL_STORE_THRESHOLD_SECONDS_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.Proto.OptionalInt32 immediatePartialStoreThresholdSeconds_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ public boolean hasImmediatePartialStoreThresholdSeconds() { return immediatePartialStoreThresholdSeconds_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getImmediatePartialStoreThresholdSeconds() { return immediatePartialStoreThresholdSeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : immediatePartialStoreThresholdSeconds_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
       * optionals used below due to non-zero default value
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getImmediatePartialStoreThresholdSecondsOrBuilder() { return getImmediatePartialStoreThresholdSeconds(); } public static final int MAX_AGGREGATE_TRANSACTIONS_PER_TYPE_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateTransactionsPerType_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public boolean hasMaxAggregateTransactionsPerType() { return maxAggregateTransactionsPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateTransactionsPerType() { return maxAggregateTransactionsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateTransactionsPerType_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateTransactionsPerTypeOrBuilder() { return getMaxAggregateTransactionsPerType(); } public static final int MAX_AGGREGATE_QUERIES_PER_TYPE_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateQueriesPerType_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public boolean hasMaxAggregateQueriesPerType() { return maxAggregateQueriesPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateQueriesPerType() { return maxAggregateQueriesPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateQueriesPerType_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateQueriesPerTypeOrBuilder() { return getMaxAggregateQueriesPerType(); } public static final int MAX_AGGREGATE_SERVICE_CALLS_PER_TYPE_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateServiceCallsPerType_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public boolean hasMaxAggregateServiceCallsPerType() { return maxAggregateServiceCallsPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateServiceCallsPerType() { return maxAggregateServiceCallsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateServiceCallsPerType_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateServiceCallsPerTypeOrBuilder() { return getMaxAggregateServiceCallsPerType(); } public static final int MAX_TRACE_ENTRIES_PER_TRANSACTION_FIELD_NUMBER = 6; private org.glowroot.wire.api.model.Proto.OptionalInt32 maxTraceEntriesPerTransaction_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public boolean hasMaxTraceEntriesPerTransaction() { return maxTraceEntriesPerTransaction_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTraceEntriesPerTransaction() { return maxTraceEntriesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTraceEntriesPerTransaction_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTraceEntriesPerTransactionOrBuilder() { return getMaxTraceEntriesPerTransaction(); } public static final int MAX_STACK_TRACE_SAMPLES_PER_TRANSACTION_FIELD_NUMBER = 7; private org.glowroot.wire.api.model.Proto.OptionalInt32 maxStackTraceSamplesPerTransaction_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public boolean hasMaxStackTraceSamplesPerTransaction() { return maxStackTraceSamplesPerTransaction_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxStackTraceSamplesPerTransaction() { return maxStackTraceSamplesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxStackTraceSamplesPerTransaction_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxStackTraceSamplesPerTransactionOrBuilder() { return getMaxStackTraceSamplesPerTransaction(); } public static final int MBEAN_GAUGE_NOT_FOUND_DELAY_SECONDS_FIELD_NUMBER = 8; private org.glowroot.wire.api.model.Proto.OptionalInt32 mbeanGaugeNotFoundDelaySeconds_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public boolean hasMbeanGaugeNotFoundDelaySeconds() { return mbeanGaugeNotFoundDelaySeconds_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMbeanGaugeNotFoundDelaySeconds() { return mbeanGaugeNotFoundDelaySeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : mbeanGaugeNotFoundDelaySeconds_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMbeanGaugeNotFoundDelaySecondsOrBuilder() { return getMbeanGaugeNotFoundDelaySeconds(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (weavingTimer_ != false) { output.writeBool(1, weavingTimer_); } if (immediatePartialStoreThresholdSeconds_ != null) { output.writeMessage(2, getImmediatePartialStoreThresholdSeconds()); } if (maxAggregateTransactionsPerType_ != null) { output.writeMessage(3, getMaxAggregateTransactionsPerType()); } if (maxAggregateQueriesPerType_ != null) { output.writeMessage(4, getMaxAggregateQueriesPerType()); } if (maxAggregateServiceCallsPerType_ != null) { output.writeMessage(5, getMaxAggregateServiceCallsPerType()); } if (maxTraceEntriesPerTransaction_ != null) { output.writeMessage(6, getMaxTraceEntriesPerTransaction()); } if (maxStackTraceSamplesPerTransaction_ != null) { output.writeMessage(7, getMaxStackTraceSamplesPerTransaction()); } if (mbeanGaugeNotFoundDelaySeconds_ != null) { output.writeMessage(8, getMbeanGaugeNotFoundDelaySeconds()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (weavingTimer_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(1, weavingTimer_); } if (immediatePartialStoreThresholdSeconds_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getImmediatePartialStoreThresholdSeconds()); } if (maxAggregateTransactionsPerType_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, getMaxAggregateTransactionsPerType()); } if (maxAggregateQueriesPerType_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(4, getMaxAggregateQueriesPerType()); } if (maxAggregateServiceCallsPerType_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(5, getMaxAggregateServiceCallsPerType()); } if (maxTraceEntriesPerTransaction_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(6, getMaxTraceEntriesPerTransaction()); } if (maxStackTraceSamplesPerTransaction_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(7, getMaxStackTraceSamplesPerTransaction()); } if (mbeanGaugeNotFoundDelaySeconds_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(8, getMbeanGaugeNotFoundDelaySeconds()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AdvancedConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); weavingTimer_ = false; if (immediatePartialStoreThresholdSecondsBuilder_ == null) { immediatePartialStoreThresholdSeconds_ = null; } else { immediatePartialStoreThresholdSeconds_ = null; immediatePartialStoreThresholdSecondsBuilder_ = null; } if (maxAggregateTransactionsPerTypeBuilder_ == null) { maxAggregateTransactionsPerType_ = null; } else { maxAggregateTransactionsPerType_ = null; maxAggregateTransactionsPerTypeBuilder_ = null; } if (maxAggregateQueriesPerTypeBuilder_ == null) { maxAggregateQueriesPerType_ = null; } else { maxAggregateQueriesPerType_ = null; maxAggregateQueriesPerTypeBuilder_ = null; } if (maxAggregateServiceCallsPerTypeBuilder_ == null) { maxAggregateServiceCallsPerType_ = null; } else { maxAggregateServiceCallsPerType_ = null; maxAggregateServiceCallsPerTypeBuilder_ = null; } if (maxTraceEntriesPerTransactionBuilder_ == null) { maxTraceEntriesPerTransaction_ = null; } else { maxTraceEntriesPerTransaction_ = null; maxTraceEntriesPerTransactionBuilder_ = null; } if (maxStackTraceSamplesPerTransactionBuilder_ == null) { maxStackTraceSamplesPerTransaction_ = null; } else { maxStackTraceSamplesPerTransaction_ = null; maxStackTraceSamplesPerTransactionBuilder_ = null; } if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { mbeanGaugeNotFoundDelaySeconds_ = null; } else { mbeanGaugeNotFoundDelaySeconds_ = null; mbeanGaugeNotFoundDelaySecondsBuilder_ = null; } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig(this); result.weavingTimer_ = weavingTimer_; if (immediatePartialStoreThresholdSecondsBuilder_ == null) { result.immediatePartialStoreThresholdSeconds_ = immediatePartialStoreThresholdSeconds_; } else { result.immediatePartialStoreThresholdSeconds_ = immediatePartialStoreThresholdSecondsBuilder_.build(); } if (maxAggregateTransactionsPerTypeBuilder_ == null) { result.maxAggregateTransactionsPerType_ = maxAggregateTransactionsPerType_; } else { result.maxAggregateTransactionsPerType_ = maxAggregateTransactionsPerTypeBuilder_.build(); } if (maxAggregateQueriesPerTypeBuilder_ == null) { result.maxAggregateQueriesPerType_ = maxAggregateQueriesPerType_; } else { result.maxAggregateQueriesPerType_ = maxAggregateQueriesPerTypeBuilder_.build(); } if (maxAggregateServiceCallsPerTypeBuilder_ == null) { result.maxAggregateServiceCallsPerType_ = maxAggregateServiceCallsPerType_; } else { result.maxAggregateServiceCallsPerType_ = maxAggregateServiceCallsPerTypeBuilder_.build(); } if (maxTraceEntriesPerTransactionBuilder_ == null) { result.maxTraceEntriesPerTransaction_ = maxTraceEntriesPerTransaction_; } else { result.maxTraceEntriesPerTransaction_ = maxTraceEntriesPerTransactionBuilder_.build(); } if (maxStackTraceSamplesPerTransactionBuilder_ == null) { result.maxStackTraceSamplesPerTransaction_ = maxStackTraceSamplesPerTransaction_; } else { result.maxStackTraceSamplesPerTransaction_ = maxStackTraceSamplesPerTransactionBuilder_.build(); } if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { result.mbeanGaugeNotFoundDelaySeconds_ = mbeanGaugeNotFoundDelaySeconds_; } else { result.mbeanGaugeNotFoundDelaySeconds_ = mbeanGaugeNotFoundDelaySecondsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.getDefaultInstance()) return this; if (other.getWeavingTimer() != false) { setWeavingTimer(other.getWeavingTimer()); } if (other.hasImmediatePartialStoreThresholdSeconds()) { mergeImmediatePartialStoreThresholdSeconds(other.getImmediatePartialStoreThresholdSeconds()); } if (other.hasMaxAggregateTransactionsPerType()) { mergeMaxAggregateTransactionsPerType(other.getMaxAggregateTransactionsPerType()); } if (other.hasMaxAggregateQueriesPerType()) { mergeMaxAggregateQueriesPerType(other.getMaxAggregateQueriesPerType()); } if (other.hasMaxAggregateServiceCallsPerType()) { mergeMaxAggregateServiceCallsPerType(other.getMaxAggregateServiceCallsPerType()); } if (other.hasMaxTraceEntriesPerTransaction()) { mergeMaxTraceEntriesPerTransaction(other.getMaxTraceEntriesPerTransaction()); } if (other.hasMaxStackTraceSamplesPerTransaction()) { mergeMaxStackTraceSamplesPerTransaction(other.getMaxStackTraceSamplesPerTransaction()); } if (other.hasMbeanGaugeNotFoundDelaySeconds()) { mergeMbeanGaugeNotFoundDelaySeconds(other.getMbeanGaugeNotFoundDelaySeconds()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean weavingTimer_ ; /** * optional bool weaving_timer = 1; */ public boolean getWeavingTimer() { return weavingTimer_; } /** * optional bool weaving_timer = 1; */ public Builder setWeavingTimer(boolean value) { weavingTimer_ = value; onChanged(); return this; } /** * optional bool weaving_timer = 1; */ public Builder clearWeavingTimer() { weavingTimer_ = false; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalInt32 immediatePartialStoreThresholdSeconds_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> immediatePartialStoreThresholdSecondsBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public boolean hasImmediatePartialStoreThresholdSeconds() { return immediatePartialStoreThresholdSecondsBuilder_ != null || immediatePartialStoreThresholdSeconds_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getImmediatePartialStoreThresholdSeconds() { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { return immediatePartialStoreThresholdSeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : immediatePartialStoreThresholdSeconds_; } else { return immediatePartialStoreThresholdSecondsBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public Builder setImmediatePartialStoreThresholdSeconds(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } immediatePartialStoreThresholdSeconds_ = value; onChanged(); } else { immediatePartialStoreThresholdSecondsBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public Builder setImmediatePartialStoreThresholdSeconds( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { immediatePartialStoreThresholdSeconds_ = builderForValue.build(); onChanged(); } else { immediatePartialStoreThresholdSecondsBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public Builder mergeImmediatePartialStoreThresholdSeconds(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { if (immediatePartialStoreThresholdSeconds_ != null) { immediatePartialStoreThresholdSeconds_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(immediatePartialStoreThresholdSeconds_).mergeFrom(value).buildPartial(); } else { immediatePartialStoreThresholdSeconds_ = value; } onChanged(); } else { immediatePartialStoreThresholdSecondsBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public Builder clearImmediatePartialStoreThresholdSeconds() { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { immediatePartialStoreThresholdSeconds_ = null; onChanged(); } else { immediatePartialStoreThresholdSeconds_ = null; immediatePartialStoreThresholdSecondsBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getImmediatePartialStoreThresholdSecondsBuilder() { onChanged(); return getImmediatePartialStoreThresholdSecondsFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getImmediatePartialStoreThresholdSecondsOrBuilder() { if (immediatePartialStoreThresholdSecondsBuilder_ != null) { return immediatePartialStoreThresholdSecondsBuilder_.getMessageOrBuilder(); } else { return immediatePartialStoreThresholdSeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : immediatePartialStoreThresholdSeconds_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2; * *
         * optionals used below due to non-zero default value
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getImmediatePartialStoreThresholdSecondsFieldBuilder() { if (immediatePartialStoreThresholdSecondsBuilder_ == null) { immediatePartialStoreThresholdSecondsBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getImmediatePartialStoreThresholdSeconds(), getParentForChildren(), isClean()); immediatePartialStoreThresholdSeconds_ = null; } return immediatePartialStoreThresholdSecondsBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateTransactionsPerType_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxAggregateTransactionsPerTypeBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public boolean hasMaxAggregateTransactionsPerType() { return maxAggregateTransactionsPerTypeBuilder_ != null || maxAggregateTransactionsPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateTransactionsPerType() { if (maxAggregateTransactionsPerTypeBuilder_ == null) { return maxAggregateTransactionsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateTransactionsPerType_; } else { return maxAggregateTransactionsPerTypeBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public Builder setMaxAggregateTransactionsPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateTransactionsPerTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxAggregateTransactionsPerType_ = value; onChanged(); } else { maxAggregateTransactionsPerTypeBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public Builder setMaxAggregateTransactionsPerType( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (maxAggregateTransactionsPerTypeBuilder_ == null) { maxAggregateTransactionsPerType_ = builderForValue.build(); onChanged(); } else { maxAggregateTransactionsPerTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public Builder mergeMaxAggregateTransactionsPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateTransactionsPerTypeBuilder_ == null) { if (maxAggregateTransactionsPerType_ != null) { maxAggregateTransactionsPerType_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxAggregateTransactionsPerType_).mergeFrom(value).buildPartial(); } else { maxAggregateTransactionsPerType_ = value; } onChanged(); } else { maxAggregateTransactionsPerTypeBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public Builder clearMaxAggregateTransactionsPerType() { if (maxAggregateTransactionsPerTypeBuilder_ == null) { maxAggregateTransactionsPerType_ = null; onChanged(); } else { maxAggregateTransactionsPerType_ = null; maxAggregateTransactionsPerTypeBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxAggregateTransactionsPerTypeBuilder() { onChanged(); return getMaxAggregateTransactionsPerTypeFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateTransactionsPerTypeOrBuilder() { if (maxAggregateTransactionsPerTypeBuilder_ != null) { return maxAggregateTransactionsPerTypeBuilder_.getMessageOrBuilder(); } else { return maxAggregateTransactionsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateTransactionsPerType_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_transactions_per_type = 3; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMaxAggregateTransactionsPerTypeFieldBuilder() { if (maxAggregateTransactionsPerTypeBuilder_ == null) { maxAggregateTransactionsPerTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMaxAggregateTransactionsPerType(), getParentForChildren(), isClean()); maxAggregateTransactionsPerType_ = null; } return maxAggregateTransactionsPerTypeBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateQueriesPerType_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxAggregateQueriesPerTypeBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public boolean hasMaxAggregateQueriesPerType() { return maxAggregateQueriesPerTypeBuilder_ != null || maxAggregateQueriesPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateQueriesPerType() { if (maxAggregateQueriesPerTypeBuilder_ == null) { return maxAggregateQueriesPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateQueriesPerType_; } else { return maxAggregateQueriesPerTypeBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public Builder setMaxAggregateQueriesPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateQueriesPerTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxAggregateQueriesPerType_ = value; onChanged(); } else { maxAggregateQueriesPerTypeBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public Builder setMaxAggregateQueriesPerType( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (maxAggregateQueriesPerTypeBuilder_ == null) { maxAggregateQueriesPerType_ = builderForValue.build(); onChanged(); } else { maxAggregateQueriesPerTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public Builder mergeMaxAggregateQueriesPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateQueriesPerTypeBuilder_ == null) { if (maxAggregateQueriesPerType_ != null) { maxAggregateQueriesPerType_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxAggregateQueriesPerType_).mergeFrom(value).buildPartial(); } else { maxAggregateQueriesPerType_ = value; } onChanged(); } else { maxAggregateQueriesPerTypeBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public Builder clearMaxAggregateQueriesPerType() { if (maxAggregateQueriesPerTypeBuilder_ == null) { maxAggregateQueriesPerType_ = null; onChanged(); } else { maxAggregateQueriesPerType_ = null; maxAggregateQueriesPerTypeBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxAggregateQueriesPerTypeBuilder() { onChanged(); return getMaxAggregateQueriesPerTypeFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateQueriesPerTypeOrBuilder() { if (maxAggregateQueriesPerTypeBuilder_ != null) { return maxAggregateQueriesPerTypeBuilder_.getMessageOrBuilder(); } else { return maxAggregateQueriesPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateQueriesPerType_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_queries_per_type = 4; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMaxAggregateQueriesPerTypeFieldBuilder() { if (maxAggregateQueriesPerTypeBuilder_ == null) { maxAggregateQueriesPerTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMaxAggregateQueriesPerType(), getParentForChildren(), isClean()); maxAggregateQueriesPerType_ = null; } return maxAggregateQueriesPerTypeBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 maxAggregateServiceCallsPerType_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxAggregateServiceCallsPerTypeBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public boolean hasMaxAggregateServiceCallsPerType() { return maxAggregateServiceCallsPerTypeBuilder_ != null || maxAggregateServiceCallsPerType_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxAggregateServiceCallsPerType() { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { return maxAggregateServiceCallsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateServiceCallsPerType_; } else { return maxAggregateServiceCallsPerTypeBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public Builder setMaxAggregateServiceCallsPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxAggregateServiceCallsPerType_ = value; onChanged(); } else { maxAggregateServiceCallsPerTypeBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public Builder setMaxAggregateServiceCallsPerType( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { maxAggregateServiceCallsPerType_ = builderForValue.build(); onChanged(); } else { maxAggregateServiceCallsPerTypeBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public Builder mergeMaxAggregateServiceCallsPerType(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { if (maxAggregateServiceCallsPerType_ != null) { maxAggregateServiceCallsPerType_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxAggregateServiceCallsPerType_).mergeFrom(value).buildPartial(); } else { maxAggregateServiceCallsPerType_ = value; } onChanged(); } else { maxAggregateServiceCallsPerTypeBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public Builder clearMaxAggregateServiceCallsPerType() { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { maxAggregateServiceCallsPerType_ = null; onChanged(); } else { maxAggregateServiceCallsPerType_ = null; maxAggregateServiceCallsPerTypeBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxAggregateServiceCallsPerTypeBuilder() { onChanged(); return getMaxAggregateServiceCallsPerTypeFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxAggregateServiceCallsPerTypeOrBuilder() { if (maxAggregateServiceCallsPerTypeBuilder_ != null) { return maxAggregateServiceCallsPerTypeBuilder_.getMessageOrBuilder(); } else { return maxAggregateServiceCallsPerType_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxAggregateServiceCallsPerType_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_aggregate_service_calls_per_type = 5; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMaxAggregateServiceCallsPerTypeFieldBuilder() { if (maxAggregateServiceCallsPerTypeBuilder_ == null) { maxAggregateServiceCallsPerTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMaxAggregateServiceCallsPerType(), getParentForChildren(), isClean()); maxAggregateServiceCallsPerType_ = null; } return maxAggregateServiceCallsPerTypeBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 maxTraceEntriesPerTransaction_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxTraceEntriesPerTransactionBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public boolean hasMaxTraceEntriesPerTransaction() { return maxTraceEntriesPerTransactionBuilder_ != null || maxTraceEntriesPerTransaction_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTraceEntriesPerTransaction() { if (maxTraceEntriesPerTransactionBuilder_ == null) { return maxTraceEntriesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTraceEntriesPerTransaction_; } else { return maxTraceEntriesPerTransactionBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public Builder setMaxTraceEntriesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxTraceEntriesPerTransactionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxTraceEntriesPerTransaction_ = value; onChanged(); } else { maxTraceEntriesPerTransactionBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public Builder setMaxTraceEntriesPerTransaction( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (maxTraceEntriesPerTransactionBuilder_ == null) { maxTraceEntriesPerTransaction_ = builderForValue.build(); onChanged(); } else { maxTraceEntriesPerTransactionBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public Builder mergeMaxTraceEntriesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxTraceEntriesPerTransactionBuilder_ == null) { if (maxTraceEntriesPerTransaction_ != null) { maxTraceEntriesPerTransaction_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxTraceEntriesPerTransaction_).mergeFrom(value).buildPartial(); } else { maxTraceEntriesPerTransaction_ = value; } onChanged(); } else { maxTraceEntriesPerTransactionBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public Builder clearMaxTraceEntriesPerTransaction() { if (maxTraceEntriesPerTransactionBuilder_ == null) { maxTraceEntriesPerTransaction_ = null; onChanged(); } else { maxTraceEntriesPerTransaction_ = null; maxTraceEntriesPerTransactionBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxTraceEntriesPerTransactionBuilder() { onChanged(); return getMaxTraceEntriesPerTransactionFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTraceEntriesPerTransactionOrBuilder() { if (maxTraceEntriesPerTransactionBuilder_ != null) { return maxTraceEntriesPerTransactionBuilder_.getMessageOrBuilder(); } else { return maxTraceEntriesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTraceEntriesPerTransaction_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMaxTraceEntriesPerTransactionFieldBuilder() { if (maxTraceEntriesPerTransactionBuilder_ == null) { maxTraceEntriesPerTransactionBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMaxTraceEntriesPerTransaction(), getParentForChildren(), isClean()); maxTraceEntriesPerTransaction_ = null; } return maxTraceEntriesPerTransactionBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 maxStackTraceSamplesPerTransaction_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxStackTraceSamplesPerTransactionBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public boolean hasMaxStackTraceSamplesPerTransaction() { return maxStackTraceSamplesPerTransactionBuilder_ != null || maxStackTraceSamplesPerTransaction_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxStackTraceSamplesPerTransaction() { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { return maxStackTraceSamplesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxStackTraceSamplesPerTransaction_; } else { return maxStackTraceSamplesPerTransactionBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public Builder setMaxStackTraceSamplesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxStackTraceSamplesPerTransaction_ = value; onChanged(); } else { maxStackTraceSamplesPerTransactionBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public Builder setMaxStackTraceSamplesPerTransaction( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { maxStackTraceSamplesPerTransaction_ = builderForValue.build(); onChanged(); } else { maxStackTraceSamplesPerTransactionBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public Builder mergeMaxStackTraceSamplesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { if (maxStackTraceSamplesPerTransaction_ != null) { maxStackTraceSamplesPerTransaction_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxStackTraceSamplesPerTransaction_).mergeFrom(value).buildPartial(); } else { maxStackTraceSamplesPerTransaction_ = value; } onChanged(); } else { maxStackTraceSamplesPerTransactionBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public Builder clearMaxStackTraceSamplesPerTransaction() { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { maxStackTraceSamplesPerTransaction_ = null; onChanged(); } else { maxStackTraceSamplesPerTransaction_ = null; maxStackTraceSamplesPerTransactionBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxStackTraceSamplesPerTransactionBuilder() { onChanged(); return getMaxStackTraceSamplesPerTransactionFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxStackTraceSamplesPerTransactionOrBuilder() { if (maxStackTraceSamplesPerTransactionBuilder_ != null) { return maxStackTraceSamplesPerTransactionBuilder_.getMessageOrBuilder(); } else { return maxStackTraceSamplesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxStackTraceSamplesPerTransaction_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 max_stack_trace_samples_per_transaction = 7; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMaxStackTraceSamplesPerTransactionFieldBuilder() { if (maxStackTraceSamplesPerTransactionBuilder_ == null) { maxStackTraceSamplesPerTransactionBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMaxStackTraceSamplesPerTransaction(), getParentForChildren(), isClean()); maxStackTraceSamplesPerTransaction_ = null; } return maxStackTraceSamplesPerTransactionBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 mbeanGaugeNotFoundDelaySeconds_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> mbeanGaugeNotFoundDelaySecondsBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public boolean hasMbeanGaugeNotFoundDelaySeconds() { return mbeanGaugeNotFoundDelaySecondsBuilder_ != null || mbeanGaugeNotFoundDelaySeconds_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMbeanGaugeNotFoundDelaySeconds() { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { return mbeanGaugeNotFoundDelaySeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : mbeanGaugeNotFoundDelaySeconds_; } else { return mbeanGaugeNotFoundDelaySecondsBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public Builder setMbeanGaugeNotFoundDelaySeconds(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mbeanGaugeNotFoundDelaySeconds_ = value; onChanged(); } else { mbeanGaugeNotFoundDelaySecondsBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public Builder setMbeanGaugeNotFoundDelaySeconds( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { mbeanGaugeNotFoundDelaySeconds_ = builderForValue.build(); onChanged(); } else { mbeanGaugeNotFoundDelaySecondsBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public Builder mergeMbeanGaugeNotFoundDelaySeconds(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { if (mbeanGaugeNotFoundDelaySeconds_ != null) { mbeanGaugeNotFoundDelaySeconds_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(mbeanGaugeNotFoundDelaySeconds_).mergeFrom(value).buildPartial(); } else { mbeanGaugeNotFoundDelaySeconds_ = value; } onChanged(); } else { mbeanGaugeNotFoundDelaySecondsBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public Builder clearMbeanGaugeNotFoundDelaySeconds() { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { mbeanGaugeNotFoundDelaySeconds_ = null; onChanged(); } else { mbeanGaugeNotFoundDelaySeconds_ = null; mbeanGaugeNotFoundDelaySecondsBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMbeanGaugeNotFoundDelaySecondsBuilder() { onChanged(); return getMbeanGaugeNotFoundDelaySecondsFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMbeanGaugeNotFoundDelaySecondsOrBuilder() { if (mbeanGaugeNotFoundDelaySecondsBuilder_ != null) { return mbeanGaugeNotFoundDelaySecondsBuilder_.getMessageOrBuilder(); } else { return mbeanGaugeNotFoundDelaySeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : mbeanGaugeNotFoundDelaySeconds_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMbeanGaugeNotFoundDelaySecondsFieldBuilder() { if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) { mbeanGaugeNotFoundDelaySecondsBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMbeanGaugeNotFoundDelaySeconds(), getParentForChildren(), isClean()); mbeanGaugeNotFoundDelaySeconds_ = null; } return mbeanGaugeNotFoundDelaySecondsBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public AdvancedConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new AdvancedConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GaugeConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.GaugeConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string mbean_object_name = 1; */ java.lang.String getMbeanObjectName(); /** * optional string mbean_object_name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMbeanObjectNameBytes(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ java.util.List getMbeanAttributeList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getMbeanAttribute(int index); /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ int getMbeanAttributeCount(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ java.util.List getMbeanAttributeOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder getMbeanAttributeOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.GaugeConfig} */ public static final class GaugeConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.GaugeConfig) GaugeConfigOrBuilder { // Use GaugeConfig.newBuilder() to construct. private GaugeConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private GaugeConfig() { mbeanObjectName_ = ""; mbeanAttribute_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private GaugeConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); mbeanObjectName_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { mbeanAttribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } mbeanAttribute_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.parser(), extensionRegistry)); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { mbeanAttribute_ = java.util.Collections.unmodifiableList(mbeanAttribute_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder.class); } private int bitField0_; public static final int MBEAN_OBJECT_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object mbeanObjectName_; /** * optional string mbean_object_name = 1; */ public java.lang.String getMbeanObjectName() { java.lang.Object ref = mbeanObjectName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mbeanObjectName_ = s; return s; } } /** * optional string mbean_object_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMbeanObjectNameBytes() { java.lang.Object ref = mbeanObjectName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mbeanObjectName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int MBEAN_ATTRIBUTE_FIELD_NUMBER = 2; private java.util.List mbeanAttribute_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public java.util.List getMbeanAttributeList() { return mbeanAttribute_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public java.util.List getMbeanAttributeOrBuilderList() { return mbeanAttribute_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public int getMbeanAttributeCount() { return mbeanAttribute_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getMbeanAttribute(int index) { return mbeanAttribute_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder getMbeanAttributeOrBuilder( int index) { return mbeanAttribute_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMbeanObjectNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, mbeanObjectName_); } for (int i = 0; i < mbeanAttribute_.size(); i++) { output.writeMessage(2, mbeanAttribute_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMbeanObjectNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, mbeanObjectName_); } for (int i = 0; i < mbeanAttribute_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, mbeanAttribute_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.GaugeConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.GaugeConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getMbeanAttributeFieldBuilder(); } } public Builder clear() { super.clear(); mbeanObjectName_ = ""; if (mbeanAttributeBuilder_ == null) { mbeanAttribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { mbeanAttributeBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.mbeanObjectName_ = mbeanObjectName_; if (mbeanAttributeBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { mbeanAttribute_ = java.util.Collections.unmodifiableList(mbeanAttribute_); bitField0_ = (bitField0_ & ~0x00000002); } result.mbeanAttribute_ = mbeanAttribute_; } else { result.mbeanAttribute_ = mbeanAttributeBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.getDefaultInstance()) return this; if (!other.getMbeanObjectName().isEmpty()) { mbeanObjectName_ = other.mbeanObjectName_; onChanged(); } if (mbeanAttributeBuilder_ == null) { if (!other.mbeanAttribute_.isEmpty()) { if (mbeanAttribute_.isEmpty()) { mbeanAttribute_ = other.mbeanAttribute_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureMbeanAttributeIsMutable(); mbeanAttribute_.addAll(other.mbeanAttribute_); } onChanged(); } } else { if (!other.mbeanAttribute_.isEmpty()) { if (mbeanAttributeBuilder_.isEmpty()) { mbeanAttributeBuilder_.dispose(); mbeanAttributeBuilder_ = null; mbeanAttribute_ = other.mbeanAttribute_; bitField0_ = (bitField0_ & ~0x00000002); mbeanAttributeBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getMbeanAttributeFieldBuilder() : null; } else { mbeanAttributeBuilder_.addAllMessages(other.mbeanAttribute_); } } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object mbeanObjectName_ = ""; /** * optional string mbean_object_name = 1; */ public java.lang.String getMbeanObjectName() { java.lang.Object ref = mbeanObjectName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mbeanObjectName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string mbean_object_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMbeanObjectNameBytes() { java.lang.Object ref = mbeanObjectName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); mbeanObjectName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string mbean_object_name = 1; */ public Builder setMbeanObjectName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } mbeanObjectName_ = value; onChanged(); return this; } /** * optional string mbean_object_name = 1; */ public Builder clearMbeanObjectName() { mbeanObjectName_ = getDefaultInstance().getMbeanObjectName(); onChanged(); return this; } /** * optional string mbean_object_name = 1; */ public Builder setMbeanObjectNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); mbeanObjectName_ = value; onChanged(); return this; } private java.util.List mbeanAttribute_ = java.util.Collections.emptyList(); private void ensureMbeanAttributeIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { mbeanAttribute_ = new java.util.ArrayList(mbeanAttribute_); bitField0_ |= 0x00000002; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder> mbeanAttributeBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public java.util.List getMbeanAttributeList() { if (mbeanAttributeBuilder_ == null) { return java.util.Collections.unmodifiableList(mbeanAttribute_); } else { return mbeanAttributeBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public int getMbeanAttributeCount() { if (mbeanAttributeBuilder_ == null) { return mbeanAttribute_.size(); } else { return mbeanAttributeBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getMbeanAttribute(int index) { if (mbeanAttributeBuilder_ == null) { return mbeanAttribute_.get(index); } else { return mbeanAttributeBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder setMbeanAttribute( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute value) { if (mbeanAttributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMbeanAttributeIsMutable(); mbeanAttribute_.set(index, value); onChanged(); } else { mbeanAttributeBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder setMbeanAttribute( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder builderForValue) { if (mbeanAttributeBuilder_ == null) { ensureMbeanAttributeIsMutable(); mbeanAttribute_.set(index, builderForValue.build()); onChanged(); } else { mbeanAttributeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder addMbeanAttribute(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute value) { if (mbeanAttributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMbeanAttributeIsMutable(); mbeanAttribute_.add(value); onChanged(); } else { mbeanAttributeBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder addMbeanAttribute( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute value) { if (mbeanAttributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMbeanAttributeIsMutable(); mbeanAttribute_.add(index, value); onChanged(); } else { mbeanAttributeBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder addMbeanAttribute( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder builderForValue) { if (mbeanAttributeBuilder_ == null) { ensureMbeanAttributeIsMutable(); mbeanAttribute_.add(builderForValue.build()); onChanged(); } else { mbeanAttributeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder addMbeanAttribute( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder builderForValue) { if (mbeanAttributeBuilder_ == null) { ensureMbeanAttributeIsMutable(); mbeanAttribute_.add(index, builderForValue.build()); onChanged(); } else { mbeanAttributeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder addAllMbeanAttribute( java.lang.Iterable values) { if (mbeanAttributeBuilder_ == null) { ensureMbeanAttributeIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, mbeanAttribute_); onChanged(); } else { mbeanAttributeBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder clearMbeanAttribute() { if (mbeanAttributeBuilder_ == null) { mbeanAttribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { mbeanAttributeBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public Builder removeMbeanAttribute(int index) { if (mbeanAttributeBuilder_ == null) { ensureMbeanAttributeIsMutable(); mbeanAttribute_.remove(index); onChanged(); } else { mbeanAttributeBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder getMbeanAttributeBuilder( int index) { return getMbeanAttributeFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder getMbeanAttributeOrBuilder( int index) { if (mbeanAttributeBuilder_ == null) { return mbeanAttribute_.get(index); } else { return mbeanAttributeBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public java.util.List getMbeanAttributeOrBuilderList() { if (mbeanAttributeBuilder_ != null) { return mbeanAttributeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(mbeanAttribute_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder addMbeanAttributeBuilder() { return getMbeanAttributeFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder addMbeanAttributeBuilder( int index) { return getMbeanAttributeFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.MBeanAttribute mbean_attribute = 2; */ public java.util.List getMbeanAttributeBuilderList() { return getMbeanAttributeFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder> getMbeanAttributeFieldBuilder() { if (mbeanAttributeBuilder_ == null) { mbeanAttributeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder>( mbeanAttribute_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); mbeanAttribute_ = null; } return mbeanAttributeBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.GaugeConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.GaugeConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public GaugeConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new GaugeConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AlertConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ int getKindValue(); /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind getKind(); /** * optional string transaction_type = 2; */ java.lang.String getTransactionType(); /** * optional string transaction_type = 2; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes(); /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ boolean hasTransactionPercentile(); /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ org.glowroot.wire.api.model.Proto.OptionalDouble getTransactionPercentile(); /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTransactionPercentileOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ boolean hasTransactionThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionThresholdMillisOrBuilder(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ boolean hasMinTransactionCount(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ org.glowroot.wire.api.model.Proto.OptionalInt32 getMinTransactionCount(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMinTransactionCountOrBuilder(); /** * optional string gauge_name = 6; */ java.lang.String getGaugeName(); /** * optional string gauge_name = 6; */ org.glowroot.agent.shaded.google.protobuf.ByteString getGaugeNameBytes(); /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ boolean hasGaugeThreshold(); /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ org.glowroot.wire.api.model.Proto.OptionalDouble getGaugeThreshold(); /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getGaugeThresholdOrBuilder(); /** * optional int32 time_period_seconds = 8; */ int getTimePeriodSeconds(); /** * repeated string email_address = 9; */ org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getEmailAddressList(); /** * repeated string email_address = 9; */ int getEmailAddressCount(); /** * repeated string email_address = 9; */ java.lang.String getEmailAddress(int index); /** * repeated string email_address = 9; */ org.glowroot.agent.shaded.google.protobuf.ByteString getEmailAddressBytes(int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig} */ public static final class AlertConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig) AlertConfigOrBuilder { // Use AlertConfig.newBuilder() to construct. private AlertConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private AlertConfig() { kind_ = 0; transactionType_ = ""; gaugeName_ = ""; timePeriodSeconds_ = 0; emailAddress_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private AlertConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); kind_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); transactionType_ = s; break; } case 26: { org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null; if (transactionPercentile_ != null) { subBuilder = transactionPercentile_.toBuilder(); } transactionPercentile_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionPercentile_); transactionPercentile_ = subBuilder.buildPartial(); } break; } case 34: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (transactionThresholdMillis_ != null) { subBuilder = transactionThresholdMillis_.toBuilder(); } transactionThresholdMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionThresholdMillis_); transactionThresholdMillis_ = subBuilder.buildPartial(); } break; } case 42: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (minTransactionCount_ != null) { subBuilder = minTransactionCount_.toBuilder(); } minTransactionCount_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(minTransactionCount_); minTransactionCount_ = subBuilder.buildPartial(); } break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); gaugeName_ = s; break; } case 58: { org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null; if (gaugeThreshold_ != null) { subBuilder = gaugeThreshold_.toBuilder(); } gaugeThreshold_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(gaugeThreshold_); gaugeThreshold_ = subBuilder.buildPartial(); } break; } case 64: { timePeriodSeconds_ = input.readInt32(); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) { emailAddress_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000100; } emailAddress_.add(s); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { emailAddress_ = emailAddress_.getUnmodifiableView(); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder.class); } /** * Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind} */ public enum AlertKind implements org.glowroot.agent.shaded.google.protobuf.ProtocolMessageEnum { /** * TRANSACTION = 0; */ TRANSACTION(0, 0), /** * GAUGE = 1; */ GAUGE(1, 1), UNRECOGNIZED(-1, -1), ; /** * TRANSACTION = 0; */ public static final int TRANSACTION_VALUE = 0; /** * GAUGE = 1; */ public static final int GAUGE_VALUE = 1; public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } public static AlertKind valueOf(int value) { switch (value) { case 0: return TRANSACTION; case 1: return GAUGE; default: return null; } } public static org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap< AlertKind> internalValueMap = new org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap() { public AlertKind findValueByNumber(int number) { return AlertKind.valueOf(number); } }; public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDescriptor().getEnumTypes().get(0); } private static final AlertKind[] VALUES = values(); public static AlertKind valueOf( org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int index; private final int value; private AlertKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public int getKindValue() { return kind_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind getKind() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.valueOf(kind_); return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.UNRECOGNIZED : result; } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object transactionType_; /** * optional string transaction_type = 2; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } } /** * optional string transaction_type = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_PERCENTILE_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.Proto.OptionalDouble transactionPercentile_; /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public boolean hasTransactionPercentile() { return transactionPercentile_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public org.glowroot.wire.api.model.Proto.OptionalDouble getTransactionPercentile() { return transactionPercentile_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : transactionPercentile_; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTransactionPercentileOrBuilder() { return getTransactionPercentile(); } public static final int TRANSACTION_THRESHOLD_MILLIS_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionThresholdMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public boolean hasTransactionThresholdMillis() { return transactionThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionThresholdMillis() { return transactionThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionThresholdMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionThresholdMillisOrBuilder() { return getTransactionThresholdMillis(); } public static final int MIN_TRANSACTION_COUNT_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.Proto.OptionalInt32 minTransactionCount_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public boolean hasMinTransactionCount() { return minTransactionCount_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMinTransactionCount() { return minTransactionCount_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : minTransactionCount_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMinTransactionCountOrBuilder() { return getMinTransactionCount(); } public static final int GAUGE_NAME_FIELD_NUMBER = 6; private volatile java.lang.Object gaugeName_; /** * optional string gauge_name = 6; */ public java.lang.String getGaugeName() { java.lang.Object ref = gaugeName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gaugeName_ = s; return s; } } /** * optional string gauge_name = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getGaugeNameBytes() { java.lang.Object ref = gaugeName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gaugeName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int GAUGE_THRESHOLD_FIELD_NUMBER = 7; private org.glowroot.wire.api.model.Proto.OptionalDouble gaugeThreshold_; /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public boolean hasGaugeThreshold() { return gaugeThreshold_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public org.glowroot.wire.api.model.Proto.OptionalDouble getGaugeThreshold() { return gaugeThreshold_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : gaugeThreshold_; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getGaugeThresholdOrBuilder() { return getGaugeThreshold(); } public static final int TIME_PERIOD_SECONDS_FIELD_NUMBER = 8; private int timePeriodSeconds_; /** * optional int32 time_period_seconds = 8; */ public int getTimePeriodSeconds() { return timePeriodSeconds_; } public static final int EMAIL_ADDRESS_FIELD_NUMBER = 9; private org.glowroot.agent.shaded.google.protobuf.LazyStringList emailAddress_; /** * repeated string email_address = 9; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getEmailAddressList() { return emailAddress_; } /** * repeated string email_address = 9; */ public int getEmailAddressCount() { return emailAddress_.size(); } /** * repeated string email_address = 9; */ public java.lang.String getEmailAddress(int index) { return emailAddress_.get(index); } /** * repeated string email_address = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getEmailAddressBytes(int index) { return emailAddress_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.TRANSACTION.getNumber()) { output.writeEnum(1, kind_); } if (!getTransactionTypeBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, transactionType_); } if (transactionPercentile_ != null) { output.writeMessage(3, getTransactionPercentile()); } if (transactionThresholdMillis_ != null) { output.writeMessage(4, getTransactionThresholdMillis()); } if (minTransactionCount_ != null) { output.writeMessage(5, getMinTransactionCount()); } if (!getGaugeNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 6, gaugeName_); } if (gaugeThreshold_ != null) { output.writeMessage(7, getGaugeThreshold()); } if (timePeriodSeconds_ != 0) { output.writeInt32(8, timePeriodSeconds_); } for (int i = 0; i < emailAddress_.size(); i++) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 9, emailAddress_.getRaw(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.TRANSACTION.getNumber()) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, transactionType_); } if (transactionPercentile_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, getTransactionPercentile()); } if (transactionThresholdMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(4, getTransactionThresholdMillis()); } if (minTransactionCount_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(5, getMinTransactionCount()); } if (!getGaugeNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(6, gaugeName_); } if (gaugeThreshold_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(7, getGaugeThreshold()); } if (timePeriodSeconds_ != 0) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt32Size(8, timePeriodSeconds_); } { int dataSize = 0; for (int i = 0; i < emailAddress_.size(); i++) { dataSize += computeStringSizeNoTag(emailAddress_.getRaw(i)); } size += dataSize; size += 1 * getEmailAddressList().size(); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; transactionType_ = ""; if (transactionPercentileBuilder_ == null) { transactionPercentile_ = null; } else { transactionPercentile_ = null; transactionPercentileBuilder_ = null; } if (transactionThresholdMillisBuilder_ == null) { transactionThresholdMillis_ = null; } else { transactionThresholdMillis_ = null; transactionThresholdMillisBuilder_ = null; } if (minTransactionCountBuilder_ == null) { minTransactionCount_ = null; } else { minTransactionCount_ = null; minTransactionCountBuilder_ = null; } gaugeName_ = ""; if (gaugeThresholdBuilder_ == null) { gaugeThreshold_ = null; } else { gaugeThreshold_ = null; gaugeThresholdBuilder_ = null; } timePeriodSeconds_ = 0; emailAddress_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.kind_ = kind_; result.transactionType_ = transactionType_; if (transactionPercentileBuilder_ == null) { result.transactionPercentile_ = transactionPercentile_; } else { result.transactionPercentile_ = transactionPercentileBuilder_.build(); } if (transactionThresholdMillisBuilder_ == null) { result.transactionThresholdMillis_ = transactionThresholdMillis_; } else { result.transactionThresholdMillis_ = transactionThresholdMillisBuilder_.build(); } if (minTransactionCountBuilder_ == null) { result.minTransactionCount_ = minTransactionCount_; } else { result.minTransactionCount_ = minTransactionCountBuilder_.build(); } result.gaugeName_ = gaugeName_; if (gaugeThresholdBuilder_ == null) { result.gaugeThreshold_ = gaugeThreshold_; } else { result.gaugeThreshold_ = gaugeThresholdBuilder_.build(); } result.timePeriodSeconds_ = timePeriodSeconds_; if (((bitField0_ & 0x00000100) == 0x00000100)) { emailAddress_ = emailAddress_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000100); } result.emailAddress_ = emailAddress_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDefaultInstance()) return this; if (other.kind_ != 0) { setKindValue(other.getKindValue()); } if (!other.getTransactionType().isEmpty()) { transactionType_ = other.transactionType_; onChanged(); } if (other.hasTransactionPercentile()) { mergeTransactionPercentile(other.getTransactionPercentile()); } if (other.hasTransactionThresholdMillis()) { mergeTransactionThresholdMillis(other.getTransactionThresholdMillis()); } if (other.hasMinTransactionCount()) { mergeMinTransactionCount(other.getMinTransactionCount()); } if (!other.getGaugeName().isEmpty()) { gaugeName_ = other.gaugeName_; onChanged(); } if (other.hasGaugeThreshold()) { mergeGaugeThreshold(other.getGaugeThreshold()); } if (other.getTimePeriodSeconds() != 0) { setTimePeriodSeconds(other.getTimePeriodSeconds()); } if (!other.emailAddress_.isEmpty()) { if (emailAddress_.isEmpty()) { emailAddress_ = other.emailAddress_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureEmailAddressIsMutable(); emailAddress_.addAll(other.emailAddress_); } onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public int getKindValue() { return kind_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public Builder setKindValue(int value) { kind_ = value; onChanged(); return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind getKind() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.valueOf(kind_); return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind.UNRECOGNIZED : result; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public Builder setKind(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertKind value) { if (value == null) { throw new NullPointerException(); } kind_ = value.getNumber(); onChanged(); return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertKind kind = 1; */ public Builder clearKind() { kind_ = 0; onChanged(); return this; } private java.lang.Object transactionType_ = ""; /** * optional string transaction_type = 2; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string transaction_type = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string transaction_type = 2; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * optional string transaction_type = 2; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * optional string transaction_type = 2; */ public Builder setTransactionTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionType_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalDouble transactionPercentile_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> transactionPercentileBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public boolean hasTransactionPercentile() { return transactionPercentileBuilder_ != null || transactionPercentile_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public org.glowroot.wire.api.model.Proto.OptionalDouble getTransactionPercentile() { if (transactionPercentileBuilder_ == null) { return transactionPercentile_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : transactionPercentile_; } else { return transactionPercentileBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public Builder setTransactionPercentile(org.glowroot.wire.api.model.Proto.OptionalDouble value) { if (transactionPercentileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionPercentile_ = value; onChanged(); } else { transactionPercentileBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public Builder setTransactionPercentile( org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) { if (transactionPercentileBuilder_ == null) { transactionPercentile_ = builderForValue.build(); onChanged(); } else { transactionPercentileBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public Builder mergeTransactionPercentile(org.glowroot.wire.api.model.Proto.OptionalDouble value) { if (transactionPercentileBuilder_ == null) { if (transactionPercentile_ != null) { transactionPercentile_ = org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(transactionPercentile_).mergeFrom(value).buildPartial(); } else { transactionPercentile_ = value; } onChanged(); } else { transactionPercentileBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public Builder clearTransactionPercentile() { if (transactionPercentileBuilder_ == null) { transactionPercentile_ = null; onChanged(); } else { transactionPercentile_ = null; transactionPercentileBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTransactionPercentileBuilder() { onChanged(); return getTransactionPercentileFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTransactionPercentileOrBuilder() { if (transactionPercentileBuilder_ != null) { return transactionPercentileBuilder_.getMessageOrBuilder(); } else { return transactionPercentile_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : transactionPercentile_; } } /** * optional .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> getTransactionPercentileFieldBuilder() { if (transactionPercentileBuilder_ == null) { transactionPercentileBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>( getTransactionPercentile(), getParentForChildren(), isClean()); transactionPercentile_ = null; } return transactionPercentileBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionThresholdMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> transactionThresholdMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public boolean hasTransactionThresholdMillis() { return transactionThresholdMillisBuilder_ != null || transactionThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionThresholdMillis() { if (transactionThresholdMillisBuilder_ == null) { return transactionThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionThresholdMillis_; } else { return transactionThresholdMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public Builder setTransactionThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (transactionThresholdMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionThresholdMillis_ = value; onChanged(); } else { transactionThresholdMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public Builder setTransactionThresholdMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (transactionThresholdMillisBuilder_ == null) { transactionThresholdMillis_ = builderForValue.build(); onChanged(); } else { transactionThresholdMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public Builder mergeTransactionThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (transactionThresholdMillisBuilder_ == null) { if (transactionThresholdMillis_ != null) { transactionThresholdMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(transactionThresholdMillis_).mergeFrom(value).buildPartial(); } else { transactionThresholdMillis_ = value; } onChanged(); } else { transactionThresholdMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public Builder clearTransactionThresholdMillis() { if (transactionThresholdMillisBuilder_ == null) { transactionThresholdMillis_ = null; onChanged(); } else { transactionThresholdMillis_ = null; transactionThresholdMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getTransactionThresholdMillisBuilder() { onChanged(); return getTransactionThresholdMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionThresholdMillisOrBuilder() { if (transactionThresholdMillisBuilder_ != null) { return transactionThresholdMillisBuilder_.getMessageOrBuilder(); } else { return transactionThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionThresholdMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_threshold_millis = 4; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getTransactionThresholdMillisFieldBuilder() { if (transactionThresholdMillisBuilder_ == null) { transactionThresholdMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getTransactionThresholdMillis(), getParentForChildren(), isClean()); transactionThresholdMillis_ = null; } return transactionThresholdMillisBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt32 minTransactionCount_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> minTransactionCountBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public boolean hasMinTransactionCount() { return minTransactionCountBuilder_ != null || minTransactionCount_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32 getMinTransactionCount() { if (minTransactionCountBuilder_ == null) { return minTransactionCount_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : minTransactionCount_; } else { return minTransactionCountBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public Builder setMinTransactionCount(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (minTransactionCountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } minTransactionCount_ = value; onChanged(); } else { minTransactionCountBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public Builder setMinTransactionCount( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (minTransactionCountBuilder_ == null) { minTransactionCount_ = builderForValue.build(); onChanged(); } else { minTransactionCountBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public Builder mergeMinTransactionCount(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (minTransactionCountBuilder_ == null) { if (minTransactionCount_ != null) { minTransactionCount_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(minTransactionCount_).mergeFrom(value).buildPartial(); } else { minTransactionCount_ = value; } onChanged(); } else { minTransactionCountBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public Builder clearMinTransactionCount() { if (minTransactionCountBuilder_ == null) { minTransactionCount_ = null; onChanged(); } else { minTransactionCount_ = null; minTransactionCountBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMinTransactionCountBuilder() { onChanged(); return getMinTransactionCountFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMinTransactionCountOrBuilder() { if (minTransactionCountBuilder_ != null) { return minTransactionCountBuilder_.getMessageOrBuilder(); } else { return minTransactionCount_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : minTransactionCount_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getMinTransactionCountFieldBuilder() { if (minTransactionCountBuilder_ == null) { minTransactionCountBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getMinTransactionCount(), getParentForChildren(), isClean()); minTransactionCount_ = null; } return minTransactionCountBuilder_; } private java.lang.Object gaugeName_ = ""; /** * optional string gauge_name = 6; */ public java.lang.String getGaugeName() { java.lang.Object ref = gaugeName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gaugeName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string gauge_name = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getGaugeNameBytes() { java.lang.Object ref = gaugeName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gaugeName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string gauge_name = 6; */ public Builder setGaugeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gaugeName_ = value; onChanged(); return this; } /** * optional string gauge_name = 6; */ public Builder clearGaugeName() { gaugeName_ = getDefaultInstance().getGaugeName(); onChanged(); return this; } /** * optional string gauge_name = 6; */ public Builder setGaugeNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gaugeName_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalDouble gaugeThreshold_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> gaugeThresholdBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public boolean hasGaugeThreshold() { return gaugeThresholdBuilder_ != null || gaugeThreshold_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public org.glowroot.wire.api.model.Proto.OptionalDouble getGaugeThreshold() { if (gaugeThresholdBuilder_ == null) { return gaugeThreshold_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : gaugeThreshold_; } else { return gaugeThresholdBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public Builder setGaugeThreshold(org.glowroot.wire.api.model.Proto.OptionalDouble value) { if (gaugeThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } gaugeThreshold_ = value; onChanged(); } else { gaugeThresholdBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public Builder setGaugeThreshold( org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) { if (gaugeThresholdBuilder_ == null) { gaugeThreshold_ = builderForValue.build(); onChanged(); } else { gaugeThresholdBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public Builder mergeGaugeThreshold(org.glowroot.wire.api.model.Proto.OptionalDouble value) { if (gaugeThresholdBuilder_ == null) { if (gaugeThreshold_ != null) { gaugeThreshold_ = org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(gaugeThreshold_).mergeFrom(value).buildPartial(); } else { gaugeThreshold_ = value; } onChanged(); } else { gaugeThresholdBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public Builder clearGaugeThreshold() { if (gaugeThresholdBuilder_ == null) { gaugeThreshold_ = null; onChanged(); } else { gaugeThreshold_ = null; gaugeThresholdBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getGaugeThresholdBuilder() { onChanged(); return getGaugeThresholdFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getGaugeThresholdOrBuilder() { if (gaugeThresholdBuilder_ != null) { return gaugeThresholdBuilder_.getMessageOrBuilder(); } else { return gaugeThreshold_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : gaugeThreshold_; } } /** * optional .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> getGaugeThresholdFieldBuilder() { if (gaugeThresholdBuilder_ == null) { gaugeThresholdBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>( getGaugeThreshold(), getParentForChildren(), isClean()); gaugeThreshold_ = null; } return gaugeThresholdBuilder_; } private int timePeriodSeconds_ ; /** * optional int32 time_period_seconds = 8; */ public int getTimePeriodSeconds() { return timePeriodSeconds_; } /** * optional int32 time_period_seconds = 8; */ public Builder setTimePeriodSeconds(int value) { timePeriodSeconds_ = value; onChanged(); return this; } /** * optional int32 time_period_seconds = 8; */ public Builder clearTimePeriodSeconds() { timePeriodSeconds_ = 0; onChanged(); return this; } private org.glowroot.agent.shaded.google.protobuf.LazyStringList emailAddress_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; private void ensureEmailAddressIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { emailAddress_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(emailAddress_); bitField0_ |= 0x00000100; } } /** * repeated string email_address = 9; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getEmailAddressList() { return emailAddress_.getUnmodifiableView(); } /** * repeated string email_address = 9; */ public int getEmailAddressCount() { return emailAddress_.size(); } /** * repeated string email_address = 9; */ public java.lang.String getEmailAddress(int index) { return emailAddress_.get(index); } /** * repeated string email_address = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getEmailAddressBytes(int index) { return emailAddress_.getByteString(index); } /** * repeated string email_address = 9; */ public Builder setEmailAddress( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEmailAddressIsMutable(); emailAddress_.set(index, value); onChanged(); return this; } /** * repeated string email_address = 9; */ public Builder addEmailAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureEmailAddressIsMutable(); emailAddress_.add(value); onChanged(); return this; } /** * repeated string email_address = 9; */ public Builder addAllEmailAddress( java.lang.Iterable values) { ensureEmailAddressIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, emailAddress_); onChanged(); return this; } /** * repeated string email_address = 9; */ public Builder clearEmailAddress() { emailAddress_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } /** * repeated string email_address = 9; */ public Builder addEmailAddressBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureEmailAddressIsMutable(); emailAddress_.add(value); onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public AlertConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new AlertConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PluginConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.PluginConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string id = 1; */ java.lang.String getId(); /** * optional string id = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes(); /** * optional string name = 2; */ java.lang.String getName(); /** * optional string name = 2; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ java.util.List getPropertyList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getProperty(int index); /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ int getPropertyCount(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ java.util.List getPropertyOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder getPropertyOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginConfig} */ public static final class PluginConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginConfig) PluginConfigOrBuilder { // Use PluginConfig.newBuilder() to construct. private PluginConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PluginConfig() { id_ = ""; name_ = ""; property_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private PluginConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { property_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } property_.add(input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.parser(), extensionRegistry)); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { property_ = java.util.Collections.unmodifiableList(property_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * optional string id = 1; */ public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** * optional string id = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int NAME_FIELD_NUMBER = 2; private volatile java.lang.Object name_; /** * optional 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 { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int PROPERTY_FIELD_NUMBER = 3; private java.util.List property_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public java.util.List getPropertyList() { return property_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public java.util.List getPropertyOrBuilderList() { return property_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public int getPropertyCount() { return property_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getProperty(int index) { return property_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder getPropertyOrBuilder( int index) { return property_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } if (!getNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, name_); } for (int i = 0; i < property_.size(); i++) { output.writeMessage(3, property_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, name_); } for (int i = 0; i < property_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, property_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.PluginConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } public Builder clear() { super.clear(); id_ = ""; name_ = ""; if (propertyBuilder_ == null) { property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { propertyBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.id_ = id_; result.name_ = name_; if (propertyBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { property_ = java.util.Collections.unmodifiableList(property_); bitField0_ = (bitField0_ & ~0x00000004); } result.property_ = property_; } else { result.property_ = propertyBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (propertyBuilder_ == null) { if (!other.property_.isEmpty()) { if (property_.isEmpty()) { property_ = other.property_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePropertyIsMutable(); property_.addAll(other.property_); } onChanged(); } } else { if (!other.property_.isEmpty()) { if (propertyBuilder_.isEmpty()) { propertyBuilder_.dispose(); propertyBuilder_ = null; property_ = other.property_; bitField0_ = (bitField0_ & ~0x00000004); propertyBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPropertyFieldBuilder() : null; } else { propertyBuilder_.addAllMessages(other.property_); } } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** * optional string id = 1; */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string id = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string id = 1; */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** * optional string id = 1; */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * optional string id = 1; */ public Builder setIdBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private java.lang.Object name_ = ""; /** * optional string name = 2; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 2; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 2; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 2; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List property_ = java.util.Collections.emptyList(); private void ensurePropertyIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { property_ = new java.util.ArrayList(property_); bitField0_ |= 0x00000004; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder> propertyBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public java.util.List getPropertyList() { if (propertyBuilder_ == null) { return java.util.Collections.unmodifiableList(property_); } else { return propertyBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public int getPropertyCount() { if (propertyBuilder_ == null) { return property_.size(); } else { return propertyBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getProperty(int index) { if (propertyBuilder_ == null) { return property_.get(index); } else { return propertyBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder setProperty( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.set(index, value); onChanged(); } else { propertyBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder setProperty( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.set(index, builderForValue.build()); onChanged(); } else { propertyBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder addProperty(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(value); onChanged(); } else { propertyBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder addProperty( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty value) { if (propertyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePropertyIsMutable(); property_.add(index, value); onChanged(); } else { propertyBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder addProperty( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.add(builderForValue.build()); onChanged(); } else { propertyBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder addProperty( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder builderForValue) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.add(index, builderForValue.build()); onChanged(); } else { propertyBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder addAllProperty( java.lang.Iterable values) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, property_); onChanged(); } else { propertyBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder clearProperty() { if (propertyBuilder_ == null) { property_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { propertyBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public Builder removeProperty(int index) { if (propertyBuilder_ == null) { ensurePropertyIsMutable(); property_.remove(index); onChanged(); } else { propertyBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder getPropertyBuilder( int index) { return getPropertyFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder getPropertyOrBuilder( int index) { if (propertyBuilder_ == null) { return property_.get(index); } else { return propertyBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public java.util.List getPropertyOrBuilderList() { if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(property_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder addPropertyBuilder() { return getPropertyFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder addPropertyBuilder( int index) { return getPropertyFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginProperty property = 3; */ public java.util.List getPropertyBuilderList() { return getPropertyFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { propertyBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder>( property_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.PluginConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.PluginConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public PluginConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new PluginConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InstrumentationConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string class_name = 1; */ java.lang.String getClassName(); /** * optional string class_name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes(); /** * optional string class_annotation = 2; */ java.lang.String getClassAnnotation(); /** * optional string class_annotation = 2; */ org.glowroot.agent.shaded.google.protobuf.ByteString getClassAnnotationBytes(); /** * optional string method_declaring_class_name = 3; */ java.lang.String getMethodDeclaringClassName(); /** * optional string method_declaring_class_name = 3; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodDeclaringClassNameBytes(); /** * optional string method_name = 4; */ java.lang.String getMethodName(); /** * optional string method_name = 4; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes(); /** * optional string method_annotation = 5; */ java.lang.String getMethodAnnotation(); /** * optional string method_annotation = 5; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodAnnotationBytes(); /** * repeated string method_parameter_type = 6; */ org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getMethodParameterTypeList(); /** * repeated string method_parameter_type = 6; */ int getMethodParameterTypeCount(); /** * repeated string method_parameter_type = 6; */ java.lang.String getMethodParameterType(int index); /** * repeated string method_parameter_type = 6; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodParameterTypeBytes(int index); /** * optional string method_return_type = 7; */ java.lang.String getMethodReturnType(); /** * optional string method_return_type = 7; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodReturnTypeBytes(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ java.util.List getMethodModifierList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ int getMethodModifierCount(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier getMethodModifier(int index); /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ java.util.List getMethodModifierValueList(); /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ int getMethodModifierValue(int index); /** * optional string nesting_group = 9; */ java.lang.String getNestingGroup(); /** * optional string nesting_group = 9; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNestingGroupBytes(); /** * optional int32 priority = 10; */ int getPriority(); /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ int getCaptureKindValue(); /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind getCaptureKind(); /** * optional string timer_name = 12; */ java.lang.String getTimerName(); /** * optional string timer_name = 12; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTimerNameBytes(); /** * optional string trace_entry_message_template = 13; */ java.lang.String getTraceEntryMessageTemplate(); /** * optional string trace_entry_message_template = 13; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryMessageTemplateBytes(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ boolean hasTraceEntryStackThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getTraceEntryStackThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTraceEntryStackThresholdMillisOrBuilder(); /** * optional bool trace_entry_capture_self_nested = 15; */ boolean getTraceEntryCaptureSelfNested(); /** * optional string transaction_type = 16; */ java.lang.String getTransactionType(); /** * optional string transaction_type = 16; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes(); /** * optional string transaction_name_template = 17; */ java.lang.String getTransactionNameTemplate(); /** * optional string transaction_name_template = 17; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionNameTemplateBytes(); /** * optional string transaction_user_template = 18; */ java.lang.String getTransactionUserTemplate(); /** * optional string transaction_user_template = 18; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionUserTemplateBytes(); /** * map<string, string> transaction_attribute_templates = 19; */ java.util.Map getTransactionAttributeTemplates(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ boolean hasTransactionSlowThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionSlowThresholdMillis(); /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionSlowThresholdMillisOrBuilder(); /** * optional string enabled_property = 21; */ java.lang.String getEnabledProperty(); /** * optional string enabled_property = 21; */ org.glowroot.agent.shaded.google.protobuf.ByteString getEnabledPropertyBytes(); /** * optional string trace_entry_enabled_property = 22; */ java.lang.String getTraceEntryEnabledProperty(); /** * optional string trace_entry_enabled_property = 22; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryEnabledPropertyBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig} */ public static final class InstrumentationConfig extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig) InstrumentationConfigOrBuilder { // Use InstrumentationConfig.newBuilder() to construct. private InstrumentationConfig(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private InstrumentationConfig() { className_ = ""; classAnnotation_ = ""; methodDeclaringClassName_ = ""; methodName_ = ""; methodAnnotation_ = ""; methodParameterType_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; methodReturnType_ = ""; methodModifier_ = java.util.Collections.emptyList(); nestingGroup_ = ""; priority_ = 0; captureKind_ = 0; timerName_ = ""; traceEntryMessageTemplate_ = ""; traceEntryCaptureSelfNested_ = false; transactionType_ = ""; transactionNameTemplate_ = ""; transactionUserTemplate_ = ""; enabledProperty_ = ""; traceEntryEnabledProperty_ = ""; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private InstrumentationConfig( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); className_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); classAnnotation_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); methodDeclaringClassName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); methodName_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); methodAnnotation_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { methodParameterType_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000020; } methodParameterType_.add(s); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); methodReturnType_ = s; break; } case 64: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { methodModifier_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } methodModifier_.add(rawValue); break; } case 66: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { methodModifier_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } methodModifier_.add(rawValue); } input.popLimit(oldLimit); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); nestingGroup_ = s; break; } case 80: { priority_ = input.readInt32(); break; } case 88: { int rawValue = input.readEnum(); captureKind_ = rawValue; break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); timerName_ = s; break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); traceEntryMessageTemplate_ = s; break; } case 114: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (traceEntryStackThresholdMillis_ != null) { subBuilder = traceEntryStackThresholdMillis_.toBuilder(); } traceEntryStackThresholdMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(traceEntryStackThresholdMillis_); traceEntryStackThresholdMillis_ = subBuilder.buildPartial(); } break; } case 120: { traceEntryCaptureSelfNested_ = input.readBool(); break; } case 130: { java.lang.String s = input.readStringRequireUtf8(); transactionType_ = s; break; } case 138: { java.lang.String s = input.readStringRequireUtf8(); transactionNameTemplate_ = s; break; } case 146: { java.lang.String s = input.readStringRequireUtf8(); transactionUserTemplate_ = s; break; } case 154: { if (!((mutable_bitField0_ & 0x00040000) == 0x00040000)) { transactionAttributeTemplates_ = org.glowroot.agent.shaded.google.protobuf.MapField.newMapField( TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00040000; } org.glowroot.agent.shaded.google.protobuf.MapEntry transactionAttributeTemplates = input.readMessage( TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); transactionAttributeTemplates_.getMutableMap().put(transactionAttributeTemplates.getKey(), transactionAttributeTemplates.getValue()); break; } case 162: { org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null; if (transactionSlowThresholdMillis_ != null) { subBuilder = transactionSlowThresholdMillis_.toBuilder(); } transactionSlowThresholdMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(transactionSlowThresholdMillis_); transactionSlowThresholdMillis_ = subBuilder.buildPartial(); } break; } case 170: { java.lang.String s = input.readStringRequireUtf8(); enabledProperty_ = s; break; } case 178: { java.lang.String s = input.readStringRequireUtf8(); traceEntryEnabledProperty_ = s; break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { methodParameterType_ = methodParameterType_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { methodModifier_ = java.util.Collections.unmodifiableList(methodModifier_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) protected org.glowroot.agent.shaded.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 19: return internalGetTransactionAttributeTemplates(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder.class); } /** * Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier} */ public enum MethodModifier implements org.glowroot.agent.shaded.google.protobuf.ProtocolMessageEnum { /** * PUBLIC = 0; */ PUBLIC(0, 0), /** * STATIC = 1; */ STATIC(1, 1), /** * NOT_STATIC = 2; */ NOT_STATIC(2, 2), UNRECOGNIZED(-1, -1), ; /** * PUBLIC = 0; */ public static final int PUBLIC_VALUE = 0; /** * STATIC = 1; */ public static final int STATIC_VALUE = 1; /** * NOT_STATIC = 2; */ public static final int NOT_STATIC_VALUE = 2; public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } public static MethodModifier valueOf(int value) { switch (value) { case 0: return PUBLIC; case 1: return STATIC; case 2: return NOT_STATIC; default: return null; } } public static org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap< MethodModifier> internalValueMap = new org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap() { public MethodModifier findValueByNumber(int number) { return MethodModifier.valueOf(number); } }; public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDescriptor().getEnumTypes().get(0); } private static final MethodModifier[] VALUES = values(); public static MethodModifier valueOf( org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int index; private final int value; private MethodModifier(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier) } /** * Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind} */ public enum CaptureKind implements org.glowroot.agent.shaded.google.protobuf.ProtocolMessageEnum { /** * TRANSACTION = 0; */ TRANSACTION(0, 0), /** * TRACE_ENTRY = 1; */ TRACE_ENTRY(1, 1), /** * TIMER = 2; */ TIMER(2, 2), /** * OTHER = 3; */ OTHER(3, 3), UNRECOGNIZED(-1, -1), ; /** * TRANSACTION = 0; */ public static final int TRANSACTION_VALUE = 0; /** * TRACE_ENTRY = 1; */ public static final int TRACE_ENTRY_VALUE = 1; /** * TIMER = 2; */ public static final int TIMER_VALUE = 2; /** * OTHER = 3; */ public static final int OTHER_VALUE = 3; public final int getNumber() { if (index == -1) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } public static CaptureKind valueOf(int value) { switch (value) { case 0: return TRANSACTION; case 1: return TRACE_ENTRY; case 2: return TIMER; case 3: return OTHER; default: return null; } } public static org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap< CaptureKind> internalValueMap = new org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap() { public CaptureKind findValueByNumber(int number) { return CaptureKind.valueOf(number); } }; public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDescriptor().getEnumTypes().get(1); } private static final CaptureKind[] VALUES = values(); public static CaptureKind valueOf( org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int index; private final int value; private CaptureKind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind) } private int bitField0_; public static final int CLASS_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object className_; /** * optional string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); className_ = s; return s; } } /** * optional string class_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int CLASS_ANNOTATION_FIELD_NUMBER = 2; private volatile java.lang.Object classAnnotation_; /** * optional string class_annotation = 2; */ public java.lang.String getClassAnnotation() { java.lang.Object ref = classAnnotation_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classAnnotation_ = s; return s; } } /** * optional string class_annotation = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassAnnotationBytes() { java.lang.Object ref = classAnnotation_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classAnnotation_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_DECLARING_CLASS_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object methodDeclaringClassName_; /** * optional string method_declaring_class_name = 3; */ public java.lang.String getMethodDeclaringClassName() { java.lang.Object ref = methodDeclaringClassName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodDeclaringClassName_ = s; return s; } } /** * optional string method_declaring_class_name = 3; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodDeclaringClassNameBytes() { java.lang.Object ref = methodDeclaringClassName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodDeclaringClassName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object methodName_; /** * optional string method_name = 4; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } } /** * optional string method_name = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_ANNOTATION_FIELD_NUMBER = 5; private volatile java.lang.Object methodAnnotation_; /** * optional string method_annotation = 5; */ public java.lang.String getMethodAnnotation() { java.lang.Object ref = methodAnnotation_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodAnnotation_ = s; return s; } } /** * optional string method_annotation = 5; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodAnnotationBytes() { java.lang.Object ref = methodAnnotation_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodAnnotation_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_PARAMETER_TYPE_FIELD_NUMBER = 6; private org.glowroot.agent.shaded.google.protobuf.LazyStringList methodParameterType_; /** * repeated string method_parameter_type = 6; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getMethodParameterTypeList() { return methodParameterType_; } /** * repeated string method_parameter_type = 6; */ public int getMethodParameterTypeCount() { return methodParameterType_.size(); } /** * repeated string method_parameter_type = 6; */ public java.lang.String getMethodParameterType(int index) { return methodParameterType_.get(index); } /** * repeated string method_parameter_type = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodParameterTypeBytes(int index) { return methodParameterType_.getByteString(index); } public static final int METHOD_RETURN_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object methodReturnType_; /** * optional string method_return_type = 7; */ public java.lang.String getMethodReturnType() { java.lang.Object ref = methodReturnType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodReturnType_ = s; return s; } } /** * optional string method_return_type = 7; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodReturnTypeBytes() { java.lang.Object ref = methodReturnType_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodReturnType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_MODIFIER_FIELD_NUMBER = 8; private java.util.List methodModifier_; private static final org.glowroot.agent.shaded.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier> methodModifier_converter_ = new org.glowroot.agent.shaded.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier>() { public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier convert(java.lang.Integer from) { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier.valueOf(from); return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier.UNRECOGNIZED : result; } }; /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public java.util.List getMethodModifierList() { return new org.glowroot.agent.shaded.google.protobuf.Internal.ListAdapter< java.lang.Integer, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier>(methodModifier_, methodModifier_converter_); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public int getMethodModifierCount() { return methodModifier_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier getMethodModifier(int index) { return methodModifier_converter_.convert(methodModifier_.get(index)); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public java.util.List getMethodModifierValueList() { return methodModifier_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public int getMethodModifierValue(int index) { return methodModifier_.get(index); } private int methodModifierMemoizedSerializedSize; public static final int NESTING_GROUP_FIELD_NUMBER = 9; private volatile java.lang.Object nestingGroup_; /** * optional string nesting_group = 9; */ public java.lang.String getNestingGroup() { java.lang.Object ref = nestingGroup_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingGroup_ = s; return s; } } /** * optional string nesting_group = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNestingGroupBytes() { java.lang.Object ref = nestingGroup_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nestingGroup_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int PRIORITY_FIELD_NUMBER = 10; private int priority_; /** * optional int32 priority = 10; */ public int getPriority() { return priority_; } public static final int CAPTURE_KIND_FIELD_NUMBER = 11; private int captureKind_; /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public int getCaptureKindValue() { return captureKind_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind getCaptureKind() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.valueOf(captureKind_); return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.UNRECOGNIZED : result; } public static final int TIMER_NAME_FIELD_NUMBER = 12; private volatile java.lang.Object timerName_; /** * optional string timer_name = 12; */ public java.lang.String getTimerName() { java.lang.Object ref = timerName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timerName_ = s; return s; } } /** * optional string timer_name = 12; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTimerNameBytes() { java.lang.Object ref = timerName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timerName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRACE_ENTRY_MESSAGE_TEMPLATE_FIELD_NUMBER = 13; private volatile java.lang.Object traceEntryMessageTemplate_; /** * optional string trace_entry_message_template = 13; */ public java.lang.String getTraceEntryMessageTemplate() { java.lang.Object ref = traceEntryMessageTemplate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceEntryMessageTemplate_ = s; return s; } } /** * optional string trace_entry_message_template = 13; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryMessageTemplateBytes() { java.lang.Object ref = traceEntryMessageTemplate_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceEntryMessageTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRACE_ENTRY_STACK_THRESHOLD_MILLIS_FIELD_NUMBER = 14; private org.glowroot.wire.api.model.Proto.OptionalInt32 traceEntryStackThresholdMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ public boolean hasTraceEntryStackThresholdMillis() { return traceEntryStackThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTraceEntryStackThresholdMillis() { return traceEntryStackThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : traceEntryStackThresholdMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTraceEntryStackThresholdMillisOrBuilder() { return getTraceEntryStackThresholdMillis(); } public static final int TRACE_ENTRY_CAPTURE_SELF_NESTED_FIELD_NUMBER = 15; private boolean traceEntryCaptureSelfNested_; /** * optional bool trace_entry_capture_self_nested = 15; */ public boolean getTraceEntryCaptureSelfNested() { return traceEntryCaptureSelfNested_; } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 16; private volatile java.lang.Object transactionType_; /** * optional string transaction_type = 16; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } } /** * optional string transaction_type = 16; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_NAME_TEMPLATE_FIELD_NUMBER = 17; private volatile java.lang.Object transactionNameTemplate_; /** * optional string transaction_name_template = 17; */ public java.lang.String getTransactionNameTemplate() { java.lang.Object ref = transactionNameTemplate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionNameTemplate_ = s; return s; } } /** * optional string transaction_name_template = 17; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionNameTemplateBytes() { java.lang.Object ref = transactionNameTemplate_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionNameTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_USER_TEMPLATE_FIELD_NUMBER = 18; private volatile java.lang.Object transactionUserTemplate_; /** * optional string transaction_user_template = 18; */ public java.lang.String getTransactionUserTemplate() { java.lang.Object ref = transactionUserTemplate_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionUserTemplate_ = s; return s; } } /** * optional string transaction_user_template = 18; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionUserTemplateBytes() { java.lang.Object ref = transactionUserTemplate_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionUserTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_ATTRIBUTE_TEMPLATES_FIELD_NUMBER = 19; private static final class TransactionAttributeTemplatesDefaultEntryHolder { static final org.glowroot.agent.shaded.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = org.glowroot.agent.shaded.google.protobuf.MapEntry .newDefaultInstance( org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_descriptor, org.glowroot.agent.shaded.google.protobuf.WireFormat.FieldType.STRING, "", org.glowroot.agent.shaded.google.protobuf.WireFormat.FieldType.STRING, ""); } private org.glowroot.agent.shaded.google.protobuf.MapField< java.lang.String, java.lang.String> transactionAttributeTemplates_; private org.glowroot.agent.shaded.google.protobuf.MapField internalGetTransactionAttributeTemplates() { if (transactionAttributeTemplates_ == null) { return org.glowroot.agent.shaded.google.protobuf.MapField.emptyMapField( TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry); } return transactionAttributeTemplates_; } /** * map<string, string> transaction_attribute_templates = 19; */ public java.util.Map getTransactionAttributeTemplates() { return internalGetTransactionAttributeTemplates().getMap(); } public static final int TRANSACTION_SLOW_THRESHOLD_MILLIS_FIELD_NUMBER = 20; private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionSlowThresholdMillis_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ public boolean hasTransactionSlowThresholdMillis() { return transactionSlowThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionSlowThresholdMillis() { return transactionSlowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionSlowThresholdMillis_; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
       * absent means N/A
       * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionSlowThresholdMillisOrBuilder() { return getTransactionSlowThresholdMillis(); } public static final int ENABLED_PROPERTY_FIELD_NUMBER = 21; private volatile java.lang.Object enabledProperty_; /** * optional string enabled_property = 21; */ public java.lang.String getEnabledProperty() { java.lang.Object ref = enabledProperty_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); enabledProperty_ = s; return s; } } /** * optional string enabled_property = 21; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getEnabledPropertyBytes() { java.lang.Object ref = enabledProperty_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enabledProperty_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRACE_ENTRY_ENABLED_PROPERTY_FIELD_NUMBER = 22; private volatile java.lang.Object traceEntryEnabledProperty_; /** * optional string trace_entry_enabled_property = 22; */ public java.lang.String getTraceEntryEnabledProperty() { java.lang.Object ref = traceEntryEnabledProperty_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceEntryEnabledProperty_ = s; return s; } } /** * optional string trace_entry_enabled_property = 22; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryEnabledPropertyBytes() { java.lang.Object ref = traceEntryEnabledProperty_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceEntryEnabledProperty_ = b; return b; } else { return (org.glowroot.agent.shaded.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; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getClassNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, className_); } if (!getClassAnnotationBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, classAnnotation_); } if (!getMethodDeclaringClassNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 3, methodDeclaringClassName_); } if (!getMethodNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, methodName_); } if (!getMethodAnnotationBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 5, methodAnnotation_); } for (int i = 0; i < methodParameterType_.size(); i++) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 6, methodParameterType_.getRaw(i)); } if (!getMethodReturnTypeBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 7, methodReturnType_); } if (getMethodModifierList().size() > 0) { output.writeRawVarint32(66); output.writeRawVarint32(methodModifierMemoizedSerializedSize); } for (int i = 0; i < methodModifier_.size(); i++) { output.writeEnumNoTag(methodModifier_.get(i)); } if (!getNestingGroupBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 9, nestingGroup_); } if (priority_ != 0) { output.writeInt32(10, priority_); } if (captureKind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.TRANSACTION.getNumber()) { output.writeEnum(11, captureKind_); } if (!getTimerNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 12, timerName_); } if (!getTraceEntryMessageTemplateBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 13, traceEntryMessageTemplate_); } if (traceEntryStackThresholdMillis_ != null) { output.writeMessage(14, getTraceEntryStackThresholdMillis()); } if (traceEntryCaptureSelfNested_ != false) { output.writeBool(15, traceEntryCaptureSelfNested_); } if (!getTransactionTypeBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 16, transactionType_); } if (!getTransactionNameTemplateBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 17, transactionNameTemplate_); } if (!getTransactionUserTemplateBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 18, transactionUserTemplate_); } for (java.util.Map.Entry entry : internalGetTransactionAttributeTemplates().getMap().entrySet()) { org.glowroot.agent.shaded.google.protobuf.MapEntry transactionAttributeTemplates = TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); output.writeMessage(19, transactionAttributeTemplates); } if (transactionSlowThresholdMillis_ != null) { output.writeMessage(20, getTransactionSlowThresholdMillis()); } if (!getEnabledPropertyBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 21, enabledProperty_); } if (!getTraceEntryEnabledPropertyBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 22, traceEntryEnabledProperty_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClassNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, className_); } if (!getClassAnnotationBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, classAnnotation_); } if (!getMethodDeclaringClassNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(3, methodDeclaringClassName_); } if (!getMethodNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, methodName_); } if (!getMethodAnnotationBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(5, methodAnnotation_); } { int dataSize = 0; for (int i = 0; i < methodParameterType_.size(); i++) { dataSize += computeStringSizeNoTag(methodParameterType_.getRaw(i)); } size += dataSize; size += 1 * getMethodParameterTypeList().size(); } if (!getMethodReturnTypeBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(7, methodReturnType_); } { int dataSize = 0; for (int i = 0; i < methodModifier_.size(); i++) { dataSize += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(methodModifier_.get(i)); } size += dataSize; if (!getMethodModifierList().isEmpty()) { size += 1; size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeRawVarint32Size(dataSize); }methodModifierMemoizedSerializedSize = dataSize; } if (!getNestingGroupBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(9, nestingGroup_); } if (priority_ != 0) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt32Size(10, priority_); } if (captureKind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.TRANSACTION.getNumber()) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeEnumSize(11, captureKind_); } if (!getTimerNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(12, timerName_); } if (!getTraceEntryMessageTemplateBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(13, traceEntryMessageTemplate_); } if (traceEntryStackThresholdMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(14, getTraceEntryStackThresholdMillis()); } if (traceEntryCaptureSelfNested_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(15, traceEntryCaptureSelfNested_); } if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(16, transactionType_); } if (!getTransactionNameTemplateBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(17, transactionNameTemplate_); } if (!getTransactionUserTemplateBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(18, transactionUserTemplate_); } for (java.util.Map.Entry entry : internalGetTransactionAttributeTemplates().getMap().entrySet()) { org.glowroot.agent.shaded.google.protobuf.MapEntry transactionAttributeTemplates = TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(19, transactionAttributeTemplates); } if (transactionSlowThresholdMillis_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(20, getTransactionSlowThresholdMillis()); } if (!getEnabledPropertyBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(21, enabledProperty_); } if (!getTraceEntryEnabledPropertyBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(22, traceEntryEnabledProperty_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor; } @SuppressWarnings({"rawtypes"}) protected org.glowroot.agent.shaded.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 19: return internalGetTransactionAttributeTemplates(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected org.glowroot.agent.shaded.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 19: return internalGetMutableTransactionAttributeTemplates(); default: throw new RuntimeException( "Invalid map field number: " + number); } } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); className_ = ""; classAnnotation_ = ""; methodDeclaringClassName_ = ""; methodName_ = ""; methodAnnotation_ = ""; methodParameterType_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); methodReturnType_ = ""; methodModifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); nestingGroup_ = ""; priority_ = 0; captureKind_ = 0; timerName_ = ""; traceEntryMessageTemplate_ = ""; if (traceEntryStackThresholdMillisBuilder_ == null) { traceEntryStackThresholdMillis_ = null; } else { traceEntryStackThresholdMillis_ = null; traceEntryStackThresholdMillisBuilder_ = null; } traceEntryCaptureSelfNested_ = false; transactionType_ = ""; transactionNameTemplate_ = ""; transactionUserTemplate_ = ""; internalGetMutableTransactionAttributeTemplates().clear(); if (transactionSlowThresholdMillisBuilder_ == null) { transactionSlowThresholdMillis_ = null; } else { transactionSlowThresholdMillis_ = null; transactionSlowThresholdMillisBuilder_ = null; } enabledProperty_ = ""; traceEntryEnabledProperty_ = ""; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.className_ = className_; result.classAnnotation_ = classAnnotation_; result.methodDeclaringClassName_ = methodDeclaringClassName_; result.methodName_ = methodName_; result.methodAnnotation_ = methodAnnotation_; if (((bitField0_ & 0x00000020) == 0x00000020)) { methodParameterType_ = methodParameterType_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000020); } result.methodParameterType_ = methodParameterType_; result.methodReturnType_ = methodReturnType_; if (((bitField0_ & 0x00000080) == 0x00000080)) { methodModifier_ = java.util.Collections.unmodifiableList(methodModifier_); bitField0_ = (bitField0_ & ~0x00000080); } result.methodModifier_ = methodModifier_; result.nestingGroup_ = nestingGroup_; result.priority_ = priority_; result.captureKind_ = captureKind_; result.timerName_ = timerName_; result.traceEntryMessageTemplate_ = traceEntryMessageTemplate_; if (traceEntryStackThresholdMillisBuilder_ == null) { result.traceEntryStackThresholdMillis_ = traceEntryStackThresholdMillis_; } else { result.traceEntryStackThresholdMillis_ = traceEntryStackThresholdMillisBuilder_.build(); } result.traceEntryCaptureSelfNested_ = traceEntryCaptureSelfNested_; result.transactionType_ = transactionType_; result.transactionNameTemplate_ = transactionNameTemplate_; result.transactionUserTemplate_ = transactionUserTemplate_; result.transactionAttributeTemplates_ = internalGetTransactionAttributeTemplates(); result.transactionAttributeTemplates_.makeImmutable(); if (transactionSlowThresholdMillisBuilder_ == null) { result.transactionSlowThresholdMillis_ = transactionSlowThresholdMillis_; } else { result.transactionSlowThresholdMillis_ = transactionSlowThresholdMillisBuilder_.build(); } result.enabledProperty_ = enabledProperty_; result.traceEntryEnabledProperty_ = traceEntryEnabledProperty_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDefaultInstance()) return this; if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getClassAnnotation().isEmpty()) { classAnnotation_ = other.classAnnotation_; onChanged(); } if (!other.getMethodDeclaringClassName().isEmpty()) { methodDeclaringClassName_ = other.methodDeclaringClassName_; onChanged(); } if (!other.getMethodName().isEmpty()) { methodName_ = other.methodName_; onChanged(); } if (!other.getMethodAnnotation().isEmpty()) { methodAnnotation_ = other.methodAnnotation_; onChanged(); } if (!other.methodParameterType_.isEmpty()) { if (methodParameterType_.isEmpty()) { methodParameterType_ = other.methodParameterType_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureMethodParameterTypeIsMutable(); methodParameterType_.addAll(other.methodParameterType_); } onChanged(); } if (!other.getMethodReturnType().isEmpty()) { methodReturnType_ = other.methodReturnType_; onChanged(); } if (!other.methodModifier_.isEmpty()) { if (methodModifier_.isEmpty()) { methodModifier_ = other.methodModifier_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureMethodModifierIsMutable(); methodModifier_.addAll(other.methodModifier_); } onChanged(); } if (!other.getNestingGroup().isEmpty()) { nestingGroup_ = other.nestingGroup_; onChanged(); } if (other.getPriority() != 0) { setPriority(other.getPriority()); } if (other.captureKind_ != 0) { setCaptureKindValue(other.getCaptureKindValue()); } if (!other.getTimerName().isEmpty()) { timerName_ = other.timerName_; onChanged(); } if (!other.getTraceEntryMessageTemplate().isEmpty()) { traceEntryMessageTemplate_ = other.traceEntryMessageTemplate_; onChanged(); } if (other.hasTraceEntryStackThresholdMillis()) { mergeTraceEntryStackThresholdMillis(other.getTraceEntryStackThresholdMillis()); } if (other.getTraceEntryCaptureSelfNested() != false) { setTraceEntryCaptureSelfNested(other.getTraceEntryCaptureSelfNested()); } if (!other.getTransactionType().isEmpty()) { transactionType_ = other.transactionType_; onChanged(); } if (!other.getTransactionNameTemplate().isEmpty()) { transactionNameTemplate_ = other.transactionNameTemplate_; onChanged(); } if (!other.getTransactionUserTemplate().isEmpty()) { transactionUserTemplate_ = other.transactionUserTemplate_; onChanged(); } internalGetMutableTransactionAttributeTemplates().mergeFrom( other.internalGetTransactionAttributeTemplates()); if (other.hasTransactionSlowThresholdMillis()) { mergeTransactionSlowThresholdMillis(other.getTransactionSlowThresholdMillis()); } if (!other.getEnabledProperty().isEmpty()) { enabledProperty_ = other.enabledProperty_; onChanged(); } if (!other.getTraceEntryEnabledProperty().isEmpty()) { traceEntryEnabledProperty_ = other.traceEntryEnabledProperty_; onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object className_ = ""; /** * optional string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); className_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string class_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string class_name = 1; */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; onChanged(); return this; } /** * optional string class_name = 1; */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * optional string class_name = 1; */ public Builder setClassNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); className_ = value; onChanged(); return this; } private java.lang.Object classAnnotation_ = ""; /** * optional string class_annotation = 2; */ public java.lang.String getClassAnnotation() { java.lang.Object ref = classAnnotation_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classAnnotation_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string class_annotation = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassAnnotationBytes() { java.lang.Object ref = classAnnotation_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classAnnotation_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string class_annotation = 2; */ public Builder setClassAnnotation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } classAnnotation_ = value; onChanged(); return this; } /** * optional string class_annotation = 2; */ public Builder clearClassAnnotation() { classAnnotation_ = getDefaultInstance().getClassAnnotation(); onChanged(); return this; } /** * optional string class_annotation = 2; */ public Builder setClassAnnotationBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); classAnnotation_ = value; onChanged(); return this; } private java.lang.Object methodDeclaringClassName_ = ""; /** * optional string method_declaring_class_name = 3; */ public java.lang.String getMethodDeclaringClassName() { java.lang.Object ref = methodDeclaringClassName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodDeclaringClassName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string method_declaring_class_name = 3; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodDeclaringClassNameBytes() { java.lang.Object ref = methodDeclaringClassName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodDeclaringClassName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string method_declaring_class_name = 3; */ public Builder setMethodDeclaringClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodDeclaringClassName_ = value; onChanged(); return this; } /** * optional string method_declaring_class_name = 3; */ public Builder clearMethodDeclaringClassName() { methodDeclaringClassName_ = getDefaultInstance().getMethodDeclaringClassName(); onChanged(); return this; } /** * optional string method_declaring_class_name = 3; */ public Builder setMethodDeclaringClassNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodDeclaringClassName_ = value; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * optional string method_name = 4; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string method_name = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string method_name = 4; */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; onChanged(); return this; } /** * optional string method_name = 4; */ public Builder clearMethodName() { methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * optional string method_name = 4; */ public Builder setMethodNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodName_ = value; onChanged(); return this; } private java.lang.Object methodAnnotation_ = ""; /** * optional string method_annotation = 5; */ public java.lang.String getMethodAnnotation() { java.lang.Object ref = methodAnnotation_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodAnnotation_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string method_annotation = 5; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodAnnotationBytes() { java.lang.Object ref = methodAnnotation_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodAnnotation_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string method_annotation = 5; */ public Builder setMethodAnnotation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodAnnotation_ = value; onChanged(); return this; } /** * optional string method_annotation = 5; */ public Builder clearMethodAnnotation() { methodAnnotation_ = getDefaultInstance().getMethodAnnotation(); onChanged(); return this; } /** * optional string method_annotation = 5; */ public Builder setMethodAnnotationBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodAnnotation_ = value; onChanged(); return this; } private org.glowroot.agent.shaded.google.protobuf.LazyStringList methodParameterType_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; private void ensureMethodParameterTypeIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { methodParameterType_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(methodParameterType_); bitField0_ |= 0x00000020; } } /** * repeated string method_parameter_type = 6; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getMethodParameterTypeList() { return methodParameterType_.getUnmodifiableView(); } /** * repeated string method_parameter_type = 6; */ public int getMethodParameterTypeCount() { return methodParameterType_.size(); } /** * repeated string method_parameter_type = 6; */ public java.lang.String getMethodParameterType(int index) { return methodParameterType_.get(index); } /** * repeated string method_parameter_type = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodParameterTypeBytes(int index) { return methodParameterType_.getByteString(index); } /** * repeated string method_parameter_type = 6; */ public Builder setMethodParameterType( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMethodParameterTypeIsMutable(); methodParameterType_.set(index, value); onChanged(); return this; } /** * repeated string method_parameter_type = 6; */ public Builder addMethodParameterType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureMethodParameterTypeIsMutable(); methodParameterType_.add(value); onChanged(); return this; } /** * repeated string method_parameter_type = 6; */ public Builder addAllMethodParameterType( java.lang.Iterable values) { ensureMethodParameterTypeIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, methodParameterType_); onChanged(); return this; } /** * repeated string method_parameter_type = 6; */ public Builder clearMethodParameterType() { methodParameterType_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } /** * repeated string method_parameter_type = 6; */ public Builder addMethodParameterTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureMethodParameterTypeIsMutable(); methodParameterType_.add(value); onChanged(); return this; } private java.lang.Object methodReturnType_ = ""; /** * optional string method_return_type = 7; */ public java.lang.String getMethodReturnType() { java.lang.Object ref = methodReturnType_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodReturnType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string method_return_type = 7; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodReturnTypeBytes() { java.lang.Object ref = methodReturnType_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodReturnType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string method_return_type = 7; */ public Builder setMethodReturnType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodReturnType_ = value; onChanged(); return this; } /** * optional string method_return_type = 7; */ public Builder clearMethodReturnType() { methodReturnType_ = getDefaultInstance().getMethodReturnType(); onChanged(); return this; } /** * optional string method_return_type = 7; */ public Builder setMethodReturnTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodReturnType_ = value; onChanged(); return this; } private java.util.List methodModifier_ = java.util.Collections.emptyList(); private void ensureMethodModifierIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { methodModifier_ = new java.util.ArrayList(methodModifier_); bitField0_ |= 0x00000080; } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public java.util.List getMethodModifierList() { return new org.glowroot.agent.shaded.google.protobuf.Internal.ListAdapter< java.lang.Integer, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier>(methodModifier_, methodModifier_converter_); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public int getMethodModifierCount() { return methodModifier_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier getMethodModifier(int index) { return methodModifier_converter_.convert(methodModifier_.get(index)); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder setMethodModifier( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier value) { if (value == null) { throw new NullPointerException(); } ensureMethodModifierIsMutable(); methodModifier_.set(index, value.getNumber()); onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder addMethodModifier(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier value) { if (value == null) { throw new NullPointerException(); } ensureMethodModifierIsMutable(); methodModifier_.add(value.getNumber()); onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder addAllMethodModifier( java.lang.Iterable values) { ensureMethodModifierIsMutable(); for (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier value : values) { methodModifier_.add(value.getNumber()); } onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder clearMethodModifier() { methodModifier_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public java.util.List getMethodModifierValueList() { return java.util.Collections.unmodifiableList(methodModifier_); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public int getMethodModifierValue(int index) { return methodModifier_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder setMethodModifierValue( int index, int value) { ensureMethodModifierIsMutable(); methodModifier_.set(index, value); onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder addMethodModifierValue(int value) { ensureMethodModifierIsMutable(); methodModifier_.add(value); onChanged(); return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8; */ public Builder addAllMethodModifierValue( java.lang.Iterable values) { ensureMethodModifierIsMutable(); for (int value : values) { methodModifier_.add(value); } onChanged(); return this; } private java.lang.Object nestingGroup_ = ""; /** * optional string nesting_group = 9; */ public java.lang.String getNestingGroup() { java.lang.Object ref = nestingGroup_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nestingGroup_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string nesting_group = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNestingGroupBytes() { java.lang.Object ref = nestingGroup_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nestingGroup_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string nesting_group = 9; */ public Builder setNestingGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nestingGroup_ = value; onChanged(); return this; } /** * optional string nesting_group = 9; */ public Builder clearNestingGroup() { nestingGroup_ = getDefaultInstance().getNestingGroup(); onChanged(); return this; } /** * optional string nesting_group = 9; */ public Builder setNestingGroupBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nestingGroup_ = value; onChanged(); return this; } private int priority_ ; /** * optional int32 priority = 10; */ public int getPriority() { return priority_; } /** * optional int32 priority = 10; */ public Builder setPriority(int value) { priority_ = value; onChanged(); return this; } /** * optional int32 priority = 10; */ public Builder clearPriority() { priority_ = 0; onChanged(); return this; } private int captureKind_ = 0; /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public int getCaptureKindValue() { return captureKind_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public Builder setCaptureKindValue(int value) { captureKind_ = value; onChanged(); return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind getCaptureKind() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.valueOf(captureKind_); return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.UNRECOGNIZED : result; } /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public Builder setCaptureKind(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind value) { if (value == null) { throw new NullPointerException(); } captureKind_ = value.getNumber(); onChanged(); return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11; */ public Builder clearCaptureKind() { captureKind_ = 0; onChanged(); return this; } private java.lang.Object timerName_ = ""; /** * optional string timer_name = 12; */ public java.lang.String getTimerName() { java.lang.Object ref = timerName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timerName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string timer_name = 12; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTimerNameBytes() { java.lang.Object ref = timerName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timerName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string timer_name = 12; */ public Builder setTimerName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timerName_ = value; onChanged(); return this; } /** * optional string timer_name = 12; */ public Builder clearTimerName() { timerName_ = getDefaultInstance().getTimerName(); onChanged(); return this; } /** * optional string timer_name = 12; */ public Builder setTimerNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timerName_ = value; onChanged(); return this; } private java.lang.Object traceEntryMessageTemplate_ = ""; /** * optional string trace_entry_message_template = 13; */ public java.lang.String getTraceEntryMessageTemplate() { java.lang.Object ref = traceEntryMessageTemplate_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceEntryMessageTemplate_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string trace_entry_message_template = 13; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryMessageTemplateBytes() { java.lang.Object ref = traceEntryMessageTemplate_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceEntryMessageTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string trace_entry_message_template = 13; */ public Builder setTraceEntryMessageTemplate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceEntryMessageTemplate_ = value; onChanged(); return this; } /** * optional string trace_entry_message_template = 13; */ public Builder clearTraceEntryMessageTemplate() { traceEntryMessageTemplate_ = getDefaultInstance().getTraceEntryMessageTemplate(); onChanged(); return this; } /** * optional string trace_entry_message_template = 13; */ public Builder setTraceEntryMessageTemplateBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceEntryMessageTemplate_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalInt32 traceEntryStackThresholdMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> traceEntryStackThresholdMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public boolean hasTraceEntryStackThresholdMillis() { return traceEntryStackThresholdMillisBuilder_ != null || traceEntryStackThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTraceEntryStackThresholdMillis() { if (traceEntryStackThresholdMillisBuilder_ == null) { return traceEntryStackThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : traceEntryStackThresholdMillis_; } else { return traceEntryStackThresholdMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public Builder setTraceEntryStackThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (traceEntryStackThresholdMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceEntryStackThresholdMillis_ = value; onChanged(); } else { traceEntryStackThresholdMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public Builder setTraceEntryStackThresholdMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (traceEntryStackThresholdMillisBuilder_ == null) { traceEntryStackThresholdMillis_ = builderForValue.build(); onChanged(); } else { traceEntryStackThresholdMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public Builder mergeTraceEntryStackThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (traceEntryStackThresholdMillisBuilder_ == null) { if (traceEntryStackThresholdMillis_ != null) { traceEntryStackThresholdMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(traceEntryStackThresholdMillis_).mergeFrom(value).buildPartial(); } else { traceEntryStackThresholdMillis_ = value; } onChanged(); } else { traceEntryStackThresholdMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public Builder clearTraceEntryStackThresholdMillis() { if (traceEntryStackThresholdMillisBuilder_ == null) { traceEntryStackThresholdMillis_ = null; onChanged(); } else { traceEntryStackThresholdMillis_ = null; traceEntryStackThresholdMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getTraceEntryStackThresholdMillisBuilder() { onChanged(); return getTraceEntryStackThresholdMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTraceEntryStackThresholdMillisOrBuilder() { if (traceEntryStackThresholdMillisBuilder_ != null) { return traceEntryStackThresholdMillisBuilder_.getMessageOrBuilder(); } else { return traceEntryStackThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : traceEntryStackThresholdMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14; * *
         * absent means N/A
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getTraceEntryStackThresholdMillisFieldBuilder() { if (traceEntryStackThresholdMillisBuilder_ == null) { traceEntryStackThresholdMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getTraceEntryStackThresholdMillis(), getParentForChildren(), isClean()); traceEntryStackThresholdMillis_ = null; } return traceEntryStackThresholdMillisBuilder_; } private boolean traceEntryCaptureSelfNested_ ; /** * optional bool trace_entry_capture_self_nested = 15; */ public boolean getTraceEntryCaptureSelfNested() { return traceEntryCaptureSelfNested_; } /** * optional bool trace_entry_capture_self_nested = 15; */ public Builder setTraceEntryCaptureSelfNested(boolean value) { traceEntryCaptureSelfNested_ = value; onChanged(); return this; } /** * optional bool trace_entry_capture_self_nested = 15; */ public Builder clearTraceEntryCaptureSelfNested() { traceEntryCaptureSelfNested_ = false; onChanged(); return this; } private java.lang.Object transactionType_ = ""; /** * optional string transaction_type = 16; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string transaction_type = 16; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string transaction_type = 16; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * optional string transaction_type = 16; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * optional string transaction_type = 16; */ public Builder setTransactionTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionType_ = value; onChanged(); return this; } private java.lang.Object transactionNameTemplate_ = ""; /** * optional string transaction_name_template = 17; */ public java.lang.String getTransactionNameTemplate() { java.lang.Object ref = transactionNameTemplate_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionNameTemplate_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string transaction_name_template = 17; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionNameTemplateBytes() { java.lang.Object ref = transactionNameTemplate_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionNameTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string transaction_name_template = 17; */ public Builder setTransactionNameTemplate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionNameTemplate_ = value; onChanged(); return this; } /** * optional string transaction_name_template = 17; */ public Builder clearTransactionNameTemplate() { transactionNameTemplate_ = getDefaultInstance().getTransactionNameTemplate(); onChanged(); return this; } /** * optional string transaction_name_template = 17; */ public Builder setTransactionNameTemplateBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionNameTemplate_ = value; onChanged(); return this; } private java.lang.Object transactionUserTemplate_ = ""; /** * optional string transaction_user_template = 18; */ public java.lang.String getTransactionUserTemplate() { java.lang.Object ref = transactionUserTemplate_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionUserTemplate_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string transaction_user_template = 18; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionUserTemplateBytes() { java.lang.Object ref = transactionUserTemplate_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionUserTemplate_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string transaction_user_template = 18; */ public Builder setTransactionUserTemplate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionUserTemplate_ = value; onChanged(); return this; } /** * optional string transaction_user_template = 18; */ public Builder clearTransactionUserTemplate() { transactionUserTemplate_ = getDefaultInstance().getTransactionUserTemplate(); onChanged(); return this; } /** * optional string transaction_user_template = 18; */ public Builder setTransactionUserTemplateBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionUserTemplate_ = value; onChanged(); return this; } private org.glowroot.agent.shaded.google.protobuf.MapField< java.lang.String, java.lang.String> transactionAttributeTemplates_; private org.glowroot.agent.shaded.google.protobuf.MapField internalGetTransactionAttributeTemplates() { if (transactionAttributeTemplates_ == null) { return org.glowroot.agent.shaded.google.protobuf.MapField.emptyMapField( TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry); } return transactionAttributeTemplates_; } private org.glowroot.agent.shaded.google.protobuf.MapField internalGetMutableTransactionAttributeTemplates() { onChanged();; if (transactionAttributeTemplates_ == null) { transactionAttributeTemplates_ = org.glowroot.agent.shaded.google.protobuf.MapField.newMapField( TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry); } if (!transactionAttributeTemplates_.isMutable()) { transactionAttributeTemplates_ = transactionAttributeTemplates_.copy(); } return transactionAttributeTemplates_; } /** * map<string, string> transaction_attribute_templates = 19; */ public java.util.Map getTransactionAttributeTemplates() { return internalGetTransactionAttributeTemplates().getMap(); } /** * map<string, string> transaction_attribute_templates = 19; */ public java.util.Map getMutableTransactionAttributeTemplates() { return internalGetMutableTransactionAttributeTemplates().getMutableMap(); } /** * map<string, string> transaction_attribute_templates = 19; */ public Builder putAllTransactionAttributeTemplates( java.util.Map values) { getMutableTransactionAttributeTemplates().putAll(values); return this; } private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionSlowThresholdMillis_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> transactionSlowThresholdMillisBuilder_; /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public boolean hasTransactionSlowThresholdMillis() { return transactionSlowThresholdMillisBuilder_ != null || transactionSlowThresholdMillis_ != null; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionSlowThresholdMillis() { if (transactionSlowThresholdMillisBuilder_ == null) { return transactionSlowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionSlowThresholdMillis_; } else { return transactionSlowThresholdMillisBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public Builder setTransactionSlowThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (transactionSlowThresholdMillisBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionSlowThresholdMillis_ = value; onChanged(); } else { transactionSlowThresholdMillisBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public Builder setTransactionSlowThresholdMillis( org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) { if (transactionSlowThresholdMillisBuilder_ == null) { transactionSlowThresholdMillis_ = builderForValue.build(); onChanged(); } else { transactionSlowThresholdMillisBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public Builder mergeTransactionSlowThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) { if (transactionSlowThresholdMillisBuilder_ == null) { if (transactionSlowThresholdMillis_ != null) { transactionSlowThresholdMillis_ = org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(transactionSlowThresholdMillis_).mergeFrom(value).buildPartial(); } else { transactionSlowThresholdMillis_ = value; } onChanged(); } else { transactionSlowThresholdMillisBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public Builder clearTransactionSlowThresholdMillis() { if (transactionSlowThresholdMillisBuilder_ == null) { transactionSlowThresholdMillis_ = null; onChanged(); } else { transactionSlowThresholdMillis_ = null; transactionSlowThresholdMillisBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getTransactionSlowThresholdMillisBuilder() { onChanged(); return getTransactionSlowThresholdMillisFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionSlowThresholdMillisOrBuilder() { if (transactionSlowThresholdMillisBuilder_ != null) { return transactionSlowThresholdMillisBuilder_.getMessageOrBuilder(); } else { return transactionSlowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionSlowThresholdMillis_; } } /** * optional .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20; * *
         * absent means N/A
         * 
*/ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> getTransactionSlowThresholdMillisFieldBuilder() { if (transactionSlowThresholdMillisBuilder_ == null) { transactionSlowThresholdMillisBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>( getTransactionSlowThresholdMillis(), getParentForChildren(), isClean()); transactionSlowThresholdMillis_ = null; } return transactionSlowThresholdMillisBuilder_; } private java.lang.Object enabledProperty_ = ""; /** * optional string enabled_property = 21; */ public java.lang.String getEnabledProperty() { java.lang.Object ref = enabledProperty_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); enabledProperty_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string enabled_property = 21; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getEnabledPropertyBytes() { java.lang.Object ref = enabledProperty_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); enabledProperty_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string enabled_property = 21; */ public Builder setEnabledProperty( java.lang.String value) { if (value == null) { throw new NullPointerException(); } enabledProperty_ = value; onChanged(); return this; } /** * optional string enabled_property = 21; */ public Builder clearEnabledProperty() { enabledProperty_ = getDefaultInstance().getEnabledProperty(); onChanged(); return this; } /** * optional string enabled_property = 21; */ public Builder setEnabledPropertyBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); enabledProperty_ = value; onChanged(); return this; } private java.lang.Object traceEntryEnabledProperty_ = ""; /** * optional string trace_entry_enabled_property = 22; */ public java.lang.String getTraceEntryEnabledProperty() { java.lang.Object ref = traceEntryEnabledProperty_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); traceEntryEnabledProperty_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string trace_entry_enabled_property = 22; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTraceEntryEnabledPropertyBytes() { java.lang.Object ref = traceEntryEnabledProperty_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); traceEntryEnabledProperty_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string trace_entry_enabled_property = 22; */ public Builder setTraceEntryEnabledProperty( java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceEntryEnabledProperty_ = value; onChanged(); return this; } /** * optional string trace_entry_enabled_property = 22; */ public Builder clearTraceEntryEnabledProperty() { traceEntryEnabledProperty_ = getDefaultInstance().getTraceEntryEnabledProperty(); onChanged(); return this; } /** * optional string trace_entry_enabled_property = 22; */ public Builder setTraceEntryEnabledPropertyBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceEntryEnabledProperty_ = value; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public InstrumentationConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new InstrumentationConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MBeanAttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * optional bool counter = 2; */ boolean getCounter(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.MBeanAttribute} */ public static final class MBeanAttribute extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute) MBeanAttributeOrBuilder { // Use MBeanAttribute.newBuilder() to construct. private MBeanAttribute(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private MBeanAttribute() { name_ = ""; counter_ = false; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private MBeanAttribute( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 16: { counter_ = input.readBool(); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional 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 { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int COUNTER_FIELD_NUMBER = 2; private boolean counter_; /** * optional bool counter = 2; */ public boolean getCounter() { return counter_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (counter_ != false) { output.writeBool(2, counter_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (counter_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(2, counter_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.MBeanAttribute} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; counter_ = false; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute(this); result.name_ = name_; result.counter_ = counter_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getCounter() != false) { setCounter(other.getCounter()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private boolean counter_ ; /** * optional bool counter = 2; */ public boolean getCounter() { return counter_; } /** * optional bool counter = 2; */ public Builder setCounter(boolean value) { counter_ = value; onChanged(); return this; } /** * optional bool counter = 2; */ public Builder clearCounter() { counter_ = false; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public MBeanAttribute parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new MBeanAttribute(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PluginPropertyOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.PluginProperty) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ boolean hasValue(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getValue(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getValueOrBuilder(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ boolean hasDefault(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefault(); /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getDefaultOrBuilder(); /** * optional string label = 4; */ java.lang.String getLabel(); /** * optional string label = 4; */ org.glowroot.agent.shaded.google.protobuf.ByteString getLabelBytes(); /** * optional string checkbox_label = 5; */ java.lang.String getCheckboxLabel(); /** * optional string checkbox_label = 5; */ org.glowroot.agent.shaded.google.protobuf.ByteString getCheckboxLabelBytes(); /** * optional string description = 6; */ java.lang.String getDescription(); /** * optional string description = 6; */ org.glowroot.agent.shaded.google.protobuf.ByteString getDescriptionBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty} */ public static final class PluginProperty extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty) PluginPropertyOrBuilder { // Use PluginProperty.newBuilder() to construct. private PluginProperty(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private PluginProperty() { name_ = ""; label_ = ""; checkboxLabel_ = ""; description_ = ""; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private PluginProperty( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder subBuilder = null; if (value_ != null) { subBuilder = value_.toBuilder(); } value_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(value_); value_ = subBuilder.buildPartial(); } break; } case 26: { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder subBuilder = null; if (default_ != null) { subBuilder = default_.toBuilder(); } default_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(default_); default_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); label_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); checkboxLabel_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); description_ = s; break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder.class); } public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional bool bval = 1; */ boolean getBval(); /** * optional bool dval_null = 2; * *
         * simple one field OptionalDouble won't work inside "oneof"
         * 
*/ boolean getDvalNull(); /** * optional double dval = 3; */ double getDval(); /** * optional string sval = 4; */ java.lang.String getSval(); /** * optional string sval = 4; */ org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes(); public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.ValCase getValCase(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value} */ public static final class Value extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value) ValueOrBuilder { // Use Value.newBuilder() to construct. private Value(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Value() { } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Value( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 8: { valCase_ = 1; val_ = input.readBool(); break; } case 16: { valCase_ = 2; val_ = input.readBool(); break; } case 25: { valCase_ = 3; val_ = input.readDouble(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); valCase_ = 4; val_ = s; break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder.class); } private int valCase_ = 0; private java.lang.Object val_; public enum ValCase implements org.glowroot.agent.shaded.google.protobuf.Internal.EnumLite { BVAL(1), DVAL_NULL(2), DVAL(3), SVAL(4), VAL_NOT_SET(0); private int value = 0; private ValCase(int value) { this.value = value; } public static ValCase valueOf(int value) { switch (value) { case 1: return BVAL; case 2: return DVAL_NULL; case 3: return DVAL; case 4: return SVAL; case 0: return VAL_NOT_SET; default: throw new java.lang.IllegalArgumentException( "Value is undefined for this oneof enum."); } } public int getNumber() { return this.value; } }; public ValCase getValCase() { return ValCase.valueOf( valCase_); } public static final int BVAL_FIELD_NUMBER = 1; /** * optional bool bval = 1; */ public boolean getBval() { if (valCase_ == 1) { return (java.lang.Boolean) val_; } return false; } public static final int DVAL_NULL_FIELD_NUMBER = 2; /** * optional bool dval_null = 2; * *
         * simple one field OptionalDouble won't work inside "oneof"
         * 
*/ public boolean getDvalNull() { if (valCase_ == 2) { return (java.lang.Boolean) val_; } return false; } public static final int DVAL_FIELD_NUMBER = 3; /** * optional double dval = 3; */ public double getDval() { if (valCase_ == 3) { return (java.lang.Double) val_; } return 0D; } public static final int SVAL_FIELD_NUMBER = 4; /** * optional string sval = 4; */ public java.lang.String getSval() { java.lang.Object ref = ""; if (valCase_ == 4) { ref = val_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 4) { val_ = s; } return s; } } /** * optional string sval = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes() { java.lang.Object ref = ""; if (valCase_ == 4) { ref = val_; } if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 4) { val_ = b; } return b; } else { return (org.glowroot.agent.shaded.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; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valCase_ == 1) { output.writeBool( 1, (boolean)((java.lang.Boolean) val_)); } if (valCase_ == 2) { output.writeBool( 2, (boolean)((java.lang.Boolean) val_)); } if (valCase_ == 3) { output.writeDouble( 3, (double)((java.lang.Double) val_)); } if (valCase_ == 4) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, val_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valCase_ == 1) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize( 1, (boolean)((java.lang.Boolean) val_)); } if (valCase_ == 2) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize( 2, (boolean)((java.lang.Boolean) val_)); } if (valCase_ == 3) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeDoubleSize( 3, (double)((java.lang.Double) val_)); } if (valCase_ == 4) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, val_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); valCase_ = 0; val_ = null; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value(this); if (valCase_ == 1) { result.val_ = val_; } if (valCase_ == 2) { result.val_ = val_; } if (valCase_ == 3) { result.val_ = val_; } if (valCase_ == 4) { result.val_ = val_; } result.valCase_ = valCase_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance()) return this; switch (other.getValCase()) { case BVAL: { setBval(other.getBval()); break; } case DVAL_NULL: { setDvalNull(other.getDvalNull()); break; } case DVAL: { setDval(other.getDval()); break; } case SVAL: { valCase_ = 4; val_ = other.val_; onChanged(); break; } case VAL_NOT_SET: { break; } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valCase_ = 0; private java.lang.Object val_; public ValCase getValCase() { return ValCase.valueOf( valCase_); } public Builder clearVal() { valCase_ = 0; val_ = null; onChanged(); return this; } /** * optional bool bval = 1; */ public boolean getBval() { if (valCase_ == 1) { return (java.lang.Boolean) val_; } return false; } /** * optional bool bval = 1; */ public Builder setBval(boolean value) { valCase_ = 1; val_ = value; onChanged(); return this; } /** * optional bool bval = 1; */ public Builder clearBval() { if (valCase_ == 1) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional bool dval_null = 2; * *
           * simple one field OptionalDouble won't work inside "oneof"
           * 
*/ public boolean getDvalNull() { if (valCase_ == 2) { return (java.lang.Boolean) val_; } return false; } /** * optional bool dval_null = 2; * *
           * simple one field OptionalDouble won't work inside "oneof"
           * 
*/ public Builder setDvalNull(boolean value) { valCase_ = 2; val_ = value; onChanged(); return this; } /** * optional bool dval_null = 2; * *
           * simple one field OptionalDouble won't work inside "oneof"
           * 
*/ public Builder clearDvalNull() { if (valCase_ == 2) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional double dval = 3; */ public double getDval() { if (valCase_ == 3) { return (java.lang.Double) val_; } return 0D; } /** * optional double dval = 3; */ public Builder setDval(double value) { valCase_ = 3; val_ = value; onChanged(); return this; } /** * optional double dval = 3; */ public Builder clearDval() { if (valCase_ == 3) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional string sval = 4; */ public java.lang.String getSval() { java.lang.Object ref = ""; if (valCase_ == 4) { ref = val_; } if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 4) { val_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string sval = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes() { java.lang.Object ref = ""; if (valCase_ == 4) { ref = val_; } if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 4) { val_ = b; } return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string sval = 4; */ public Builder setSval( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valCase_ = 4; val_ = value; onChanged(); return this; } /** * optional string sval = 4; */ public Builder clearSval() { if (valCase_ == 4) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional string sval = 4; */ public Builder setSvalBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valCase_ = 4; val_ = value; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Value parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new Value(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional 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 { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value_; /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public boolean hasValue() { return value_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getValue() { return value_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : value_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getValueOrBuilder() { return getValue(); } public static final int DEFAULT_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value default_; /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public boolean hasDefault() { return default_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefault() { return default_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : default_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getDefaultOrBuilder() { return getDefault(); } public static final int LABEL_FIELD_NUMBER = 4; private volatile java.lang.Object label_; /** * optional string label = 4; */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } } /** * optional string label = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int CHECKBOX_LABEL_FIELD_NUMBER = 5; private volatile java.lang.Object checkboxLabel_; /** * optional string checkbox_label = 5; */ public java.lang.String getCheckboxLabel() { java.lang.Object ref = checkboxLabel_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkboxLabel_ = s; return s; } } /** * optional string checkbox_label = 5; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getCheckboxLabelBytes() { java.lang.Object ref = checkboxLabel_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); checkboxLabel_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int DESCRIPTION_FIELD_NUMBER = 6; private volatile java.lang.Object description_; /** * optional string description = 6; */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** * optional string description = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (org.glowroot.agent.shaded.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; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } if (value_ != null) { output.writeMessage(2, getValue()); } if (default_ != null) { output.writeMessage(3, getDefault()); } if (!getLabelBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, label_); } if (!getCheckboxLabelBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 5, checkboxLabel_); } if (!getDescriptionBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 6, description_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, name_); } if (value_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getValue()); } if (default_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, getDefault()); } if (!getLabelBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, label_); } if (!getCheckboxLabelBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(5, checkboxLabel_); } if (!getDescriptionBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(6, description_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; if (valueBuilder_ == null) { value_ = null; } else { value_ = null; valueBuilder_ = null; } if (defaultBuilder_ == null) { default_ = null; } else { default_ = null; defaultBuilder_ = null; } label_ = ""; checkboxLabel_ = ""; description_ = ""; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty(this); result.name_ = name_; if (valueBuilder_ == null) { result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } if (defaultBuilder_ == null) { result.default_ = default_; } else { result.default_ = defaultBuilder_.build(); } result.label_ = label_; result.checkboxLabel_ = checkboxLabel_; result.description_ = description_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasValue()) { mergeValue(other.getValue()); } if (other.hasDefault()) { mergeDefault(other.getDefault()); } if (!other.getLabel().isEmpty()) { label_ = other.label_; onChanged(); } if (!other.getCheckboxLabel().isEmpty()) { checkboxLabel_ = other.checkboxLabel_; onChanged(); } if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder> valueBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public boolean hasValue() { return valueBuilder_ != null || value_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getValue() { if (valueBuilder_ == null) { return value_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : value_; } else { return valueBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public Builder setValue(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } value_ = value; onChanged(); } else { valueBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public Builder setValue( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); onChanged(); } else { valueBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public Builder mergeValue(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value) { if (valueBuilder_ == null) { if (value_ != null) { value_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.newBuilder(value_).mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { valueBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = null; onChanged(); } else { value_ = null; valueBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder getValueBuilder() { onChanged(); return getValueFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { return value_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : value_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder>( getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value default_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder> defaultBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public boolean hasDefault() { return defaultBuilder_ != null || default_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefault() { if (defaultBuilder_ == null) { return default_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : default_; } else { return defaultBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public Builder setDefault(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value) { if (defaultBuilder_ == null) { if (value == null) { throw new NullPointerException(); } default_ = value; onChanged(); } else { defaultBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public Builder setDefault( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder builderForValue) { if (defaultBuilder_ == null) { default_ = builderForValue.build(); onChanged(); } else { defaultBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public Builder mergeDefault(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value) { if (defaultBuilder_ == null) { if (default_ != null) { default_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.newBuilder(default_).mergeFrom(value).buildPartial(); } else { default_ = value; } onChanged(); } else { defaultBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public Builder clearDefault() { if (defaultBuilder_ == null) { default_ = null; onChanged(); } else { default_ = null; defaultBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder getDefaultBuilder() { onChanged(); return getDefaultFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getDefaultOrBuilder() { if (defaultBuilder_ != null) { return defaultBuilder_.getMessageOrBuilder(); } else { return default_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.getDefaultInstance() : default_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder> getDefaultFieldBuilder() { if (defaultBuilder_ == null) { defaultBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder>( getDefault(), getParentForChildren(), isClean()); default_ = null; } return defaultBuilder_; } private java.lang.Object label_ = ""; /** * optional string label = 4; */ public java.lang.String getLabel() { java.lang.Object ref = label_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); label_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string label = 4; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getLabelBytes() { java.lang.Object ref = label_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); label_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string label = 4; */ public Builder setLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } label_ = value; onChanged(); return this; } /** * optional string label = 4; */ public Builder clearLabel() { label_ = getDefaultInstance().getLabel(); onChanged(); return this; } /** * optional string label = 4; */ public Builder setLabelBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); label_ = value; onChanged(); return this; } private java.lang.Object checkboxLabel_ = ""; /** * optional string checkbox_label = 5; */ public java.lang.String getCheckboxLabel() { java.lang.Object ref = checkboxLabel_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); checkboxLabel_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string checkbox_label = 5; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getCheckboxLabelBytes() { java.lang.Object ref = checkboxLabel_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); checkboxLabel_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string checkbox_label = 5; */ public Builder setCheckboxLabel( java.lang.String value) { if (value == null) { throw new NullPointerException(); } checkboxLabel_ = value; onChanged(); return this; } /** * optional string checkbox_label = 5; */ public Builder clearCheckboxLabel() { checkboxLabel_ = getDefaultInstance().getCheckboxLabel(); onChanged(); return this; } /** * optional string checkbox_label = 5; */ public Builder setCheckboxLabelBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); checkboxLabel_ = value; onChanged(); return this; } private java.lang.Object description_ = ""; /** * optional string description = 6; */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string description = 6; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); description_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string description = 6; */ public Builder setDescription( java.lang.String value) { if (value == null) { throw new NullPointerException(); } description_ = value; onChanged(); return this; } /** * optional string description = 6; */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** * optional string description = 6; */ public Builder setDescriptionBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); description_ = value; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public PluginProperty parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new PluginProperty(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int AGENT_VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object agentVersion_; /** * optional string agent_version = 1; */ public java.lang.String getAgentVersion() { java.lang.Object ref = agentVersion_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentVersion_ = s; return s; } } /** * optional string agent_version = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getAgentVersionBytes() { java.lang.Object ref = agentVersion_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentVersion_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_CONFIG_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig transactionConfig_; /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public boolean hasTransactionConfig() { return transactionConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getTransactionConfig() { return transactionConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.getDefaultInstance() : transactionConfig_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder getTransactionConfigOrBuilder() { return getTransactionConfig(); } public static final int UI_CONFIG_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig uiConfig_; /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public boolean hasUiConfig() { return uiConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getUiConfig() { return uiConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.getDefaultInstance() : uiConfig_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder getUiConfigOrBuilder() { return getUiConfig(); } public static final int USER_RECORDING_CONFIG_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig userRecordingConfig_; /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public boolean hasUserRecordingConfig() { return userRecordingConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getUserRecordingConfig() { return userRecordingConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.getDefaultInstance() : userRecordingConfig_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder getUserRecordingConfigOrBuilder() { return getUserRecordingConfig(); } public static final int ADVANCED_CONFIG_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig advancedConfig_; /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public boolean hasAdvancedConfig() { return advancedConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getAdvancedConfig() { return advancedConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.getDefaultInstance() : advancedConfig_; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder getAdvancedConfigOrBuilder() { return getAdvancedConfig(); } public static final int GAUGE_CONFIG_FIELD_NUMBER = 10; private java.util.List gaugeConfig_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public java.util.List getGaugeConfigList() { return gaugeConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public java.util.List getGaugeConfigOrBuilderList() { return gaugeConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public int getGaugeConfigCount() { return gaugeConfig_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getGaugeConfig(int index) { return gaugeConfig_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder getGaugeConfigOrBuilder( int index) { return gaugeConfig_.get(index); } public static final int ALERT_CONFIG_FIELD_NUMBER = 11; private java.util.List alertConfig_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public java.util.List getAlertConfigList() { return alertConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public java.util.List getAlertConfigOrBuilderList() { return alertConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public int getAlertConfigCount() { return alertConfig_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getAlertConfig(int index) { return alertConfig_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder getAlertConfigOrBuilder( int index) { return alertConfig_.get(index); } public static final int PLUGIN_CONFIG_FIELD_NUMBER = 12; private java.util.List pluginConfig_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public java.util.List getPluginConfigList() { return pluginConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public java.util.List getPluginConfigOrBuilderList() { return pluginConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public int getPluginConfigCount() { return pluginConfig_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getPluginConfig(int index) { return pluginConfig_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder getPluginConfigOrBuilder( int index) { return pluginConfig_.get(index); } public static final int INSTRUMENTATION_CONFIG_FIELD_NUMBER = 13; private java.util.List instrumentationConfig_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public java.util.List getInstrumentationConfigList() { return instrumentationConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public java.util.List getInstrumentationConfigOrBuilderList() { return instrumentationConfig_; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public int getInstrumentationConfigCount() { return instrumentationConfig_.size(); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getInstrumentationConfig(int index) { return instrumentationConfig_.get(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder getInstrumentationConfigOrBuilder( int index) { return instrumentationConfig_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getAgentVersionBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentVersion_); } if (transactionConfig_ != null) { output.writeMessage(2, getTransactionConfig()); } if (uiConfig_ != null) { output.writeMessage(3, getUiConfig()); } if (userRecordingConfig_ != null) { output.writeMessage(4, getUserRecordingConfig()); } if (advancedConfig_ != null) { output.writeMessage(5, getAdvancedConfig()); } for (int i = 0; i < gaugeConfig_.size(); i++) { output.writeMessage(10, gaugeConfig_.get(i)); } for (int i = 0; i < alertConfig_.size(); i++) { output.writeMessage(11, alertConfig_.get(i)); } for (int i = 0; i < pluginConfig_.size(); i++) { output.writeMessage(12, pluginConfig_.get(i)); } for (int i = 0; i < instrumentationConfig_.size(); i++) { output.writeMessage(13, instrumentationConfig_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentVersionBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentVersion_); } if (transactionConfig_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getTransactionConfig()); } if (uiConfig_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, getUiConfig()); } if (userRecordingConfig_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(4, getUserRecordingConfig()); } if (advancedConfig_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(5, getAdvancedConfig()); } for (int i = 0; i < gaugeConfig_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(10, gaugeConfig_.get(i)); } for (int i = 0; i < alertConfig_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(11, alertConfig_.get(i)); } for (int i = 0; i < pluginConfig_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(12, pluginConfig_.get(i)); } for (int i = 0; i < instrumentationConfig_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(13, instrumentationConfig_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.ByteString data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( byte[] data, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig 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( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AgentConfig} */ public static final class Builder extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig) org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder.class); } // Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getGaugeConfigFieldBuilder(); getAlertConfigFieldBuilder(); getPluginConfigFieldBuilder(); getInstrumentationConfigFieldBuilder(); } } public Builder clear() { super.clear(); agentVersion_ = ""; if (transactionConfigBuilder_ == null) { transactionConfig_ = null; } else { transactionConfig_ = null; transactionConfigBuilder_ = null; } if (uiConfigBuilder_ == null) { uiConfig_ = null; } else { uiConfig_ = null; uiConfigBuilder_ = null; } if (userRecordingConfigBuilder_ == null) { userRecordingConfig_ = null; } else { userRecordingConfig_ = null; userRecordingConfigBuilder_ = null; } if (advancedConfigBuilder_ == null) { advancedConfig_ = null; } else { advancedConfig_ = null; advancedConfigBuilder_ = null; } if (gaugeConfigBuilder_ == null) { gaugeConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { gaugeConfigBuilder_.clear(); } if (alertConfigBuilder_ == null) { alertConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { alertConfigBuilder_.clear(); } if (pluginConfigBuilder_ == null) { pluginConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { pluginConfigBuilder_.clear(); } if (instrumentationConfigBuilder_ == null) { instrumentationConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); } else { instrumentationConfigBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getDefaultInstanceForType() { return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance(); } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig build() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig buildPartial() { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.agentVersion_ = agentVersion_; if (transactionConfigBuilder_ == null) { result.transactionConfig_ = transactionConfig_; } else { result.transactionConfig_ = transactionConfigBuilder_.build(); } if (uiConfigBuilder_ == null) { result.uiConfig_ = uiConfig_; } else { result.uiConfig_ = uiConfigBuilder_.build(); } if (userRecordingConfigBuilder_ == null) { result.userRecordingConfig_ = userRecordingConfig_; } else { result.userRecordingConfig_ = userRecordingConfigBuilder_.build(); } if (advancedConfigBuilder_ == null) { result.advancedConfig_ = advancedConfig_; } else { result.advancedConfig_ = advancedConfigBuilder_.build(); } if (gaugeConfigBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { gaugeConfig_ = java.util.Collections.unmodifiableList(gaugeConfig_); bitField0_ = (bitField0_ & ~0x00000020); } result.gaugeConfig_ = gaugeConfig_; } else { result.gaugeConfig_ = gaugeConfigBuilder_.build(); } if (alertConfigBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { alertConfig_ = java.util.Collections.unmodifiableList(alertConfig_); bitField0_ = (bitField0_ & ~0x00000040); } result.alertConfig_ = alertConfig_; } else { result.alertConfig_ = alertConfigBuilder_.build(); } if (pluginConfigBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { pluginConfig_ = java.util.Collections.unmodifiableList(pluginConfig_); bitField0_ = (bitField0_ & ~0x00000080); } result.pluginConfig_ = pluginConfig_; } else { result.pluginConfig_ = pluginConfigBuilder_.build(); } if (instrumentationConfigBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100)) { instrumentationConfig_ = java.util.Collections.unmodifiableList(instrumentationConfig_); bitField0_ = (bitField0_ & ~0x00000100); } result.instrumentationConfig_ = instrumentationConfig_; } else { result.instrumentationConfig_ = instrumentationConfigBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig) { return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig other) { if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance()) return this; if (!other.getAgentVersion().isEmpty()) { agentVersion_ = other.agentVersion_; onChanged(); } if (other.hasTransactionConfig()) { mergeTransactionConfig(other.getTransactionConfig()); } if (other.hasUiConfig()) { mergeUiConfig(other.getUiConfig()); } if (other.hasUserRecordingConfig()) { mergeUserRecordingConfig(other.getUserRecordingConfig()); } if (other.hasAdvancedConfig()) { mergeAdvancedConfig(other.getAdvancedConfig()); } if (gaugeConfigBuilder_ == null) { if (!other.gaugeConfig_.isEmpty()) { if (gaugeConfig_.isEmpty()) { gaugeConfig_ = other.gaugeConfig_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureGaugeConfigIsMutable(); gaugeConfig_.addAll(other.gaugeConfig_); } onChanged(); } } else { if (!other.gaugeConfig_.isEmpty()) { if (gaugeConfigBuilder_.isEmpty()) { gaugeConfigBuilder_.dispose(); gaugeConfigBuilder_ = null; gaugeConfig_ = other.gaugeConfig_; bitField0_ = (bitField0_ & ~0x00000020); gaugeConfigBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getGaugeConfigFieldBuilder() : null; } else { gaugeConfigBuilder_.addAllMessages(other.gaugeConfig_); } } } if (alertConfigBuilder_ == null) { if (!other.alertConfig_.isEmpty()) { if (alertConfig_.isEmpty()) { alertConfig_ = other.alertConfig_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureAlertConfigIsMutable(); alertConfig_.addAll(other.alertConfig_); } onChanged(); } } else { if (!other.alertConfig_.isEmpty()) { if (alertConfigBuilder_.isEmpty()) { alertConfigBuilder_.dispose(); alertConfigBuilder_ = null; alertConfig_ = other.alertConfig_; bitField0_ = (bitField0_ & ~0x00000040); alertConfigBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAlertConfigFieldBuilder() : null; } else { alertConfigBuilder_.addAllMessages(other.alertConfig_); } } } if (pluginConfigBuilder_ == null) { if (!other.pluginConfig_.isEmpty()) { if (pluginConfig_.isEmpty()) { pluginConfig_ = other.pluginConfig_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensurePluginConfigIsMutable(); pluginConfig_.addAll(other.pluginConfig_); } onChanged(); } } else { if (!other.pluginConfig_.isEmpty()) { if (pluginConfigBuilder_.isEmpty()) { pluginConfigBuilder_.dispose(); pluginConfigBuilder_ = null; pluginConfig_ = other.pluginConfig_; bitField0_ = (bitField0_ & ~0x00000080); pluginConfigBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getPluginConfigFieldBuilder() : null; } else { pluginConfigBuilder_.addAllMessages(other.pluginConfig_); } } } if (instrumentationConfigBuilder_ == null) { if (!other.instrumentationConfig_.isEmpty()) { if (instrumentationConfig_.isEmpty()) { instrumentationConfig_ = other.instrumentationConfig_; bitField0_ = (bitField0_ & ~0x00000100); } else { ensureInstrumentationConfigIsMutable(); instrumentationConfig_.addAll(other.instrumentationConfig_); } onChanged(); } } else { if (!other.instrumentationConfig_.isEmpty()) { if (instrumentationConfigBuilder_.isEmpty()) { instrumentationConfigBuilder_.dispose(); instrumentationConfigBuilder_ = null; instrumentationConfig_ = other.instrumentationConfig_; bitField0_ = (bitField0_ & ~0x00000100); instrumentationConfigBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getInstrumentationConfigFieldBuilder() : null; } else { instrumentationConfigBuilder_.addAllMessages(other.instrumentationConfig_); } } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object agentVersion_ = ""; /** * optional string agent_version = 1; */ public java.lang.String getAgentVersion() { java.lang.Object ref = agentVersion_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); agentVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string agent_version = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getAgentVersionBytes() { java.lang.Object ref = agentVersion_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); agentVersion_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string agent_version = 1; */ public Builder setAgentVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentVersion_ = value; onChanged(); return this; } /** * optional string agent_version = 1; */ public Builder clearAgentVersion() { agentVersion_ = getDefaultInstance().getAgentVersion(); onChanged(); return this; } /** * optional string agent_version = 1; */ public Builder setAgentVersionBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentVersion_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig transactionConfig_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder> transactionConfigBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public boolean hasTransactionConfig() { return transactionConfigBuilder_ != null || transactionConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getTransactionConfig() { if (transactionConfigBuilder_ == null) { return transactionConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.getDefaultInstance() : transactionConfig_; } else { return transactionConfigBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public Builder setTransactionConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig value) { if (transactionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } transactionConfig_ = value; onChanged(); } else { transactionConfigBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public Builder setTransactionConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder builderForValue) { if (transactionConfigBuilder_ == null) { transactionConfig_ = builderForValue.build(); onChanged(); } else { transactionConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public Builder mergeTransactionConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig value) { if (transactionConfigBuilder_ == null) { if (transactionConfig_ != null) { transactionConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.newBuilder(transactionConfig_).mergeFrom(value).buildPartial(); } else { transactionConfig_ = value; } onChanged(); } else { transactionConfigBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public Builder clearTransactionConfig() { if (transactionConfigBuilder_ == null) { transactionConfig_ = null; onChanged(); } else { transactionConfig_ = null; transactionConfigBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder getTransactionConfigBuilder() { onChanged(); return getTransactionConfigFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder getTransactionConfigOrBuilder() { if (transactionConfigBuilder_ != null) { return transactionConfigBuilder_.getMessageOrBuilder(); } else { return transactionConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.getDefaultInstance() : transactionConfig_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder> getTransactionConfigFieldBuilder() { if (transactionConfigBuilder_ == null) { transactionConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder>( getTransactionConfig(), getParentForChildren(), isClean()); transactionConfig_ = null; } return transactionConfigBuilder_; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig uiConfig_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder> uiConfigBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public boolean hasUiConfig() { return uiConfigBuilder_ != null || uiConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig getUiConfig() { if (uiConfigBuilder_ == null) { return uiConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.getDefaultInstance() : uiConfig_; } else { return uiConfigBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public Builder setUiConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig value) { if (uiConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } uiConfig_ = value; onChanged(); } else { uiConfigBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public Builder setUiConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder builderForValue) { if (uiConfigBuilder_ == null) { uiConfig_ = builderForValue.build(); onChanged(); } else { uiConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public Builder mergeUiConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig value) { if (uiConfigBuilder_ == null) { if (uiConfig_ != null) { uiConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.newBuilder(uiConfig_).mergeFrom(value).buildPartial(); } else { uiConfig_ = value; } onChanged(); } else { uiConfigBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public Builder clearUiConfig() { if (uiConfigBuilder_ == null) { uiConfig_ = null; onChanged(); } else { uiConfig_ = null; uiConfigBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder getUiConfigBuilder() { onChanged(); return getUiConfigFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder getUiConfigOrBuilder() { if (uiConfigBuilder_ != null) { return uiConfigBuilder_.getMessageOrBuilder(); } else { return uiConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.getDefaultInstance() : uiConfig_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.UiConfig ui_config = 3; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder> getUiConfigFieldBuilder() { if (uiConfigBuilder_ == null) { uiConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiConfigOrBuilder>( getUiConfig(), getParentForChildren(), isClean()); uiConfig_ = null; } return uiConfigBuilder_; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig userRecordingConfig_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder> userRecordingConfigBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public boolean hasUserRecordingConfig() { return userRecordingConfigBuilder_ != null || userRecordingConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig getUserRecordingConfig() { if (userRecordingConfigBuilder_ == null) { return userRecordingConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.getDefaultInstance() : userRecordingConfig_; } else { return userRecordingConfigBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public Builder setUserRecordingConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig value) { if (userRecordingConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userRecordingConfig_ = value; onChanged(); } else { userRecordingConfigBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public Builder setUserRecordingConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder builderForValue) { if (userRecordingConfigBuilder_ == null) { userRecordingConfig_ = builderForValue.build(); onChanged(); } else { userRecordingConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public Builder mergeUserRecordingConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig value) { if (userRecordingConfigBuilder_ == null) { if (userRecordingConfig_ != null) { userRecordingConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.newBuilder(userRecordingConfig_).mergeFrom(value).buildPartial(); } else { userRecordingConfig_ = value; } onChanged(); } else { userRecordingConfigBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public Builder clearUserRecordingConfig() { if (userRecordingConfigBuilder_ == null) { userRecordingConfig_ = null; onChanged(); } else { userRecordingConfig_ = null; userRecordingConfigBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder getUserRecordingConfigBuilder() { onChanged(); return getUserRecordingConfigFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder getUserRecordingConfigOrBuilder() { if (userRecordingConfigBuilder_ != null) { return userRecordingConfigBuilder_.getMessageOrBuilder(); } else { return userRecordingConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.getDefaultInstance() : userRecordingConfig_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.UserRecordingConfig user_recording_config = 4; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder> getUserRecordingConfigFieldBuilder() { if (userRecordingConfigBuilder_ == null) { userRecordingConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UserRecordingConfigOrBuilder>( getUserRecordingConfig(), getParentForChildren(), isClean()); userRecordingConfig_ = null; } return userRecordingConfigBuilder_; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig advancedConfig_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder> advancedConfigBuilder_; /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public boolean hasAdvancedConfig() { return advancedConfigBuilder_ != null || advancedConfig_ != null; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getAdvancedConfig() { if (advancedConfigBuilder_ == null) { return advancedConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.getDefaultInstance() : advancedConfig_; } else { return advancedConfigBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public Builder setAdvancedConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig value) { if (advancedConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } advancedConfig_ = value; onChanged(); } else { advancedConfigBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public Builder setAdvancedConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder builderForValue) { if (advancedConfigBuilder_ == null) { advancedConfig_ = builderForValue.build(); onChanged(); } else { advancedConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public Builder mergeAdvancedConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig value) { if (advancedConfigBuilder_ == null) { if (advancedConfig_ != null) { advancedConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.newBuilder(advancedConfig_).mergeFrom(value).buildPartial(); } else { advancedConfig_ = value; } onChanged(); } else { advancedConfigBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public Builder clearAdvancedConfig() { if (advancedConfigBuilder_ == null) { advancedConfig_ = null; onChanged(); } else { advancedConfig_ = null; advancedConfigBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder getAdvancedConfigBuilder() { onChanged(); return getAdvancedConfigFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder getAdvancedConfigOrBuilder() { if (advancedConfigBuilder_ != null) { return advancedConfigBuilder_.getMessageOrBuilder(); } else { return advancedConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.getDefaultInstance() : advancedConfig_; } } /** * optional .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder> getAdvancedConfigFieldBuilder() { if (advancedConfigBuilder_ == null) { advancedConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfigOrBuilder>( getAdvancedConfig(), getParentForChildren(), isClean()); advancedConfig_ = null; } return advancedConfigBuilder_; } private java.util.List gaugeConfig_ = java.util.Collections.emptyList(); private void ensureGaugeConfigIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { gaugeConfig_ = new java.util.ArrayList(gaugeConfig_); bitField0_ |= 0x00000020; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder> gaugeConfigBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public java.util.List getGaugeConfigList() { if (gaugeConfigBuilder_ == null) { return java.util.Collections.unmodifiableList(gaugeConfig_); } else { return gaugeConfigBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public int getGaugeConfigCount() { if (gaugeConfigBuilder_ == null) { return gaugeConfig_.size(); } else { return gaugeConfigBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getGaugeConfig(int index) { if (gaugeConfigBuilder_ == null) { return gaugeConfig_.get(index); } else { return gaugeConfigBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder setGaugeConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig value) { if (gaugeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeConfigIsMutable(); gaugeConfig_.set(index, value); onChanged(); } else { gaugeConfigBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder setGaugeConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder builderForValue) { if (gaugeConfigBuilder_ == null) { ensureGaugeConfigIsMutable(); gaugeConfig_.set(index, builderForValue.build()); onChanged(); } else { gaugeConfigBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder addGaugeConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig value) { if (gaugeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeConfigIsMutable(); gaugeConfig_.add(value); onChanged(); } else { gaugeConfigBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder addGaugeConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig value) { if (gaugeConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeConfigIsMutable(); gaugeConfig_.add(index, value); onChanged(); } else { gaugeConfigBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder addGaugeConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder builderForValue) { if (gaugeConfigBuilder_ == null) { ensureGaugeConfigIsMutable(); gaugeConfig_.add(builderForValue.build()); onChanged(); } else { gaugeConfigBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder addGaugeConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder builderForValue) { if (gaugeConfigBuilder_ == null) { ensureGaugeConfigIsMutable(); gaugeConfig_.add(index, builderForValue.build()); onChanged(); } else { gaugeConfigBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder addAllGaugeConfig( java.lang.Iterable values) { if (gaugeConfigBuilder_ == null) { ensureGaugeConfigIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, gaugeConfig_); onChanged(); } else { gaugeConfigBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder clearGaugeConfig() { if (gaugeConfigBuilder_ == null) { gaugeConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { gaugeConfigBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public Builder removeGaugeConfig(int index) { if (gaugeConfigBuilder_ == null) { ensureGaugeConfigIsMutable(); gaugeConfig_.remove(index); onChanged(); } else { gaugeConfigBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder getGaugeConfigBuilder( int index) { return getGaugeConfigFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder getGaugeConfigOrBuilder( int index) { if (gaugeConfigBuilder_ == null) { return gaugeConfig_.get(index); } else { return gaugeConfigBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public java.util.List getGaugeConfigOrBuilderList() { if (gaugeConfigBuilder_ != null) { return gaugeConfigBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(gaugeConfig_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder addGaugeConfigBuilder() { return getGaugeConfigFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder addGaugeConfigBuilder( int index) { return getGaugeConfigFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.GaugeConfig gauge_config = 10; */ public java.util.List getGaugeConfigBuilderList() { return getGaugeConfigFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder> getGaugeConfigFieldBuilder() { if (gaugeConfigBuilder_ == null) { gaugeConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder>( gaugeConfig_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); gaugeConfig_ = null; } return gaugeConfigBuilder_; } private java.util.List alertConfig_ = java.util.Collections.emptyList(); private void ensureAlertConfigIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { alertConfig_ = new java.util.ArrayList(alertConfig_); bitField0_ |= 0x00000040; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder> alertConfigBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public java.util.List getAlertConfigList() { if (alertConfigBuilder_ == null) { return java.util.Collections.unmodifiableList(alertConfig_); } else { return alertConfigBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public int getAlertConfigCount() { if (alertConfigBuilder_ == null) { return alertConfig_.size(); } else { return alertConfigBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getAlertConfig(int index) { if (alertConfigBuilder_ == null) { return alertConfig_.get(index); } else { return alertConfigBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder setAlertConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig value) { if (alertConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlertConfigIsMutable(); alertConfig_.set(index, value); onChanged(); } else { alertConfigBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder setAlertConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder builderForValue) { if (alertConfigBuilder_ == null) { ensureAlertConfigIsMutable(); alertConfig_.set(index, builderForValue.build()); onChanged(); } else { alertConfigBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder addAlertConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig value) { if (alertConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlertConfigIsMutable(); alertConfig_.add(value); onChanged(); } else { alertConfigBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder addAlertConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig value) { if (alertConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAlertConfigIsMutable(); alertConfig_.add(index, value); onChanged(); } else { alertConfigBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder addAlertConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder builderForValue) { if (alertConfigBuilder_ == null) { ensureAlertConfigIsMutable(); alertConfig_.add(builderForValue.build()); onChanged(); } else { alertConfigBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder addAlertConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder builderForValue) { if (alertConfigBuilder_ == null) { ensureAlertConfigIsMutable(); alertConfig_.add(index, builderForValue.build()); onChanged(); } else { alertConfigBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder addAllAlertConfig( java.lang.Iterable values) { if (alertConfigBuilder_ == null) { ensureAlertConfigIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, alertConfig_); onChanged(); } else { alertConfigBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder clearAlertConfig() { if (alertConfigBuilder_ == null) { alertConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { alertConfigBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public Builder removeAlertConfig(int index) { if (alertConfigBuilder_ == null) { ensureAlertConfigIsMutable(); alertConfig_.remove(index); onChanged(); } else { alertConfigBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder getAlertConfigBuilder( int index) { return getAlertConfigFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder getAlertConfigOrBuilder( int index) { if (alertConfigBuilder_ == null) { return alertConfig_.get(index); } else { return alertConfigBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public java.util.List getAlertConfigOrBuilderList() { if (alertConfigBuilder_ != null) { return alertConfigBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(alertConfig_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder addAlertConfigBuilder() { return getAlertConfigFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder addAlertConfigBuilder( int index) { return getAlertConfigFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 11; */ public java.util.List getAlertConfigBuilderList() { return getAlertConfigFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder> getAlertConfigFieldBuilder() { if (alertConfigBuilder_ == null) { alertConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder>( alertConfig_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); alertConfig_ = null; } return alertConfigBuilder_; } private java.util.List pluginConfig_ = java.util.Collections.emptyList(); private void ensurePluginConfigIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { pluginConfig_ = new java.util.ArrayList(pluginConfig_); bitField0_ |= 0x00000080; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder> pluginConfigBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public java.util.List getPluginConfigList() { if (pluginConfigBuilder_ == null) { return java.util.Collections.unmodifiableList(pluginConfig_); } else { return pluginConfigBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public int getPluginConfigCount() { if (pluginConfigBuilder_ == null) { return pluginConfig_.size(); } else { return pluginConfigBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig getPluginConfig(int index) { if (pluginConfigBuilder_ == null) { return pluginConfig_.get(index); } else { return pluginConfigBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder setPluginConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig value) { if (pluginConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginConfigIsMutable(); pluginConfig_.set(index, value); onChanged(); } else { pluginConfigBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder setPluginConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder builderForValue) { if (pluginConfigBuilder_ == null) { ensurePluginConfigIsMutable(); pluginConfig_.set(index, builderForValue.build()); onChanged(); } else { pluginConfigBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder addPluginConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig value) { if (pluginConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginConfigIsMutable(); pluginConfig_.add(value); onChanged(); } else { pluginConfigBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder addPluginConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig value) { if (pluginConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePluginConfigIsMutable(); pluginConfig_.add(index, value); onChanged(); } else { pluginConfigBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder addPluginConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder builderForValue) { if (pluginConfigBuilder_ == null) { ensurePluginConfigIsMutable(); pluginConfig_.add(builderForValue.build()); onChanged(); } else { pluginConfigBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder addPluginConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder builderForValue) { if (pluginConfigBuilder_ == null) { ensurePluginConfigIsMutable(); pluginConfig_.add(index, builderForValue.build()); onChanged(); } else { pluginConfigBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder addAllPluginConfig( java.lang.Iterable values) { if (pluginConfigBuilder_ == null) { ensurePluginConfigIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, pluginConfig_); onChanged(); } else { pluginConfigBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder clearPluginConfig() { if (pluginConfigBuilder_ == null) { pluginConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { pluginConfigBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public Builder removePluginConfig(int index) { if (pluginConfigBuilder_ == null) { ensurePluginConfigIsMutable(); pluginConfig_.remove(index); onChanged(); } else { pluginConfigBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder getPluginConfigBuilder( int index) { return getPluginConfigFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder getPluginConfigOrBuilder( int index) { if (pluginConfigBuilder_ == null) { return pluginConfig_.get(index); } else { return pluginConfigBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public java.util.List getPluginConfigOrBuilderList() { if (pluginConfigBuilder_ != null) { return pluginConfigBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(pluginConfig_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder addPluginConfigBuilder() { return getPluginConfigFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder addPluginConfigBuilder( int index) { return getPluginConfigFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.PluginConfig plugin_config = 12; */ public java.util.List getPluginConfigBuilderList() { return getPluginConfigFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder> getPluginConfigFieldBuilder() { if (pluginConfigBuilder_ == null) { pluginConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder>( pluginConfig_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); pluginConfig_ = null; } return pluginConfigBuilder_; } private java.util.List instrumentationConfig_ = java.util.Collections.emptyList(); private void ensureInstrumentationConfigIsMutable() { if (!((bitField0_ & 0x00000100) == 0x00000100)) { instrumentationConfig_ = new java.util.ArrayList(instrumentationConfig_); bitField0_ |= 0x00000100; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder> instrumentationConfigBuilder_; /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public java.util.List getInstrumentationConfigList() { if (instrumentationConfigBuilder_ == null) { return java.util.Collections.unmodifiableList(instrumentationConfig_); } else { return instrumentationConfigBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public int getInstrumentationConfigCount() { if (instrumentationConfigBuilder_ == null) { return instrumentationConfig_.size(); } else { return instrumentationConfigBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig getInstrumentationConfig(int index) { if (instrumentationConfigBuilder_ == null) { return instrumentationConfig_.get(index); } else { return instrumentationConfigBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder setInstrumentationConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig value) { if (instrumentationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstrumentationConfigIsMutable(); instrumentationConfig_.set(index, value); onChanged(); } else { instrumentationConfigBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder setInstrumentationConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder builderForValue) { if (instrumentationConfigBuilder_ == null) { ensureInstrumentationConfigIsMutable(); instrumentationConfig_.set(index, builderForValue.build()); onChanged(); } else { instrumentationConfigBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder addInstrumentationConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig value) { if (instrumentationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstrumentationConfigIsMutable(); instrumentationConfig_.add(value); onChanged(); } else { instrumentationConfigBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder addInstrumentationConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig value) { if (instrumentationConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInstrumentationConfigIsMutable(); instrumentationConfig_.add(index, value); onChanged(); } else { instrumentationConfigBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder addInstrumentationConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder builderForValue) { if (instrumentationConfigBuilder_ == null) { ensureInstrumentationConfigIsMutable(); instrumentationConfig_.add(builderForValue.build()); onChanged(); } else { instrumentationConfigBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder addInstrumentationConfig( int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder builderForValue) { if (instrumentationConfigBuilder_ == null) { ensureInstrumentationConfigIsMutable(); instrumentationConfig_.add(index, builderForValue.build()); onChanged(); } else { instrumentationConfigBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder addAllInstrumentationConfig( java.lang.Iterable values) { if (instrumentationConfigBuilder_ == null) { ensureInstrumentationConfigIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, instrumentationConfig_); onChanged(); } else { instrumentationConfigBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder clearInstrumentationConfig() { if (instrumentationConfigBuilder_ == null) { instrumentationConfig_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000100); onChanged(); } else { instrumentationConfigBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public Builder removeInstrumentationConfig(int index) { if (instrumentationConfigBuilder_ == null) { ensureInstrumentationConfigIsMutable(); instrumentationConfig_.remove(index); onChanged(); } else { instrumentationConfigBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder getInstrumentationConfigBuilder( int index) { return getInstrumentationConfigFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder getInstrumentationConfigOrBuilder( int index) { if (instrumentationConfigBuilder_ == null) { return instrumentationConfig_.get(index); } else { return instrumentationConfigBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public java.util.List getInstrumentationConfigOrBuilderList() { if (instrumentationConfigBuilder_ != null) { return instrumentationConfigBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(instrumentationConfig_); } } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder addInstrumentationConfigBuilder() { return getInstrumentationConfigFieldBuilder().addBuilder( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder addInstrumentationConfigBuilder( int index) { return getInstrumentationConfigFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig instrumentation_config = 13; */ public java.util.List getInstrumentationConfigBuilderList() { return getInstrumentationConfigFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder> getInstrumentationConfigFieldBuilder() { if (instrumentationConfigBuilder_ == null) { instrumentationConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder>( instrumentationConfig_, ((bitField0_ & 0x00000100) == 0x00000100), getParentForChildren(), isClean()); instrumentationConfig_ = null; } return instrumentationConfigBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig) private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig(); } public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public AgentConfig parsePartialFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { try { return new AgentConfig(input, extensionRegistry); } catch (RuntimeException e) { if (e.getCause() instanceof org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) { throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) e.getCause(); } throw e; } } }; public static org.glowroot.agent.shaded.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_fieldAccessorTable; public static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\021AgentConfig.proto\022\033org_glowroot_wire_a" + "pi_model\032\014Common.proto\"\320 \n\013AgentConfig\022\025" + "\n\ragent_version\030\001 \001(\t\022V\n\022transaction_con" + "fig\030\002 \001(\0132:.org_glowroot_wire_api_model." + "AgentConfig.TransactionConfig\022D\n\tui_conf" + "ig\030\003 \001(\01321.org_glowroot_wire_api_model.A" + "gentConfig.UiConfig\022[\n\025user_recording_co" + "nfig\030\004 \001(\0132<.org_glowroot_wire_api_model" + ".AgentConfig.UserRecordingConfig\022P\n\017adva" + "nced_config\030\005 \001(\01327.org_glowroot_wire_ap", "i_model.AgentConfig.AdvancedConfig\022J\n\014ga" + "uge_config\030\n \003(\01324.org_glowroot_wire_api" + "_model.AgentConfig.GaugeConfig\022J\n\014alert_" + "config\030\013 \003(\01324.org_glowroot_wire_api_mod" + "el.AgentConfig.AlertConfig\022L\n\rplugin_con" + "fig\030\014 \003(\01325.org_glowroot_wire_api_model." + "AgentConfig.PluginConfig\022^\n\026instrumentat" + "ion_config\030\r \003(\0132>.org_glowroot_wire_api" + "_model.AgentConfig.InstrumentationConfig" + "\032\313\001\n\021TransactionConfig\022I\n\025slow_threshold", "_millis\030\001 \001(\0132*.org_glowroot_wire_api_mo" + "del.OptionalInt32\022M\n\031profiling_interval_" + "millis\030\002 \001(\0132*.org_glowroot_wire_api_mod" + "el.OptionalInt32\022\034\n\024capture_thread_stats" + "\030\003 \001(\010\032\\\n\010UiConfig\022*\n\"default_displayed_" + "transaction_type\030\001 \001(\t\022$\n\034default_displa" + "yed_percentile\030\002 \003(\001\032r\n\023UserRecordingCon" + "fig\022\014\n\004user\030\001 \003(\t\022M\n\031profiling_interval_" + "millis\030\002 \001(\0132*.org_glowroot_wire_api_mod" + "el.OptionalInt32\032\232\005\n\016AdvancedConfig\022\025\n\rw", "eaving_timer\030\001 \001(\010\022]\n)immediate_partial_" + "store_threshold_seconds\030\002 \001(\0132*.org_glow" + "root_wire_api_model.OptionalInt32\022W\n#max" + "_aggregate_transactions_per_type\030\003 \001(\0132*" + ".org_glowroot_wire_api_model.OptionalInt" + "32\022R\n\036max_aggregate_queries_per_type\030\004 \001" + "(\0132*.org_glowroot_wire_api_model.Optiona" + "lInt32\022X\n$max_aggregate_service_calls_pe" + "r_type\030\005 \001(\0132*.org_glowroot_wire_api_mod" + "el.OptionalInt32\022U\n!max_trace_entries_pe", "r_transaction\030\006 \001(\0132*.org_glowroot_wire_" + "api_model.OptionalInt32\022[\n\'max_stack_tra" + "ce_samples_per_transaction\030\007 \001(\0132*.org_g" + "lowroot_wire_api_model.OptionalInt32\022W\n#" + "mbean_gauge_not_found_delay_seconds\030\010 \001(" + "\0132*.org_glowroot_wire_api_model.Optional" + "Int32\032z\n\013GaugeConfig\022\031\n\021mbean_object_nam" + "e\030\001 \001(\t\022P\n\017mbean_attribute\030\002 \003(\01327.org_g" + "lowroot_wire_api_model.AgentConfig.MBean" + "Attribute\032\226\004\n\013AlertConfig\022L\n\004kind\030\001 \001(\0162", ">.org_glowroot_wire_api_model.AgentConfi" + "g.AlertConfig.AlertKind\022\030\n\020transaction_t" + "ype\030\002 \001(\t\022K\n\026transaction_percentile\030\003 \001(" + "\0132+.org_glowroot_wire_api_model.Optional" + "Double\022P\n\034transaction_threshold_millis\030\004" + " \001(\0132*.org_glowroot_wire_api_model.Optio" + "nalInt32\022I\n\025min_transaction_count\030\005 \001(\0132" + "*.org_glowroot_wire_api_model.OptionalIn" + "t32\022\022\n\ngauge_name\030\006 \001(\t\022D\n\017gauge_thresho" + "ld\030\007 \001(\0132+.org_glowroot_wire_api_model.O", "ptionalDouble\022\033\n\023time_period_seconds\030\010 \001" + "(\005\022\025\n\remail_address\030\t \003(\t\"\'\n\tAlertKind\022\017" + "\n\013TRANSACTION\020\000\022\t\n\005GAUGE\020\001\032s\n\014PluginConf" + "ig\022\n\n\002id\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022I\n\010property" + "\030\003 \003(\01327.org_glowroot_wire_api_model.Age" + "ntConfig.PluginProperty\032\316\t\n\025Instrumentat" + "ionConfig\022\022\n\nclass_name\030\001 \001(\t\022\030\n\020class_a" + "nnotation\030\002 \001(\t\022#\n\033method_declaring_clas" + "s_name\030\003 \001(\t\022\023\n\013method_name\030\004 \001(\t\022\031\n\021met" + "hod_annotation\030\005 \001(\t\022\035\n\025method_parameter", "_type\030\006 \003(\t\022\032\n\022method_return_type\030\007 \001(\t\022" + "f\n\017method_modifier\030\010 \003(\0162M.org_glowroot_" + "wire_api_model.AgentConfig.Instrumentati" + "onConfig.MethodModifier\022\025\n\rnesting_group" + "\030\t \001(\t\022\020\n\010priority\030\n \001(\005\022`\n\014capture_kind" + "\030\013 \001(\0162J.org_glowroot_wire_api_model.Age" + "ntConfig.InstrumentationConfig.CaptureKi" + "nd\022\022\n\ntimer_name\030\014 \001(\t\022$\n\034trace_entry_me" + "ssage_template\030\r \001(\t\022V\n\"trace_entry_stac" + "k_threshold_millis\030\016 \001(\0132*.org_glowroot_", "wire_api_model.OptionalInt32\022\'\n\037trace_en" + "try_capture_self_nested\030\017 \001(\010\022\030\n\020transac" + "tion_type\030\020 \001(\t\022!\n\031transaction_name_temp" + "late\030\021 \001(\t\022!\n\031transaction_user_template\030" + "\022 \001(\t\022\212\001\n\037transaction_attribute_template" + "s\030\023 \003(\0132a.org_glowroot_wire_api_model.Ag" + "entConfig.InstrumentationConfig.Transact" + "ionAttributeTemplatesEntry\022U\n!transactio" + "n_slow_threshold_millis\030\024 \001(\0132*.org_glow" + "root_wire_api_model.OptionalInt32\022\030\n\020ena", "bled_property\030\025 \001(\t\022$\n\034trace_entry_enabl" + "ed_property\030\026 \001(\t\032D\n\"TransactionAttribut" + "eTemplatesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + "\001(\t:\0028\001\"8\n\016MethodModifier\022\n\n\006PUBLIC\020\000\022\n\n" + "\006STATIC\020\001\022\016\n\nNOT_STATIC\020\002\"E\n\013CaptureKind" + "\022\017\n\013TRANSACTION\020\000\022\017\n\013TRACE_ENTRY\020\001\022\t\n\005TI" + "MER\020\002\022\t\n\005OTHER\020\003\032/\n\016MBeanAttribute\022\014\n\004na" + "me\030\001 \001(\t\022\017\n\007counter\030\002 \001(\010\032\315\002\n\016PluginProp" + "erty\022\014\n\004name\030\001 \001(\t\022L\n\005value\030\002 \001(\0132=.org_" + "glowroot_wire_api_model.AgentConfig.Plug", "inProperty.Value\022N\n\007default\030\003 \001(\0132=.org_" + "glowroot_wire_api_model.AgentConfig.Plug" + "inProperty.Value\022\r\n\005label\030\004 \001(\t\022\026\n\016check" + "box_label\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\032S\n\005" + "Value\022\016\n\004bval\030\001 \001(\010H\000\022\023\n\tdval_null\030\002 \001(\010" + "H\000\022\016\n\004dval\030\003 \001(\001H\000\022\016\n\004sval\030\004 \001(\tH\000B\005\n\003va" + "lB\035\n\033org.glowroot.wire.api.modelb\006proto3" }; org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry assignDescriptors( org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor[] { org.glowroot.wire.api.model.Proto.getDescriptor(), }, assigner); internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_glowroot_wire_api_model_AgentConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor, new java.lang.String[] { "AgentVersion", "TransactionConfig", "UiConfig", "UserRecordingConfig", "AdvancedConfig", "GaugeConfig", "AlertConfig", "PluginConfig", "InstrumentationConfig", }); internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_TransactionConfig_descriptor, new java.lang.String[] { "SlowThresholdMillis", "ProfilingIntervalMillis", "CaptureThreadStats", }); internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(1); internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_UiConfig_descriptor, new java.lang.String[] { "DefaultDisplayedTransactionType", "DefaultDisplayedPercentile", }); internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(2); internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_UserRecordingConfig_descriptor, new java.lang.String[] { "User", "ProfilingIntervalMillis", }); internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(3); internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_AdvancedConfig_descriptor, new java.lang.String[] { "WeavingTimer", "ImmediatePartialStoreThresholdSeconds", "MaxAggregateTransactionsPerType", "MaxAggregateQueriesPerType", "MaxAggregateServiceCallsPerType", "MaxTraceEntriesPerTransaction", "MaxStackTraceSamplesPerTransaction", "MbeanGaugeNotFoundDelaySeconds", }); internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(4); internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_GaugeConfig_descriptor, new java.lang.String[] { "MbeanObjectName", "MbeanAttribute", }); internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(5); internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_descriptor, new java.lang.String[] { "Kind", "TransactionType", "TransactionPercentile", "TransactionThresholdMillis", "MinTransactionCount", "GaugeName", "GaugeThreshold", "TimePeriodSeconds", "EmailAddress", }); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(6); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_PluginConfig_descriptor, new java.lang.String[] { "Id", "Name", "Property", }); internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(7); internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor, new java.lang.String[] { "ClassName", "ClassAnnotation", "MethodDeclaringClassName", "MethodName", "MethodAnnotation", "MethodParameterType", "MethodReturnType", "MethodModifier", "NestingGroup", "Priority", "CaptureKind", "TimerName", "TraceEntryMessageTemplate", "TraceEntryStackThresholdMillis", "TraceEntryCaptureSelfNested", "TransactionType", "TransactionNameTemplate", "TransactionUserTemplate", "TransactionAttributeTemplates", "TransactionSlowThresholdMillis", "EnabledProperty", "TraceEntryEnabledProperty", }); internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(8); internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_MBeanAttribute_descriptor, new java.lang.String[] { "Name", "Counter", }); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_descriptor.getNestedTypes().get(9); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor, new java.lang.String[] { "Name", "Value", "Default", "Label", "CheckboxLabel", "Description", }); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor = internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_Value_descriptor, new java.lang.String[] { "Bval", "DvalNull", "Dval", "Sval", "Val", }); org.glowroot.wire.api.model.Proto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy