org.glowroot.wire.api.model.AgentConfigOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glowroot-agent-it-harness Show documentation
Show all versions of glowroot-agent-it-harness Show documentation
Glowroot Agent Integration Test Harness
// 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.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface AgentConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* only used when sending to central and storing in central
*
*
* bool config_read_only = 18;
*/
boolean getConfigReadOnly();
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
boolean hasGeneralConfig();
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getGeneralConfig();
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder getGeneralConfigOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
boolean hasTransactionConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getTransactionConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfigOrBuilder getTransactionConfigOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
boolean hasJvmConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getJvmConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder getJvmConfigOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
boolean hasUiDefaultsConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getUiDefaultsConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder getUiDefaultsConfigOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
*/
boolean hasAdvancedConfig();
/**
* .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig getAdvancedConfig();
/**
* .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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder>
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.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
java.util.List
getSyntheticMonitorConfigList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getSyntheticMonitorConfig(int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
int getSyntheticMonitorConfigCount();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder>
getSyntheticMonitorConfigOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder getSyntheticMonitorConfigOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
java.util.List
getOldAlertConfigList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getOldAlertConfig(int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
int getOldAlertConfigCount();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder>
getOldAlertConfigOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder getOldAlertConfigOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
java.util.List
getAlertConfigList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig getAlertConfig(int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
int getAlertConfigCount();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder>
getAlertConfigOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder>
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder>
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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig)
AgentConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use AgentConfig.newBuilder() to construct.
private AgentConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AgentConfig() {
configReadOnly_ = false;
gaugeConfig_ = java.util.Collections.emptyList();
syntheticMonitorConfig_ = java.util.Collections.emptyList();
oldAlertConfig_ = 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.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AgentConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
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.UiDefaultsConfig.Builder subBuilder = null;
if (uiDefaultsConfig_ != null) {
subBuilder = uiDefaultsConfig_.toBuilder();
}
uiDefaultsConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(uiDefaultsConfig_);
uiDefaultsConfig_ = 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_ & 0x00000040) == 0x00000040)) {
gaugeConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
gaugeConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig.parser(), extensionRegistry));
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
oldAlertConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
oldAlertConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.parser(), extensionRegistry));
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
pluginConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
pluginConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig.parser(), extensionRegistry));
break;
}
case 106: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
instrumentationConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
instrumentationConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.parser(), extensionRegistry));
break;
}
case 114: {
if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
syntheticMonitorConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000080;
}
syntheticMonitorConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.parser(), extensionRegistry));
break;
}
case 122: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
alertConfig_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
alertConfig_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.parser(), extensionRegistry));
break;
}
case 130: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder subBuilder = null;
if (generalConfig_ != null) {
subBuilder = generalConfig_.toBuilder();
}
generalConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(generalConfig_);
generalConfig_ = subBuilder.buildPartial();
}
break;
}
case 138: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder subBuilder = null;
if (jvmConfig_ != null) {
subBuilder = jvmConfig_.toBuilder();
}
jvmConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(jvmConfig_);
jvmConfig_ = subBuilder.buildPartial();
}
break;
}
case 144: {
configReadOnly_ = input.readBool();
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
gaugeConfig_ = java.util.Collections.unmodifiableList(gaugeConfig_);
}
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
oldAlertConfig_ = java.util.Collections.unmodifiableList(oldAlertConfig_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
pluginConfig_ = java.util.Collections.unmodifiableList(pluginConfig_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
instrumentationConfig_ = java.util.Collections.unmodifiableList(instrumentationConfig_);
}
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
syntheticMonitorConfig_ = java.util.Collections.unmodifiableList(syntheticMonitorConfig_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
alertConfig_ = java.util.Collections.unmodifiableList(alertConfig_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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 GeneralConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.GeneralConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string display = 1;
*/
java.lang.String getDisplay();
/**
* string display = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes();
}
/**
*
* only stored in central
*
*
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.GeneralConfig}
*/
public static final class GeneralConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.GeneralConfig)
GeneralConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use GeneralConfig.newBuilder() to construct.
private GeneralConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GeneralConfig() {
display_ = "";
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GeneralConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
display_ = s;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GeneralConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GeneralConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder.class);
}
public static final int DISPLAY_FIELD_NUMBER = 1;
private volatile java.lang.Object display_;
/**
* string display = 1;
*/
public java.lang.String getDisplay() {
java.lang.Object ref = display_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
display_ = s;
return s;
}
}
/**
* string display = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes() {
java.lang.Object ref = display_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
display_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getDisplayBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, display_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getDisplayBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, display_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig) obj;
boolean result = true;
result = result && getDisplay()
.equals(other.getDisplay());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getDisplay().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* only stored in central
*
*
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.GeneralConfig}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.GeneralConfig)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GeneralConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GeneralConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
display_ = "";
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_GeneralConfig_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig(this);
result.display_ = display_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.getDefaultInstance()) return this;
if (!other.getDisplay().isEmpty()) {
display_ = other.display_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object display_ = "";
/**
* string display = 1;
*/
public java.lang.String getDisplay() {
java.lang.Object ref = display_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
display_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string display = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes() {
java.lang.Object ref = display_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
display_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string display = 1;
*/
public Builder setDisplay(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
display_ = value;
onChanged();
return this;
}
/**
* string display = 1;
*/
public Builder clearDisplay() {
display_ = getDefaultInstance().getDisplay();
onChanged();
return this;
}
/**
* string display = 1;
*/
public Builder setDisplayBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
display_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.GeneralConfig)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.GeneralConfig)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public GeneralConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new GeneralConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.TransactionConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
boolean hasSlowThresholdMillis();
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getSlowThresholdMillis();
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getSlowThresholdMillisOrBuilder();
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
boolean hasProfilingIntervalMillis();
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis();
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder();
/**
* bool capture_thread_stats = 3;
*/
boolean getCaptureThreadStats();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
java.util.List
getSlowThresholdOverrideList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getSlowThresholdOverride(int index);
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
int getSlowThresholdOverrideCount();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder>
getSlowThresholdOverrideOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder getSlowThresholdOverrideOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.TransactionConfig}
*/
public static final class TransactionConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.TransactionConfig)
TransactionConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use TransactionConfig.newBuilder() to construct.
private TransactionConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TransactionConfig() {
captureThreadStats_ = false;
slowThresholdOverride_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TransactionConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
slowThresholdOverride_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
slowThresholdOverride_.add(
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
slowThresholdOverride_ = java.util.Collections.unmodifiableList(slowThresholdOverride_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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);
}
private int bitField0_;
public static final int SLOW_THRESHOLD_MILLIS_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.Proto.OptionalInt32 slowThresholdMillis_;
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
public boolean hasSlowThresholdMillis() {
return slowThresholdMillis_ != null;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getSlowThresholdMillis() {
return slowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : slowThresholdMillis_;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public boolean hasProfilingIntervalMillis() {
return profilingIntervalMillis_ != null;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getProfilingIntervalMillis() {
return profilingIntervalMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : profilingIntervalMillis_;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getProfilingIntervalMillisOrBuilder() {
return getProfilingIntervalMillis();
}
public static final int CAPTURE_THREAD_STATS_FIELD_NUMBER = 3;
private boolean captureThreadStats_;
/**
* bool capture_thread_stats = 3;
*/
public boolean getCaptureThreadStats() {
return captureThreadStats_;
}
public static final int SLOW_THRESHOLD_OVERRIDE_FIELD_NUMBER = 4;
private java.util.List slowThresholdOverride_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public java.util.List getSlowThresholdOverrideList() {
return slowThresholdOverride_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder>
getSlowThresholdOverrideOrBuilderList() {
return slowThresholdOverride_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public int getSlowThresholdOverrideCount() {
return slowThresholdOverride_.size();
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getSlowThresholdOverride(int index) {
return slowThresholdOverride_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder getSlowThresholdOverrideOrBuilder(
int index) {
return slowThresholdOverride_.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.it.harness.shaded.com.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_);
}
for (int i = 0; i < slowThresholdOverride_.size(); i++) {
output.writeMessage(4, slowThresholdOverride_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (slowThresholdMillis_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSlowThresholdMillis());
}
if (profilingIntervalMillis_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProfilingIntervalMillis());
}
if (captureThreadStats_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(3, captureThreadStats_);
}
for (int i = 0; i < slowThresholdOverride_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, slowThresholdOverride_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig) obj;
boolean result = true;
result = result && (hasSlowThresholdMillis() == other.hasSlowThresholdMillis());
if (hasSlowThresholdMillis()) {
result = result && getSlowThresholdMillis()
.equals(other.getSlowThresholdMillis());
}
result = result && (hasProfilingIntervalMillis() == other.hasProfilingIntervalMillis());
if (hasProfilingIntervalMillis()) {
result = result && getProfilingIntervalMillis()
.equals(other.getProfilingIntervalMillis());
}
result = result && (getCaptureThreadStats()
== other.getCaptureThreadStats());
result = result && getSlowThresholdOverrideList()
.equals(other.getSlowThresholdOverrideList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSlowThresholdMillis()) {
hash = (37 * hash) + SLOW_THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getSlowThresholdMillis().hashCode();
}
if (hasProfilingIntervalMillis()) {
hash = (37 * hash) + PROFILING_INTERVAL_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getProfilingIntervalMillis().hashCode();
}
hash = (37 * hash) + CAPTURE_THREAD_STATS_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getCaptureThreadStats());
if (getSlowThresholdOverrideCount() > 0) {
hash = (37 * hash) + SLOW_THRESHOLD_OVERRIDE_FIELD_NUMBER;
hash = (53 * hash) + getSlowThresholdOverrideList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getSlowThresholdOverrideFieldBuilder();
}
}
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;
if (slowThresholdOverrideBuilder_ == null) {
slowThresholdOverride_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
slowThresholdOverrideBuilder_.clear();
}
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
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_;
if (slowThresholdOverrideBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
slowThresholdOverride_ = java.util.Collections.unmodifiableList(slowThresholdOverride_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.slowThresholdOverride_ = slowThresholdOverride_;
} else {
result.slowThresholdOverride_ = slowThresholdOverrideBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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());
}
if (slowThresholdOverrideBuilder_ == null) {
if (!other.slowThresholdOverride_.isEmpty()) {
if (slowThresholdOverride_.isEmpty()) {
slowThresholdOverride_ = other.slowThresholdOverride_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.addAll(other.slowThresholdOverride_);
}
onChanged();
}
} else {
if (!other.slowThresholdOverride_.isEmpty()) {
if (slowThresholdOverrideBuilder_.isEmpty()) {
slowThresholdOverrideBuilder_.dispose();
slowThresholdOverrideBuilder_ = null;
slowThresholdOverride_ = other.slowThresholdOverride_;
bitField0_ = (bitField0_ & ~0x00000008);
slowThresholdOverrideBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSlowThresholdOverrideFieldBuilder() : null;
} else {
slowThresholdOverrideBuilder_.addAllMessages(other.slowThresholdOverride_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.wire.api.model.Proto.OptionalInt32 slowThresholdMillis_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> slowThresholdMillisBuilder_;
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
public boolean hasSlowThresholdMillis() {
return slowThresholdMillisBuilder_ != null || slowThresholdMillis_ != null;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
public Builder clearSlowThresholdMillis() {
if (slowThresholdMillisBuilder_ == null) {
slowThresholdMillis_ = null;
onChanged();
} else {
slowThresholdMillis_ = null;
slowThresholdMillisBuilder_ = null;
}
return this;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getSlowThresholdMillisBuilder() {
onChanged();
return getSlowThresholdMillisFieldBuilder().getBuilder();
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 slow_threshold_millis = 1;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> profilingIntervalMillisBuilder_;
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public boolean hasProfilingIntervalMillis() {
return profilingIntervalMillisBuilder_ != null || profilingIntervalMillis_ != null;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public Builder clearProfilingIntervalMillis() {
if (profilingIntervalMillisBuilder_ == null) {
profilingIntervalMillis_ = null;
onChanged();
} else {
profilingIntervalMillis_ = null;
profilingIntervalMillisBuilder_ = null;
}
return this;
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getProfilingIntervalMillisBuilder() {
onChanged();
return getProfilingIntervalMillisFieldBuilder().getBuilder();
}
/**
*
* optional used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
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 used due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 profiling_interval_millis = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_ ;
/**
* bool capture_thread_stats = 3;
*/
public boolean getCaptureThreadStats() {
return captureThreadStats_;
}
/**
* bool capture_thread_stats = 3;
*/
public Builder setCaptureThreadStats(boolean value) {
captureThreadStats_ = value;
onChanged();
return this;
}
/**
* bool capture_thread_stats = 3;
*/
public Builder clearCaptureThreadStats() {
captureThreadStats_ = false;
onChanged();
return this;
}
private java.util.List slowThresholdOverride_ =
java.util.Collections.emptyList();
private void ensureSlowThresholdOverrideIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
slowThresholdOverride_ = new java.util.ArrayList(slowThresholdOverride_);
bitField0_ |= 0x00000008;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder> slowThresholdOverrideBuilder_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public java.util.List getSlowThresholdOverrideList() {
if (slowThresholdOverrideBuilder_ == null) {
return java.util.Collections.unmodifiableList(slowThresholdOverride_);
} else {
return slowThresholdOverrideBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public int getSlowThresholdOverrideCount() {
if (slowThresholdOverrideBuilder_ == null) {
return slowThresholdOverride_.size();
} else {
return slowThresholdOverrideBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getSlowThresholdOverride(int index) {
if (slowThresholdOverrideBuilder_ == null) {
return slowThresholdOverride_.get(index);
} else {
return slowThresholdOverrideBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder setSlowThresholdOverride(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride value) {
if (slowThresholdOverrideBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.set(index, value);
onChanged();
} else {
slowThresholdOverrideBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder setSlowThresholdOverride(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder builderForValue) {
if (slowThresholdOverrideBuilder_ == null) {
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.set(index, builderForValue.build());
onChanged();
} else {
slowThresholdOverrideBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder addSlowThresholdOverride(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride value) {
if (slowThresholdOverrideBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.add(value);
onChanged();
} else {
slowThresholdOverrideBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder addSlowThresholdOverride(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride value) {
if (slowThresholdOverrideBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.add(index, value);
onChanged();
} else {
slowThresholdOverrideBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder addSlowThresholdOverride(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder builderForValue) {
if (slowThresholdOverrideBuilder_ == null) {
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.add(builderForValue.build());
onChanged();
} else {
slowThresholdOverrideBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder addSlowThresholdOverride(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder builderForValue) {
if (slowThresholdOverrideBuilder_ == null) {
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.add(index, builderForValue.build());
onChanged();
} else {
slowThresholdOverrideBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder addAllSlowThresholdOverride(
java.lang.Iterable extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride> values) {
if (slowThresholdOverrideBuilder_ == null) {
ensureSlowThresholdOverrideIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, slowThresholdOverride_);
onChanged();
} else {
slowThresholdOverrideBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder clearSlowThresholdOverride() {
if (slowThresholdOverrideBuilder_ == null) {
slowThresholdOverride_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
slowThresholdOverrideBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public Builder removeSlowThresholdOverride(int index) {
if (slowThresholdOverrideBuilder_ == null) {
ensureSlowThresholdOverrideIsMutable();
slowThresholdOverride_.remove(index);
onChanged();
} else {
slowThresholdOverrideBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder getSlowThresholdOverrideBuilder(
int index) {
return getSlowThresholdOverrideFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder getSlowThresholdOverrideOrBuilder(
int index) {
if (slowThresholdOverrideBuilder_ == null) {
return slowThresholdOverride_.get(index); } else {
return slowThresholdOverrideBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder>
getSlowThresholdOverrideOrBuilderList() {
if (slowThresholdOverrideBuilder_ != null) {
return slowThresholdOverrideBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(slowThresholdOverride_);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder addSlowThresholdOverrideBuilder() {
return getSlowThresholdOverrideFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder addSlowThresholdOverrideBuilder(
int index) {
return getSlowThresholdOverrideFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride slow_threshold_override = 4;
*/
public java.util.List
getSlowThresholdOverrideBuilderList() {
return getSlowThresholdOverrideFieldBuilder().getBuilderList();
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder>
getSlowThresholdOverrideFieldBuilder() {
if (slowThresholdOverrideBuilder_ == null) {
slowThresholdOverrideBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder>(
slowThresholdOverride_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
slowThresholdOverride_ = null;
}
return slowThresholdOverrideBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public TransactionConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new TransactionConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SlowThresholdOverrideOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string transaction_type = 1;
*/
java.lang.String getTransactionType();
/**
* string transaction_type = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* string transaction_name = 2;
*/
java.lang.String getTransactionName();
/**
* string transaction_name = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes();
/**
* string user = 4;
*/
java.lang.String getUser();
/**
* string user = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getUserBytes();
/**
* int32 threshold_millis = 3;
*/
int getThresholdMillis();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride}
*/
public static final class SlowThresholdOverride extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride)
SlowThresholdOverrideOrBuilder {
private static final long serialVersionUID = 0L;
// Use SlowThresholdOverride.newBuilder() to construct.
private SlowThresholdOverride(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SlowThresholdOverride() {
transactionType_ = "";
transactionName_ = "";
user_ = "";
thresholdMillis_ = 0;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SlowThresholdOverride(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
transactionType_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
transactionName_ = s;
break;
}
case 24: {
thresholdMillis_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
user_ = s;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SlowThresholdOverride_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SlowThresholdOverride_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder.class);
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object transactionType_;
/**
* string transaction_type = 1;
*/
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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* string transaction_type = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object transactionName_;
/**
* string transaction_name = 2;
*/
public java.lang.String getTransactionName() {
java.lang.Object ref = transactionName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
}
}
/**
* string transaction_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int USER_FIELD_NUMBER = 4;
private volatile java.lang.Object user_;
/**
* string user = 4;
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
}
}
/**
* string user = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int THRESHOLD_MILLIS_FIELD_NUMBER = 3;
private int thresholdMillis_;
/**
* int32 threshold_millis = 3;
*/
public int getThresholdMillis() {
return thresholdMillis_;
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, transactionName_);
}
if (thresholdMillis_ != 0) {
output.writeInt32(3, thresholdMillis_);
}
if (!getUserBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, user_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, transactionName_);
}
if (thresholdMillis_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(3, thresholdMillis_);
}
if (!getUserBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, user_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride) obj;
boolean result = true;
result = result && getTransactionType()
.equals(other.getTransactionType());
result = result && getTransactionName()
.equals(other.getTransactionName());
result = result && getUser()
.equals(other.getUser());
result = result && (getThresholdMillis()
== other.getThresholdMillis());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TRANSACTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionType().hashCode();
hash = (37 * hash) + TRANSACTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTransactionName().hashCode();
hash = (37 * hash) + USER_FIELD_NUMBER;
hash = (53 * hash) + getUser().hashCode();
hash = (37 * hash) + THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getThresholdMillis();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverrideOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SlowThresholdOverride_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SlowThresholdOverride_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
transactionType_ = "";
transactionName_ = "";
user_ = "";
thresholdMillis_ = 0;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SlowThresholdOverride_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride(this);
result.transactionType_ = transactionType_;
result.transactionName_ = transactionName_;
result.user_ = user_;
result.thresholdMillis_ = thresholdMillis_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride.getDefaultInstance()) return this;
if (!other.getTransactionType().isEmpty()) {
transactionType_ = other.transactionType_;
onChanged();
}
if (!other.getTransactionName().isEmpty()) {
transactionName_ = other.transactionName_;
onChanged();
}
if (!other.getUser().isEmpty()) {
user_ = other.user_;
onChanged();
}
if (other.getThresholdMillis() != 0) {
setThresholdMillis(other.getThresholdMillis());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object transactionType_ = "";
/**
* string transaction_type = 1;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_type = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_type = 1;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* string transaction_type = 1;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* string transaction_type = 1;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionType_ = value;
onChanged();
return this;
}
private java.lang.Object transactionName_ = "";
/**
* string transaction_name = 2;
*/
public java.lang.String getTransactionName() {
java.lang.Object ref = transactionName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_name = 2;
*/
public Builder setTransactionName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionName_ = value;
onChanged();
return this;
}
/**
* string transaction_name = 2;
*/
public Builder clearTransactionName() {
transactionName_ = getDefaultInstance().getTransactionName();
onChanged();
return this;
}
/**
* string transaction_name = 2;
*/
public Builder setTransactionNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionName_ = value;
onChanged();
return this;
}
private java.lang.Object user_ = "";
/**
* string user = 4;
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string user = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string user = 4;
*/
public Builder setUser(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
user_ = value;
onChanged();
return this;
}
/**
* string user = 4;
*/
public Builder clearUser() {
user_ = getDefaultInstance().getUser();
onChanged();
return this;
}
/**
* string user = 4;
*/
public Builder setUserBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
user_ = value;
onChanged();
return this;
}
private int thresholdMillis_ ;
/**
* int32 threshold_millis = 3;
*/
public int getThresholdMillis() {
return thresholdMillis_;
}
/**
* int32 threshold_millis = 3;
*/
public Builder setThresholdMillis(int value) {
thresholdMillis_ = value;
onChanged();
return this;
}
/**
* int32 threshold_millis = 3;
*/
public Builder clearThresholdMillis() {
thresholdMillis_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.SlowThresholdOverride)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public SlowThresholdOverride parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new SlowThresholdOverride(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SlowThresholdOverride getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface JvmConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.JvmConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* repeated string mask_system_property = 1;
*/
java.util.List
getMaskSystemPropertyList();
/**
* repeated string mask_system_property = 1;
*/
int getMaskSystemPropertyCount();
/**
* repeated string mask_system_property = 1;
*/
java.lang.String getMaskSystemProperty(int index);
/**
* repeated string mask_system_property = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskSystemPropertyBytes(int index);
/**
* repeated string mask_mbean_attribute = 2;
*/
java.util.List
getMaskMbeanAttributeList();
/**
* repeated string mask_mbean_attribute = 2;
*/
int getMaskMbeanAttributeCount();
/**
* repeated string mask_mbean_attribute = 2;
*/
java.lang.String getMaskMbeanAttribute(int index);
/**
* repeated string mask_mbean_attribute = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskMbeanAttributeBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.JvmConfig}
*/
public static final class JvmConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.JvmConfig)
JvmConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use JvmConfig.newBuilder() to construct.
private JvmConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private JvmConfig() {
maskSystemProperty_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
maskMbeanAttribute_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private JvmConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
maskSystemProperty_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
maskSystemProperty_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
maskMbeanAttribute_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
maskMbeanAttribute_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
maskSystemProperty_ = maskSystemProperty_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
maskMbeanAttribute_ = maskMbeanAttribute_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_JvmConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_JvmConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder.class);
}
public static final int MASK_SYSTEM_PROPERTY_FIELD_NUMBER = 1;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList maskSystemProperty_;
/**
* repeated string mask_system_property = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMaskSystemPropertyList() {
return maskSystemProperty_;
}
/**
* repeated string mask_system_property = 1;
*/
public int getMaskSystemPropertyCount() {
return maskSystemProperty_.size();
}
/**
* repeated string mask_system_property = 1;
*/
public java.lang.String getMaskSystemProperty(int index) {
return maskSystemProperty_.get(index);
}
/**
* repeated string mask_system_property = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskSystemPropertyBytes(int index) {
return maskSystemProperty_.getByteString(index);
}
public static final int MASK_MBEAN_ATTRIBUTE_FIELD_NUMBER = 2;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList maskMbeanAttribute_;
/**
* repeated string mask_mbean_attribute = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMaskMbeanAttributeList() {
return maskMbeanAttribute_;
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public int getMaskMbeanAttributeCount() {
return maskMbeanAttribute_.size();
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public java.lang.String getMaskMbeanAttribute(int index) {
return maskMbeanAttribute_.get(index);
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskMbeanAttributeBytes(int index) {
return maskMbeanAttribute_.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < maskSystemProperty_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, maskSystemProperty_.getRaw(i));
}
for (int i = 0; i < maskMbeanAttribute_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, maskMbeanAttribute_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < maskSystemProperty_.size(); i++) {
dataSize += computeStringSizeNoTag(maskSystemProperty_.getRaw(i));
}
size += dataSize;
size += 1 * getMaskSystemPropertyList().size();
}
{
int dataSize = 0;
for (int i = 0; i < maskMbeanAttribute_.size(); i++) {
dataSize += computeStringSizeNoTag(maskMbeanAttribute_.getRaw(i));
}
size += dataSize;
size += 1 * getMaskMbeanAttributeList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig) obj;
boolean result = true;
result = result && getMaskSystemPropertyList()
.equals(other.getMaskSystemPropertyList());
result = result && getMaskMbeanAttributeList()
.equals(other.getMaskMbeanAttributeList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getMaskSystemPropertyCount() > 0) {
hash = (37 * hash) + MASK_SYSTEM_PROPERTY_FIELD_NUMBER;
hash = (53 * hash) + getMaskSystemPropertyList().hashCode();
}
if (getMaskMbeanAttributeCount() > 0) {
hash = (37 * hash) + MASK_MBEAN_ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getMaskMbeanAttributeList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.JvmConfig}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.JvmConfig)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_JvmConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_JvmConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
maskSystemProperty_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
maskMbeanAttribute_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_JvmConfig_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
maskSystemProperty_ = maskSystemProperty_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.maskSystemProperty_ = maskSystemProperty_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
maskMbeanAttribute_ = maskMbeanAttribute_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.maskMbeanAttribute_ = maskMbeanAttribute_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.getDefaultInstance()) return this;
if (!other.maskSystemProperty_.isEmpty()) {
if (maskSystemProperty_.isEmpty()) {
maskSystemProperty_ = other.maskSystemProperty_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMaskSystemPropertyIsMutable();
maskSystemProperty_.addAll(other.maskSystemProperty_);
}
onChanged();
}
if (!other.maskMbeanAttribute_.isEmpty()) {
if (maskMbeanAttribute_.isEmpty()) {
maskMbeanAttribute_ = other.maskMbeanAttribute_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureMaskMbeanAttributeIsMutable();
maskMbeanAttribute_.addAll(other.maskMbeanAttribute_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList maskSystemProperty_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMaskSystemPropertyIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
maskSystemProperty_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(maskSystemProperty_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string mask_system_property = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMaskSystemPropertyList() {
return maskSystemProperty_.getUnmodifiableView();
}
/**
* repeated string mask_system_property = 1;
*/
public int getMaskSystemPropertyCount() {
return maskSystemProperty_.size();
}
/**
* repeated string mask_system_property = 1;
*/
public java.lang.String getMaskSystemProperty(int index) {
return maskSystemProperty_.get(index);
}
/**
* repeated string mask_system_property = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskSystemPropertyBytes(int index) {
return maskSystemProperty_.getByteString(index);
}
/**
* repeated string mask_system_property = 1;
*/
public Builder setMaskSystemProperty(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMaskSystemPropertyIsMutable();
maskSystemProperty_.set(index, value);
onChanged();
return this;
}
/**
* repeated string mask_system_property = 1;
*/
public Builder addMaskSystemProperty(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMaskSystemPropertyIsMutable();
maskSystemProperty_.add(value);
onChanged();
return this;
}
/**
* repeated string mask_system_property = 1;
*/
public Builder addAllMaskSystemProperty(
java.lang.Iterable values) {
ensureMaskSystemPropertyIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, maskSystemProperty_);
onChanged();
return this;
}
/**
* repeated string mask_system_property = 1;
*/
public Builder clearMaskSystemProperty() {
maskSystemProperty_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string mask_system_property = 1;
*/
public Builder addMaskSystemPropertyBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureMaskSystemPropertyIsMutable();
maskSystemProperty_.add(value);
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList maskMbeanAttribute_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMaskMbeanAttributeIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
maskMbeanAttribute_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(maskMbeanAttribute_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMaskMbeanAttributeList() {
return maskMbeanAttribute_.getUnmodifiableView();
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public int getMaskMbeanAttributeCount() {
return maskMbeanAttribute_.size();
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public java.lang.String getMaskMbeanAttribute(int index) {
return maskMbeanAttribute_.get(index);
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMaskMbeanAttributeBytes(int index) {
return maskMbeanAttribute_.getByteString(index);
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public Builder setMaskMbeanAttribute(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMaskMbeanAttributeIsMutable();
maskMbeanAttribute_.set(index, value);
onChanged();
return this;
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public Builder addMaskMbeanAttribute(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMaskMbeanAttributeIsMutable();
maskMbeanAttribute_.add(value);
onChanged();
return this;
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public Builder addAllMaskMbeanAttribute(
java.lang.Iterable values) {
ensureMaskMbeanAttributeIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, maskMbeanAttribute_);
onChanged();
return this;
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public Builder clearMaskMbeanAttribute() {
maskMbeanAttribute_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string mask_mbean_attribute = 2;
*/
public Builder addMaskMbeanAttributeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureMaskMbeanAttributeIsMutable();
maskMbeanAttribute_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.JvmConfig)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.JvmConfig)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public JvmConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new JvmConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UiDefaultsConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string default_transaction_type = 1;
*/
java.lang.String getDefaultTransactionType();
/**
* string default_transaction_type = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultTransactionTypeBytes();
/**
* repeated double default_percentile = 2;
*/
java.util.List getDefaultPercentileList();
/**
* repeated double default_percentile = 2;
*/
int getDefaultPercentileCount();
/**
* repeated double default_percentile = 2;
*/
double getDefaultPercentile(int index);
/**
* repeated string default_gauge_name = 3;
*/
java.util.List
getDefaultGaugeNameList();
/**
* repeated string default_gauge_name = 3;
*/
int getDefaultGaugeNameCount();
/**
* repeated string default_gauge_name = 3;
*/
java.lang.String getDefaultGaugeName(int index);
/**
* repeated string default_gauge_name = 3;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultGaugeNameBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig}
*/
public static final class UiDefaultsConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig)
UiDefaultsConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use UiDefaultsConfig.newBuilder() to construct.
private UiDefaultsConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UiDefaultsConfig() {
defaultTransactionType_ = "";
defaultPercentile_ = java.util.Collections.emptyList();
defaultGaugeName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UiDefaultsConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
defaultTransactionType_ = s;
break;
}
case 17: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
defaultPercentile_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
defaultPercentile_.add(input.readDouble());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
defaultPercentile_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
defaultPercentile_.add(input.readDouble());
}
input.popLimit(limit);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
defaultGaugeName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
defaultGaugeName_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
defaultPercentile_ = java.util.Collections.unmodifiableList(defaultPercentile_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
defaultGaugeName_ = defaultGaugeName_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiDefaultsConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiDefaultsConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder.class);
}
private int bitField0_;
public static final int DEFAULT_TRANSACTION_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object defaultTransactionType_;
/**
* string default_transaction_type = 1;
*/
public java.lang.String getDefaultTransactionType() {
java.lang.Object ref = defaultTransactionType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
defaultTransactionType_ = s;
return s;
}
}
/**
* string default_transaction_type = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultTransactionTypeBytes() {
java.lang.Object ref = defaultTransactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultTransactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int DEFAULT_PERCENTILE_FIELD_NUMBER = 2;
private java.util.List defaultPercentile_;
/**
* repeated double default_percentile = 2;
*/
public java.util.List
getDefaultPercentileList() {
return defaultPercentile_;
}
/**
* repeated double default_percentile = 2;
*/
public int getDefaultPercentileCount() {
return defaultPercentile_.size();
}
/**
* repeated double default_percentile = 2;
*/
public double getDefaultPercentile(int index) {
return defaultPercentile_.get(index);
}
private int defaultPercentileMemoizedSerializedSize = -1;
public static final int DEFAULT_GAUGE_NAME_FIELD_NUMBER = 3;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList defaultGaugeName_;
/**
* repeated string default_gauge_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getDefaultGaugeNameList() {
return defaultGaugeName_;
}
/**
* repeated string default_gauge_name = 3;
*/
public int getDefaultGaugeNameCount() {
return defaultGaugeName_.size();
}
/**
* repeated string default_gauge_name = 3;
*/
public java.lang.String getDefaultGaugeName(int index) {
return defaultGaugeName_.get(index);
}
/**
* repeated string default_gauge_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultGaugeNameBytes(int index) {
return defaultGaugeName_.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getDefaultTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, defaultTransactionType_);
}
if (getDefaultPercentileList().size() > 0) {
output.writeUInt32NoTag(18);
output.writeUInt32NoTag(defaultPercentileMemoizedSerializedSize);
}
for (int i = 0; i < defaultPercentile_.size(); i++) {
output.writeDoubleNoTag(defaultPercentile_.get(i));
}
for (int i = 0; i < defaultGaugeName_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, defaultGaugeName_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getDefaultTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, defaultTransactionType_);
}
{
int dataSize = 0;
dataSize = 8 * getDefaultPercentileList().size();
size += dataSize;
if (!getDefaultPercentileList().isEmpty()) {
size += 1;
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
defaultPercentileMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < defaultGaugeName_.size(); i++) {
dataSize += computeStringSizeNoTag(defaultGaugeName_.getRaw(i));
}
size += dataSize;
size += 1 * getDefaultGaugeNameList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig) obj;
boolean result = true;
result = result && getDefaultTransactionType()
.equals(other.getDefaultTransactionType());
result = result && getDefaultPercentileList()
.equals(other.getDefaultPercentileList());
result = result && getDefaultGaugeNameList()
.equals(other.getDefaultGaugeNameList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DEFAULT_TRANSACTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultTransactionType().hashCode();
if (getDefaultPercentileCount() > 0) {
hash = (37 * hash) + DEFAULT_PERCENTILE_FIELD_NUMBER;
hash = (53 * hash) + getDefaultPercentileList().hashCode();
}
if (getDefaultGaugeNameCount() > 0) {
hash = (37 * hash) + DEFAULT_GAUGE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDefaultGaugeNameList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiDefaultsConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiDefaultsConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
defaultTransactionType_ = "";
defaultPercentile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
defaultGaugeName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_UiDefaultsConfig_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.defaultTransactionType_ = defaultTransactionType_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
defaultPercentile_ = java.util.Collections.unmodifiableList(defaultPercentile_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.defaultPercentile_ = defaultPercentile_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
defaultGaugeName_ = defaultGaugeName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.defaultGaugeName_ = defaultGaugeName_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.getDefaultInstance()) return this;
if (!other.getDefaultTransactionType().isEmpty()) {
defaultTransactionType_ = other.defaultTransactionType_;
onChanged();
}
if (!other.defaultPercentile_.isEmpty()) {
if (defaultPercentile_.isEmpty()) {
defaultPercentile_ = other.defaultPercentile_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureDefaultPercentileIsMutable();
defaultPercentile_.addAll(other.defaultPercentile_);
}
onChanged();
}
if (!other.defaultGaugeName_.isEmpty()) {
if (defaultGaugeName_.isEmpty()) {
defaultGaugeName_ = other.defaultGaugeName_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDefaultGaugeNameIsMutable();
defaultGaugeName_.addAll(other.defaultGaugeName_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object defaultTransactionType_ = "";
/**
* string default_transaction_type = 1;
*/
public java.lang.String getDefaultTransactionType() {
java.lang.Object ref = defaultTransactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
defaultTransactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string default_transaction_type = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultTransactionTypeBytes() {
java.lang.Object ref = defaultTransactionType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
defaultTransactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string default_transaction_type = 1;
*/
public Builder setDefaultTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
defaultTransactionType_ = value;
onChanged();
return this;
}
/**
* string default_transaction_type = 1;
*/
public Builder clearDefaultTransactionType() {
defaultTransactionType_ = getDefaultInstance().getDefaultTransactionType();
onChanged();
return this;
}
/**
* string default_transaction_type = 1;
*/
public Builder setDefaultTransactionTypeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
defaultTransactionType_ = value;
onChanged();
return this;
}
private java.util.List defaultPercentile_ = java.util.Collections.emptyList();
private void ensureDefaultPercentileIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
defaultPercentile_ = new java.util.ArrayList(defaultPercentile_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated double default_percentile = 2;
*/
public java.util.List
getDefaultPercentileList() {
return java.util.Collections.unmodifiableList(defaultPercentile_);
}
/**
* repeated double default_percentile = 2;
*/
public int getDefaultPercentileCount() {
return defaultPercentile_.size();
}
/**
* repeated double default_percentile = 2;
*/
public double getDefaultPercentile(int index) {
return defaultPercentile_.get(index);
}
/**
* repeated double default_percentile = 2;
*/
public Builder setDefaultPercentile(
int index, double value) {
ensureDefaultPercentileIsMutable();
defaultPercentile_.set(index, value);
onChanged();
return this;
}
/**
* repeated double default_percentile = 2;
*/
public Builder addDefaultPercentile(double value) {
ensureDefaultPercentileIsMutable();
defaultPercentile_.add(value);
onChanged();
return this;
}
/**
* repeated double default_percentile = 2;
*/
public Builder addAllDefaultPercentile(
java.lang.Iterable extends java.lang.Double> values) {
ensureDefaultPercentileIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, defaultPercentile_);
onChanged();
return this;
}
/**
* repeated double default_percentile = 2;
*/
public Builder clearDefaultPercentile() {
defaultPercentile_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList defaultGaugeName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDefaultGaugeNameIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
defaultGaugeName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(defaultGaugeName_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string default_gauge_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getDefaultGaugeNameList() {
return defaultGaugeName_.getUnmodifiableView();
}
/**
* repeated string default_gauge_name = 3;
*/
public int getDefaultGaugeNameCount() {
return defaultGaugeName_.size();
}
/**
* repeated string default_gauge_name = 3;
*/
public java.lang.String getDefaultGaugeName(int index) {
return defaultGaugeName_.get(index);
}
/**
* repeated string default_gauge_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDefaultGaugeNameBytes(int index) {
return defaultGaugeName_.getByteString(index);
}
/**
* repeated string default_gauge_name = 3;
*/
public Builder setDefaultGaugeName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDefaultGaugeNameIsMutable();
defaultGaugeName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string default_gauge_name = 3;
*/
public Builder addDefaultGaugeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDefaultGaugeNameIsMutable();
defaultGaugeName_.add(value);
onChanged();
return this;
}
/**
* repeated string default_gauge_name = 3;
*/
public Builder addAllDefaultGaugeName(
java.lang.Iterable values) {
ensureDefaultGaugeNameIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, defaultGaugeName_);
onChanged();
return this;
}
/**
* repeated string default_gauge_name = 3;
*/
public Builder clearDefaultGaugeName() {
defaultGaugeName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string default_gauge_name = 3;
*/
public Builder addDefaultGaugeNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDefaultGaugeNameIsMutable();
defaultGaugeName_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public UiDefaultsConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new UiDefaultsConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AdvancedConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
boolean hasImmediatePartialStoreThresholdSeconds();
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getImmediatePartialStoreThresholdSeconds();
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getImmediatePartialStoreThresholdSecondsOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
boolean hasMaxTransactionAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTransactionAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTransactionAggregatesOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
boolean hasMaxQueryAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxQueryAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxQueryAggregatesOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
boolean hasMaxServiceCallAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxServiceCallAggregates();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxServiceCallAggregatesOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
boolean hasMaxTraceEntriesPerTransaction();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTraceEntriesPerTransaction();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTraceEntriesPerTransactionOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
boolean hasMaxProfileSamplesPerTransaction();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxProfileSamplesPerTransaction();
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxProfileSamplesPerTransactionOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
boolean hasMbeanGaugeNotFoundDelaySeconds();
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMbeanGaugeNotFoundDelaySeconds();
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMbeanGaugeNotFoundDelaySecondsOrBuilder();
/**
* bool weaving_timer = 1;
*/
boolean getWeavingTimer();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AdvancedConfig}
*/
public static final class AdvancedConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AdvancedConfig)
AdvancedConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use AdvancedConfig.newBuilder() to construct.
private AdvancedConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AdvancedConfig() {
weavingTimer_ = false;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AdvancedConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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 (maxTransactionAggregates_ != null) {
subBuilder = maxTransactionAggregates_.toBuilder();
}
maxTransactionAggregates_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxTransactionAggregates_);
maxTransactionAggregates_ = subBuilder.buildPartial();
}
break;
}
case 34: {
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null;
if (maxQueryAggregates_ != null) {
subBuilder = maxQueryAggregates_.toBuilder();
}
maxQueryAggregates_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxQueryAggregates_);
maxQueryAggregates_ = subBuilder.buildPartial();
}
break;
}
case 42: {
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder subBuilder = null;
if (maxServiceCallAggregates_ != null) {
subBuilder = maxServiceCallAggregates_.toBuilder();
}
maxServiceCallAggregates_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxServiceCallAggregates_);
maxServiceCallAggregates_ = 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 (maxProfileSamplesPerTransaction_ != null) {
subBuilder = maxProfileSamplesPerTransaction_.toBuilder();
}
maxProfileSamplesPerTransaction_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxProfileSamplesPerTransaction_);
maxProfileSamplesPerTransaction_ = 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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 IMMEDIATE_PARTIAL_STORE_THRESHOLD_SECONDS_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.Proto.OptionalInt32 immediatePartialStoreThresholdSeconds_;
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public boolean hasImmediatePartialStoreThresholdSeconds() {
return immediatePartialStoreThresholdSeconds_ != null;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getImmediatePartialStoreThresholdSeconds() {
return immediatePartialStoreThresholdSeconds_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : immediatePartialStoreThresholdSeconds_;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getImmediatePartialStoreThresholdSecondsOrBuilder() {
return getImmediatePartialStoreThresholdSeconds();
}
public static final int MAX_TRANSACTION_AGGREGATES_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxTransactionAggregates_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public boolean hasMaxTransactionAggregates() {
return maxTransactionAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTransactionAggregates() {
return maxTransactionAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTransactionAggregates_;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTransactionAggregatesOrBuilder() {
return getMaxTransactionAggregates();
}
public static final int MAX_QUERY_AGGREGATES_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxQueryAggregates_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public boolean hasMaxQueryAggregates() {
return maxQueryAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxQueryAggregates() {
return maxQueryAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxQueryAggregates_;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxQueryAggregatesOrBuilder() {
return getMaxQueryAggregates();
}
public static final int MAX_SERVICE_CALL_AGGREGATES_FIELD_NUMBER = 5;
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxServiceCallAggregates_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public boolean hasMaxServiceCallAggregates() {
return maxServiceCallAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxServiceCallAggregates() {
return maxServiceCallAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxServiceCallAggregates_;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxServiceCallAggregatesOrBuilder() {
return getMaxServiceCallAggregates();
}
public static final int MAX_TRACE_ENTRIES_PER_TRANSACTION_FIELD_NUMBER = 6;
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxTraceEntriesPerTransaction_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
public boolean hasMaxTraceEntriesPerTransaction() {
return maxTraceEntriesPerTransaction_ != null;
}
/**
* .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_;
}
/**
* .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_PROFILE_SAMPLES_PER_TRANSACTION_FIELD_NUMBER = 7;
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxProfileSamplesPerTransaction_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public boolean hasMaxProfileSamplesPerTransaction() {
return maxProfileSamplesPerTransaction_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxProfileSamplesPerTransaction() {
return maxProfileSamplesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxProfileSamplesPerTransaction_;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxProfileSamplesPerTransactionOrBuilder() {
return getMaxProfileSamplesPerTransaction();
}
public static final int MBEAN_GAUGE_NOT_FOUND_DELAY_SECONDS_FIELD_NUMBER = 8;
private org.glowroot.wire.api.model.Proto.OptionalInt32 mbeanGaugeNotFoundDelaySeconds_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
public boolean hasMbeanGaugeNotFoundDelaySeconds() {
return mbeanGaugeNotFoundDelaySeconds_ != null;
}
/**
* .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_;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMbeanGaugeNotFoundDelaySecondsOrBuilder() {
return getMbeanGaugeNotFoundDelaySeconds();
}
public static final int WEAVING_TIMER_FIELD_NUMBER = 1;
private boolean weavingTimer_;
/**
* bool weaving_timer = 1;
*/
public boolean getWeavingTimer() {
return weavingTimer_;
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (weavingTimer_ != false) {
output.writeBool(1, weavingTimer_);
}
if (immediatePartialStoreThresholdSeconds_ != null) {
output.writeMessage(2, getImmediatePartialStoreThresholdSeconds());
}
if (maxTransactionAggregates_ != null) {
output.writeMessage(3, getMaxTransactionAggregates());
}
if (maxQueryAggregates_ != null) {
output.writeMessage(4, getMaxQueryAggregates());
}
if (maxServiceCallAggregates_ != null) {
output.writeMessage(5, getMaxServiceCallAggregates());
}
if (maxTraceEntriesPerTransaction_ != null) {
output.writeMessage(6, getMaxTraceEntriesPerTransaction());
}
if (maxProfileSamplesPerTransaction_ != null) {
output.writeMessage(7, getMaxProfileSamplesPerTransaction());
}
if (mbeanGaugeNotFoundDelaySeconds_ != null) {
output.writeMessage(8, getMbeanGaugeNotFoundDelaySeconds());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (weavingTimer_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(1, weavingTimer_);
}
if (immediatePartialStoreThresholdSeconds_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getImmediatePartialStoreThresholdSeconds());
}
if (maxTransactionAggregates_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMaxTransactionAggregates());
}
if (maxQueryAggregates_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getMaxQueryAggregates());
}
if (maxServiceCallAggregates_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getMaxServiceCallAggregates());
}
if (maxTraceEntriesPerTransaction_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMaxTraceEntriesPerTransaction());
}
if (maxProfileSamplesPerTransaction_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getMaxProfileSamplesPerTransaction());
}
if (mbeanGaugeNotFoundDelaySeconds_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMbeanGaugeNotFoundDelaySeconds());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig) obj;
boolean result = true;
result = result && (hasImmediatePartialStoreThresholdSeconds() == other.hasImmediatePartialStoreThresholdSeconds());
if (hasImmediatePartialStoreThresholdSeconds()) {
result = result && getImmediatePartialStoreThresholdSeconds()
.equals(other.getImmediatePartialStoreThresholdSeconds());
}
result = result && (hasMaxTransactionAggregates() == other.hasMaxTransactionAggregates());
if (hasMaxTransactionAggregates()) {
result = result && getMaxTransactionAggregates()
.equals(other.getMaxTransactionAggregates());
}
result = result && (hasMaxQueryAggregates() == other.hasMaxQueryAggregates());
if (hasMaxQueryAggregates()) {
result = result && getMaxQueryAggregates()
.equals(other.getMaxQueryAggregates());
}
result = result && (hasMaxServiceCallAggregates() == other.hasMaxServiceCallAggregates());
if (hasMaxServiceCallAggregates()) {
result = result && getMaxServiceCallAggregates()
.equals(other.getMaxServiceCallAggregates());
}
result = result && (hasMaxTraceEntriesPerTransaction() == other.hasMaxTraceEntriesPerTransaction());
if (hasMaxTraceEntriesPerTransaction()) {
result = result && getMaxTraceEntriesPerTransaction()
.equals(other.getMaxTraceEntriesPerTransaction());
}
result = result && (hasMaxProfileSamplesPerTransaction() == other.hasMaxProfileSamplesPerTransaction());
if (hasMaxProfileSamplesPerTransaction()) {
result = result && getMaxProfileSamplesPerTransaction()
.equals(other.getMaxProfileSamplesPerTransaction());
}
result = result && (hasMbeanGaugeNotFoundDelaySeconds() == other.hasMbeanGaugeNotFoundDelaySeconds());
if (hasMbeanGaugeNotFoundDelaySeconds()) {
result = result && getMbeanGaugeNotFoundDelaySeconds()
.equals(other.getMbeanGaugeNotFoundDelaySeconds());
}
result = result && (getWeavingTimer()
== other.getWeavingTimer());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasImmediatePartialStoreThresholdSeconds()) {
hash = (37 * hash) + IMMEDIATE_PARTIAL_STORE_THRESHOLD_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getImmediatePartialStoreThresholdSeconds().hashCode();
}
if (hasMaxTransactionAggregates()) {
hash = (37 * hash) + MAX_TRANSACTION_AGGREGATES_FIELD_NUMBER;
hash = (53 * hash) + getMaxTransactionAggregates().hashCode();
}
if (hasMaxQueryAggregates()) {
hash = (37 * hash) + MAX_QUERY_AGGREGATES_FIELD_NUMBER;
hash = (53 * hash) + getMaxQueryAggregates().hashCode();
}
if (hasMaxServiceCallAggregates()) {
hash = (37 * hash) + MAX_SERVICE_CALL_AGGREGATES_FIELD_NUMBER;
hash = (53 * hash) + getMaxServiceCallAggregates().hashCode();
}
if (hasMaxTraceEntriesPerTransaction()) {
hash = (37 * hash) + MAX_TRACE_ENTRIES_PER_TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getMaxTraceEntriesPerTransaction().hashCode();
}
if (hasMaxProfileSamplesPerTransaction()) {
hash = (37 * hash) + MAX_PROFILE_SAMPLES_PER_TRANSACTION_FIELD_NUMBER;
hash = (53 * hash) + getMaxProfileSamplesPerTransaction().hashCode();
}
if (hasMbeanGaugeNotFoundDelaySeconds()) {
hash = (37 * hash) + MBEAN_GAUGE_NOT_FOUND_DELAY_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getMbeanGaugeNotFoundDelaySeconds().hashCode();
}
hash = (37 * hash) + WEAVING_TIMER_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getWeavingTimer());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (immediatePartialStoreThresholdSecondsBuilder_ == null) {
immediatePartialStoreThresholdSeconds_ = null;
} else {
immediatePartialStoreThresholdSeconds_ = null;
immediatePartialStoreThresholdSecondsBuilder_ = null;
}
if (maxTransactionAggregatesBuilder_ == null) {
maxTransactionAggregates_ = null;
} else {
maxTransactionAggregates_ = null;
maxTransactionAggregatesBuilder_ = null;
}
if (maxQueryAggregatesBuilder_ == null) {
maxQueryAggregates_ = null;
} else {
maxQueryAggregates_ = null;
maxQueryAggregatesBuilder_ = null;
}
if (maxServiceCallAggregatesBuilder_ == null) {
maxServiceCallAggregates_ = null;
} else {
maxServiceCallAggregates_ = null;
maxServiceCallAggregatesBuilder_ = null;
}
if (maxTraceEntriesPerTransactionBuilder_ == null) {
maxTraceEntriesPerTransaction_ = null;
} else {
maxTraceEntriesPerTransaction_ = null;
maxTraceEntriesPerTransactionBuilder_ = null;
}
if (maxProfileSamplesPerTransactionBuilder_ == null) {
maxProfileSamplesPerTransaction_ = null;
} else {
maxProfileSamplesPerTransaction_ = null;
maxProfileSamplesPerTransactionBuilder_ = null;
}
if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) {
mbeanGaugeNotFoundDelaySeconds_ = null;
} else {
mbeanGaugeNotFoundDelaySeconds_ = null;
mbeanGaugeNotFoundDelaySecondsBuilder_ = null;
}
weavingTimer_ = false;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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);
if (immediatePartialStoreThresholdSecondsBuilder_ == null) {
result.immediatePartialStoreThresholdSeconds_ = immediatePartialStoreThresholdSeconds_;
} else {
result.immediatePartialStoreThresholdSeconds_ = immediatePartialStoreThresholdSecondsBuilder_.build();
}
if (maxTransactionAggregatesBuilder_ == null) {
result.maxTransactionAggregates_ = maxTransactionAggregates_;
} else {
result.maxTransactionAggregates_ = maxTransactionAggregatesBuilder_.build();
}
if (maxQueryAggregatesBuilder_ == null) {
result.maxQueryAggregates_ = maxQueryAggregates_;
} else {
result.maxQueryAggregates_ = maxQueryAggregatesBuilder_.build();
}
if (maxServiceCallAggregatesBuilder_ == null) {
result.maxServiceCallAggregates_ = maxServiceCallAggregates_;
} else {
result.maxServiceCallAggregates_ = maxServiceCallAggregatesBuilder_.build();
}
if (maxTraceEntriesPerTransactionBuilder_ == null) {
result.maxTraceEntriesPerTransaction_ = maxTraceEntriesPerTransaction_;
} else {
result.maxTraceEntriesPerTransaction_ = maxTraceEntriesPerTransactionBuilder_.build();
}
if (maxProfileSamplesPerTransactionBuilder_ == null) {
result.maxProfileSamplesPerTransaction_ = maxProfileSamplesPerTransaction_;
} else {
result.maxProfileSamplesPerTransaction_ = maxProfileSamplesPerTransactionBuilder_.build();
}
if (mbeanGaugeNotFoundDelaySecondsBuilder_ == null) {
result.mbeanGaugeNotFoundDelaySeconds_ = mbeanGaugeNotFoundDelaySeconds_;
} else {
result.mbeanGaugeNotFoundDelaySeconds_ = mbeanGaugeNotFoundDelaySecondsBuilder_.build();
}
result.weavingTimer_ = weavingTimer_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.hasImmediatePartialStoreThresholdSeconds()) {
mergeImmediatePartialStoreThresholdSeconds(other.getImmediatePartialStoreThresholdSeconds());
}
if (other.hasMaxTransactionAggregates()) {
mergeMaxTransactionAggregates(other.getMaxTransactionAggregates());
}
if (other.hasMaxQueryAggregates()) {
mergeMaxQueryAggregates(other.getMaxQueryAggregates());
}
if (other.hasMaxServiceCallAggregates()) {
mergeMaxServiceCallAggregates(other.getMaxServiceCallAggregates());
}
if (other.hasMaxTraceEntriesPerTransaction()) {
mergeMaxTraceEntriesPerTransaction(other.getMaxTraceEntriesPerTransaction());
}
if (other.hasMaxProfileSamplesPerTransaction()) {
mergeMaxProfileSamplesPerTransaction(other.getMaxProfileSamplesPerTransaction());
}
if (other.hasMbeanGaugeNotFoundDelaySeconds()) {
mergeMbeanGaugeNotFoundDelaySeconds(other.getMbeanGaugeNotFoundDelaySeconds());
}
if (other.getWeavingTimer() != false) {
setWeavingTimer(other.getWeavingTimer());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 immediatePartialStoreThresholdSeconds_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> immediatePartialStoreThresholdSecondsBuilder_;
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public boolean hasImmediatePartialStoreThresholdSeconds() {
return immediatePartialStoreThresholdSecondsBuilder_ != null || immediatePartialStoreThresholdSeconds_ != null;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
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();
}
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
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;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
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;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
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;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public Builder clearImmediatePartialStoreThresholdSeconds() {
if (immediatePartialStoreThresholdSecondsBuilder_ == null) {
immediatePartialStoreThresholdSeconds_ = null;
onChanged();
} else {
immediatePartialStoreThresholdSeconds_ = null;
immediatePartialStoreThresholdSecondsBuilder_ = null;
}
return this;
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getImmediatePartialStoreThresholdSecondsBuilder() {
onChanged();
return getImmediatePartialStoreThresholdSecondsFieldBuilder().getBuilder();
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
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_;
}
}
/**
*
* optionals used below due to non-zero default value
*
*
* .org_glowroot_wire_api_model.OptionalInt32 immediate_partial_store_threshold_seconds = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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 maxTransactionAggregates_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxTransactionAggregatesBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public boolean hasMaxTransactionAggregates() {
return maxTransactionAggregatesBuilder_ != null || maxTransactionAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxTransactionAggregates() {
if (maxTransactionAggregatesBuilder_ == null) {
return maxTransactionAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTransactionAggregates_;
} else {
return maxTransactionAggregatesBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public Builder setMaxTransactionAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxTransactionAggregatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxTransactionAggregates_ = value;
onChanged();
} else {
maxTransactionAggregatesBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public Builder setMaxTransactionAggregates(
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) {
if (maxTransactionAggregatesBuilder_ == null) {
maxTransactionAggregates_ = builderForValue.build();
onChanged();
} else {
maxTransactionAggregatesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public Builder mergeMaxTransactionAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxTransactionAggregatesBuilder_ == null) {
if (maxTransactionAggregates_ != null) {
maxTransactionAggregates_ =
org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxTransactionAggregates_).mergeFrom(value).buildPartial();
} else {
maxTransactionAggregates_ = value;
}
onChanged();
} else {
maxTransactionAggregatesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public Builder clearMaxTransactionAggregates() {
if (maxTransactionAggregatesBuilder_ == null) {
maxTransactionAggregates_ = null;
onChanged();
} else {
maxTransactionAggregates_ = null;
maxTransactionAggregatesBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxTransactionAggregatesBuilder() {
onChanged();
return getMaxTransactionAggregatesFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxTransactionAggregatesOrBuilder() {
if (maxTransactionAggregatesBuilder_ != null) {
return maxTransactionAggregatesBuilder_.getMessageOrBuilder();
} else {
return maxTransactionAggregates_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxTransactionAggregates_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_transaction_aggregates = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>
getMaxTransactionAggregatesFieldBuilder() {
if (maxTransactionAggregatesBuilder_ == null) {
maxTransactionAggregatesBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>(
getMaxTransactionAggregates(),
getParentForChildren(),
isClean());
maxTransactionAggregates_ = null;
}
return maxTransactionAggregatesBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxQueryAggregates_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxQueryAggregatesBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public boolean hasMaxQueryAggregates() {
return maxQueryAggregatesBuilder_ != null || maxQueryAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxQueryAggregates() {
if (maxQueryAggregatesBuilder_ == null) {
return maxQueryAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxQueryAggregates_;
} else {
return maxQueryAggregatesBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public Builder setMaxQueryAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxQueryAggregatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxQueryAggregates_ = value;
onChanged();
} else {
maxQueryAggregatesBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public Builder setMaxQueryAggregates(
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) {
if (maxQueryAggregatesBuilder_ == null) {
maxQueryAggregates_ = builderForValue.build();
onChanged();
} else {
maxQueryAggregatesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public Builder mergeMaxQueryAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxQueryAggregatesBuilder_ == null) {
if (maxQueryAggregates_ != null) {
maxQueryAggregates_ =
org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxQueryAggregates_).mergeFrom(value).buildPartial();
} else {
maxQueryAggregates_ = value;
}
onChanged();
} else {
maxQueryAggregatesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public Builder clearMaxQueryAggregates() {
if (maxQueryAggregatesBuilder_ == null) {
maxQueryAggregates_ = null;
onChanged();
} else {
maxQueryAggregates_ = null;
maxQueryAggregatesBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxQueryAggregatesBuilder() {
onChanged();
return getMaxQueryAggregatesFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxQueryAggregatesOrBuilder() {
if (maxQueryAggregatesBuilder_ != null) {
return maxQueryAggregatesBuilder_.getMessageOrBuilder();
} else {
return maxQueryAggregates_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxQueryAggregates_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_query_aggregates = 4;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>
getMaxQueryAggregatesFieldBuilder() {
if (maxQueryAggregatesBuilder_ == null) {
maxQueryAggregatesBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>(
getMaxQueryAggregates(),
getParentForChildren(),
isClean());
maxQueryAggregates_ = null;
}
return maxQueryAggregatesBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxServiceCallAggregates_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxServiceCallAggregatesBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public boolean hasMaxServiceCallAggregates() {
return maxServiceCallAggregatesBuilder_ != null || maxServiceCallAggregates_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxServiceCallAggregates() {
if (maxServiceCallAggregatesBuilder_ == null) {
return maxServiceCallAggregates_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxServiceCallAggregates_;
} else {
return maxServiceCallAggregatesBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public Builder setMaxServiceCallAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxServiceCallAggregatesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxServiceCallAggregates_ = value;
onChanged();
} else {
maxServiceCallAggregatesBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public Builder setMaxServiceCallAggregates(
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) {
if (maxServiceCallAggregatesBuilder_ == null) {
maxServiceCallAggregates_ = builderForValue.build();
onChanged();
} else {
maxServiceCallAggregatesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public Builder mergeMaxServiceCallAggregates(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxServiceCallAggregatesBuilder_ == null) {
if (maxServiceCallAggregates_ != null) {
maxServiceCallAggregates_ =
org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxServiceCallAggregates_).mergeFrom(value).buildPartial();
} else {
maxServiceCallAggregates_ = value;
}
onChanged();
} else {
maxServiceCallAggregatesBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public Builder clearMaxServiceCallAggregates() {
if (maxServiceCallAggregatesBuilder_ == null) {
maxServiceCallAggregates_ = null;
onChanged();
} else {
maxServiceCallAggregates_ = null;
maxServiceCallAggregatesBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxServiceCallAggregatesBuilder() {
onChanged();
return getMaxServiceCallAggregatesFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxServiceCallAggregatesOrBuilder() {
if (maxServiceCallAggregatesBuilder_ != null) {
return maxServiceCallAggregatesBuilder_.getMessageOrBuilder();
} else {
return maxServiceCallAggregates_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxServiceCallAggregates_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_service_call_aggregates = 5;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>
getMaxServiceCallAggregatesFieldBuilder() {
if (maxServiceCallAggregatesBuilder_ == null) {
maxServiceCallAggregatesBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>(
getMaxServiceCallAggregates(),
getParentForChildren(),
isClean());
maxServiceCallAggregates_ = null;
}
return maxServiceCallAggregatesBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 maxTraceEntriesPerTransaction_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxTraceEntriesPerTransactionBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
public boolean hasMaxTraceEntriesPerTransaction() {
return maxTraceEntriesPerTransactionBuilder_ != null || maxTraceEntriesPerTransaction_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_trace_entries_per_transaction = 6;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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 maxProfileSamplesPerTransaction_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> maxProfileSamplesPerTransactionBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public boolean hasMaxProfileSamplesPerTransaction() {
return maxProfileSamplesPerTransactionBuilder_ != null || maxProfileSamplesPerTransaction_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getMaxProfileSamplesPerTransaction() {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
return maxProfileSamplesPerTransaction_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxProfileSamplesPerTransaction_;
} else {
return maxProfileSamplesPerTransactionBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public Builder setMaxProfileSamplesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxProfileSamplesPerTransaction_ = value;
onChanged();
} else {
maxProfileSamplesPerTransactionBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public Builder setMaxProfileSamplesPerTransaction(
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
maxProfileSamplesPerTransaction_ = builderForValue.build();
onChanged();
} else {
maxProfileSamplesPerTransactionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public Builder mergeMaxProfileSamplesPerTransaction(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
if (maxProfileSamplesPerTransaction_ != null) {
maxProfileSamplesPerTransaction_ =
org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(maxProfileSamplesPerTransaction_).mergeFrom(value).buildPartial();
} else {
maxProfileSamplesPerTransaction_ = value;
}
onChanged();
} else {
maxProfileSamplesPerTransactionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public Builder clearMaxProfileSamplesPerTransaction() {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
maxProfileSamplesPerTransaction_ = null;
onChanged();
} else {
maxProfileSamplesPerTransaction_ = null;
maxProfileSamplesPerTransactionBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMaxProfileSamplesPerTransactionBuilder() {
onChanged();
return getMaxProfileSamplesPerTransactionFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMaxProfileSamplesPerTransactionOrBuilder() {
if (maxProfileSamplesPerTransactionBuilder_ != null) {
return maxProfileSamplesPerTransactionBuilder_.getMessageOrBuilder();
} else {
return maxProfileSamplesPerTransaction_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : maxProfileSamplesPerTransaction_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 max_profile_samples_per_transaction = 7;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>
getMaxProfileSamplesPerTransactionFieldBuilder() {
if (maxProfileSamplesPerTransactionBuilder_ == null) {
maxProfileSamplesPerTransactionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>(
getMaxProfileSamplesPerTransaction(),
getParentForChildren(),
isClean());
maxProfileSamplesPerTransaction_ = null;
}
return maxProfileSamplesPerTransactionBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 mbeanGaugeNotFoundDelaySeconds_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> mbeanGaugeNotFoundDelaySecondsBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
public boolean hasMbeanGaugeNotFoundDelaySeconds() {
return mbeanGaugeNotFoundDelaySecondsBuilder_ != null || mbeanGaugeNotFoundDelaySeconds_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 mbean_gauge_not_found_delay_seconds = 8;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_;
}
private boolean weavingTimer_ ;
/**
* bool weaving_timer = 1;
*/
public boolean getWeavingTimer() {
return weavingTimer_;
}
/**
* bool weaving_timer = 1;
*/
public Builder setWeavingTimer(boolean value) {
weavingTimer_ = value;
onChanged();
return this;
}
/**
* bool weaving_timer = 1;
*/
public Builder clearWeavingTimer() {
weavingTimer_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public AdvancedConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new AdvancedConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string mbean_object_name = 1;
*/
java.lang.String getMbeanObjectName();
/**
* string mbean_object_name = 1;
*/
org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder>
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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.GaugeConfig)
GaugeConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use GaugeConfig.newBuilder() to construct.
private GaugeConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GaugeConfig() {
mbeanObjectName_ = "";
mbeanAttribute_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GaugeConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
mbeanAttribute_ = java.util.Collections.unmodifiableList(mbeanAttribute_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mbeanObjectName_ = s;
return s;
}
}
/**
* string mbean_object_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMbeanObjectNameBytes() {
java.lang.Object ref = mbeanObjectName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mbeanObjectName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder>
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getMbeanObjectNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, mbeanObjectName_);
}
for (int i = 0; i < mbeanAttribute_.size(); i++) {
output.writeMessage(2, mbeanAttribute_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getMbeanObjectNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, mbeanObjectName_);
}
for (int i = 0; i < mbeanAttribute_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, mbeanAttribute_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig) obj;
boolean result = true;
result = result && getMbeanObjectName()
.equals(other.getMbeanObjectName());
result = result && getMbeanAttributeList()
.equals(other.getMbeanAttributeList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MBEAN_OBJECT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMbeanObjectName().hashCode();
if (getMbeanAttributeCount() > 0) {
hash = (37 * hash) + MBEAN_ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getMbeanAttributeList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.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.it.harness.shaded.com.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 clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getMbeanAttributeFieldBuilder() : null;
} else {
mbeanAttributeBuilder_.addAllMessages(other.mbeanAttribute_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object mbeanObjectName_ = "";
/**
* string mbean_object_name = 1;
*/
public java.lang.String getMbeanObjectName() {
java.lang.Object ref = mbeanObjectName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
mbeanObjectName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string mbean_object_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMbeanObjectNameBytes() {
java.lang.Object ref = mbeanObjectName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
mbeanObjectName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string mbean_object_name = 1;
*/
public Builder setMbeanObjectName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
mbeanObjectName_ = value;
onChanged();
return this;
}
/**
* string mbean_object_name = 1;
*/
public Builder clearMbeanObjectName() {
mbeanObjectName_ = getDefaultInstance().getMbeanObjectName();
onChanged();
return this;
}
/**
* string mbean_object_name = 1;
*/
public Builder setMbeanObjectNameBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute> values) {
if (mbeanAttributeBuilder_ == null) {
ensureMbeanAttributeIsMutable();
org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttributeOrBuilder>
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public GaugeConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new GaugeConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SyntheticMonitorConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
*/
java.lang.String getId();
/**
* string id = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes();
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
int getKindValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind getKind();
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
java.lang.String getDisplay();
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes();
/**
* string ping_url = 4;
*/
java.lang.String getPingUrl();
/**
* string ping_url = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPingUrlBytes();
/**
* string java_source = 5;
*/
java.lang.String getJavaSource();
/**
* string java_source = 5;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getJavaSourceBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig}
*/
public static final class SyntheticMonitorConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig)
SyntheticMonitorConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use SyntheticMonitorConfig.newBuilder() to construct.
private SyntheticMonitorConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SyntheticMonitorConfig() {
id_ = "";
kind_ = 0;
display_ = "";
pingUrl_ = "";
javaSource_ = "";
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SyntheticMonitorConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
id_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
display_ = s;
break;
}
case 24: {
int rawValue = input.readEnum();
kind_ = rawValue;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
pingUrl_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
javaSource_ = s;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SyntheticMonitorConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SyntheticMonitorConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder.class);
}
/**
* Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind}
*/
public enum SyntheticMonitorKind
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* PING = 0;
*/
PING(0),
/**
* JAVA = 1;
*/
JAVA(1),
UNRECOGNIZED(-1),
;
/**
* PING = 0;
*/
public static final int PING_VALUE = 0;
/**
* JAVA = 1;
*/
public static final int JAVA_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SyntheticMonitorKind valueOf(int value) {
return forNumber(value);
}
public static SyntheticMonitorKind forNumber(int value) {
switch (value) {
case 0: return PING;
case 1: return JAVA;
default: return null;
}
}
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
SyntheticMonitorKind> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public SyntheticMonitorKind findValueByNumber(int number) {
return SyntheticMonitorKind.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.getDescriptor().getEnumTypes().get(0);
}
private static final SyntheticMonitorKind[] VALUES = values();
public static SyntheticMonitorKind valueOf(
org.glowroot.agent.it.harness.shaded.com.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 value;
private SyntheticMonitorKind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind)
}
public static final int ID_FIELD_NUMBER = 1;
private volatile java.lang.Object id_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int KIND_FIELD_NUMBER = 3;
private int kind_;
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public int getKindValue() {
return kind_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind getKind() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.valueOf(kind_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.UNRECOGNIZED : result;
}
public static final int DISPLAY_FIELD_NUMBER = 2;
private volatile java.lang.Object display_;
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public java.lang.String getDisplay() {
java.lang.Object ref = display_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
display_ = s;
return s;
}
}
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes() {
java.lang.Object ref = display_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
display_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int PING_URL_FIELD_NUMBER = 4;
private volatile java.lang.Object pingUrl_;
/**
* string ping_url = 4;
*/
public java.lang.String getPingUrl() {
java.lang.Object ref = pingUrl_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pingUrl_ = s;
return s;
}
}
/**
* string ping_url = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPingUrlBytes() {
java.lang.Object ref = pingUrl_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pingUrl_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int JAVA_SOURCE_FIELD_NUMBER = 5;
private volatile java.lang.Object javaSource_;
/**
* string java_source = 5;
*/
public java.lang.String getJavaSource() {
java.lang.Object ref = javaSource_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
javaSource_ = s;
return s;
}
}
/**
* string java_source = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getJavaSourceBytes() {
java.lang.Object ref = javaSource_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaSource_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!getDisplayBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, display_);
}
if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.PING.getNumber()) {
output.writeEnum(3, kind_);
}
if (!getPingUrlBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, pingUrl_);
}
if (!getJavaSourceBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, javaSource_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!getDisplayBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, display_);
}
if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.PING.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(3, kind_);
}
if (!getPingUrlBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, pingUrl_);
}
if (!getJavaSourceBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(5, javaSource_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig) obj;
boolean result = true;
result = result && getId()
.equals(other.getId());
result = result && kind_ == other.kind_;
result = result && getDisplay()
.equals(other.getDisplay());
result = result && getPingUrl()
.equals(other.getPingUrl());
result = result && getJavaSource()
.equals(other.getJavaSource());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + kind_;
hash = (37 * hash) + DISPLAY_FIELD_NUMBER;
hash = (53 * hash) + getDisplay().hashCode();
hash = (37 * hash) + PING_URL_FIELD_NUMBER;
hash = (53 * hash) + getPingUrl().hashCode();
hash = (37 * hash) + JAVA_SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getJavaSource().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SyntheticMonitorConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SyntheticMonitorConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
id_ = "";
kind_ = 0;
display_ = "";
pingUrl_ = "";
javaSource_ = "";
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_SyntheticMonitorConfig_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig(this);
result.id_ = id_;
result.kind_ = kind_;
result.display_ = display_;
result.pingUrl_ = pingUrl_;
result.javaSource_ = javaSource_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
onChanged();
}
if (other.kind_ != 0) {
setKindValue(other.getKindValue());
}
if (!other.getDisplay().isEmpty()) {
display_ = other.display_;
onChanged();
}
if (!other.getPingUrl().isEmpty()) {
pingUrl_ = other.pingUrl_;
onChanged();
}
if (!other.getJavaSource().isEmpty()) {
javaSource_ = other.javaSource_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object id_ = "";
/**
* string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder setIdBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private int kind_ = 0;
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public int getKindValue() {
return kind_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public Builder setKindValue(int value) {
kind_ = value;
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind getKind() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.valueOf(kind_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind.UNRECOGNIZED : result;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public Builder setKind(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind value) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value.getNumber();
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig.SyntheticMonitorKind kind = 3;
*/
public Builder clearKind() {
kind_ = 0;
onChanged();
return this;
}
private java.lang.Object display_ = "";
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public java.lang.String getDisplay() {
java.lang.Object ref = display_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
display_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDisplayBytes() {
java.lang.Object ref = display_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
display_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public Builder setDisplay(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
display_ = value;
onChanged();
return this;
}
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public Builder clearDisplay() {
display_ = getDefaultInstance().getDisplay();
onChanged();
return this;
}
/**
*
* optional for type ping, required for type java
*
*
* string display = 2;
*/
public Builder setDisplayBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
display_ = value;
onChanged();
return this;
}
private java.lang.Object pingUrl_ = "";
/**
* string ping_url = 4;
*/
public java.lang.String getPingUrl() {
java.lang.Object ref = pingUrl_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pingUrl_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string ping_url = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPingUrlBytes() {
java.lang.Object ref = pingUrl_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pingUrl_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string ping_url = 4;
*/
public Builder setPingUrl(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pingUrl_ = value;
onChanged();
return this;
}
/**
* string ping_url = 4;
*/
public Builder clearPingUrl() {
pingUrl_ = getDefaultInstance().getPingUrl();
onChanged();
return this;
}
/**
* string ping_url = 4;
*/
public Builder setPingUrlBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pingUrl_ = value;
onChanged();
return this;
}
private java.lang.Object javaSource_ = "";
/**
* string java_source = 5;
*/
public java.lang.String getJavaSource() {
java.lang.Object ref = javaSource_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
javaSource_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string java_source = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getJavaSourceBytes() {
java.lang.Object ref = javaSource_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
javaSource_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string java_source = 5;
*/
public Builder setJavaSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
javaSource_ = value;
onChanged();
return this;
}
/**
* string java_source = 5;
*/
public Builder clearJavaSource() {
javaSource_ = getDefaultInstance().getJavaSource();
onChanged();
return this;
}
/**
* string java_source = 5;
*/
public Builder setJavaSourceBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
javaSource_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public SyntheticMonitorConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new SyntheticMonitorConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface OldAlertConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
int getKindValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind getKind();
/**
* string transaction_type = 2;
*/
java.lang.String getTransactionType();
/**
* string transaction_type = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
boolean hasTransactionPercentile();
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getTransactionPercentile();
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTransactionPercentileOrBuilder();
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
boolean hasMinTransactionCount();
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getMinTransactionCount();
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getMinTransactionCountOrBuilder();
/**
* string gauge_name = 6;
*/
java.lang.String getGaugeName();
/**
* string gauge_name = 6;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getGaugeNameBytes();
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
boolean hasGaugeThreshold();
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getGaugeThreshold();
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getGaugeThresholdOrBuilder();
/**
* string synthetic_monitor_id = 12;
*/
java.lang.String getSyntheticMonitorId();
/**
* string synthetic_monitor_id = 12;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes();
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
boolean hasThresholdMillis();
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getThresholdMillis();
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getThresholdMillisOrBuilder();
/**
*
* used by TRANSACTION, GAUGE, HEARTBEAT
*
*
* int32 time_period_seconds = 8;
*/
int getTimePeriodSeconds();
/**
* repeated string email_address = 9;
*/
java.util.List
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.it.harness.shaded.com.google.protobuf.ByteString
getEmailAddressBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.OldAlertConfig}
*/
public static final class OldAlertConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig)
OldAlertConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use OldAlertConfig.newBuilder() to construct.
private OldAlertConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OldAlertConfig() {
kind_ = 0;
transactionType_ = "";
gaugeName_ = "";
syntheticMonitorId_ = "";
timePeriodSeconds_ = 0;
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private OldAlertConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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 (thresholdMillis_ != null) {
subBuilder = thresholdMillis_.toBuilder();
}
thresholdMillis_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt32.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(thresholdMillis_);
thresholdMillis_ = 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_ & 0x00000200) == 0x00000200)) {
emailAddress_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000200;
}
emailAddress_.add(s);
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
syntheticMonitorId_ = s;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
emailAddress_ = emailAddress_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_OldAlertConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_OldAlertConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder.class);
}
/**
* Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind}
*/
public enum AlertKind
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* TRANSACTION = 0;
*/
TRANSACTION(0),
/**
* GAUGE = 1;
*/
GAUGE(1),
/**
* HEARTBEAT = 2;
*/
HEARTBEAT(2),
/**
* SYNTHETIC_MONITOR = 4;
*/
SYNTHETIC_MONITOR(4),
UNRECOGNIZED(-1),
;
/**
* TRANSACTION = 0;
*/
public static final int TRANSACTION_VALUE = 0;
/**
* GAUGE = 1;
*/
public static final int GAUGE_VALUE = 1;
/**
* HEARTBEAT = 2;
*/
public static final int HEARTBEAT_VALUE = 2;
/**
* SYNTHETIC_MONITOR = 4;
*/
public static final int SYNTHETIC_MONITOR_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AlertKind valueOf(int value) {
return forNumber(value);
}
public static AlertKind forNumber(int value) {
switch (value) {
case 0: return TRANSACTION;
case 1: return GAUGE;
case 2: return HEARTBEAT;
case 4: return SYNTHETIC_MONITOR;
default: return null;
}
}
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
AlertKind> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public AlertKind findValueByNumber(int number) {
return AlertKind.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.getDescriptor().getEnumTypes().get(0);
}
private static final AlertKind[] VALUES = values();
public static AlertKind valueOf(
org.glowroot.agent.it.harness.shaded.com.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 value;
private AlertKind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind)
}
private int bitField0_;
public static final int KIND_FIELD_NUMBER = 1;
private int kind_;
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public int getKindValue() {
return kind_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind getKind() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.valueOf(kind_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.UNRECOGNIZED : result;
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object transactionType_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* string transaction_type = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_PERCENTILE_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.Proto.OptionalDouble transactionPercentile_;
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
public boolean hasTransactionPercentile() {
return transactionPercentile_ != null;
}
/**
* .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_;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTransactionPercentileOrBuilder() {
return getTransactionPercentile();
}
public static final int MIN_TRANSACTION_COUNT_FIELD_NUMBER = 5;
private org.glowroot.wire.api.model.Proto.OptionalInt32 minTransactionCount_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
public boolean hasMinTransactionCount() {
return minTransactionCount_ != null;
}
/**
* .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_;
}
/**
* .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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gaugeName_ = s;
return s;
}
}
/**
* string gauge_name = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getGaugeNameBytes() {
java.lang.Object ref = gaugeName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaugeName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int GAUGE_THRESHOLD_FIELD_NUMBER = 7;
private org.glowroot.wire.api.model.Proto.OptionalDouble gaugeThreshold_;
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
public boolean hasGaugeThreshold() {
return gaugeThreshold_ != null;
}
/**
* .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_;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getGaugeThresholdOrBuilder() {
return getGaugeThreshold();
}
public static final int SYNTHETIC_MONITOR_ID_FIELD_NUMBER = 12;
private volatile java.lang.Object syntheticMonitorId_;
/**
* string synthetic_monitor_id = 12;
*/
public java.lang.String getSyntheticMonitorId() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
syntheticMonitorId_ = s;
return s;
}
}
/**
* string synthetic_monitor_id = 12;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntheticMonitorId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int THRESHOLD_MILLIS_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.Proto.OptionalInt32 thresholdMillis_;
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public boolean hasThresholdMillis() {
return thresholdMillis_ != null;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getThresholdMillis() {
return thresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : thresholdMillis_;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getThresholdMillisOrBuilder() {
return getThresholdMillis();
}
public static final int TIME_PERIOD_SECONDS_FIELD_NUMBER = 8;
private int timePeriodSeconds_;
/**
*
* used by TRANSACTION, GAUGE, HEARTBEAT
*
*
* int32 time_period_seconds = 8;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
public static final int EMAIL_ADDRESS_FIELD_NUMBER = 9;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList emailAddress_;
/**
* repeated string email_address = 9;
*/
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.TRANSACTION.getNumber()) {
output.writeEnum(1, kind_);
}
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, transactionType_);
}
if (transactionPercentile_ != null) {
output.writeMessage(3, getTransactionPercentile());
}
if (thresholdMillis_ != null) {
output.writeMessage(4, getThresholdMillis());
}
if (minTransactionCount_ != null) {
output.writeMessage(5, getMinTransactionCount());
}
if (!getGaugeNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 9, emailAddress_.getRaw(i));
}
if (!getSyntheticMonitorIdBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 12, syntheticMonitorId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (kind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.TRANSACTION.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(1, kind_);
}
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, transactionType_);
}
if (transactionPercentile_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTransactionPercentile());
}
if (thresholdMillis_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getThresholdMillis());
}
if (minTransactionCount_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getMinTransactionCount());
}
if (!getGaugeNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(6, gaugeName_);
}
if (gaugeThreshold_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getGaugeThreshold());
}
if (timePeriodSeconds_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.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();
}
if (!getSyntheticMonitorIdBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(12, syntheticMonitorId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig) obj;
boolean result = true;
result = result && kind_ == other.kind_;
result = result && getTransactionType()
.equals(other.getTransactionType());
result = result && (hasTransactionPercentile() == other.hasTransactionPercentile());
if (hasTransactionPercentile()) {
result = result && getTransactionPercentile()
.equals(other.getTransactionPercentile());
}
result = result && (hasMinTransactionCount() == other.hasMinTransactionCount());
if (hasMinTransactionCount()) {
result = result && getMinTransactionCount()
.equals(other.getMinTransactionCount());
}
result = result && getGaugeName()
.equals(other.getGaugeName());
result = result && (hasGaugeThreshold() == other.hasGaugeThreshold());
if (hasGaugeThreshold()) {
result = result && getGaugeThreshold()
.equals(other.getGaugeThreshold());
}
result = result && getSyntheticMonitorId()
.equals(other.getSyntheticMonitorId());
result = result && (hasThresholdMillis() == other.hasThresholdMillis());
if (hasThresholdMillis()) {
result = result && getThresholdMillis()
.equals(other.getThresholdMillis());
}
result = result && (getTimePeriodSeconds()
== other.getTimePeriodSeconds());
result = result && getEmailAddressList()
.equals(other.getEmailAddressList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + KIND_FIELD_NUMBER;
hash = (53 * hash) + kind_;
hash = (37 * hash) + TRANSACTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionType().hashCode();
if (hasTransactionPercentile()) {
hash = (37 * hash) + TRANSACTION_PERCENTILE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionPercentile().hashCode();
}
if (hasMinTransactionCount()) {
hash = (37 * hash) + MIN_TRANSACTION_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getMinTransactionCount().hashCode();
}
hash = (37 * hash) + GAUGE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getGaugeName().hashCode();
if (hasGaugeThreshold()) {
hash = (37 * hash) + GAUGE_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + getGaugeThreshold().hashCode();
}
hash = (37 * hash) + SYNTHETIC_MONITOR_ID_FIELD_NUMBER;
hash = (53 * hash) + getSyntheticMonitorId().hashCode();
if (hasThresholdMillis()) {
hash = (37 * hash) + THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getThresholdMillis().hashCode();
}
hash = (37 * hash) + TIME_PERIOD_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getTimePeriodSeconds();
if (getEmailAddressCount() > 0) {
hash = (37 * hash) + EMAIL_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getEmailAddressList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.OldAlertConfig}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_OldAlertConfig_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_OldAlertConfig_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
kind_ = 0;
transactionType_ = "";
if (transactionPercentileBuilder_ == null) {
transactionPercentile_ = null;
} else {
transactionPercentile_ = null;
transactionPercentileBuilder_ = null;
}
if (minTransactionCountBuilder_ == null) {
minTransactionCount_ = null;
} else {
minTransactionCount_ = null;
minTransactionCountBuilder_ = null;
}
gaugeName_ = "";
if (gaugeThresholdBuilder_ == null) {
gaugeThreshold_ = null;
} else {
gaugeThreshold_ = null;
gaugeThresholdBuilder_ = null;
}
syntheticMonitorId_ = "";
if (thresholdMillisBuilder_ == null) {
thresholdMillis_ = null;
} else {
thresholdMillis_ = null;
thresholdMillisBuilder_ = null;
}
timePeriodSeconds_ = 0;
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_OldAlertConfig_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig(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 (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.syntheticMonitorId_ = syntheticMonitorId_;
if (thresholdMillisBuilder_ == null) {
result.thresholdMillis_ = thresholdMillis_;
} else {
result.thresholdMillis_ = thresholdMillisBuilder_.build();
}
result.timePeriodSeconds_ = timePeriodSeconds_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
emailAddress_ = emailAddress_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000200);
}
result.emailAddress_ = emailAddress_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.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.hasMinTransactionCount()) {
mergeMinTransactionCount(other.getMinTransactionCount());
}
if (!other.getGaugeName().isEmpty()) {
gaugeName_ = other.gaugeName_;
onChanged();
}
if (other.hasGaugeThreshold()) {
mergeGaugeThreshold(other.getGaugeThreshold());
}
if (!other.getSyntheticMonitorId().isEmpty()) {
syntheticMonitorId_ = other.syntheticMonitorId_;
onChanged();
}
if (other.hasThresholdMillis()) {
mergeThresholdMillis(other.getThresholdMillis());
}
if (other.getTimePeriodSeconds() != 0) {
setTimePeriodSeconds(other.getTimePeriodSeconds());
}
if (!other.emailAddress_.isEmpty()) {
if (emailAddress_.isEmpty()) {
emailAddress_ = other.emailAddress_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureEmailAddressIsMutable();
emailAddress_.addAll(other.emailAddress_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int kind_ = 0;
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public int getKindValue() {
return kind_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public Builder setKindValue(int value) {
kind_ = value;
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind getKind() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.valueOf(kind_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind.UNRECOGNIZED : result;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public Builder setKind(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.AlertKind value) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value.getNumber();
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig.AlertKind kind = 1;
*/
public Builder clearKind() {
kind_ = 0;
onChanged();
return this;
}
private java.lang.Object transactionType_ = "";
/**
* string transaction_type = 2;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_type = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_type = 2;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* string transaction_type = 2;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* string transaction_type = 2;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> transactionPercentileBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
public boolean hasTransactionPercentile() {
return transactionPercentileBuilder_ != null || transactionPercentile_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTransactionPercentileBuilder() {
onChanged();
return getTransactionPercentileFieldBuilder().getBuilder();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalDouble transaction_percentile = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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 minTransactionCount_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> minTransactionCountBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
public boolean hasMinTransactionCount() {
return minTransactionCountBuilder_ != null || minTransactionCount_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getMinTransactionCountBuilder() {
onChanged();
return getMinTransactionCountFieldBuilder().getBuilder();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalInt32 min_transaction_count = 5;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_ = "";
/**
* string gauge_name = 6;
*/
public java.lang.String getGaugeName() {
java.lang.Object ref = gaugeName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gaugeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string gauge_name = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getGaugeNameBytes() {
java.lang.Object ref = gaugeName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaugeName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string gauge_name = 6;
*/
public Builder setGaugeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gaugeName_ = value;
onChanged();
return this;
}
/**
* string gauge_name = 6;
*/
public Builder clearGaugeName() {
gaugeName_ = getDefaultInstance().getGaugeName();
onChanged();
return this;
}
/**
* string gauge_name = 6;
*/
public Builder setGaugeNameBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> gaugeThresholdBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
public boolean hasGaugeThreshold() {
return gaugeThresholdBuilder_ != null || gaugeThreshold_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getGaugeThresholdBuilder() {
onChanged();
return getGaugeThresholdFieldBuilder().getBuilder();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalDouble gauge_threshold = 7;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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 java.lang.Object syntheticMonitorId_ = "";
/**
* string synthetic_monitor_id = 12;
*/
public java.lang.String getSyntheticMonitorId() {
java.lang.Object ref = syntheticMonitorId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
syntheticMonitorId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string synthetic_monitor_id = 12;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntheticMonitorId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string synthetic_monitor_id = 12;
*/
public Builder setSyntheticMonitorId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
syntheticMonitorId_ = value;
onChanged();
return this;
}
/**
* string synthetic_monitor_id = 12;
*/
public Builder clearSyntheticMonitorId() {
syntheticMonitorId_ = getDefaultInstance().getSyntheticMonitorId();
onChanged();
return this;
}
/**
* string synthetic_monitor_id = 12;
*/
public Builder setSyntheticMonitorIdBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
syntheticMonitorId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 thresholdMillis_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> thresholdMillisBuilder_;
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public boolean hasThresholdMillis() {
return thresholdMillisBuilder_ != null || thresholdMillis_ != null;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getThresholdMillis() {
if (thresholdMillisBuilder_ == null) {
return thresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : thresholdMillis_;
} else {
return thresholdMillisBuilder_.getMessage();
}
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public Builder setThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (thresholdMillisBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
thresholdMillis_ = value;
onChanged();
} else {
thresholdMillisBuilder_.setMessage(value);
}
return this;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public Builder setThresholdMillis(
org.glowroot.wire.api.model.Proto.OptionalInt32.Builder builderForValue) {
if (thresholdMillisBuilder_ == null) {
thresholdMillis_ = builderForValue.build();
onChanged();
} else {
thresholdMillisBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public Builder mergeThresholdMillis(org.glowroot.wire.api.model.Proto.OptionalInt32 value) {
if (thresholdMillisBuilder_ == null) {
if (thresholdMillis_ != null) {
thresholdMillis_ =
org.glowroot.wire.api.model.Proto.OptionalInt32.newBuilder(thresholdMillis_).mergeFrom(value).buildPartial();
} else {
thresholdMillis_ = value;
}
onChanged();
} else {
thresholdMillisBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public Builder clearThresholdMillis() {
if (thresholdMillisBuilder_ == null) {
thresholdMillis_ = null;
onChanged();
} else {
thresholdMillis_ = null;
thresholdMillisBuilder_ = null;
}
return this;
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getThresholdMillisBuilder() {
onChanged();
return getThresholdMillisFieldBuilder().getBuilder();
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getThresholdMillisOrBuilder() {
if (thresholdMillisBuilder_ != null) {
return thresholdMillisBuilder_.getMessageOrBuilder();
} else {
return thresholdMillis_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : thresholdMillis_;
}
}
/**
*
* used by TRANSACTION, SYNTHETIC_MONITOR
*
*
* .org_glowroot_wire_api_model.OptionalInt32 threshold_millis = 4;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>
getThresholdMillisFieldBuilder() {
if (thresholdMillisBuilder_ == null) {
thresholdMillisBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder>(
getThresholdMillis(),
getParentForChildren(),
isClean());
thresholdMillis_ = null;
}
return thresholdMillisBuilder_;
}
private int timePeriodSeconds_ ;
/**
*
* used by TRANSACTION, GAUGE, HEARTBEAT
*
*
* int32 time_period_seconds = 8;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
/**
*
* used by TRANSACTION, GAUGE, HEARTBEAT
*
*
* int32 time_period_seconds = 8;
*/
public Builder setTimePeriodSeconds(int value) {
timePeriodSeconds_ = value;
onChanged();
return this;
}
/**
*
* used by TRANSACTION, GAUGE, HEARTBEAT
*
*
* int32 time_period_seconds = 8;
*/
public Builder clearTimePeriodSeconds() {
timePeriodSeconds_ = 0;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureEmailAddressIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
emailAddress_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(emailAddress_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated string email_address = 9;
*/
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, emailAddress_);
onChanged();
return this;
}
/**
* repeated string email_address = 9;
*/
public Builder clearEmailAddress() {
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* repeated string email_address = 9;
*/
public Builder addEmailAddressBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.OldAlertConfig)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public OldAlertConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new OldAlertConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlertConfigOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
boolean hasCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder getConditionOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
int getSeverityValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity getSeverity();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
boolean hasNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder getNotificationOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig}
*/
public static final class AlertConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig)
AlertConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlertConfig.newBuilder() to construct.
private AlertConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlertConfig() {
severity_ = 0;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlertConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder subBuilder = null;
if (condition_ != null) {
subBuilder = condition_.toBuilder();
}
condition_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(condition_);
condition_ = subBuilder.buildPartial();
}
break;
}
case 18: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder subBuilder = null;
if (notification_ != null) {
subBuilder = notification_.toBuilder();
}
notification_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(notification_);
notification_ = subBuilder.buildPartial();
}
break;
}
case 24: {
int rawValue = input.readEnum();
severity_ = rawValue;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.AlertSeverity}
*/
public enum AlertSeverity
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* CRITICAL = 0;
*/
CRITICAL(0),
/**
* HIGH = 1;
*/
HIGH(1),
/**
* MEDIUM = 2;
*/
MEDIUM(2),
/**
* LOW = 3;
*/
LOW(3),
UNRECOGNIZED(-1),
;
/**
* CRITICAL = 0;
*/
public static final int CRITICAL_VALUE = 0;
/**
* HIGH = 1;
*/
public static final int HIGH_VALUE = 1;
/**
* MEDIUM = 2;
*/
public static final int MEDIUM_VALUE = 2;
/**
* LOW = 3;
*/
public static final int LOW_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AlertSeverity valueOf(int value) {
return forNumber(value);
}
public static AlertSeverity forNumber(int value) {
switch (value) {
case 0: return CRITICAL;
case 1: return HIGH;
case 2: return MEDIUM;
case 3: return LOW;
default: return null;
}
}
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
AlertSeverity> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public AlertSeverity findValueByNumber(int number) {
return AlertSeverity.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.getDescriptor().getEnumTypes().get(0);
}
private static final AlertSeverity[] VALUES = values();
public static AlertSeverity valueOf(
org.glowroot.agent.it.harness.shaded.com.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 value;
private AlertSeverity(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity)
}
public interface AlertConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
boolean hasMetricCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getMetricCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder getMetricConditionOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
boolean hasSyntheticMonitorCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getSyntheticMonitorCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder getSyntheticMonitorConditionOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
boolean hasHeartbeatCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getHeartbeatCondition();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder getHeartbeatConditionOrBuilder();
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.ValCase getValCase();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition}
*/
public static final class AlertCondition extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition)
AlertConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlertCondition.newBuilder() to construct.
private AlertCondition(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlertCondition() {
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlertCondition(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder subBuilder = null;
if (valCase_ == 1) {
subBuilder = ((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_).toBuilder();
}
val_ =
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_);
val_ = subBuilder.buildPartial();
}
valCase_ = 1;
break;
}
case 18: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder subBuilder = null;
if (valCase_ == 2) {
subBuilder = ((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_).toBuilder();
}
val_ =
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_);
val_ = subBuilder.buildPartial();
}
valCase_ = 2;
break;
}
case 26: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder subBuilder = null;
if (valCase_ == 3) {
subBuilder = ((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_).toBuilder();
}
val_ =
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_);
val_ = subBuilder.buildPartial();
}
valCase_ = 3;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder.class);
}
public interface MetricConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string metric = 1;
*/
java.lang.String getMetric();
/**
* string metric = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMetricBytes();
/**
* string transaction_type = 2;
*/
java.lang.String getTransactionType();
/**
* string transaction_type = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* string transaction_name = 3;
*/
java.lang.String getTransactionName();
/**
* string transaction_name = 3;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes();
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
boolean hasPercentile();
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getPercentile();
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getPercentileOrBuilder();
/**
* string error_message_filter = 5;
*/
java.lang.String getErrorMessageFilter();
/**
* string error_message_filter = 5;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getErrorMessageFilterBytes();
/**
* double threshold = 100;
*/
double getThreshold();
/**
* bool lower_bound_threshold = 101;
*/
boolean getLowerBoundThreshold();
/**
* int32 time_period_seconds = 102;
*/
int getTimePeriodSeconds();
/**
*
* not applicable for all metric conditions
*
*
* int64 min_transaction_count = 103;
*/
long getMinTransactionCount();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition}
*/
public static final class MetricCondition extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition)
MetricConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetricCondition.newBuilder() to construct.
private MetricCondition(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetricCondition() {
metric_ = "";
transactionType_ = "";
transactionName_ = "";
errorMessageFilter_ = "";
threshold_ = 0D;
lowerBoundThreshold_ = false;
timePeriodSeconds_ = 0;
minTransactionCount_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MetricCondition(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
metric_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
transactionType_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
transactionName_ = s;
break;
}
case 34: {
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null;
if (percentile_ != null) {
subBuilder = percentile_.toBuilder();
}
percentile_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(percentile_);
percentile_ = subBuilder.buildPartial();
}
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
errorMessageFilter_ = s;
break;
}
case 801: {
threshold_ = input.readDouble();
break;
}
case 808: {
lowerBoundThreshold_ = input.readBool();
break;
}
case 816: {
timePeriodSeconds_ = input.readInt32();
break;
}
case 824: {
minTransactionCount_ = input.readInt64();
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_MetricCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_MetricCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder.class);
}
public static final int METRIC_FIELD_NUMBER = 1;
private volatile java.lang.Object metric_;
/**
* string metric = 1;
*/
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metric_ = s;
return s;
}
}
/**
* string metric = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object transactionType_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* string transaction_type = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object transactionName_;
/**
* string transaction_name = 3;
*/
public java.lang.String getTransactionName() {
java.lang.Object ref = transactionName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
}
}
/**
* string transaction_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int PERCENTILE_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.Proto.OptionalDouble percentile_;
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public boolean hasPercentile() {
return percentile_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getPercentile() {
return percentile_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : percentile_;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getPercentileOrBuilder() {
return getPercentile();
}
public static final int ERROR_MESSAGE_FILTER_FIELD_NUMBER = 5;
private volatile java.lang.Object errorMessageFilter_;
/**
* string error_message_filter = 5;
*/
public java.lang.String getErrorMessageFilter() {
java.lang.Object ref = errorMessageFilter_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessageFilter_ = s;
return s;
}
}
/**
* string error_message_filter = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getErrorMessageFilterBytes() {
java.lang.Object ref = errorMessageFilter_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessageFilter_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int THRESHOLD_FIELD_NUMBER = 100;
private double threshold_;
/**
* double threshold = 100;
*/
public double getThreshold() {
return threshold_;
}
public static final int LOWER_BOUND_THRESHOLD_FIELD_NUMBER = 101;
private boolean lowerBoundThreshold_;
/**
* bool lower_bound_threshold = 101;
*/
public boolean getLowerBoundThreshold() {
return lowerBoundThreshold_;
}
public static final int TIME_PERIOD_SECONDS_FIELD_NUMBER = 102;
private int timePeriodSeconds_;
/**
* int32 time_period_seconds = 102;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
public static final int MIN_TRANSACTION_COUNT_FIELD_NUMBER = 103;
private long minTransactionCount_;
/**
*
* not applicable for all metric conditions
*
*
* int64 min_transaction_count = 103;
*/
public long getMinTransactionCount() {
return minTransactionCount_;
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getMetricBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metric_);
}
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, transactionName_);
}
if (percentile_ != null) {
output.writeMessage(4, getPercentile());
}
if (!getErrorMessageFilterBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, errorMessageFilter_);
}
if (threshold_ != 0D) {
output.writeDouble(100, threshold_);
}
if (lowerBoundThreshold_ != false) {
output.writeBool(101, lowerBoundThreshold_);
}
if (timePeriodSeconds_ != 0) {
output.writeInt32(102, timePeriodSeconds_);
}
if (minTransactionCount_ != 0L) {
output.writeInt64(103, minTransactionCount_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getMetricBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metric_);
}
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transactionName_);
}
if (percentile_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getPercentile());
}
if (!getErrorMessageFilterBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(5, errorMessageFilter_);
}
if (threshold_ != 0D) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeDoubleSize(100, threshold_);
}
if (lowerBoundThreshold_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(101, lowerBoundThreshold_);
}
if (timePeriodSeconds_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(102, timePeriodSeconds_);
}
if (minTransactionCount_ != 0L) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt64Size(103, minTransactionCount_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) obj;
boolean result = true;
result = result && getMetric()
.equals(other.getMetric());
result = result && getTransactionType()
.equals(other.getTransactionType());
result = result && getTransactionName()
.equals(other.getTransactionName());
result = result && (hasPercentile() == other.hasPercentile());
if (hasPercentile()) {
result = result && getPercentile()
.equals(other.getPercentile());
}
result = result && getErrorMessageFilter()
.equals(other.getErrorMessageFilter());
result = result && (
java.lang.Double.doubleToLongBits(getThreshold())
== java.lang.Double.doubleToLongBits(
other.getThreshold()));
result = result && (getLowerBoundThreshold()
== other.getLowerBoundThreshold());
result = result && (getTimePeriodSeconds()
== other.getTimePeriodSeconds());
result = result && (getMinTransactionCount()
== other.getMinTransactionCount());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + METRIC_FIELD_NUMBER;
hash = (53 * hash) + getMetric().hashCode();
hash = (37 * hash) + TRANSACTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionType().hashCode();
hash = (37 * hash) + TRANSACTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTransactionName().hashCode();
if (hasPercentile()) {
hash = (37 * hash) + PERCENTILE_FIELD_NUMBER;
hash = (53 * hash) + getPercentile().hashCode();
}
hash = (37 * hash) + ERROR_MESSAGE_FILTER_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessageFilter().hashCode();
hash = (37 * hash) + THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getThreshold()));
hash = (37 * hash) + LOWER_BOUND_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getLowerBoundThreshold());
hash = (37 * hash) + TIME_PERIOD_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getTimePeriodSeconds();
hash = (37 * hash) + MIN_TRANSACTION_COUNT_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong(
getMinTransactionCount());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_MetricCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_MetricCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
metric_ = "";
transactionType_ = "";
transactionName_ = "";
if (percentileBuilder_ == null) {
percentile_ = null;
} else {
percentile_ = null;
percentileBuilder_ = null;
}
errorMessageFilter_ = "";
threshold_ = 0D;
lowerBoundThreshold_ = false;
timePeriodSeconds_ = 0;
minTransactionCount_ = 0L;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_MetricCondition_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition(this);
result.metric_ = metric_;
result.transactionType_ = transactionType_;
result.transactionName_ = transactionName_;
if (percentileBuilder_ == null) {
result.percentile_ = percentile_;
} else {
result.percentile_ = percentileBuilder_.build();
}
result.errorMessageFilter_ = errorMessageFilter_;
result.threshold_ = threshold_;
result.lowerBoundThreshold_ = lowerBoundThreshold_;
result.timePeriodSeconds_ = timePeriodSeconds_;
result.minTransactionCount_ = minTransactionCount_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance()) return this;
if (!other.getMetric().isEmpty()) {
metric_ = other.metric_;
onChanged();
}
if (!other.getTransactionType().isEmpty()) {
transactionType_ = other.transactionType_;
onChanged();
}
if (!other.getTransactionName().isEmpty()) {
transactionName_ = other.transactionName_;
onChanged();
}
if (other.hasPercentile()) {
mergePercentile(other.getPercentile());
}
if (!other.getErrorMessageFilter().isEmpty()) {
errorMessageFilter_ = other.errorMessageFilter_;
onChanged();
}
if (other.getThreshold() != 0D) {
setThreshold(other.getThreshold());
}
if (other.getLowerBoundThreshold() != false) {
setLowerBoundThreshold(other.getLowerBoundThreshold());
}
if (other.getTimePeriodSeconds() != 0) {
setTimePeriodSeconds(other.getTimePeriodSeconds());
}
if (other.getMinTransactionCount() != 0L) {
setMinTransactionCount(other.getMinTransactionCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object metric_ = "";
/**
* string metric = 1;
*/
public java.lang.String getMetric() {
java.lang.Object ref = metric_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
metric_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string metric = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMetricBytes() {
java.lang.Object ref = metric_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
metric_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string metric = 1;
*/
public Builder setMetric(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
metric_ = value;
onChanged();
return this;
}
/**
* string metric = 1;
*/
public Builder clearMetric() {
metric_ = getDefaultInstance().getMetric();
onChanged();
return this;
}
/**
* string metric = 1;
*/
public Builder setMetricBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
metric_ = value;
onChanged();
return this;
}
private java.lang.Object transactionType_ = "";
/**
* string transaction_type = 2;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_type = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_type = 2;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* string transaction_type = 2;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* string transaction_type = 2;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionType_ = value;
onChanged();
return this;
}
private java.lang.Object transactionName_ = "";
/**
* string transaction_name = 3;
*/
public java.lang.String getTransactionName() {
java.lang.Object ref = transactionName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_name = 3;
*/
public Builder setTransactionName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionName_ = value;
onChanged();
return this;
}
/**
* string transaction_name = 3;
*/
public Builder clearTransactionName() {
transactionName_ = getDefaultInstance().getTransactionName();
onChanged();
return this;
}
/**
* string transaction_name = 3;
*/
public Builder setTransactionNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionName_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalDouble percentile_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> percentileBuilder_;
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public boolean hasPercentile() {
return percentileBuilder_ != null || percentile_ != null;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getPercentile() {
if (percentileBuilder_ == null) {
return percentile_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : percentile_;
} else {
return percentileBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public Builder setPercentile(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (percentileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
percentile_ = value;
onChanged();
} else {
percentileBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public Builder setPercentile(
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) {
if (percentileBuilder_ == null) {
percentile_ = builderForValue.build();
onChanged();
} else {
percentileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public Builder mergePercentile(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (percentileBuilder_ == null) {
if (percentile_ != null) {
percentile_ =
org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(percentile_).mergeFrom(value).buildPartial();
} else {
percentile_ = value;
}
onChanged();
} else {
percentileBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public Builder clearPercentile() {
if (percentileBuilder_ == null) {
percentile_ = null;
onChanged();
} else {
percentile_ = null;
percentileBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getPercentileBuilder() {
onChanged();
return getPercentileFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getPercentileOrBuilder() {
if (percentileBuilder_ != null) {
return percentileBuilder_.getMessageOrBuilder();
} else {
return percentile_ == null ?
org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : percentile_;
}
}
/**
* .org_glowroot_wire_api_model.OptionalDouble percentile = 4;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>
getPercentileFieldBuilder() {
if (percentileBuilder_ == null) {
percentileBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>(
getPercentile(),
getParentForChildren(),
isClean());
percentile_ = null;
}
return percentileBuilder_;
}
private java.lang.Object errorMessageFilter_ = "";
/**
* string error_message_filter = 5;
*/
public java.lang.String getErrorMessageFilter() {
java.lang.Object ref = errorMessageFilter_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
errorMessageFilter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string error_message_filter = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getErrorMessageFilterBytes() {
java.lang.Object ref = errorMessageFilter_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
errorMessageFilter_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string error_message_filter = 5;
*/
public Builder setErrorMessageFilter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
errorMessageFilter_ = value;
onChanged();
return this;
}
/**
* string error_message_filter = 5;
*/
public Builder clearErrorMessageFilter() {
errorMessageFilter_ = getDefaultInstance().getErrorMessageFilter();
onChanged();
return this;
}
/**
* string error_message_filter = 5;
*/
public Builder setErrorMessageFilterBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
errorMessageFilter_ = value;
onChanged();
return this;
}
private double threshold_ ;
/**
* double threshold = 100;
*/
public double getThreshold() {
return threshold_;
}
/**
* double threshold = 100;
*/
public Builder setThreshold(double value) {
threshold_ = value;
onChanged();
return this;
}
/**
* double threshold = 100;
*/
public Builder clearThreshold() {
threshold_ = 0D;
onChanged();
return this;
}
private boolean lowerBoundThreshold_ ;
/**
* bool lower_bound_threshold = 101;
*/
public boolean getLowerBoundThreshold() {
return lowerBoundThreshold_;
}
/**
* bool lower_bound_threshold = 101;
*/
public Builder setLowerBoundThreshold(boolean value) {
lowerBoundThreshold_ = value;
onChanged();
return this;
}
/**
* bool lower_bound_threshold = 101;
*/
public Builder clearLowerBoundThreshold() {
lowerBoundThreshold_ = false;
onChanged();
return this;
}
private int timePeriodSeconds_ ;
/**
* int32 time_period_seconds = 102;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
/**
* int32 time_period_seconds = 102;
*/
public Builder setTimePeriodSeconds(int value) {
timePeriodSeconds_ = value;
onChanged();
return this;
}
/**
* int32 time_period_seconds = 102;
*/
public Builder clearTimePeriodSeconds() {
timePeriodSeconds_ = 0;
onChanged();
return this;
}
private long minTransactionCount_ ;
/**
*
* not applicable for all metric conditions
*
*
* int64 min_transaction_count = 103;
*/
public long getMinTransactionCount() {
return minTransactionCount_;
}
/**
*
* not applicable for all metric conditions
*
*
* int64 min_transaction_count = 103;
*/
public Builder setMinTransactionCount(long value) {
minTransactionCount_ = value;
onChanged();
return this;
}
/**
*
* not applicable for all metric conditions
*
*
* int64 min_transaction_count = 103;
*/
public Builder clearMinTransactionCount() {
minTransactionCount_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public MetricCondition parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new MetricCondition(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SyntheticMonitorConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string synthetic_monitor_id = 1;
*/
java.lang.String getSyntheticMonitorId();
/**
* string synthetic_monitor_id = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes();
/**
* int32 threshold_millis = 2;
*/
int getThresholdMillis();
/**
*
* introduced in 0.12.4, for backwards compatibility
*
*
* int32 consecutive_count = 3;
*/
int getConsecutiveCount();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition}
*/
public static final class SyntheticMonitorCondition extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)
SyntheticMonitorConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use SyntheticMonitorCondition.newBuilder() to construct.
private SyntheticMonitorCondition(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SyntheticMonitorCondition() {
syntheticMonitorId_ = "";
thresholdMillis_ = 0;
consecutiveCount_ = 0;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SyntheticMonitorCondition(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
syntheticMonitorId_ = s;
break;
}
case 16: {
thresholdMillis_ = input.readInt32();
break;
}
case 24: {
consecutiveCount_ = input.readInt32();
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_SyntheticMonitorCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_SyntheticMonitorCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder.class);
}
public static final int SYNTHETIC_MONITOR_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object syntheticMonitorId_;
/**
* string synthetic_monitor_id = 1;
*/
public java.lang.String getSyntheticMonitorId() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
syntheticMonitorId_ = s;
return s;
}
}
/**
* string synthetic_monitor_id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntheticMonitorId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int THRESHOLD_MILLIS_FIELD_NUMBER = 2;
private int thresholdMillis_;
/**
* int32 threshold_millis = 2;
*/
public int getThresholdMillis() {
return thresholdMillis_;
}
public static final int CONSECUTIVE_COUNT_FIELD_NUMBER = 3;
private int consecutiveCount_;
/**
*
* introduced in 0.12.4, for backwards compatibility
*
*
* int32 consecutive_count = 3;
*/
public int getConsecutiveCount() {
return consecutiveCount_;
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSyntheticMonitorIdBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, syntheticMonitorId_);
}
if (thresholdMillis_ != 0) {
output.writeInt32(2, thresholdMillis_);
}
if (consecutiveCount_ != 0) {
output.writeInt32(3, consecutiveCount_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSyntheticMonitorIdBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, syntheticMonitorId_);
}
if (thresholdMillis_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(2, thresholdMillis_);
}
if (consecutiveCount_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(3, consecutiveCount_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) obj;
boolean result = true;
result = result && getSyntheticMonitorId()
.equals(other.getSyntheticMonitorId());
result = result && (getThresholdMillis()
== other.getThresholdMillis());
result = result && (getConsecutiveCount()
== other.getConsecutiveCount());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SYNTHETIC_MONITOR_ID_FIELD_NUMBER;
hash = (53 * hash) + getSyntheticMonitorId().hashCode();
hash = (37 * hash) + THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getThresholdMillis();
hash = (37 * hash) + CONSECUTIVE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getConsecutiveCount();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_SyntheticMonitorCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_SyntheticMonitorCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
syntheticMonitorId_ = "";
thresholdMillis_ = 0;
consecutiveCount_ = 0;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_SyntheticMonitorCondition_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition(this);
result.syntheticMonitorId_ = syntheticMonitorId_;
result.thresholdMillis_ = thresholdMillis_;
result.consecutiveCount_ = consecutiveCount_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance()) return this;
if (!other.getSyntheticMonitorId().isEmpty()) {
syntheticMonitorId_ = other.syntheticMonitorId_;
onChanged();
}
if (other.getThresholdMillis() != 0) {
setThresholdMillis(other.getThresholdMillis());
}
if (other.getConsecutiveCount() != 0) {
setConsecutiveCount(other.getConsecutiveCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object syntheticMonitorId_ = "";
/**
* string synthetic_monitor_id = 1;
*/
public java.lang.String getSyntheticMonitorId() {
java.lang.Object ref = syntheticMonitorId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
syntheticMonitorId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string synthetic_monitor_id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSyntheticMonitorIdBytes() {
java.lang.Object ref = syntheticMonitorId_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
syntheticMonitorId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string synthetic_monitor_id = 1;
*/
public Builder setSyntheticMonitorId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
syntheticMonitorId_ = value;
onChanged();
return this;
}
/**
* string synthetic_monitor_id = 1;
*/
public Builder clearSyntheticMonitorId() {
syntheticMonitorId_ = getDefaultInstance().getSyntheticMonitorId();
onChanged();
return this;
}
/**
* string synthetic_monitor_id = 1;
*/
public Builder setSyntheticMonitorIdBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
syntheticMonitorId_ = value;
onChanged();
return this;
}
private int thresholdMillis_ ;
/**
* int32 threshold_millis = 2;
*/
public int getThresholdMillis() {
return thresholdMillis_;
}
/**
* int32 threshold_millis = 2;
*/
public Builder setThresholdMillis(int value) {
thresholdMillis_ = value;
onChanged();
return this;
}
/**
* int32 threshold_millis = 2;
*/
public Builder clearThresholdMillis() {
thresholdMillis_ = 0;
onChanged();
return this;
}
private int consecutiveCount_ ;
/**
*
* introduced in 0.12.4, for backwards compatibility
*
*
* int32 consecutive_count = 3;
*/
public int getConsecutiveCount() {
return consecutiveCount_;
}
/**
*
* introduced in 0.12.4, for backwards compatibility
*
*
* int32 consecutive_count = 3;
*/
public Builder setConsecutiveCount(int value) {
consecutiveCount_ = value;
onChanged();
return this;
}
/**
*
* introduced in 0.12.4, for backwards compatibility
*
*
* int32 consecutive_count = 3;
*/
public Builder clearConsecutiveCount() {
consecutiveCount_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public SyntheticMonitorCondition parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new SyntheticMonitorCondition(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HeartbeatConditionOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* int32 time_period_seconds = 1;
*/
int getTimePeriodSeconds();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition}
*/
public static final class HeartbeatCondition extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)
HeartbeatConditionOrBuilder {
private static final long serialVersionUID = 0L;
// Use HeartbeatCondition.newBuilder() to construct.
private HeartbeatCondition(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HeartbeatCondition() {
timePeriodSeconds_ = 0;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HeartbeatCondition(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
timePeriodSeconds_ = input.readInt32();
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_HeartbeatCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_HeartbeatCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder.class);
}
public static final int TIME_PERIOD_SECONDS_FIELD_NUMBER = 1;
private int timePeriodSeconds_;
/**
* int32 time_period_seconds = 1;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (timePeriodSeconds_ != 0) {
output.writeInt32(1, timePeriodSeconds_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (timePeriodSeconds_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(1, timePeriodSeconds_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) obj;
boolean result = true;
result = result && (getTimePeriodSeconds()
== other.getTimePeriodSeconds());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + TIME_PERIOD_SECONDS_FIELD_NUMBER;
hash = (53 * hash) + getTimePeriodSeconds();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_HeartbeatCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_HeartbeatCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
timePeriodSeconds_ = 0;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_HeartbeatCondition_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition(this);
result.timePeriodSeconds_ = timePeriodSeconds_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance()) return this;
if (other.getTimePeriodSeconds() != 0) {
setTimePeriodSeconds(other.getTimePeriodSeconds());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int timePeriodSeconds_ ;
/**
* int32 time_period_seconds = 1;
*/
public int getTimePeriodSeconds() {
return timePeriodSeconds_;
}
/**
* int32 time_period_seconds = 1;
*/
public Builder setTimePeriodSeconds(int value) {
timePeriodSeconds_ = value;
onChanged();
return this;
}
/**
* int32 time_period_seconds = 1;
*/
public Builder clearTimePeriodSeconds() {
timePeriodSeconds_ = 0;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public HeartbeatCondition parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new HeartbeatCondition(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int valCase_ = 0;
private java.lang.Object val_;
public enum ValCase
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLite {
METRIC_CONDITION(1),
SYNTHETIC_MONITOR_CONDITION(2),
HEARTBEAT_CONDITION(3),
VAL_NOT_SET(0);
private final int value;
private ValCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ValCase valueOf(int value) {
return forNumber(value);
}
public static ValCase forNumber(int value) {
switch (value) {
case 1: return METRIC_CONDITION;
case 2: return SYNTHETIC_MONITOR_CONDITION;
case 3: return HEARTBEAT_CONDITION;
case 0: return VAL_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValCase
getValCase() {
return ValCase.forNumber(
valCase_);
}
public static final int METRIC_CONDITION_FIELD_NUMBER = 1;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public boolean hasMetricCondition() {
return valCase_ == 1;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getMetricCondition() {
if (valCase_ == 1) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder getMetricConditionOrBuilder() {
if (valCase_ == 1) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
public static final int SYNTHETIC_MONITOR_CONDITION_FIELD_NUMBER = 2;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public boolean hasSyntheticMonitorCondition() {
return valCase_ == 2;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getSyntheticMonitorCondition() {
if (valCase_ == 2) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder getSyntheticMonitorConditionOrBuilder() {
if (valCase_ == 2) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
public static final int HEARTBEAT_CONDITION_FIELD_NUMBER = 3;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public boolean hasHeartbeatCondition() {
return valCase_ == 3;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getHeartbeatCondition() {
if (valCase_ == 3) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder getHeartbeatConditionOrBuilder() {
if (valCase_ == 3) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (valCase_ == 1) {
output.writeMessage(1, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_);
}
if (valCase_ == 2) {
output.writeMessage(2, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_);
}
if (valCase_ == 3) {
output.writeMessage(3, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valCase_ == 1) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_);
}
if (valCase_ == 2) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_);
}
if (valCase_ == 3) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition) obj;
boolean result = true;
result = result && getValCase().equals(
other.getValCase());
if (!result) return false;
switch (valCase_) {
case 1:
result = result && getMetricCondition()
.equals(other.getMetricCondition());
break;
case 2:
result = result && getSyntheticMonitorCondition()
.equals(other.getSyntheticMonitorCondition());
break;
case 3:
result = result && getHeartbeatCondition()
.equals(other.getHeartbeatCondition());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (valCase_) {
case 1:
hash = (37 * hash) + METRIC_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getMetricCondition().hashCode();
break;
case 2:
hash = (37 * hash) + SYNTHETIC_MONITOR_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getSyntheticMonitorCondition().hashCode();
break;
case 3:
hash = (37 * hash) + HEARTBEAT_CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getHeartbeatCondition().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
valCase_ = 0;
val_ = null;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertCondition_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition(this);
if (valCase_ == 1) {
if (metricConditionBuilder_ == null) {
result.val_ = val_;
} else {
result.val_ = metricConditionBuilder_.build();
}
}
if (valCase_ == 2) {
if (syntheticMonitorConditionBuilder_ == null) {
result.val_ = val_;
} else {
result.val_ = syntheticMonitorConditionBuilder_.build();
}
}
if (valCase_ == 3) {
if (heartbeatConditionBuilder_ == null) {
result.val_ = val_;
} else {
result.val_ = heartbeatConditionBuilder_.build();
}
}
result.valCase_ = valCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.getDefaultInstance()) return this;
switch (other.getValCase()) {
case METRIC_CONDITION: {
mergeMetricCondition(other.getMetricCondition());
break;
}
case SYNTHETIC_MONITOR_CONDITION: {
mergeSyntheticMonitorCondition(other.getSyntheticMonitorCondition());
break;
}
case HEARTBEAT_CONDITION: {
mergeHeartbeatCondition(other.getHeartbeatCondition());
break;
}
case VAL_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valCase_ = 0;
private java.lang.Object val_;
public ValCase
getValCase() {
return ValCase.forNumber(
valCase_);
}
public Builder clearVal() {
valCase_ = 0;
val_ = null;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder> metricConditionBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public boolean hasMetricCondition() {
return valCase_ == 1;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition getMetricCondition() {
if (metricConditionBuilder_ == null) {
if (valCase_ == 1) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
} else {
if (valCase_ == 1) {
return metricConditionBuilder_.getMessage();
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public Builder setMetricCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition value) {
if (metricConditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
val_ = value;
onChanged();
} else {
metricConditionBuilder_.setMessage(value);
}
valCase_ = 1;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public Builder setMetricCondition(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder builderForValue) {
if (metricConditionBuilder_ == null) {
val_ = builderForValue.build();
onChanged();
} else {
metricConditionBuilder_.setMessage(builderForValue.build());
}
valCase_ = 1;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public Builder mergeMetricCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition value) {
if (metricConditionBuilder_ == null) {
if (valCase_ == 1 &&
val_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance()) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.newBuilder((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_)
.mergeFrom(value).buildPartial();
} else {
val_ = value;
}
onChanged();
} else {
if (valCase_ == 1) {
metricConditionBuilder_.mergeFrom(value);
}
metricConditionBuilder_.setMessage(value);
}
valCase_ = 1;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public Builder clearMetricCondition() {
if (metricConditionBuilder_ == null) {
if (valCase_ == 1) {
valCase_ = 0;
val_ = null;
onChanged();
}
} else {
if (valCase_ == 1) {
valCase_ = 0;
val_ = null;
}
metricConditionBuilder_.clear();
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder getMetricConditionBuilder() {
return getMetricConditionFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder getMetricConditionOrBuilder() {
if ((valCase_ == 1) && (metricConditionBuilder_ != null)) {
return metricConditionBuilder_.getMessageOrBuilder();
} else {
if (valCase_ == 1) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.MetricCondition metric_condition = 1;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder>
getMetricConditionFieldBuilder() {
if (metricConditionBuilder_ == null) {
if (!(valCase_ == 1)) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.getDefaultInstance();
}
metricConditionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricConditionOrBuilder>(
(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.MetricCondition) val_,
getParentForChildren(),
isClean());
val_ = null;
}
valCase_ = 1;
onChanged();;
return metricConditionBuilder_;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder> syntheticMonitorConditionBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public boolean hasSyntheticMonitorCondition() {
return valCase_ == 2;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition getSyntheticMonitorCondition() {
if (syntheticMonitorConditionBuilder_ == null) {
if (valCase_ == 2) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
} else {
if (valCase_ == 2) {
return syntheticMonitorConditionBuilder_.getMessage();
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public Builder setSyntheticMonitorCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition value) {
if (syntheticMonitorConditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
val_ = value;
onChanged();
} else {
syntheticMonitorConditionBuilder_.setMessage(value);
}
valCase_ = 2;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public Builder setSyntheticMonitorCondition(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder builderForValue) {
if (syntheticMonitorConditionBuilder_ == null) {
val_ = builderForValue.build();
onChanged();
} else {
syntheticMonitorConditionBuilder_.setMessage(builderForValue.build());
}
valCase_ = 2;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public Builder mergeSyntheticMonitorCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition value) {
if (syntheticMonitorConditionBuilder_ == null) {
if (valCase_ == 2 &&
val_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance()) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.newBuilder((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_)
.mergeFrom(value).buildPartial();
} else {
val_ = value;
}
onChanged();
} else {
if (valCase_ == 2) {
syntheticMonitorConditionBuilder_.mergeFrom(value);
}
syntheticMonitorConditionBuilder_.setMessage(value);
}
valCase_ = 2;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public Builder clearSyntheticMonitorCondition() {
if (syntheticMonitorConditionBuilder_ == null) {
if (valCase_ == 2) {
valCase_ = 0;
val_ = null;
onChanged();
}
} else {
if (valCase_ == 2) {
valCase_ = 0;
val_ = null;
}
syntheticMonitorConditionBuilder_.clear();
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder getSyntheticMonitorConditionBuilder() {
return getSyntheticMonitorConditionFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder getSyntheticMonitorConditionOrBuilder() {
if ((valCase_ == 2) && (syntheticMonitorConditionBuilder_ != null)) {
return syntheticMonitorConditionBuilder_.getMessageOrBuilder();
} else {
if (valCase_ == 2) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition synthetic_monitor_condition = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder>
getSyntheticMonitorConditionFieldBuilder() {
if (syntheticMonitorConditionBuilder_ == null) {
if (!(valCase_ == 2)) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.getDefaultInstance();
}
syntheticMonitorConditionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorConditionOrBuilder>(
(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.SyntheticMonitorCondition) val_,
getParentForChildren(),
isClean());
val_ = null;
}
valCase_ = 2;
onChanged();;
return syntheticMonitorConditionBuilder_;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder> heartbeatConditionBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public boolean hasHeartbeatCondition() {
return valCase_ == 3;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition getHeartbeatCondition() {
if (heartbeatConditionBuilder_ == null) {
if (valCase_ == 3) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
} else {
if (valCase_ == 3) {
return heartbeatConditionBuilder_.getMessage();
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public Builder setHeartbeatCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition value) {
if (heartbeatConditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
val_ = value;
onChanged();
} else {
heartbeatConditionBuilder_.setMessage(value);
}
valCase_ = 3;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public Builder setHeartbeatCondition(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder builderForValue) {
if (heartbeatConditionBuilder_ == null) {
val_ = builderForValue.build();
onChanged();
} else {
heartbeatConditionBuilder_.setMessage(builderForValue.build());
}
valCase_ = 3;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public Builder mergeHeartbeatCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition value) {
if (heartbeatConditionBuilder_ == null) {
if (valCase_ == 3 &&
val_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance()) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.newBuilder((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_)
.mergeFrom(value).buildPartial();
} else {
val_ = value;
}
onChanged();
} else {
if (valCase_ == 3) {
heartbeatConditionBuilder_.mergeFrom(value);
}
heartbeatConditionBuilder_.setMessage(value);
}
valCase_ = 3;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public Builder clearHeartbeatCondition() {
if (heartbeatConditionBuilder_ == null) {
if (valCase_ == 3) {
valCase_ = 0;
val_ = null;
onChanged();
}
} else {
if (valCase_ == 3) {
valCase_ = 0;
val_ = null;
}
heartbeatConditionBuilder_.clear();
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder getHeartbeatConditionBuilder() {
return getHeartbeatConditionFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder getHeartbeatConditionOrBuilder() {
if ((valCase_ == 3) && (heartbeatConditionBuilder_ != null)) {
return heartbeatConditionBuilder_.getMessageOrBuilder();
} else {
if (valCase_ == 3) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition heartbeat_condition = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder>
getHeartbeatConditionFieldBuilder() {
if (heartbeatConditionBuilder_ == null) {
if (!(valCase_ == 3)) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.getDefaultInstance();
}
heartbeatConditionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatConditionOrBuilder>(
(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.HeartbeatCondition) val_,
getParentForChildren(),
isClean());
val_ = null;
}
valCase_ = 3;
onChanged();;
return heartbeatConditionBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public AlertCondition parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new AlertCondition(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AlertNotificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
boolean hasEmailNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getEmailNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder getEmailNotificationOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
boolean hasPagerDutyNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getPagerDutyNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder getPagerDutyNotificationOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
boolean hasSlackNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getSlackNotification();
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder getSlackNotificationOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification}
*/
public static final class AlertNotification extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification)
AlertNotificationOrBuilder {
private static final long serialVersionUID = 0L;
// Use AlertNotification.newBuilder() to construct.
private AlertNotification(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AlertNotification() {
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AlertNotification(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder subBuilder = null;
if (emailNotification_ != null) {
subBuilder = emailNotification_.toBuilder();
}
emailNotification_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(emailNotification_);
emailNotification_ = subBuilder.buildPartial();
}
break;
}
case 18: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder subBuilder = null;
if (pagerDutyNotification_ != null) {
subBuilder = pagerDutyNotification_.toBuilder();
}
pagerDutyNotification_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pagerDutyNotification_);
pagerDutyNotification_ = subBuilder.buildPartial();
}
break;
}
case 26: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder subBuilder = null;
if (slackNotification_ != null) {
subBuilder = slackNotification_.toBuilder();
}
slackNotification_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(slackNotification_);
slackNotification_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder.class);
}
public interface EmailNotificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* repeated string email_address = 1;
*/
java.util.List
getEmailAddressList();
/**
* repeated string email_address = 1;
*/
int getEmailAddressCount();
/**
* repeated string email_address = 1;
*/
java.lang.String getEmailAddress(int index);
/**
* repeated string email_address = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getEmailAddressBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification}
*/
public static final class EmailNotification extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification)
EmailNotificationOrBuilder {
private static final long serialVersionUID = 0L;
// Use EmailNotification.newBuilder() to construct.
private EmailNotification(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private EmailNotification() {
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private EmailNotification(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
emailAddress_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
emailAddress_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
emailAddress_ = emailAddress_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_EmailNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_EmailNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder.class);
}
public static final int EMAIL_ADDRESS_FIELD_NUMBER = 1;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList emailAddress_;
/**
* repeated string email_address = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getEmailAddressList() {
return emailAddress_;
}
/**
* repeated string email_address = 1;
*/
public int getEmailAddressCount() {
return emailAddress_.size();
}
/**
* repeated string email_address = 1;
*/
public java.lang.String getEmailAddress(int index) {
return emailAddress_.get(index);
}
/**
* repeated string email_address = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < emailAddress_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, emailAddress_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < emailAddress_.size(); i++) {
dataSize += computeStringSizeNoTag(emailAddress_.getRaw(i));
}
size += dataSize;
size += 1 * getEmailAddressList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification) obj;
boolean result = true;
result = result && getEmailAddressList()
.equals(other.getEmailAddressList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getEmailAddressCount() > 0) {
hash = (37 * hash) + EMAIL_ADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getEmailAddressList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_EmailNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_EmailNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_EmailNotification_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
emailAddress_ = emailAddress_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.emailAddress_ = emailAddress_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.getDefaultInstance()) return this;
if (!other.emailAddress_.isEmpty()) {
if (emailAddress_.isEmpty()) {
emailAddress_ = other.emailAddress_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEmailAddressIsMutable();
emailAddress_.addAll(other.emailAddress_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureEmailAddressIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
emailAddress_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(emailAddress_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string email_address = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getEmailAddressList() {
return emailAddress_.getUnmodifiableView();
}
/**
* repeated string email_address = 1;
*/
public int getEmailAddressCount() {
return emailAddress_.size();
}
/**
* repeated string email_address = 1;
*/
public java.lang.String getEmailAddress(int index) {
return emailAddress_.get(index);
}
/**
* repeated string email_address = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getEmailAddressBytes(int index) {
return emailAddress_.getByteString(index);
}
/**
* repeated string email_address = 1;
*/
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 = 1;
*/
public Builder addEmailAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureEmailAddressIsMutable();
emailAddress_.add(value);
onChanged();
return this;
}
/**
* repeated string email_address = 1;
*/
public Builder addAllEmailAddress(
java.lang.Iterable values) {
ensureEmailAddressIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, emailAddress_);
onChanged();
return this;
}
/**
* repeated string email_address = 1;
*/
public Builder clearEmailAddress() {
emailAddress_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string email_address = 1;
*/
public Builder addEmailAddressBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public EmailNotification parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new EmailNotification(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PagerDutyNotificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string pager_duty_integration_key = 1;
*/
java.lang.String getPagerDutyIntegrationKey();
/**
* string pager_duty_integration_key = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPagerDutyIntegrationKeyBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification}
*/
public static final class PagerDutyNotification extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)
PagerDutyNotificationOrBuilder {
private static final long serialVersionUID = 0L;
// Use PagerDutyNotification.newBuilder() to construct.
private PagerDutyNotification(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PagerDutyNotification() {
pagerDutyIntegrationKey_ = "";
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PagerDutyNotification(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
pagerDutyIntegrationKey_ = s;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_PagerDutyNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_PagerDutyNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder.class);
}
public static final int PAGER_DUTY_INTEGRATION_KEY_FIELD_NUMBER = 1;
private volatile java.lang.Object pagerDutyIntegrationKey_;
/**
* string pager_duty_integration_key = 1;
*/
public java.lang.String getPagerDutyIntegrationKey() {
java.lang.Object ref = pagerDutyIntegrationKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pagerDutyIntegrationKey_ = s;
return s;
}
}
/**
* string pager_duty_integration_key = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPagerDutyIntegrationKeyBytes() {
java.lang.Object ref = pagerDutyIntegrationKey_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pagerDutyIntegrationKey_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getPagerDutyIntegrationKeyBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pagerDutyIntegrationKey_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getPagerDutyIntegrationKeyBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, pagerDutyIntegrationKey_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification) obj;
boolean result = true;
result = result && getPagerDutyIntegrationKey()
.equals(other.getPagerDutyIntegrationKey());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PAGER_DUTY_INTEGRATION_KEY_FIELD_NUMBER;
hash = (53 * hash) + getPagerDutyIntegrationKey().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_PagerDutyNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_PagerDutyNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
pagerDutyIntegrationKey_ = "";
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_PagerDutyNotification_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification(this);
result.pagerDutyIntegrationKey_ = pagerDutyIntegrationKey_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.getDefaultInstance()) return this;
if (!other.getPagerDutyIntegrationKey().isEmpty()) {
pagerDutyIntegrationKey_ = other.pagerDutyIntegrationKey_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object pagerDutyIntegrationKey_ = "";
/**
* string pager_duty_integration_key = 1;
*/
public java.lang.String getPagerDutyIntegrationKey() {
java.lang.Object ref = pagerDutyIntegrationKey_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
pagerDutyIntegrationKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string pager_duty_integration_key = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPagerDutyIntegrationKeyBytes() {
java.lang.Object ref = pagerDutyIntegrationKey_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
pagerDutyIntegrationKey_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string pager_duty_integration_key = 1;
*/
public Builder setPagerDutyIntegrationKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
pagerDutyIntegrationKey_ = value;
onChanged();
return this;
}
/**
* string pager_duty_integration_key = 1;
*/
public Builder clearPagerDutyIntegrationKey() {
pagerDutyIntegrationKey_ = getDefaultInstance().getPagerDutyIntegrationKey();
onChanged();
return this;
}
/**
* string pager_duty_integration_key = 1;
*/
public Builder setPagerDutyIntegrationKeyBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
pagerDutyIntegrationKey_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public PagerDutyNotification parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new PagerDutyNotification(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SlackNotificationOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string slack_webhook_id = 1;
*/
java.lang.String getSlackWebhookId();
/**
* string slack_webhook_id = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackWebhookIdBytes();
/**
* repeated string slack_channel = 2;
*/
java.util.List
getSlackChannelList();
/**
* repeated string slack_channel = 2;
*/
int getSlackChannelCount();
/**
* repeated string slack_channel = 2;
*/
java.lang.String getSlackChannel(int index);
/**
* repeated string slack_channel = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackChannelBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification}
*/
public static final class SlackNotification extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification)
SlackNotificationOrBuilder {
private static final long serialVersionUID = 0L;
// Use SlackNotification.newBuilder() to construct.
private SlackNotification(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SlackNotification() {
slackWebhookId_ = "";
slackChannel_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private SlackNotification(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
slackWebhookId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
slackChannel_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
slackChannel_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
slackChannel_ = slackChannel_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_SlackNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_SlackNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder.class);
}
private int bitField0_;
public static final int SLACK_WEBHOOK_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object slackWebhookId_;
/**
* string slack_webhook_id = 1;
*/
public java.lang.String getSlackWebhookId() {
java.lang.Object ref = slackWebhookId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
slackWebhookId_ = s;
return s;
}
}
/**
* string slack_webhook_id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackWebhookIdBytes() {
java.lang.Object ref = slackWebhookId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
slackWebhookId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int SLACK_CHANNEL_FIELD_NUMBER = 2;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList slackChannel_;
/**
* repeated string slack_channel = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getSlackChannelList() {
return slackChannel_;
}
/**
* repeated string slack_channel = 2;
*/
public int getSlackChannelCount() {
return slackChannel_.size();
}
/**
* repeated string slack_channel = 2;
*/
public java.lang.String getSlackChannel(int index) {
return slackChannel_.get(index);
}
/**
* repeated string slack_channel = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackChannelBytes(int index) {
return slackChannel_.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getSlackWebhookIdBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, slackWebhookId_);
}
for (int i = 0; i < slackChannel_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, slackChannel_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getSlackWebhookIdBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, slackWebhookId_);
}
{
int dataSize = 0;
for (int i = 0; i < slackChannel_.size(); i++) {
dataSize += computeStringSizeNoTag(slackChannel_.getRaw(i));
}
size += dataSize;
size += 1 * getSlackChannelList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification) obj;
boolean result = true;
result = result && getSlackWebhookId()
.equals(other.getSlackWebhookId());
result = result && getSlackChannelList()
.equals(other.getSlackChannelList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SLACK_WEBHOOK_ID_FIELD_NUMBER;
hash = (53 * hash) + getSlackWebhookId().hashCode();
if (getSlackChannelCount() > 0) {
hash = (37 * hash) + SLACK_CHANNEL_FIELD_NUMBER;
hash = (53 * hash) + getSlackChannelList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_SlackNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_SlackNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
slackWebhookId_ = "";
slackChannel_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_SlackNotification_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.slackWebhookId_ = slackWebhookId_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
slackChannel_ = slackChannel_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.slackChannel_ = slackChannel_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.getDefaultInstance()) return this;
if (!other.getSlackWebhookId().isEmpty()) {
slackWebhookId_ = other.slackWebhookId_;
onChanged();
}
if (!other.slackChannel_.isEmpty()) {
if (slackChannel_.isEmpty()) {
slackChannel_ = other.slackChannel_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSlackChannelIsMutable();
slackChannel_.addAll(other.slackChannel_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object slackWebhookId_ = "";
/**
* string slack_webhook_id = 1;
*/
public java.lang.String getSlackWebhookId() {
java.lang.Object ref = slackWebhookId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
slackWebhookId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string slack_webhook_id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackWebhookIdBytes() {
java.lang.Object ref = slackWebhookId_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
slackWebhookId_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string slack_webhook_id = 1;
*/
public Builder setSlackWebhookId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
slackWebhookId_ = value;
onChanged();
return this;
}
/**
* string slack_webhook_id = 1;
*/
public Builder clearSlackWebhookId() {
slackWebhookId_ = getDefaultInstance().getSlackWebhookId();
onChanged();
return this;
}
/**
* string slack_webhook_id = 1;
*/
public Builder setSlackWebhookIdBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
slackWebhookId_ = value;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList slackChannel_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSlackChannelIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
slackChannel_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(slackChannel_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string slack_channel = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getSlackChannelList() {
return slackChannel_.getUnmodifiableView();
}
/**
* repeated string slack_channel = 2;
*/
public int getSlackChannelCount() {
return slackChannel_.size();
}
/**
* repeated string slack_channel = 2;
*/
public java.lang.String getSlackChannel(int index) {
return slackChannel_.get(index);
}
/**
* repeated string slack_channel = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSlackChannelBytes(int index) {
return slackChannel_.getByteString(index);
}
/**
* repeated string slack_channel = 2;
*/
public Builder setSlackChannel(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSlackChannelIsMutable();
slackChannel_.set(index, value);
onChanged();
return this;
}
/**
* repeated string slack_channel = 2;
*/
public Builder addSlackChannel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSlackChannelIsMutable();
slackChannel_.add(value);
onChanged();
return this;
}
/**
* repeated string slack_channel = 2;
*/
public Builder addAllSlackChannel(
java.lang.Iterable values) {
ensureSlackChannelIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, slackChannel_);
onChanged();
return this;
}
/**
* repeated string slack_channel = 2;
*/
public Builder clearSlackChannel() {
slackChannel_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string slack_channel = 2;
*/
public Builder addSlackChannelBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSlackChannelIsMutable();
slackChannel_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public SlackNotification parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new SlackNotification(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int EMAIL_NOTIFICATION_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification emailNotification_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public boolean hasEmailNotification() {
return emailNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getEmailNotification() {
return emailNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.getDefaultInstance() : emailNotification_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder getEmailNotificationOrBuilder() {
return getEmailNotification();
}
public static final int PAGER_DUTY_NOTIFICATION_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pagerDutyNotification_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public boolean hasPagerDutyNotification() {
return pagerDutyNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getPagerDutyNotification() {
return pagerDutyNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.getDefaultInstance() : pagerDutyNotification_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder getPagerDutyNotificationOrBuilder() {
return getPagerDutyNotification();
}
public static final int SLACK_NOTIFICATION_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification slackNotification_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public boolean hasSlackNotification() {
return slackNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getSlackNotification() {
return slackNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.getDefaultInstance() : slackNotification_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder getSlackNotificationOrBuilder() {
return getSlackNotification();
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (emailNotification_ != null) {
output.writeMessage(1, getEmailNotification());
}
if (pagerDutyNotification_ != null) {
output.writeMessage(2, getPagerDutyNotification());
}
if (slackNotification_ != null) {
output.writeMessage(3, getSlackNotification());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (emailNotification_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getEmailNotification());
}
if (pagerDutyNotification_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPagerDutyNotification());
}
if (slackNotification_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getSlackNotification());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification) obj;
boolean result = true;
result = result && (hasEmailNotification() == other.hasEmailNotification());
if (hasEmailNotification()) {
result = result && getEmailNotification()
.equals(other.getEmailNotification());
}
result = result && (hasPagerDutyNotification() == other.hasPagerDutyNotification());
if (hasPagerDutyNotification()) {
result = result && getPagerDutyNotification()
.equals(other.getPagerDutyNotification());
}
result = result && (hasSlackNotification() == other.hasSlackNotification());
if (hasSlackNotification()) {
result = result && getSlackNotification()
.equals(other.getSlackNotification());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasEmailNotification()) {
hash = (37 * hash) + EMAIL_NOTIFICATION_FIELD_NUMBER;
hash = (53 * hash) + getEmailNotification().hashCode();
}
if (hasPagerDutyNotification()) {
hash = (37 * hash) + PAGER_DUTY_NOTIFICATION_FIELD_NUMBER;
hash = (53 * hash) + getPagerDutyNotification().hashCode();
}
if (hasSlackNotification()) {
hash = (37 * hash) + SLACK_NOTIFICATION_FIELD_NUMBER;
hash = (53 * hash) + getSlackNotification().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (emailNotificationBuilder_ == null) {
emailNotification_ = null;
} else {
emailNotification_ = null;
emailNotificationBuilder_ = null;
}
if (pagerDutyNotificationBuilder_ == null) {
pagerDutyNotification_ = null;
} else {
pagerDutyNotification_ = null;
pagerDutyNotificationBuilder_ = null;
}
if (slackNotificationBuilder_ == null) {
slackNotification_ = null;
} else {
slackNotification_ = null;
slackNotificationBuilder_ = null;
}
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_AlertConfig_AlertNotification_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification(this);
if (emailNotificationBuilder_ == null) {
result.emailNotification_ = emailNotification_;
} else {
result.emailNotification_ = emailNotificationBuilder_.build();
}
if (pagerDutyNotificationBuilder_ == null) {
result.pagerDutyNotification_ = pagerDutyNotification_;
} else {
result.pagerDutyNotification_ = pagerDutyNotificationBuilder_.build();
}
if (slackNotificationBuilder_ == null) {
result.slackNotification_ = slackNotification_;
} else {
result.slackNotification_ = slackNotificationBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.getDefaultInstance()) return this;
if (other.hasEmailNotification()) {
mergeEmailNotification(other.getEmailNotification());
}
if (other.hasPagerDutyNotification()) {
mergePagerDutyNotification(other.getPagerDutyNotification());
}
if (other.hasSlackNotification()) {
mergeSlackNotification(other.getSlackNotification());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification emailNotification_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder> emailNotificationBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public boolean hasEmailNotification() {
return emailNotificationBuilder_ != null || emailNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification getEmailNotification() {
if (emailNotificationBuilder_ == null) {
return emailNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.getDefaultInstance() : emailNotification_;
} else {
return emailNotificationBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public Builder setEmailNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification value) {
if (emailNotificationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
emailNotification_ = value;
onChanged();
} else {
emailNotificationBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public Builder setEmailNotification(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder builderForValue) {
if (emailNotificationBuilder_ == null) {
emailNotification_ = builderForValue.build();
onChanged();
} else {
emailNotificationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public Builder mergeEmailNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification value) {
if (emailNotificationBuilder_ == null) {
if (emailNotification_ != null) {
emailNotification_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.newBuilder(emailNotification_).mergeFrom(value).buildPartial();
} else {
emailNotification_ = value;
}
onChanged();
} else {
emailNotificationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public Builder clearEmailNotification() {
if (emailNotificationBuilder_ == null) {
emailNotification_ = null;
onChanged();
} else {
emailNotification_ = null;
emailNotificationBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder getEmailNotificationBuilder() {
onChanged();
return getEmailNotificationFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder getEmailNotificationOrBuilder() {
if (emailNotificationBuilder_ != null) {
return emailNotificationBuilder_.getMessageOrBuilder();
} else {
return emailNotification_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.getDefaultInstance() : emailNotification_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.EmailNotification email_notification = 1;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder>
getEmailNotificationFieldBuilder() {
if (emailNotificationBuilder_ == null) {
emailNotificationBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.EmailNotificationOrBuilder>(
getEmailNotification(),
getParentForChildren(),
isClean());
emailNotification_ = null;
}
return emailNotificationBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pagerDutyNotification_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder> pagerDutyNotificationBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public boolean hasPagerDutyNotification() {
return pagerDutyNotificationBuilder_ != null || pagerDutyNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification getPagerDutyNotification() {
if (pagerDutyNotificationBuilder_ == null) {
return pagerDutyNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.getDefaultInstance() : pagerDutyNotification_;
} else {
return pagerDutyNotificationBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public Builder setPagerDutyNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification value) {
if (pagerDutyNotificationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pagerDutyNotification_ = value;
onChanged();
} else {
pagerDutyNotificationBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public Builder setPagerDutyNotification(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder builderForValue) {
if (pagerDutyNotificationBuilder_ == null) {
pagerDutyNotification_ = builderForValue.build();
onChanged();
} else {
pagerDutyNotificationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public Builder mergePagerDutyNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification value) {
if (pagerDutyNotificationBuilder_ == null) {
if (pagerDutyNotification_ != null) {
pagerDutyNotification_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.newBuilder(pagerDutyNotification_).mergeFrom(value).buildPartial();
} else {
pagerDutyNotification_ = value;
}
onChanged();
} else {
pagerDutyNotificationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public Builder clearPagerDutyNotification() {
if (pagerDutyNotificationBuilder_ == null) {
pagerDutyNotification_ = null;
onChanged();
} else {
pagerDutyNotification_ = null;
pagerDutyNotificationBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder getPagerDutyNotificationBuilder() {
onChanged();
return getPagerDutyNotificationFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder getPagerDutyNotificationOrBuilder() {
if (pagerDutyNotificationBuilder_ != null) {
return pagerDutyNotificationBuilder_.getMessageOrBuilder();
} else {
return pagerDutyNotification_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.getDefaultInstance() : pagerDutyNotification_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification pager_duty_notification = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder>
getPagerDutyNotificationFieldBuilder() {
if (pagerDutyNotificationBuilder_ == null) {
pagerDutyNotificationBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.PagerDutyNotificationOrBuilder>(
getPagerDutyNotification(),
getParentForChildren(),
isClean());
pagerDutyNotification_ = null;
}
return pagerDutyNotificationBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification slackNotification_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder> slackNotificationBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public boolean hasSlackNotification() {
return slackNotificationBuilder_ != null || slackNotification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification getSlackNotification() {
if (slackNotificationBuilder_ == null) {
return slackNotification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.getDefaultInstance() : slackNotification_;
} else {
return slackNotificationBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public Builder setSlackNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification value) {
if (slackNotificationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
slackNotification_ = value;
onChanged();
} else {
slackNotificationBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public Builder setSlackNotification(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder builderForValue) {
if (slackNotificationBuilder_ == null) {
slackNotification_ = builderForValue.build();
onChanged();
} else {
slackNotificationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public Builder mergeSlackNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification value) {
if (slackNotificationBuilder_ == null) {
if (slackNotification_ != null) {
slackNotification_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.newBuilder(slackNotification_).mergeFrom(value).buildPartial();
} else {
slackNotification_ = value;
}
onChanged();
} else {
slackNotificationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public Builder clearSlackNotification() {
if (slackNotificationBuilder_ == null) {
slackNotification_ = null;
onChanged();
} else {
slackNotification_ = null;
slackNotificationBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder getSlackNotificationBuilder() {
onChanged();
return getSlackNotificationFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder getSlackNotificationOrBuilder() {
if (slackNotificationBuilder_ != null) {
return slackNotificationBuilder_.getMessageOrBuilder();
} else {
return slackNotification_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.getDefaultInstance() : slackNotification_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification.SlackNotification slack_notification = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder>
getSlackNotificationFieldBuilder() {
if (slackNotificationBuilder_ == null) {
slackNotificationBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.SlackNotificationOrBuilder>(
getSlackNotification(),
getParentForChildren(),
isClean());
slackNotification_ = null;
}
return slackNotificationBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public AlertNotification parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new AlertNotification(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int CONDITION_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public boolean hasCondition() {
return condition_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getCondition() {
return condition_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.getDefaultInstance() : condition_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder getConditionOrBuilder() {
return getCondition();
}
public static final int SEVERITY_FIELD_NUMBER = 3;
private int severity_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public int getSeverityValue() {
return severity_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity getSeverity() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.valueOf(severity_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.UNRECOGNIZED : result;
}
public static final int NOTIFICATION_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification notification_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public boolean hasNotification() {
return notification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getNotification() {
return notification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.getDefaultInstance() : notification_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder getNotificationOrBuilder() {
return getNotification();
}
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (condition_ != null) {
output.writeMessage(1, getCondition());
}
if (notification_ != null) {
output.writeMessage(2, getNotification());
}
if (severity_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.CRITICAL.getNumber()) {
output.writeEnum(3, severity_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (condition_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getCondition());
}
if (notification_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getNotification());
}
if (severity_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.CRITICAL.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(3, severity_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig) obj;
boolean result = true;
result = result && (hasCondition() == other.hasCondition());
if (hasCondition()) {
result = result && getCondition()
.equals(other.getCondition());
}
result = result && severity_ == other.severity_;
result = result && (hasNotification() == other.hasNotification());
if (hasNotification()) {
result = result && getNotification()
.equals(other.getNotification());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasCondition()) {
hash = (37 * hash) + CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getCondition().hashCode();
}
hash = (37 * hash) + SEVERITY_FIELD_NUMBER;
hash = (53 * hash) + severity_;
if (hasNotification()) {
hash = (37 * hash) + NOTIFICATION_FIELD_NUMBER;
hash = (53 * hash) + getNotification().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (conditionBuilder_ == null) {
condition_ = null;
} else {
condition_ = null;
conditionBuilder_ = null;
}
severity_ = 0;
if (notificationBuilder_ == null) {
notification_ = null;
} else {
notification_ = null;
notificationBuilder_ = null;
}
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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);
if (conditionBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = conditionBuilder_.build();
}
result.severity_ = severity_;
if (notificationBuilder_ == null) {
result.notification_ = notification_;
} else {
result.notification_ = notificationBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.hasCondition()) {
mergeCondition(other.getCondition());
}
if (other.severity_ != 0) {
setSeverityValue(other.getSeverityValue());
}
if (other.hasNotification()) {
mergeNotification(other.getNotification());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition condition_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder> conditionBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public boolean hasCondition() {
return conditionBuilder_ != null || condition_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition getCondition() {
if (conditionBuilder_ == null) {
return condition_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.getDefaultInstance() : condition_;
} else {
return conditionBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public Builder setCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition value) {
if (conditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
conditionBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public Builder setCondition(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder builderForValue) {
if (conditionBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
conditionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public Builder mergeCondition(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition value) {
if (conditionBuilder_ == null) {
if (condition_ != null) {
condition_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.newBuilder(condition_).mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
conditionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public Builder clearCondition() {
if (conditionBuilder_ == null) {
condition_ = null;
onChanged();
} else {
condition_ = null;
conditionBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder getConditionBuilder() {
onChanged();
return getConditionFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder getConditionOrBuilder() {
if (conditionBuilder_ != null) {
return conditionBuilder_.getMessageOrBuilder();
} else {
return condition_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.getDefaultInstance() : condition_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertCondition condition = 1;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder>
getConditionFieldBuilder() {
if (conditionBuilder_ == null) {
conditionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertCondition.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertConditionOrBuilder>(
getCondition(),
getParentForChildren(),
isClean());
condition_ = null;
}
return conditionBuilder_;
}
private int severity_ = 0;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public int getSeverityValue() {
return severity_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public Builder setSeverityValue(int value) {
severity_ = value;
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity getSeverity() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.valueOf(severity_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity.UNRECOGNIZED : result;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public Builder setSeverity(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertSeverity value) {
if (value == null) {
throw new NullPointerException();
}
severity_ = value.getNumber();
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertSeverity severity = 3;
*/
public Builder clearSeverity() {
severity_ = 0;
onChanged();
return this;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification notification_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder> notificationBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public boolean hasNotification() {
return notificationBuilder_ != null || notification_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification getNotification() {
if (notificationBuilder_ == null) {
return notification_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.getDefaultInstance() : notification_;
} else {
return notificationBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public Builder setNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification value) {
if (notificationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
notification_ = value;
onChanged();
} else {
notificationBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public Builder setNotification(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder builderForValue) {
if (notificationBuilder_ == null) {
notification_ = builderForValue.build();
onChanged();
} else {
notificationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public Builder mergeNotification(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification value) {
if (notificationBuilder_ == null) {
if (notification_ != null) {
notification_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.newBuilder(notification_).mergeFrom(value).buildPartial();
} else {
notification_ = value;
}
onChanged();
} else {
notificationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public Builder clearNotification() {
if (notificationBuilder_ == null) {
notification_ = null;
onChanged();
} else {
notification_ = null;
notificationBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder getNotificationBuilder() {
onChanged();
return getNotificationFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder getNotificationOrBuilder() {
if (notificationBuilder_ != null) {
return notificationBuilder_.getMessageOrBuilder();
} else {
return notification_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.getDefaultInstance() : notification_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AlertConfig.AlertNotification notification = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder>
getNotificationFieldBuilder() {
if (notificationBuilder_ == null) {
notificationBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotification.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfig.AlertNotificationOrBuilder>(
getNotification(),
getParentForChildren(),
isClean());
notification_ = null;
}
return notificationBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public AlertConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new AlertConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
*/
java.lang.String getId();
/**
* string id = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes();
/**
* string name = 2;
*/
java.lang.String getName();
/**
* string name = 2;
*/
org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder>
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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginConfig)
PluginConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use PluginConfig.newBuilder() to construct.
private PluginConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PluginConfig() {
id_ = "";
name_ = "";
property_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PluginConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
property_ = java.util.Collections.unmodifiableList(property_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
}
}
/**
* string id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object name_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder>
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getIdBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
}
if (!getNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, name_);
}
for (int i = 0; i < property_.size(); i++) {
output.writeMessage(3, property_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getIdBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
}
if (!getNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, name_);
}
for (int i = 0; i < property_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, property_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig) obj;
boolean result = true;
result = result && getId()
.equals(other.getId());
result = result && getName()
.equals(other.getName());
result = result && getPropertyList()
.equals(other.getPropertyList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ID_FIELD_NUMBER;
hash = (53 * hash) + getId().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (getPropertyCount() > 0) {
hash = (37 * hash) + PROPERTY_FIELD_NUMBER;
hash = (53 * hash) + getPropertyList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.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.it.harness.shaded.com.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 clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPropertyFieldBuilder() : null;
} else {
propertyBuilder_.addAllMessages(other.property_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object id_ = "";
/**
* string id = 1;
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string id = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
id_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string id = 1;
*/
public Builder setId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
id_ = value;
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder clearId() {
id_ = getDefaultInstance().getId();
onChanged();
return this;
}
/**
* string id = 1;
*/
public Builder setIdBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
id_ = value;
onChanged();
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 2;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 2;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 2;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 2;
*/
public Builder setNameBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty> values) {
if (propertyBuilder_ == null) {
ensurePropertyIsMutable();
org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginPropertyOrBuilder>
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public PluginConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new PluginConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string class_name = 1;
*/
java.lang.String getClassName();
/**
* string class_name = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes();
/**
* string class_annotation = 2;
*/
java.lang.String getClassAnnotation();
/**
* string class_annotation = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassAnnotationBytes();
/**
* string sub_type_restriction = 24;
*/
java.lang.String getSubTypeRestriction();
/**
* string sub_type_restriction = 24;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSubTypeRestrictionBytes();
/**
* string super_type_restriction = 25;
*/
java.lang.String getSuperTypeRestriction();
/**
* string super_type_restriction = 25;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSuperTypeRestrictionBytes();
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
java.lang.String getMethodDeclaringClassName();
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodDeclaringClassNameBytes();
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
java.lang.String getMethodName();
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes();
/**
* string method_annotation = 5;
*/
java.lang.String getMethodAnnotation();
/**
* string method_annotation = 5;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodAnnotationBytes();
/**
* repeated string method_parameter_type = 6;
*/
java.util.List
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.it.harness.shaded.com.google.protobuf.ByteString
getMethodParameterTypeBytes(int index);
/**
* string method_return_type = 7;
*/
java.lang.String getMethodReturnType();
/**
* string method_return_type = 7;
*/
org.glowroot.agent.it.harness.shaded.com.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);
/**
* string nesting_group = 9;
*/
java.lang.String getNestingGroup();
/**
* string nesting_group = 9;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNestingGroupBytes();
/**
* int32 order = 10;
*/
int getOrder();
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
int getCaptureKindValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind getCaptureKind();
/**
* string timer_name = 12;
*/
java.lang.String getTimerName();
/**
* string timer_name = 12;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTimerNameBytes();
/**
* string trace_entry_message_template = 13;
*/
java.lang.String getTraceEntryMessageTemplate();
/**
* string trace_entry_message_template = 13;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryMessageTemplateBytes();
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
boolean hasTraceEntryStackThresholdMillis();
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getTraceEntryStackThresholdMillis();
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTraceEntryStackThresholdMillisOrBuilder();
/**
* bool trace_entry_capture_self_nested = 15;
*/
boolean getTraceEntryCaptureSelfNested();
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
int getAlreadyInTransactionBehaviorValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior getAlreadyInTransactionBehavior();
/**
* string transaction_type = 16;
*/
java.lang.String getTransactionType();
/**
* string transaction_type = 16;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* string transaction_name_template = 17;
*/
java.lang.String getTransactionNameTemplate();
/**
* string transaction_name_template = 17;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameTemplateBytes();
/**
* string transaction_user_template = 18;
*/
java.lang.String getTransactionUserTemplate();
/**
* string transaction_user_template = 18;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionUserTemplateBytes();
/**
* map<string, string> transaction_attribute_templates = 19;
*/
int getTransactionAttributeTemplatesCount();
/**
* map<string, string> transaction_attribute_templates = 19;
*/
boolean containsTransactionAttributeTemplates(
java.lang.String key);
/**
* Use {@link #getTransactionAttributeTemplatesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getTransactionAttributeTemplates();
/**
* map<string, string> transaction_attribute_templates = 19;
*/
java.util.Map
getTransactionAttributeTemplatesMap();
/**
* map<string, string> transaction_attribute_templates = 19;
*/
java.lang.String getTransactionAttributeTemplatesOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
* map<string, string> transaction_attribute_templates = 19;
*/
java.lang.String getTransactionAttributeTemplatesOrThrow(
java.lang.String key);
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
boolean hasTransactionSlowThresholdMillis();
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionSlowThresholdMillis();
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionSlowThresholdMillisOrBuilder();
/**
* bool transaction_outer = 23;
*/
boolean getTransactionOuter();
/**
* string enabled_property = 21;
*/
java.lang.String getEnabledProperty();
/**
* string enabled_property = 21;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getEnabledPropertyBytes();
/**
* string trace_entry_enabled_property = 22;
*/
java.lang.String getTraceEntryEnabledProperty();
/**
* string trace_entry_enabled_property = 22;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryEnabledPropertyBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig}
*/
public static final class InstrumentationConfig extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig)
InstrumentationConfigOrBuilder {
private static final long serialVersionUID = 0L;
// Use InstrumentationConfig.newBuilder() to construct.
private InstrumentationConfig(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private InstrumentationConfig() {
className_ = "";
classAnnotation_ = "";
subTypeRestriction_ = "";
superTypeRestriction_ = "";
methodDeclaringClassName_ = "";
methodName_ = "";
methodAnnotation_ = "";
methodParameterType_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
methodReturnType_ = "";
methodModifier_ = java.util.Collections.emptyList();
nestingGroup_ = "";
order_ = 0;
captureKind_ = 0;
timerName_ = "";
traceEntryMessageTemplate_ = "";
traceEntryCaptureSelfNested_ = false;
alreadyInTransactionBehavior_ = 0;
transactionType_ = "";
transactionNameTemplate_ = "";
transactionUserTemplate_ = "";
transactionOuter_ = false;
enabledProperty_ = "";
traceEntryEnabledProperty_ = "";
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private InstrumentationConfig(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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_ & 0x00000080) == 0x00000080)) {
methodParameterType_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000080;
}
methodParameterType_.add(s);
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
methodReturnType_ = s;
break;
}
case 64: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
methodModifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
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_ & 0x00000200) == 0x00000200)) {
methodModifier_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
methodModifier_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
nestingGroup_ = s;
break;
}
case 80: {
order_ = 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_ & 0x00200000) == 0x00200000)) {
transactionAttributeTemplates_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField.newMapField(
TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00200000;
}
org.glowroot.agent.it.harness.shaded.com.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;
}
case 184: {
transactionOuter_ = input.readBool();
break;
}
case 194: {
java.lang.String s = input.readStringRequireUtf8();
subTypeRestriction_ = s;
break;
}
case 202: {
java.lang.String s = input.readStringRequireUtf8();
superTypeRestriction_ = s;
break;
}
case 208: {
int rawValue = input.readEnum();
alreadyInTransactionBehavior_ = rawValue;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) {
methodParameterType_ = methodParameterType_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
methodModifier_ = java.util.Collections.unmodifiableList(methodModifier_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* PUBLIC = 0;
*/
PUBLIC(0),
/**
* STATIC = 1;
*/
STATIC(1),
/**
* NOT_STATIC = 2;
*/
NOT_STATIC(2),
UNRECOGNIZED(-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 (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static MethodModifier valueOf(int value) {
return forNumber(value);
}
public static MethodModifier forNumber(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.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
MethodModifier> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public MethodModifier findValueByNumber(int number) {
return MethodModifier.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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 value;
private MethodModifier(int value) {
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.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* TRANSACTION = 0;
*/
TRANSACTION(0),
/**
* TRACE_ENTRY = 1;
*/
TRACE_ENTRY(1),
/**
* TIMER = 2;
*/
TIMER(2),
/**
* OTHER = 3;
*/
OTHER(3),
UNRECOGNIZED(-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 (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CaptureKind valueOf(int value) {
return forNumber(value);
}
public static CaptureKind forNumber(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.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
CaptureKind> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public CaptureKind findValueByNumber(int number) {
return CaptureKind.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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 value;
private CaptureKind(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind)
}
/**
* Protobuf enum {@code org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior}
*/
public enum AlreadyInTransactionBehavior
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
* CAPTURE_TRACE_ENTRY = 0;
*/
CAPTURE_TRACE_ENTRY(0),
/**
* CAPTURE_NEW_TRANSACTION = 1;
*/
CAPTURE_NEW_TRANSACTION(1),
/**
* DO_NOTHING = 2;
*/
DO_NOTHING(2),
UNRECOGNIZED(-1),
;
/**
* CAPTURE_TRACE_ENTRY = 0;
*/
public static final int CAPTURE_TRACE_ENTRY_VALUE = 0;
/**
* CAPTURE_NEW_TRANSACTION = 1;
*/
public static final int CAPTURE_NEW_TRANSACTION_VALUE = 1;
/**
* DO_NOTHING = 2;
*/
public static final int DO_NOTHING_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AlreadyInTransactionBehavior valueOf(int value) {
return forNumber(value);
}
public static AlreadyInTransactionBehavior forNumber(int value) {
switch (value) {
case 0: return CAPTURE_TRACE_ENTRY;
case 1: return CAPTURE_NEW_TRANSACTION;
case 2: return DO_NOTHING;
default: return null;
}
}
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
AlreadyInTransactionBehavior> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public AlreadyInTransactionBehavior findValueByNumber(int number) {
return AlreadyInTransactionBehavior.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.getDescriptor().getEnumTypes().get(2);
}
private static final AlreadyInTransactionBehavior[] VALUES = values();
public static AlreadyInTransactionBehavior valueOf(
org.glowroot.agent.it.harness.shaded.com.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 value;
private AlreadyInTransactionBehavior(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior)
}
private int bitField0_;
public static final int CLASS_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object className_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
className_ = s;
return s;
}
}
/**
* string class_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int CLASS_ANNOTATION_FIELD_NUMBER = 2;
private volatile java.lang.Object classAnnotation_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
classAnnotation_ = s;
return s;
}
}
/**
* string class_annotation = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassAnnotationBytes() {
java.lang.Object ref = classAnnotation_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classAnnotation_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int SUB_TYPE_RESTRICTION_FIELD_NUMBER = 24;
private volatile java.lang.Object subTypeRestriction_;
/**
* string sub_type_restriction = 24;
*/
public java.lang.String getSubTypeRestriction() {
java.lang.Object ref = subTypeRestriction_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subTypeRestriction_ = s;
return s;
}
}
/**
* string sub_type_restriction = 24;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSubTypeRestrictionBytes() {
java.lang.Object ref = subTypeRestriction_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subTypeRestriction_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int SUPER_TYPE_RESTRICTION_FIELD_NUMBER = 25;
private volatile java.lang.Object superTypeRestriction_;
/**
* string super_type_restriction = 25;
*/
public java.lang.String getSuperTypeRestriction() {
java.lang.Object ref = superTypeRestriction_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
superTypeRestriction_ = s;
return s;
}
}
/**
* string super_type_restriction = 25;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSuperTypeRestrictionBytes() {
java.lang.Object ref = superTypeRestriction_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
superTypeRestriction_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_DECLARING_CLASS_NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object methodDeclaringClassName_;
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodDeclaringClassName_ = s;
return s;
}
}
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodDeclaringClassNameBytes() {
java.lang.Object ref = methodDeclaringClassName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodDeclaringClassName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object methodName_;
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodName_ = s;
return s;
}
}
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_ANNOTATION_FIELD_NUMBER = 5;
private volatile java.lang.Object methodAnnotation_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodAnnotation_ = s;
return s;
}
}
/**
* string method_annotation = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodAnnotationBytes() {
java.lang.Object ref = methodAnnotation_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodAnnotation_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_PARAMETER_TYPE_FIELD_NUMBER = 6;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList methodParameterType_;
/**
* repeated string method_parameter_type = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodReturnType_ = s;
return s;
}
}
/**
* string method_return_type = 7;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodReturnTypeBytes() {
java.lang.Object ref = methodReturnType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodReturnType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int METHOD_MODIFIER_FIELD_NUMBER = 8;
private java.util.List methodModifier_;
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier> methodModifier_converter_ =
new org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nestingGroup_ = s;
return s;
}
}
/**
* string nesting_group = 9;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNestingGroupBytes() {
java.lang.Object ref = nestingGroup_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nestingGroup_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int ORDER_FIELD_NUMBER = 10;
private int order_;
/**
* int32 order = 10;
*/
public int getOrder() {
return order_;
}
public static final int CAPTURE_KIND_FIELD_NUMBER = 11;
private int captureKind_;
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
public int getCaptureKindValue() {
return captureKind_;
}
/**
* .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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timerName_ = s;
return s;
}
}
/**
* string timer_name = 12;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTimerNameBytes() {
java.lang.Object ref = timerName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timerName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRACE_ENTRY_MESSAGE_TEMPLATE_FIELD_NUMBER = 13;
private volatile java.lang.Object traceEntryMessageTemplate_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
traceEntryMessageTemplate_ = s;
return s;
}
}
/**
* string trace_entry_message_template = 13;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryMessageTemplateBytes() {
java.lang.Object ref = traceEntryMessageTemplate_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceEntryMessageTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.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_;
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
public boolean hasTraceEntryStackThresholdMillis() {
return traceEntryStackThresholdMillis_ != null;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getTraceEntryStackThresholdMillis() {
return traceEntryStackThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : traceEntryStackThresholdMillis_;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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_;
/**
* bool trace_entry_capture_self_nested = 15;
*/
public boolean getTraceEntryCaptureSelfNested() {
return traceEntryCaptureSelfNested_;
}
public static final int ALREADY_IN_TRANSACTION_BEHAVIOR_FIELD_NUMBER = 26;
private int alreadyInTransactionBehavior_;
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public int getAlreadyInTransactionBehaviorValue() {
return alreadyInTransactionBehavior_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior getAlreadyInTransactionBehavior() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.valueOf(alreadyInTransactionBehavior_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.UNRECOGNIZED : result;
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 16;
private volatile java.lang.Object transactionType_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* string transaction_type = 16;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_NAME_TEMPLATE_FIELD_NUMBER = 17;
private volatile java.lang.Object transactionNameTemplate_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionNameTemplate_ = s;
return s;
}
}
/**
* string transaction_name_template = 17;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameTemplateBytes() {
java.lang.Object ref = transactionNameTemplate_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionNameTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_USER_TEMPLATE_FIELD_NUMBER = 18;
private volatile java.lang.Object transactionUserTemplate_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionUserTemplate_ = s;
return s;
}
}
/**
* string transaction_user_template = 18;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionUserTemplateBytes() {
java.lang.Object ref = transactionUserTemplate_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionUserTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_ATTRIBUTE_TEMPLATES_FIELD_NUMBER = 19;
private static final class TransactionAttributeTemplatesDefaultEntryHolder {
static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapEntry
.newDefaultInstance(
org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_InstrumentationConfig_TransactionAttributeTemplatesEntry_descriptor,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.WireFormat.FieldType.STRING,
"",
org.glowroot.agent.it.harness.shaded.com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField<
java.lang.String, java.lang.String> transactionAttributeTemplates_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField
internalGetTransactionAttributeTemplates() {
if (transactionAttributeTemplates_ == null) {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField.emptyMapField(
TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry);
}
return transactionAttributeTemplates_;
}
public int getTransactionAttributeTemplatesCount() {
return internalGetTransactionAttributeTemplates().getMap().size();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public boolean containsTransactionAttributeTemplates(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetTransactionAttributeTemplates().getMap().containsKey(key);
}
/**
* Use {@link #getTransactionAttributeTemplatesMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getTransactionAttributeTemplates() {
return getTransactionAttributeTemplatesMap();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.util.Map getTransactionAttributeTemplatesMap() {
return internalGetTransactionAttributeTemplates().getMap();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.lang.String getTransactionAttributeTemplatesOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetTransactionAttributeTemplates().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.lang.String getTransactionAttributeTemplatesOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetTransactionAttributeTemplates().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int TRANSACTION_SLOW_THRESHOLD_MILLIS_FIELD_NUMBER = 20;
private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionSlowThresholdMillis_;
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public boolean hasTransactionSlowThresholdMillis() {
return transactionSlowThresholdMillis_ != null;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32 getTransactionSlowThresholdMillis() {
return transactionSlowThresholdMillis_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance() : transactionSlowThresholdMillis_;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder getTransactionSlowThresholdMillisOrBuilder() {
return getTransactionSlowThresholdMillis();
}
public static final int TRANSACTION_OUTER_FIELD_NUMBER = 23;
private boolean transactionOuter_;
/**
* bool transaction_outer = 23;
*/
public boolean getTransactionOuter() {
return transactionOuter_;
}
public static final int ENABLED_PROPERTY_FIELD_NUMBER = 21;
private volatile java.lang.Object enabledProperty_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enabledProperty_ = s;
return s;
}
}
/**
* string enabled_property = 21;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getEnabledPropertyBytes() {
java.lang.Object ref = enabledProperty_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enabledProperty_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int TRACE_ENTRY_ENABLED_PROPERTY_FIELD_NUMBER = 22;
private volatile java.lang.Object traceEntryEnabledProperty_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
traceEntryEnabledProperty_ = s;
return s;
}
}
/**
* string trace_entry_enabled_property = 22;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryEnabledPropertyBytes() {
java.lang.Object ref = traceEntryEnabledProperty_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceEntryEnabledProperty_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (!getClassNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_);
}
if (!getClassAnnotationBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, classAnnotation_);
}
if (!getMethodDeclaringClassNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, methodDeclaringClassName_);
}
if (!getMethodNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, methodName_);
}
if (!getMethodAnnotationBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, methodAnnotation_);
}
for (int i = 0; i < methodParameterType_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, methodParameterType_.getRaw(i));
}
if (!getMethodReturnTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, methodReturnType_);
}
if (getMethodModifierList().size() > 0) {
output.writeUInt32NoTag(66);
output.writeUInt32NoTag(methodModifierMemoizedSerializedSize);
}
for (int i = 0; i < methodModifier_.size(); i++) {
output.writeEnumNoTag(methodModifier_.get(i));
}
if (!getNestingGroupBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 9, nestingGroup_);
}
if (order_ != 0) {
output.writeInt32(10, order_);
}
if (captureKind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.TRANSACTION.getNumber()) {
output.writeEnum(11, captureKind_);
}
if (!getTimerNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 12, timerName_);
}
if (!getTraceEntryMessageTemplateBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 13, traceEntryMessageTemplate_);
}
if (traceEntryStackThresholdMillis_ != null) {
output.writeMessage(14, getTraceEntryStackThresholdMillis());
}
if (traceEntryCaptureSelfNested_ != false) {
output.writeBool(15, traceEntryCaptureSelfNested_);
}
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 16, transactionType_);
}
if (!getTransactionNameTemplateBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 17, transactionNameTemplate_);
}
if (!getTransactionUserTemplateBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 18, transactionUserTemplate_);
}
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetTransactionAttributeTemplates(),
TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry,
19);
if (transactionSlowThresholdMillis_ != null) {
output.writeMessage(20, getTransactionSlowThresholdMillis());
}
if (!getEnabledPropertyBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 21, enabledProperty_);
}
if (!getTraceEntryEnabledPropertyBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 22, traceEntryEnabledProperty_);
}
if (transactionOuter_ != false) {
output.writeBool(23, transactionOuter_);
}
if (!getSubTypeRestrictionBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 24, subTypeRestriction_);
}
if (!getSuperTypeRestrictionBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 25, superTypeRestriction_);
}
if (alreadyInTransactionBehavior_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.CAPTURE_TRACE_ENTRY.getNumber()) {
output.writeEnum(26, alreadyInTransactionBehavior_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getClassNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_);
}
if (!getClassAnnotationBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, classAnnotation_);
}
if (!getMethodDeclaringClassNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, methodDeclaringClassName_);
}
if (!getMethodNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, methodName_);
}
if (!getMethodAnnotationBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(7, methodReturnType_);
}
{
int dataSize = 0;
for (int i = 0; i < methodModifier_.size(); i++) {
dataSize += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(methodModifier_.get(i));
}
size += dataSize;
if (!getMethodModifierList().isEmpty()) { size += 1;
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}methodModifierMemoizedSerializedSize = dataSize;
}
if (!getNestingGroupBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(9, nestingGroup_);
}
if (order_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(10, order_);
}
if (captureKind_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.CaptureKind.TRANSACTION.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(11, captureKind_);
}
if (!getTimerNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(12, timerName_);
}
if (!getTraceEntryMessageTemplateBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(13, traceEntryMessageTemplate_);
}
if (traceEntryStackThresholdMillis_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getTraceEntryStackThresholdMillis());
}
if (traceEntryCaptureSelfNested_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(15, traceEntryCaptureSelfNested_);
}
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(16, transactionType_);
}
if (!getTransactionNameTemplateBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(17, transactionNameTemplate_);
}
if (!getTransactionUserTemplateBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(18, transactionUserTemplate_);
}
for (java.util.Map.Entry entry
: internalGetTransactionAttributeTemplates().getMap().entrySet()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapEntry
transactionAttributeTemplates__ = TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(19, transactionAttributeTemplates__);
}
if (transactionSlowThresholdMillis_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(20, getTransactionSlowThresholdMillis());
}
if (!getEnabledPropertyBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(21, enabledProperty_);
}
if (!getTraceEntryEnabledPropertyBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(22, traceEntryEnabledProperty_);
}
if (transactionOuter_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(23, transactionOuter_);
}
if (!getSubTypeRestrictionBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(24, subTypeRestriction_);
}
if (!getSuperTypeRestrictionBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(25, superTypeRestriction_);
}
if (alreadyInTransactionBehavior_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.CAPTURE_TRACE_ENTRY.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(26, alreadyInTransactionBehavior_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig) obj;
boolean result = true;
result = result && getClassName()
.equals(other.getClassName());
result = result && getClassAnnotation()
.equals(other.getClassAnnotation());
result = result && getSubTypeRestriction()
.equals(other.getSubTypeRestriction());
result = result && getSuperTypeRestriction()
.equals(other.getSuperTypeRestriction());
result = result && getMethodDeclaringClassName()
.equals(other.getMethodDeclaringClassName());
result = result && getMethodName()
.equals(other.getMethodName());
result = result && getMethodAnnotation()
.equals(other.getMethodAnnotation());
result = result && getMethodParameterTypeList()
.equals(other.getMethodParameterTypeList());
result = result && getMethodReturnType()
.equals(other.getMethodReturnType());
result = result && methodModifier_.equals(other.methodModifier_);
result = result && getNestingGroup()
.equals(other.getNestingGroup());
result = result && (getOrder()
== other.getOrder());
result = result && captureKind_ == other.captureKind_;
result = result && getTimerName()
.equals(other.getTimerName());
result = result && getTraceEntryMessageTemplate()
.equals(other.getTraceEntryMessageTemplate());
result = result && (hasTraceEntryStackThresholdMillis() == other.hasTraceEntryStackThresholdMillis());
if (hasTraceEntryStackThresholdMillis()) {
result = result && getTraceEntryStackThresholdMillis()
.equals(other.getTraceEntryStackThresholdMillis());
}
result = result && (getTraceEntryCaptureSelfNested()
== other.getTraceEntryCaptureSelfNested());
result = result && alreadyInTransactionBehavior_ == other.alreadyInTransactionBehavior_;
result = result && getTransactionType()
.equals(other.getTransactionType());
result = result && getTransactionNameTemplate()
.equals(other.getTransactionNameTemplate());
result = result && getTransactionUserTemplate()
.equals(other.getTransactionUserTemplate());
result = result && internalGetTransactionAttributeTemplates().equals(
other.internalGetTransactionAttributeTemplates());
result = result && (hasTransactionSlowThresholdMillis() == other.hasTransactionSlowThresholdMillis());
if (hasTransactionSlowThresholdMillis()) {
result = result && getTransactionSlowThresholdMillis()
.equals(other.getTransactionSlowThresholdMillis());
}
result = result && (getTransactionOuter()
== other.getTransactionOuter());
result = result && getEnabledProperty()
.equals(other.getEnabledProperty());
result = result && getTraceEntryEnabledProperty()
.equals(other.getTraceEntryEnabledProperty());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClassName().hashCode();
hash = (37 * hash) + CLASS_ANNOTATION_FIELD_NUMBER;
hash = (53 * hash) + getClassAnnotation().hashCode();
hash = (37 * hash) + SUB_TYPE_RESTRICTION_FIELD_NUMBER;
hash = (53 * hash) + getSubTypeRestriction().hashCode();
hash = (37 * hash) + SUPER_TYPE_RESTRICTION_FIELD_NUMBER;
hash = (53 * hash) + getSuperTypeRestriction().hashCode();
hash = (37 * hash) + METHOD_DECLARING_CLASS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodDeclaringClassName().hashCode();
hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodName().hashCode();
hash = (37 * hash) + METHOD_ANNOTATION_FIELD_NUMBER;
hash = (53 * hash) + getMethodAnnotation().hashCode();
if (getMethodParameterTypeCount() > 0) {
hash = (37 * hash) + METHOD_PARAMETER_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMethodParameterTypeList().hashCode();
}
hash = (37 * hash) + METHOD_RETURN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getMethodReturnType().hashCode();
if (getMethodModifierCount() > 0) {
hash = (37 * hash) + METHOD_MODIFIER_FIELD_NUMBER;
hash = (53 * hash) + methodModifier_.hashCode();
}
hash = (37 * hash) + NESTING_GROUP_FIELD_NUMBER;
hash = (53 * hash) + getNestingGroup().hashCode();
hash = (37 * hash) + ORDER_FIELD_NUMBER;
hash = (53 * hash) + getOrder();
hash = (37 * hash) + CAPTURE_KIND_FIELD_NUMBER;
hash = (53 * hash) + captureKind_;
hash = (37 * hash) + TIMER_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTimerName().hashCode();
hash = (37 * hash) + TRACE_ENTRY_MESSAGE_TEMPLATE_FIELD_NUMBER;
hash = (53 * hash) + getTraceEntryMessageTemplate().hashCode();
if (hasTraceEntryStackThresholdMillis()) {
hash = (37 * hash) + TRACE_ENTRY_STACK_THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getTraceEntryStackThresholdMillis().hashCode();
}
hash = (37 * hash) + TRACE_ENTRY_CAPTURE_SELF_NESTED_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getTraceEntryCaptureSelfNested());
hash = (37 * hash) + ALREADY_IN_TRANSACTION_BEHAVIOR_FIELD_NUMBER;
hash = (53 * hash) + alreadyInTransactionBehavior_;
hash = (37 * hash) + TRANSACTION_TYPE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionType().hashCode();
hash = (37 * hash) + TRANSACTION_NAME_TEMPLATE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionNameTemplate().hashCode();
hash = (37 * hash) + TRANSACTION_USER_TEMPLATE_FIELD_NUMBER;
hash = (53 * hash) + getTransactionUserTemplate().hashCode();
if (!internalGetTransactionAttributeTemplates().getMap().isEmpty()) {
hash = (37 * hash) + TRANSACTION_ATTRIBUTE_TEMPLATES_FIELD_NUMBER;
hash = (53 * hash) + internalGetTransactionAttributeTemplates().hashCode();
}
if (hasTransactionSlowThresholdMillis()) {
hash = (37 * hash) + TRANSACTION_SLOW_THRESHOLD_MILLIS_FIELD_NUMBER;
hash = (53 * hash) + getTransactionSlowThresholdMillis().hashCode();
}
hash = (37 * hash) + TRANSACTION_OUTER_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getTransactionOuter());
hash = (37 * hash) + ENABLED_PROPERTY_FIELD_NUMBER;
hash = (53 * hash) + getEnabledProperty().hashCode();
hash = (37 * hash) + TRACE_ENTRY_ENABLED_PROPERTY_FIELD_NUMBER;
hash = (53 * hash) + getTraceEntryEnabledProperty().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
className_ = "";
classAnnotation_ = "";
subTypeRestriction_ = "";
superTypeRestriction_ = "";
methodDeclaringClassName_ = "";
methodName_ = "";
methodAnnotation_ = "";
methodParameterType_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
methodReturnType_ = "";
methodModifier_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
nestingGroup_ = "";
order_ = 0;
captureKind_ = 0;
timerName_ = "";
traceEntryMessageTemplate_ = "";
if (traceEntryStackThresholdMillisBuilder_ == null) {
traceEntryStackThresholdMillis_ = null;
} else {
traceEntryStackThresholdMillis_ = null;
traceEntryStackThresholdMillisBuilder_ = null;
}
traceEntryCaptureSelfNested_ = false;
alreadyInTransactionBehavior_ = 0;
transactionType_ = "";
transactionNameTemplate_ = "";
transactionUserTemplate_ = "";
internalGetMutableTransactionAttributeTemplates().clear();
if (transactionSlowThresholdMillisBuilder_ == null) {
transactionSlowThresholdMillis_ = null;
} else {
transactionSlowThresholdMillis_ = null;
transactionSlowThresholdMillisBuilder_ = null;
}
transactionOuter_ = false;
enabledProperty_ = "";
traceEntryEnabledProperty_ = "";
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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.subTypeRestriction_ = subTypeRestriction_;
result.superTypeRestriction_ = superTypeRestriction_;
result.methodDeclaringClassName_ = methodDeclaringClassName_;
result.methodName_ = methodName_;
result.methodAnnotation_ = methodAnnotation_;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
methodParameterType_ = methodParameterType_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000080);
}
result.methodParameterType_ = methodParameterType_;
result.methodReturnType_ = methodReturnType_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
methodModifier_ = java.util.Collections.unmodifiableList(methodModifier_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.methodModifier_ = methodModifier_;
result.nestingGroup_ = nestingGroup_;
result.order_ = order_;
result.captureKind_ = captureKind_;
result.timerName_ = timerName_;
result.traceEntryMessageTemplate_ = traceEntryMessageTemplate_;
if (traceEntryStackThresholdMillisBuilder_ == null) {
result.traceEntryStackThresholdMillis_ = traceEntryStackThresholdMillis_;
} else {
result.traceEntryStackThresholdMillis_ = traceEntryStackThresholdMillisBuilder_.build();
}
result.traceEntryCaptureSelfNested_ = traceEntryCaptureSelfNested_;
result.alreadyInTransactionBehavior_ = alreadyInTransactionBehavior_;
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.transactionOuter_ = transactionOuter_;
result.enabledProperty_ = enabledProperty_;
result.traceEntryEnabledProperty_ = traceEntryEnabledProperty_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.getSubTypeRestriction().isEmpty()) {
subTypeRestriction_ = other.subTypeRestriction_;
onChanged();
}
if (!other.getSuperTypeRestriction().isEmpty()) {
superTypeRestriction_ = other.superTypeRestriction_;
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_ & ~0x00000080);
} 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_ & ~0x00000200);
} else {
ensureMethodModifierIsMutable();
methodModifier_.addAll(other.methodModifier_);
}
onChanged();
}
if (!other.getNestingGroup().isEmpty()) {
nestingGroup_ = other.nestingGroup_;
onChanged();
}
if (other.getOrder() != 0) {
setOrder(other.getOrder());
}
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.alreadyInTransactionBehavior_ != 0) {
setAlreadyInTransactionBehaviorValue(other.getAlreadyInTransactionBehaviorValue());
}
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.getTransactionOuter() != false) {
setTransactionOuter(other.getTransactionOuter());
}
if (!other.getEnabledProperty().isEmpty()) {
enabledProperty_ = other.enabledProperty_;
onChanged();
}
if (!other.getTraceEntryEnabledProperty().isEmpty()) {
traceEntryEnabledProperty_ = other.traceEntryEnabledProperty_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object className_ = "";
/**
* string class_name = 1;
*/
public java.lang.String getClassName() {
java.lang.Object ref = className_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
className_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string class_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes() {
java.lang.Object ref = className_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
className_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string class_name = 1;
*/
public Builder setClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
className_ = value;
onChanged();
return this;
}
/**
* string class_name = 1;
*/
public Builder clearClassName() {
className_ = getDefaultInstance().getClassName();
onChanged();
return this;
}
/**
* string class_name = 1;
*/
public Builder setClassNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
className_ = value;
onChanged();
return this;
}
private java.lang.Object classAnnotation_ = "";
/**
* string class_annotation = 2;
*/
public java.lang.String getClassAnnotation() {
java.lang.Object ref = classAnnotation_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
classAnnotation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string class_annotation = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassAnnotationBytes() {
java.lang.Object ref = classAnnotation_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
classAnnotation_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string class_annotation = 2;
*/
public Builder setClassAnnotation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
classAnnotation_ = value;
onChanged();
return this;
}
/**
* string class_annotation = 2;
*/
public Builder clearClassAnnotation() {
classAnnotation_ = getDefaultInstance().getClassAnnotation();
onChanged();
return this;
}
/**
* string class_annotation = 2;
*/
public Builder setClassAnnotationBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
classAnnotation_ = value;
onChanged();
return this;
}
private java.lang.Object subTypeRestriction_ = "";
/**
* string sub_type_restriction = 24;
*/
public java.lang.String getSubTypeRestriction() {
java.lang.Object ref = subTypeRestriction_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
subTypeRestriction_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string sub_type_restriction = 24;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSubTypeRestrictionBytes() {
java.lang.Object ref = subTypeRestriction_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
subTypeRestriction_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string sub_type_restriction = 24;
*/
public Builder setSubTypeRestriction(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subTypeRestriction_ = value;
onChanged();
return this;
}
/**
* string sub_type_restriction = 24;
*/
public Builder clearSubTypeRestriction() {
subTypeRestriction_ = getDefaultInstance().getSubTypeRestriction();
onChanged();
return this;
}
/**
* string sub_type_restriction = 24;
*/
public Builder setSubTypeRestrictionBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subTypeRestriction_ = value;
onChanged();
return this;
}
private java.lang.Object superTypeRestriction_ = "";
/**
* string super_type_restriction = 25;
*/
public java.lang.String getSuperTypeRestriction() {
java.lang.Object ref = superTypeRestriction_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
superTypeRestriction_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string super_type_restriction = 25;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSuperTypeRestrictionBytes() {
java.lang.Object ref = superTypeRestriction_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
superTypeRestriction_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string super_type_restriction = 25;
*/
public Builder setSuperTypeRestriction(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
superTypeRestriction_ = value;
onChanged();
return this;
}
/**
* string super_type_restriction = 25;
*/
public Builder clearSuperTypeRestriction() {
superTypeRestriction_ = getDefaultInstance().getSuperTypeRestriction();
onChanged();
return this;
}
/**
* string super_type_restriction = 25;
*/
public Builder setSuperTypeRestrictionBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
superTypeRestriction_ = value;
onChanged();
return this;
}
private java.lang.Object methodDeclaringClassName_ = "";
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodDeclaringClassName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodDeclaringClassNameBytes() {
java.lang.Object ref = methodDeclaringClassName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodDeclaringClassName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
public Builder setMethodDeclaringClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
methodDeclaringClassName_ = value;
onChanged();
return this;
}
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
public Builder clearMethodDeclaringClassName() {
methodDeclaringClassName_ = getDefaultInstance().getMethodDeclaringClassName();
onChanged();
return this;
}
/**
*
* deprecated in 0.9.16, still supported here for
*
*
* string method_declaring_class_name = 3;
*/
public Builder setMethodDeclaringClassNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
methodDeclaringClassName_ = value;
onChanged();
return this;
}
private java.lang.Object methodName_ = "";
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public java.lang.String getMethodName() {
java.lang.Object ref = methodName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes() {
java.lang.Object ref = methodName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public Builder setMethodName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
methodName_ = value;
onChanged();
return this;
}
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public Builder clearMethodName() {
methodName_ = getDefaultInstance().getMethodName();
onChanged();
return this;
}
/**
*
* glowroot central 0.9.16 or newer running agent 0.9.15
* or older
*
*
* string method_name = 4;
*/
public Builder setMethodNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
methodName_ = value;
onChanged();
return this;
}
private java.lang.Object methodAnnotation_ = "";
/**
* string method_annotation = 5;
*/
public java.lang.String getMethodAnnotation() {
java.lang.Object ref = methodAnnotation_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodAnnotation_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string method_annotation = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodAnnotationBytes() {
java.lang.Object ref = methodAnnotation_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodAnnotation_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string method_annotation = 5;
*/
public Builder setMethodAnnotation(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
methodAnnotation_ = value;
onChanged();
return this;
}
/**
* string method_annotation = 5;
*/
public Builder clearMethodAnnotation() {
methodAnnotation_ = getDefaultInstance().getMethodAnnotation();
onChanged();
return this;
}
/**
* string method_annotation = 5;
*/
public Builder setMethodAnnotationBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
methodAnnotation_ = value;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList methodParameterType_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMethodParameterTypeIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
methodParameterType_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(methodParameterType_);
bitField0_ |= 0x00000080;
}
}
/**
* repeated string method_parameter_type = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, methodParameterType_);
onChanged();
return this;
}
/**
* repeated string method_parameter_type = 6;
*/
public Builder clearMethodParameterType() {
methodParameterType_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* repeated string method_parameter_type = 6;
*/
public Builder addMethodParameterTypeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureMethodParameterTypeIsMutable();
methodParameterType_.add(value);
onChanged();
return this;
}
private java.lang.Object methodReturnType_ = "";
/**
* string method_return_type = 7;
*/
public java.lang.String getMethodReturnType() {
java.lang.Object ref = methodReturnType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
methodReturnType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string method_return_type = 7;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodReturnTypeBytes() {
java.lang.Object ref = methodReturnType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
methodReturnType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string method_return_type = 7;
*/
public Builder setMethodReturnType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
methodReturnType_ = value;
onChanged();
return this;
}
/**
* string method_return_type = 7;
*/
public Builder clearMethodReturnType() {
methodReturnType_ = getDefaultInstance().getMethodReturnType();
onChanged();
return this;
}
/**
* string method_return_type = 7;
*/
public Builder setMethodReturnTypeBytes(
org.glowroot.agent.it.harness.shaded.com.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_ & 0x00000200) == 0x00000200)) {
methodModifier_ = new java.util.ArrayList(methodModifier_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.MethodModifier method_modifier = 8;
*/
public java.util.List getMethodModifierList() {
return new org.glowroot.agent.it.harness.shaded.com.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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.MethodModifier> 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_ & ~0x00000200);
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_ = "";
/**
* string nesting_group = 9;
*/
public java.lang.String getNestingGroup() {
java.lang.Object ref = nestingGroup_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nestingGroup_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string nesting_group = 9;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNestingGroupBytes() {
java.lang.Object ref = nestingGroup_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nestingGroup_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string nesting_group = 9;
*/
public Builder setNestingGroup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nestingGroup_ = value;
onChanged();
return this;
}
/**
* string nesting_group = 9;
*/
public Builder clearNestingGroup() {
nestingGroup_ = getDefaultInstance().getNestingGroup();
onChanged();
return this;
}
/**
* string nesting_group = 9;
*/
public Builder setNestingGroupBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nestingGroup_ = value;
onChanged();
return this;
}
private int order_ ;
/**
* int32 order = 10;
*/
public int getOrder() {
return order_;
}
/**
* int32 order = 10;
*/
public Builder setOrder(int value) {
order_ = value;
onChanged();
return this;
}
/**
* int32 order = 10;
*/
public Builder clearOrder() {
order_ = 0;
onChanged();
return this;
}
private int captureKind_ = 0;
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
public int getCaptureKindValue() {
return captureKind_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
public Builder setCaptureKindValue(int value) {
captureKind_ = value;
onChanged();
return this;
}
/**
* .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;
}
/**
* .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;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.CaptureKind capture_kind = 11;
*/
public Builder clearCaptureKind() {
captureKind_ = 0;
onChanged();
return this;
}
private java.lang.Object timerName_ = "";
/**
* string timer_name = 12;
*/
public java.lang.String getTimerName() {
java.lang.Object ref = timerName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
timerName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string timer_name = 12;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTimerNameBytes() {
java.lang.Object ref = timerName_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
timerName_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string timer_name = 12;
*/
public Builder setTimerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
timerName_ = value;
onChanged();
return this;
}
/**
* string timer_name = 12;
*/
public Builder clearTimerName() {
timerName_ = getDefaultInstance().getTimerName();
onChanged();
return this;
}
/**
* string timer_name = 12;
*/
public Builder setTimerNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
timerName_ = value;
onChanged();
return this;
}
private java.lang.Object traceEntryMessageTemplate_ = "";
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
traceEntryMessageTemplate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string trace_entry_message_template = 13;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryMessageTemplateBytes() {
java.lang.Object ref = traceEntryMessageTemplate_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceEntryMessageTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string trace_entry_message_template = 13;
*/
public Builder setTraceEntryMessageTemplate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
traceEntryMessageTemplate_ = value;
onChanged();
return this;
}
/**
* string trace_entry_message_template = 13;
*/
public Builder clearTraceEntryMessageTemplate() {
traceEntryMessageTemplate_ = getDefaultInstance().getTraceEntryMessageTemplate();
onChanged();
return this;
}
/**
* string trace_entry_message_template = 13;
*/
public Builder setTraceEntryMessageTemplateBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> traceEntryStackThresholdMillisBuilder_;
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
public boolean hasTraceEntryStackThresholdMillis() {
return traceEntryStackThresholdMillisBuilder_ != null || traceEntryStackThresholdMillis_ != null;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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();
}
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
public Builder clearTraceEntryStackThresholdMillis() {
if (traceEntryStackThresholdMillisBuilder_ == null) {
traceEntryStackThresholdMillis_ = null;
onChanged();
} else {
traceEntryStackThresholdMillis_ = null;
traceEntryStackThresholdMillisBuilder_ = null;
}
return this;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getTraceEntryStackThresholdMillisBuilder() {
onChanged();
return getTraceEntryStackThresholdMillisFieldBuilder().getBuilder();
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
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_;
}
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 trace_entry_stack_threshold_millis = 14;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_ ;
/**
* bool trace_entry_capture_self_nested = 15;
*/
public boolean getTraceEntryCaptureSelfNested() {
return traceEntryCaptureSelfNested_;
}
/**
* bool trace_entry_capture_self_nested = 15;
*/
public Builder setTraceEntryCaptureSelfNested(boolean value) {
traceEntryCaptureSelfNested_ = value;
onChanged();
return this;
}
/**
* bool trace_entry_capture_self_nested = 15;
*/
public Builder clearTraceEntryCaptureSelfNested() {
traceEntryCaptureSelfNested_ = false;
onChanged();
return this;
}
private int alreadyInTransactionBehavior_ = 0;
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public int getAlreadyInTransactionBehaviorValue() {
return alreadyInTransactionBehavior_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public Builder setAlreadyInTransactionBehaviorValue(int value) {
alreadyInTransactionBehavior_ = value;
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior getAlreadyInTransactionBehavior() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior result = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.valueOf(alreadyInTransactionBehavior_);
return result == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior.UNRECOGNIZED : result;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public Builder setAlreadyInTransactionBehavior(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior value) {
if (value == null) {
throw new NullPointerException();
}
alreadyInTransactionBehavior_ = value.getNumber();
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.InstrumentationConfig.AlreadyInTransactionBehavior already_in_transaction_behavior = 26;
*/
public Builder clearAlreadyInTransactionBehavior() {
alreadyInTransactionBehavior_ = 0;
onChanged();
return this;
}
private java.lang.Object transactionType_ = "";
/**
* string transaction_type = 16;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_type = 16;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_type = 16;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* string transaction_type = 16;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* string transaction_type = 16;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionType_ = value;
onChanged();
return this;
}
private java.lang.Object transactionNameTemplate_ = "";
/**
* string transaction_name_template = 17;
*/
public java.lang.String getTransactionNameTemplate() {
java.lang.Object ref = transactionNameTemplate_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionNameTemplate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_name_template = 17;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionNameTemplateBytes() {
java.lang.Object ref = transactionNameTemplate_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionNameTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_name_template = 17;
*/
public Builder setTransactionNameTemplate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionNameTemplate_ = value;
onChanged();
return this;
}
/**
* string transaction_name_template = 17;
*/
public Builder clearTransactionNameTemplate() {
transactionNameTemplate_ = getDefaultInstance().getTransactionNameTemplate();
onChanged();
return this;
}
/**
* string transaction_name_template = 17;
*/
public Builder setTransactionNameTemplateBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionNameTemplate_ = value;
onChanged();
return this;
}
private java.lang.Object transactionUserTemplate_ = "";
/**
* string transaction_user_template = 18;
*/
public java.lang.String getTransactionUserTemplate() {
java.lang.Object ref = transactionUserTemplate_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionUserTemplate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string transaction_user_template = 18;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTransactionUserTemplateBytes() {
java.lang.Object ref = transactionUserTemplate_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionUserTemplate_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string transaction_user_template = 18;
*/
public Builder setTransactionUserTemplate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionUserTemplate_ = value;
onChanged();
return this;
}
/**
* string transaction_user_template = 18;
*/
public Builder clearTransactionUserTemplate() {
transactionUserTemplate_ = getDefaultInstance().getTransactionUserTemplate();
onChanged();
return this;
}
/**
* string transaction_user_template = 18;
*/
public Builder setTransactionUserTemplateBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionUserTemplate_ = value;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField<
java.lang.String, java.lang.String> transactionAttributeTemplates_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField
internalGetTransactionAttributeTemplates() {
if (transactionAttributeTemplates_ == null) {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField.emptyMapField(
TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry);
}
return transactionAttributeTemplates_;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField
internalGetMutableTransactionAttributeTemplates() {
onChanged();;
if (transactionAttributeTemplates_ == null) {
transactionAttributeTemplates_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.MapField.newMapField(
TransactionAttributeTemplatesDefaultEntryHolder.defaultEntry);
}
if (!transactionAttributeTemplates_.isMutable()) {
transactionAttributeTemplates_ = transactionAttributeTemplates_.copy();
}
return transactionAttributeTemplates_;
}
public int getTransactionAttributeTemplatesCount() {
return internalGetTransactionAttributeTemplates().getMap().size();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public boolean containsTransactionAttributeTemplates(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetTransactionAttributeTemplates().getMap().containsKey(key);
}
/**
* Use {@link #getTransactionAttributeTemplatesMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getTransactionAttributeTemplates() {
return getTransactionAttributeTemplatesMap();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.util.Map getTransactionAttributeTemplatesMap() {
return internalGetTransactionAttributeTemplates().getMap();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.lang.String getTransactionAttributeTemplatesOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetTransactionAttributeTemplates().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public java.lang.String getTransactionAttributeTemplatesOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetTransactionAttributeTemplates().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearTransactionAttributeTemplates() {
internalGetMutableTransactionAttributeTemplates().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public Builder removeTransactionAttributeTemplates(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableTransactionAttributeTemplates().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableTransactionAttributeTemplates() {
return internalGetMutableTransactionAttributeTemplates().getMutableMap();
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public Builder putTransactionAttributeTemplates(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new java.lang.NullPointerException(); }
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableTransactionAttributeTemplates().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, string> transaction_attribute_templates = 19;
*/
public Builder putAllTransactionAttributeTemplates(
java.util.Map values) {
internalGetMutableTransactionAttributeTemplates().getMutableMap()
.putAll(values);
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt32 transactionSlowThresholdMillis_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.Proto.OptionalInt32, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder, org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder> transactionSlowThresholdMillisBuilder_;
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public boolean hasTransactionSlowThresholdMillis() {
return transactionSlowThresholdMillisBuilder_ != null || transactionSlowThresholdMillis_ != null;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
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();
}
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
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;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public Builder clearTransactionSlowThresholdMillis() {
if (transactionSlowThresholdMillisBuilder_ == null) {
transactionSlowThresholdMillis_ = null;
onChanged();
} else {
transactionSlowThresholdMillis_ = null;
transactionSlowThresholdMillisBuilder_ = null;
}
return this;
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt32.Builder getTransactionSlowThresholdMillisBuilder() {
onChanged();
return getTransactionSlowThresholdMillisFieldBuilder().getBuilder();
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
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_;
}
}
/**
*
* absent means N/A
*
*
* .org_glowroot_wire_api_model.OptionalInt32 transaction_slow_threshold_millis = 20;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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 boolean transactionOuter_ ;
/**
* bool transaction_outer = 23;
*/
public boolean getTransactionOuter() {
return transactionOuter_;
}
/**
* bool transaction_outer = 23;
*/
public Builder setTransactionOuter(boolean value) {
transactionOuter_ = value;
onChanged();
return this;
}
/**
* bool transaction_outer = 23;
*/
public Builder clearTransactionOuter() {
transactionOuter_ = false;
onChanged();
return this;
}
private java.lang.Object enabledProperty_ = "";
/**
* string enabled_property = 21;
*/
public java.lang.String getEnabledProperty() {
java.lang.Object ref = enabledProperty_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
enabledProperty_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string enabled_property = 21;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getEnabledPropertyBytes() {
java.lang.Object ref = enabledProperty_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
enabledProperty_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string enabled_property = 21;
*/
public Builder setEnabledProperty(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
enabledProperty_ = value;
onChanged();
return this;
}
/**
* string enabled_property = 21;
*/
public Builder clearEnabledProperty() {
enabledProperty_ = getDefaultInstance().getEnabledProperty();
onChanged();
return this;
}
/**
* string enabled_property = 21;
*/
public Builder setEnabledPropertyBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
enabledProperty_ = value;
onChanged();
return this;
}
private java.lang.Object traceEntryEnabledProperty_ = "";
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
traceEntryEnabledProperty_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string trace_entry_enabled_property = 22;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getTraceEntryEnabledPropertyBytes() {
java.lang.Object ref = traceEntryEnabledProperty_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
traceEntryEnabledProperty_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string trace_entry_enabled_property = 22;
*/
public Builder setTraceEntryEnabledProperty(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
traceEntryEnabledProperty_ = value;
onChanged();
return this;
}
/**
* string trace_entry_enabled_property = 22;
*/
public Builder clearTraceEntryEnabledProperty() {
traceEntryEnabledProperty_ = getDefaultInstance().getTraceEntryEnabledProperty();
onChanged();
return this;
}
/**
* string trace_entry_enabled_property = 22;
*/
public Builder setTraceEntryEnabledPropertyBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public InstrumentationConfig parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new InstrumentationConfig(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
*/
java.lang.String getName();
/**
* string name = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes();
/**
* bool counter = 2;
*/
boolean getCounter();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.MBeanAttribute}
*/
public static final class MBeanAttribute extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.MBeanAttribute)
MBeanAttributeOrBuilder {
private static final long serialVersionUID = 0L;
// Use MBeanAttribute.newBuilder() to construct.
private MBeanAttribute(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MBeanAttribute() {
name_ = "";
counter_ = false;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MBeanAttribute(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int COUNTER_FIELD_NUMBER = 2;
private boolean counter_;
/**
* 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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (counter_ != false) {
output.writeBool(2, counter_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (counter_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(2, counter_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && (getCounter()
== other.getCounter());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + COUNTER_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getCounter());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
name_ = "";
counter_ = false;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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 clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.MBeanAttribute) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder setNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private boolean counter_ ;
/**
* bool counter = 2;
*/
public boolean getCounter() {
return counter_;
}
/**
* bool counter = 2;
*/
public Builder setCounter(boolean value) {
counter_ = value;
onChanged();
return this;
}
/**
* bool counter = 2;
*/
public Builder clearCounter() {
counter_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public MBeanAttribute parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new MBeanAttribute(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* string name = 1;
*/
java.lang.String getName();
/**
* string name = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
boolean hasValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getValue();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getValueOrBuilder();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
boolean hasDefault();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefault();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.ValueOrBuilder getDefaultOrBuilder();
/**
* string label = 4;
*/
java.lang.String getLabel();
/**
* string label = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getLabelBytes();
/**
* string checkbox_label = 5;
*/
java.lang.String getCheckboxLabel();
/**
* string checkbox_label = 5;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getCheckboxLabelBytes();
/**
* string description = 6;
*/
java.lang.String getDescription();
/**
* string description = 6;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDescriptionBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty}
*/
public static final class PluginProperty extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty)
PluginPropertyOrBuilder {
private static final long serialVersionUID = 0L;
// Use PluginProperty.newBuilder() to construct.
private PluginProperty(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private PluginProperty() {
name_ = "";
label_ = "";
checkboxLabel_ = "";
description_ = "";
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private PluginProperty(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* bool bval = 1;
*/
boolean getBval();
/**
*
* simple one field OptionalDouble won't work inside "oneof"
*
*
* bool dval_null = 2;
*/
boolean getDvalNull();
/**
* double dval = 3;
*/
double getDval();
/**
* string sval = 4;
*/
java.lang.String getSval();
/**
* string sval = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSvalBytes();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
boolean hasLval();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getLval();
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder getLvalOrBuilder();
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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value)
ValueOrBuilder {
private static final long serialVersionUID = 0L;
// Use Value.newBuilder() to construct.
private Value(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Value() {
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Value(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, 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;
}
case 42: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder subBuilder = null;
if (valCase_ == 5) {
subBuilder = ((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_).toBuilder();
}
val_ =
input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_);
val_ = subBuilder.buildPartial();
}
valCase_ = 5;
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.Internal.EnumLite {
BVAL(1),
DVAL_NULL(2),
DVAL(3),
SVAL(4),
LVAL(5),
VAL_NOT_SET(0);
private final int value;
private ValCase(int value) {
this.value = value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ValCase valueOf(int value) {
return forNumber(value);
}
public static ValCase forNumber(int value) {
switch (value) {
case 1: return BVAL;
case 2: return DVAL_NULL;
case 3: return DVAL;
case 4: return SVAL;
case 5: return LVAL;
case 0: return VAL_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ValCase
getValCase() {
return ValCase.forNumber(
valCase_);
}
public static final int BVAL_FIELD_NUMBER = 1;
/**
* 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;
/**
*
* simple one field OptionalDouble won't work inside "oneof"
*
*
* bool dval_null = 2;
*/
public boolean getDvalNull() {
if (valCase_ == 2) {
return (java.lang.Boolean) val_;
}
return false;
}
public static final int DVAL_FIELD_NUMBER = 3;
/**
* double dval = 3;
*/
public double getDval() {
if (valCase_ == 3) {
return (java.lang.Double) val_;
}
return 0D;
}
public static final int SVAL_FIELD_NUMBER = 4;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (valCase_ == 4) {
val_ = s;
}
return s;
}
}
/**
* string sval = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSvalBytes() {
java.lang.Object ref = "";
if (valCase_ == 4) {
ref = val_;
}
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valCase_ == 4) {
val_ = b;
}
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int LVAL_FIELD_NUMBER = 5;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public boolean hasLval() {
return valCase_ == 5;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getLval() {
if (valCase_ == 5) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder getLvalOrBuilder() {
if (valCase_ == 5) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, val_);
}
if (valCase_ == 5) {
output.writeMessage(5, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valCase_ == 1) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(
1, (boolean)((java.lang.Boolean) val_));
}
if (valCase_ == 2) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(
2, (boolean)((java.lang.Boolean) val_));
}
if (valCase_ == 3) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeDoubleSize(
3, (double)((java.lang.Double) val_));
}
if (valCase_ == 4) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, val_);
}
if (valCase_ == 5) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value) obj;
boolean result = true;
result = result && getValCase().equals(
other.getValCase());
if (!result) return false;
switch (valCase_) {
case 1:
result = result && (getBval()
== other.getBval());
break;
case 2:
result = result && (getDvalNull()
== other.getDvalNull());
break;
case 3:
result = result && (
java.lang.Double.doubleToLongBits(getDval())
== java.lang.Double.doubleToLongBits(
other.getDval()));
break;
case 4:
result = result && getSval()
.equals(other.getSval());
break;
case 5:
result = result && getLval()
.equals(other.getLval());
break;
case 0:
default:
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (valCase_) {
case 1:
hash = (37 * hash) + BVAL_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getBval());
break;
case 2:
hash = (37 * hash) + DVAL_NULL_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getDvalNull());
break;
case 3:
hash = (37 * hash) + DVAL_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getDval()));
break;
case 4:
hash = (37 * hash) + SVAL_FIELD_NUMBER;
hash = (53 * hash) + getSval().hashCode();
break;
case 5:
hash = (37 * hash) + LVAL_FIELD_NUMBER;
hash = (53 * hash) + getLval().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
valCase_ = 0;
val_ = null;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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_;
}
if (valCase_ == 5) {
if (lvalBuilder_ == null) {
result.val_ = val_;
} else {
result.val_ = lvalBuilder_.build();
}
}
result.valCase_ = valCase_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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 LVAL: {
mergeLval(other.getLval());
break;
}
case VAL_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valCase_ = 0;
private java.lang.Object val_;
public ValCase
getValCase() {
return ValCase.forNumber(
valCase_);
}
public Builder clearVal() {
valCase_ = 0;
val_ = null;
onChanged();
return this;
}
/**
* bool bval = 1;
*/
public boolean getBval() {
if (valCase_ == 1) {
return (java.lang.Boolean) val_;
}
return false;
}
/**
* bool bval = 1;
*/
public Builder setBval(boolean value) {
valCase_ = 1;
val_ = value;
onChanged();
return this;
}
/**
* bool bval = 1;
*/
public Builder clearBval() {
if (valCase_ == 1) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
*
* simple one field OptionalDouble won't work inside "oneof"
*
*
* bool dval_null = 2;
*/
public boolean getDvalNull() {
if (valCase_ == 2) {
return (java.lang.Boolean) val_;
}
return false;
}
/**
*
* simple one field OptionalDouble won't work inside "oneof"
*
*
* bool dval_null = 2;
*/
public Builder setDvalNull(boolean value) {
valCase_ = 2;
val_ = value;
onChanged();
return this;
}
/**
*
* simple one field OptionalDouble won't work inside "oneof"
*
*
* bool dval_null = 2;
*/
public Builder clearDvalNull() {
if (valCase_ == 2) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* double dval = 3;
*/
public double getDval() {
if (valCase_ == 3) {
return (java.lang.Double) val_;
}
return 0D;
}
/**
* double dval = 3;
*/
public Builder setDval(double value) {
valCase_ = 3;
val_ = value;
onChanged();
return this;
}
/**
* double dval = 3;
*/
public Builder clearDval() {
if (valCase_ == 3) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (valCase_ == 4) {
val_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string sval = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getSvalBytes() {
java.lang.Object ref = "";
if (valCase_ == 4) {
ref = val_;
}
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valCase_ == 4) {
val_ = b;
}
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string sval = 4;
*/
public Builder setSval(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
valCase_ = 4;
val_ = value;
onChanged();
return this;
}
/**
* string sval = 4;
*/
public Builder clearSval() {
if (valCase_ == 4) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* string sval = 4;
*/
public Builder setSvalBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
valCase_ = 4;
val_ = value;
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder> lvalBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public boolean hasLval() {
return valCase_ == 5;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getLval() {
if (lvalBuilder_ == null) {
if (valCase_ == 5) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
} else {
if (valCase_ == 5) {
return lvalBuilder_.getMessage();
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public Builder setLval(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList value) {
if (lvalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
val_ = value;
onChanged();
} else {
lvalBuilder_.setMessage(value);
}
valCase_ = 5;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public Builder setLval(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder builderForValue) {
if (lvalBuilder_ == null) {
val_ = builderForValue.build();
onChanged();
} else {
lvalBuilder_.setMessage(builderForValue.build());
}
valCase_ = 5;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public Builder mergeLval(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList value) {
if (lvalBuilder_ == null) {
if (valCase_ == 5 &&
val_ != org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance()) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.newBuilder((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_)
.mergeFrom(value).buildPartial();
} else {
val_ = value;
}
onChanged();
} else {
if (valCase_ == 5) {
lvalBuilder_.mergeFrom(value);
}
lvalBuilder_.setMessage(value);
}
valCase_ = 5;
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public Builder clearLval() {
if (lvalBuilder_ == null) {
if (valCase_ == 5) {
valCase_ = 0;
val_ = null;
onChanged();
}
} else {
if (valCase_ == 5) {
valCase_ = 0;
val_ = null;
}
lvalBuilder_.clear();
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder getLvalBuilder() {
return getLvalFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder getLvalOrBuilder() {
if ((valCase_ == 5) && (lvalBuilder_ != null)) {
return lvalBuilder_.getMessageOrBuilder();
} else {
if (valCase_ == 5) {
return (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_;
}
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList lval = 5;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder>
getLvalFieldBuilder() {
if (lvalBuilder_ == null) {
if (!(valCase_ == 5)) {
val_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
lvalBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder>(
(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) val_,
getParentForChildren(),
isClean());
val_ = null;
}
valCase_ = 5;
onChanged();;
return lvalBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public Value parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new Value(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface StringListOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* repeated string val = 1;
*/
java.util.List
getValList();
/**
* repeated string val = 1;
*/
int getValCount();
/**
* repeated string val = 1;
*/
java.lang.String getVal(int index);
/**
* repeated string val = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getValBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList}
*/
public static final class StringList extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList)
StringListOrBuilder {
private static final long serialVersionUID = 0L;
// Use StringList.newBuilder() to construct.
private StringList(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StringList() {
val_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StringList(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
val_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
val_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
val_ = val_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_StringList_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_StringList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder.class);
}
public static final int VAL_FIELD_NUMBER = 1;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList val_;
/**
* repeated string val = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getValList() {
return val_;
}
/**
* repeated string val = 1;
*/
public int getValCount() {
return val_.size();
}
/**
* repeated string val = 1;
*/
public java.lang.String getVal(int index) {
return val_.get(index);
}
/**
* repeated string val = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getValBytes(int index) {
return val_.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < val_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, val_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < val_.size(); i++) {
dataSize += computeStringSizeNoTag(val_.getRaw(i));
}
size += dataSize;
size += 1 * getValList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) obj;
boolean result = true;
result = result && getValList()
.equals(other.getValList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getValCount() > 0) {
hash = (37 * hash) + VAL_FIELD_NUMBER;
hash = (53 * hash) + getValList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList)
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringListOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_StringList_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_StringList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.class, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
val_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.internal_static_org_glowroot_wire_api_model_AgentConfig_PluginProperty_StringList_descriptor;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance();
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList build() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList buildPartial() {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList result = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
val_ = val_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.val_ = val_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) {
return mergeFrom((org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList other) {
if (other == org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList.getDefaultInstance()) return this;
if (!other.val_.isEmpty()) {
if (val_.isEmpty()) {
val_ = other.val_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureValIsMutable();
val_.addAll(other.val_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList val_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureValIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
val_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(val_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string val = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getValList() {
return val_.getUnmodifiableView();
}
/**
* repeated string val = 1;
*/
public int getValCount() {
return val_.size();
}
/**
* repeated string val = 1;
*/
public java.lang.String getVal(int index) {
return val_.get(index);
}
/**
* repeated string val = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getValBytes(int index) {
return val_.getByteString(index);
}
/**
* repeated string val = 1;
*/
public Builder setVal(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValIsMutable();
val_.set(index, value);
onChanged();
return this;
}
/**
* repeated string val = 1;
*/
public Builder addVal(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureValIsMutable();
val_.add(value);
onChanged();
return this;
}
/**
* repeated string val = 1;
*/
public Builder addAllVal(
java.lang.Iterable values) {
ensureValIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, val_);
onChanged();
return this;
}
/**
* repeated string val = 1;
*/
public Builder clearVal() {
val_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string val = 1;
*/
public Builder addValBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureValIsMutable();
val_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AgentConfig.PluginProperty.StringList)
private static final org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList();
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public StringList parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new StringList(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.StringList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* string name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty.Value value_;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
public boolean hasValue() {
return value_ != null;
}
/**
* .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_;
}
/**
* .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_;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
public boolean hasDefault() {
return default_ != null;
}
/**
* .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_;
}
/**
* .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_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
}
}
/**
* string label = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int CHECKBOX_LABEL_FIELD_NUMBER = 5;
private volatile java.lang.Object checkboxLabel_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
checkboxLabel_ = s;
return s;
}
}
/**
* string checkbox_label = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getCheckboxLabelBytes() {
java.lang.Object ref = checkboxLabel_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkboxLabel_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int DESCRIPTION_FIELD_NUMBER = 6;
private volatile java.lang.Object description_;
/**
* 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.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
* string description = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (value_ != null) {
output.writeMessage(2, getValue());
}
if (default_ != null) {
output.writeMessage(3, getDefault());
}
if (!getLabelBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, label_);
}
if (!getCheckboxLabelBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, checkboxLabel_);
}
if (!getDescriptionBytes().isEmpty()) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, description_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (value_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getValue());
}
if (default_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDefault());
}
if (!getLabelBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, label_);
}
if (!getCheckboxLabelBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(5, checkboxLabel_);
}
if (!getDescriptionBytes().isEmpty()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(6, description_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty) obj;
boolean result = true;
result = result && getName()
.equals(other.getName());
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && getValue()
.equals(other.getValue());
}
result = result && (hasDefault() == other.hasDefault());
if (hasDefault()) {
result = result && getDefault()
.equals(other.getDefault());
}
result = result && getLabel()
.equals(other.getLabel());
result = result && getCheckboxLabel()
.equals(other.getCheckboxLabel());
result = result && getDescription()
.equals(other.getDescription());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
}
if (hasDefault()) {
hash = (37 * hash) + DEFAULT_FIELD_NUMBER;
hash = (53 * hash) + getDefault().hashCode();
}
hash = (37 * hash) + LABEL_FIELD_NUMBER;
hash = (53 * hash) + getLabel().hashCode();
hash = (37 * hash) + CHECKBOX_LABEL_FIELD_NUMBER;
hash = (53 * hash) + getCheckboxLabel().hashCode();
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.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.it.harness.shaded.com.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 clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginProperty) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* string name = 1;
*/
public Builder setNameBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value value = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_;
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
public boolean hasDefault() {
return defaultBuilder_ != null || default_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.PluginProperty.Value default = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_ = "";
/**
* string label = 4;
*/
public java.lang.String getLabel() {
java.lang.Object ref = label_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
label_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string label = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getLabelBytes() {
java.lang.Object ref = label_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
label_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string label = 4;
*/
public Builder setLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
label_ = value;
onChanged();
return this;
}
/**
* string label = 4;
*/
public Builder clearLabel() {
label_ = getDefaultInstance().getLabel();
onChanged();
return this;
}
/**
* string label = 4;
*/
public Builder setLabelBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
label_ = value;
onChanged();
return this;
}
private java.lang.Object checkboxLabel_ = "";
/**
* string checkbox_label = 5;
*/
public java.lang.String getCheckboxLabel() {
java.lang.Object ref = checkboxLabel_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
checkboxLabel_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string checkbox_label = 5;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getCheckboxLabelBytes() {
java.lang.Object ref = checkboxLabel_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
checkboxLabel_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string checkbox_label = 5;
*/
public Builder setCheckboxLabel(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
checkboxLabel_ = value;
onChanged();
return this;
}
/**
* string checkbox_label = 5;
*/
public Builder clearCheckboxLabel() {
checkboxLabel_ = getDefaultInstance().getCheckboxLabel();
onChanged();
return this;
}
/**
* string checkbox_label = 5;
*/
public Builder setCheckboxLabelBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
checkboxLabel_ = value;
onChanged();
return this;
}
private java.lang.Object description_ = "";
/**
* string description = 6;
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs =
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 6;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 6;
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 6;
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 6;
*/
public Builder setDescriptionBytes(
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public PluginProperty parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new PluginProperty(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.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 CONFIG_READ_ONLY_FIELD_NUMBER = 18;
private boolean configReadOnly_;
/**
*
* only used when sending to central and storing in central
*
*
* bool config_read_only = 18;
*/
public boolean getConfigReadOnly() {
return configReadOnly_;
}
public static final int GENERAL_CONFIG_FIELD_NUMBER = 16;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig generalConfig_;
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public boolean hasGeneralConfig() {
return generalConfig_ != null;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getGeneralConfig() {
return generalConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.getDefaultInstance() : generalConfig_;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder getGeneralConfigOrBuilder() {
return getGeneralConfig();
}
public static final int TRANSACTION_CONFIG_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig transactionConfig_;
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
public boolean hasTransactionConfig() {
return transactionConfig_ != null;
}
/**
* .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_;
}
/**
* .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 JVM_CONFIG_FIELD_NUMBER = 17;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig jvmConfig_;
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public boolean hasJvmConfig() {
return jvmConfig_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getJvmConfig() {
return jvmConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.getDefaultInstance() : jvmConfig_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder getJvmConfigOrBuilder() {
return getJvmConfig();
}
public static final int UI_DEFAULTS_CONFIG_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig uiDefaultsConfig_;
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public boolean hasUiDefaultsConfig() {
return uiDefaultsConfig_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getUiDefaultsConfig() {
return uiDefaultsConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.getDefaultInstance() : uiDefaultsConfig_;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder getUiDefaultsConfigOrBuilder() {
return getUiDefaultsConfig();
}
public static final int ADVANCED_CONFIG_FIELD_NUMBER = 5;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig advancedConfig_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
*/
public boolean hasAdvancedConfig() {
return advancedConfig_ != null;
}
/**
* .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_;
}
/**
* .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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder>
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 SYNTHETIC_MONITOR_CONFIG_FIELD_NUMBER = 14;
private java.util.List syntheticMonitorConfig_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public java.util.List getSyntheticMonitorConfigList() {
return syntheticMonitorConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder>
getSyntheticMonitorConfigOrBuilderList() {
return syntheticMonitorConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public int getSyntheticMonitorConfigCount() {
return syntheticMonitorConfig_.size();
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getSyntheticMonitorConfig(int index) {
return syntheticMonitorConfig_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder getSyntheticMonitorConfigOrBuilder(
int index) {
return syntheticMonitorConfig_.get(index);
}
public static final int OLD_ALERT_CONFIG_FIELD_NUMBER = 11;
private java.util.List oldAlertConfig_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public java.util.List getOldAlertConfigList() {
return oldAlertConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder>
getOldAlertConfigOrBuilderList() {
return oldAlertConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public int getOldAlertConfigCount() {
return oldAlertConfig_.size();
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getOldAlertConfig(int index) {
return oldAlertConfig_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder getOldAlertConfigOrBuilder(
int index) {
return oldAlertConfig_.get(index);
}
public static final int ALERT_CONFIG_FIELD_NUMBER = 15;
private java.util.List alertConfig_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
public java.util.List getAlertConfigList() {
return alertConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AlertConfigOrBuilder>
getAlertConfigOrBuilderList() {
return alertConfig_;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
public int getAlertConfigCount() {
return alertConfig_.size();
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.AlertConfig alert_config = 15;
*/
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 = 15;
*/
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.PluginConfigOrBuilder>
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.InstrumentationConfigOrBuilder>
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.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (transactionConfig_ != null) {
output.writeMessage(2, getTransactionConfig());
}
if (uiDefaultsConfig_ != null) {
output.writeMessage(3, getUiDefaultsConfig());
}
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 < oldAlertConfig_.size(); i++) {
output.writeMessage(11, oldAlertConfig_.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));
}
for (int i = 0; i < syntheticMonitorConfig_.size(); i++) {
output.writeMessage(14, syntheticMonitorConfig_.get(i));
}
for (int i = 0; i < alertConfig_.size(); i++) {
output.writeMessage(15, alertConfig_.get(i));
}
if (generalConfig_ != null) {
output.writeMessage(16, getGeneralConfig());
}
if (jvmConfig_ != null) {
output.writeMessage(17, getJvmConfig());
}
if (configReadOnly_ != false) {
output.writeBool(18, configReadOnly_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (transactionConfig_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTransactionConfig());
}
if (uiDefaultsConfig_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getUiDefaultsConfig());
}
if (advancedConfig_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getAdvancedConfig());
}
for (int i = 0; i < gaugeConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(10, gaugeConfig_.get(i));
}
for (int i = 0; i < oldAlertConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(11, oldAlertConfig_.get(i));
}
for (int i = 0; i < pluginConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(12, pluginConfig_.get(i));
}
for (int i = 0; i < instrumentationConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(13, instrumentationConfig_.get(i));
}
for (int i = 0; i < syntheticMonitorConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(14, syntheticMonitorConfig_.get(i));
}
for (int i = 0; i < alertConfig_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(15, alertConfig_.get(i));
}
if (generalConfig_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getGeneralConfig());
}
if (jvmConfig_ != null) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getJvmConfig());
}
if (configReadOnly_ != false) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeBoolSize(18, configReadOnly_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig other = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig) obj;
boolean result = true;
result = result && (getConfigReadOnly()
== other.getConfigReadOnly());
result = result && (hasGeneralConfig() == other.hasGeneralConfig());
if (hasGeneralConfig()) {
result = result && getGeneralConfig()
.equals(other.getGeneralConfig());
}
result = result && (hasTransactionConfig() == other.hasTransactionConfig());
if (hasTransactionConfig()) {
result = result && getTransactionConfig()
.equals(other.getTransactionConfig());
}
result = result && (hasJvmConfig() == other.hasJvmConfig());
if (hasJvmConfig()) {
result = result && getJvmConfig()
.equals(other.getJvmConfig());
}
result = result && (hasUiDefaultsConfig() == other.hasUiDefaultsConfig());
if (hasUiDefaultsConfig()) {
result = result && getUiDefaultsConfig()
.equals(other.getUiDefaultsConfig());
}
result = result && (hasAdvancedConfig() == other.hasAdvancedConfig());
if (hasAdvancedConfig()) {
result = result && getAdvancedConfig()
.equals(other.getAdvancedConfig());
}
result = result && getGaugeConfigList()
.equals(other.getGaugeConfigList());
result = result && getSyntheticMonitorConfigList()
.equals(other.getSyntheticMonitorConfigList());
result = result && getOldAlertConfigList()
.equals(other.getOldAlertConfigList());
result = result && getAlertConfigList()
.equals(other.getAlertConfigList());
result = result && getPluginConfigList()
.equals(other.getPluginConfigList());
result = result && getInstrumentationConfigList()
.equals(other.getInstrumentationConfigList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + CONFIG_READ_ONLY_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean(
getConfigReadOnly());
if (hasGeneralConfig()) {
hash = (37 * hash) + GENERAL_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getGeneralConfig().hashCode();
}
if (hasTransactionConfig()) {
hash = (37 * hash) + TRANSACTION_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getTransactionConfig().hashCode();
}
if (hasJvmConfig()) {
hash = (37 * hash) + JVM_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getJvmConfig().hashCode();
}
if (hasUiDefaultsConfig()) {
hash = (37 * hash) + UI_DEFAULTS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getUiDefaultsConfig().hashCode();
}
if (hasAdvancedConfig()) {
hash = (37 * hash) + ADVANCED_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getAdvancedConfig().hashCode();
}
if (getGaugeConfigCount() > 0) {
hash = (37 * hash) + GAUGE_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getGaugeConfigList().hashCode();
}
if (getSyntheticMonitorConfigCount() > 0) {
hash = (37 * hash) + SYNTHETIC_MONITOR_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getSyntheticMonitorConfigList().hashCode();
}
if (getOldAlertConfigCount() > 0) {
hash = (37 * hash) + OLD_ALERT_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getOldAlertConfigList().hashCode();
}
if (getAlertConfigCount() > 0) {
hash = (37 * hash) + ALERT_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getAlertConfigList().hashCode();
}
if (getPluginConfigCount() > 0) {
hash = (37 * hash) + PLUGIN_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getPluginConfigList().hashCode();
}
if (getInstrumentationConfigCount() > 0) {
hash = (37 * hash) + INSTRUMENTATION_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getInstrumentationConfigList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.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 org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getGaugeConfigFieldBuilder();
getSyntheticMonitorConfigFieldBuilder();
getOldAlertConfigFieldBuilder();
getAlertConfigFieldBuilder();
getPluginConfigFieldBuilder();
getInstrumentationConfigFieldBuilder();
}
}
public Builder clear() {
super.clear();
configReadOnly_ = false;
if (generalConfigBuilder_ == null) {
generalConfig_ = null;
} else {
generalConfig_ = null;
generalConfigBuilder_ = null;
}
if (transactionConfigBuilder_ == null) {
transactionConfig_ = null;
} else {
transactionConfig_ = null;
transactionConfigBuilder_ = null;
}
if (jvmConfigBuilder_ == null) {
jvmConfig_ = null;
} else {
jvmConfig_ = null;
jvmConfigBuilder_ = null;
}
if (uiDefaultsConfigBuilder_ == null) {
uiDefaultsConfig_ = null;
} else {
uiDefaultsConfig_ = null;
uiDefaultsConfigBuilder_ = null;
}
if (advancedConfigBuilder_ == null) {
advancedConfig_ = null;
} else {
advancedConfig_ = null;
advancedConfigBuilder_ = null;
}
if (gaugeConfigBuilder_ == null) {
gaugeConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
gaugeConfigBuilder_.clear();
}
if (syntheticMonitorConfigBuilder_ == null) {
syntheticMonitorConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
} else {
syntheticMonitorConfigBuilder_.clear();
}
if (oldAlertConfigBuilder_ == null) {
oldAlertConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
oldAlertConfigBuilder_.clear();
}
if (alertConfigBuilder_ == null) {
alertConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
alertConfigBuilder_.clear();
}
if (pluginConfigBuilder_ == null) {
pluginConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
} else {
pluginConfigBuilder_.clear();
}
if (instrumentationConfigBuilder_ == null) {
instrumentationConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
instrumentationConfigBuilder_.clear();
}
return this;
}
public org.glowroot.agent.it.harness.shaded.com.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.configReadOnly_ = configReadOnly_;
if (generalConfigBuilder_ == null) {
result.generalConfig_ = generalConfig_;
} else {
result.generalConfig_ = generalConfigBuilder_.build();
}
if (transactionConfigBuilder_ == null) {
result.transactionConfig_ = transactionConfig_;
} else {
result.transactionConfig_ = transactionConfigBuilder_.build();
}
if (jvmConfigBuilder_ == null) {
result.jvmConfig_ = jvmConfig_;
} else {
result.jvmConfig_ = jvmConfigBuilder_.build();
}
if (uiDefaultsConfigBuilder_ == null) {
result.uiDefaultsConfig_ = uiDefaultsConfig_;
} else {
result.uiDefaultsConfig_ = uiDefaultsConfigBuilder_.build();
}
if (advancedConfigBuilder_ == null) {
result.advancedConfig_ = advancedConfig_;
} else {
result.advancedConfig_ = advancedConfigBuilder_.build();
}
if (gaugeConfigBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
gaugeConfig_ = java.util.Collections.unmodifiableList(gaugeConfig_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.gaugeConfig_ = gaugeConfig_;
} else {
result.gaugeConfig_ = gaugeConfigBuilder_.build();
}
if (syntheticMonitorConfigBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080)) {
syntheticMonitorConfig_ = java.util.Collections.unmodifiableList(syntheticMonitorConfig_);
bitField0_ = (bitField0_ & ~0x00000080);
}
result.syntheticMonitorConfig_ = syntheticMonitorConfig_;
} else {
result.syntheticMonitorConfig_ = syntheticMonitorConfigBuilder_.build();
}
if (oldAlertConfigBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
oldAlertConfig_ = java.util.Collections.unmodifiableList(oldAlertConfig_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.oldAlertConfig_ = oldAlertConfig_;
} else {
result.oldAlertConfig_ = oldAlertConfigBuilder_.build();
}
if (alertConfigBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
alertConfig_ = java.util.Collections.unmodifiableList(alertConfig_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.alertConfig_ = alertConfig_;
} else {
result.alertConfig_ = alertConfigBuilder_.build();
}
if (pluginConfigBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400)) {
pluginConfig_ = java.util.Collections.unmodifiableList(pluginConfig_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.pluginConfig_ = pluginConfig_;
} else {
result.pluginConfig_ = pluginConfigBuilder_.build();
}
if (instrumentationConfigBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
instrumentationConfig_ = java.util.Collections.unmodifiableList(instrumentationConfig_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.instrumentationConfig_ = instrumentationConfig_;
} else {
result.instrumentationConfig_ = instrumentationConfigBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.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.getConfigReadOnly() != false) {
setConfigReadOnly(other.getConfigReadOnly());
}
if (other.hasGeneralConfig()) {
mergeGeneralConfig(other.getGeneralConfig());
}
if (other.hasTransactionConfig()) {
mergeTransactionConfig(other.getTransactionConfig());
}
if (other.hasJvmConfig()) {
mergeJvmConfig(other.getJvmConfig());
}
if (other.hasUiDefaultsConfig()) {
mergeUiDefaultsConfig(other.getUiDefaultsConfig());
}
if (other.hasAdvancedConfig()) {
mergeAdvancedConfig(other.getAdvancedConfig());
}
if (gaugeConfigBuilder_ == null) {
if (!other.gaugeConfig_.isEmpty()) {
if (gaugeConfig_.isEmpty()) {
gaugeConfig_ = other.gaugeConfig_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureGaugeConfigIsMutable();
gaugeConfig_.addAll(other.gaugeConfig_);
}
onChanged();
}
} else {
if (!other.gaugeConfig_.isEmpty()) {
if (gaugeConfigBuilder_.isEmpty()) {
gaugeConfigBuilder_.dispose();
gaugeConfigBuilder_ = null;
gaugeConfig_ = other.gaugeConfig_;
bitField0_ = (bitField0_ & ~0x00000040);
gaugeConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGaugeConfigFieldBuilder() : null;
} else {
gaugeConfigBuilder_.addAllMessages(other.gaugeConfig_);
}
}
}
if (syntheticMonitorConfigBuilder_ == null) {
if (!other.syntheticMonitorConfig_.isEmpty()) {
if (syntheticMonitorConfig_.isEmpty()) {
syntheticMonitorConfig_ = other.syntheticMonitorConfig_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.addAll(other.syntheticMonitorConfig_);
}
onChanged();
}
} else {
if (!other.syntheticMonitorConfig_.isEmpty()) {
if (syntheticMonitorConfigBuilder_.isEmpty()) {
syntheticMonitorConfigBuilder_.dispose();
syntheticMonitorConfigBuilder_ = null;
syntheticMonitorConfig_ = other.syntheticMonitorConfig_;
bitField0_ = (bitField0_ & ~0x00000080);
syntheticMonitorConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSyntheticMonitorConfigFieldBuilder() : null;
} else {
syntheticMonitorConfigBuilder_.addAllMessages(other.syntheticMonitorConfig_);
}
}
}
if (oldAlertConfigBuilder_ == null) {
if (!other.oldAlertConfig_.isEmpty()) {
if (oldAlertConfig_.isEmpty()) {
oldAlertConfig_ = other.oldAlertConfig_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureOldAlertConfigIsMutable();
oldAlertConfig_.addAll(other.oldAlertConfig_);
}
onChanged();
}
} else {
if (!other.oldAlertConfig_.isEmpty()) {
if (oldAlertConfigBuilder_.isEmpty()) {
oldAlertConfigBuilder_.dispose();
oldAlertConfigBuilder_ = null;
oldAlertConfig_ = other.oldAlertConfig_;
bitField0_ = (bitField0_ & ~0x00000100);
oldAlertConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOldAlertConfigFieldBuilder() : null;
} else {
oldAlertConfigBuilder_.addAllMessages(other.oldAlertConfig_);
}
}
}
if (alertConfigBuilder_ == null) {
if (!other.alertConfig_.isEmpty()) {
if (alertConfig_.isEmpty()) {
alertConfig_ = other.alertConfig_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureAlertConfigIsMutable();
alertConfig_.addAll(other.alertConfig_);
}
onChanged();
}
} else {
if (!other.alertConfig_.isEmpty()) {
if (alertConfigBuilder_.isEmpty()) {
alertConfigBuilder_.dispose();
alertConfigBuilder_ = null;
alertConfig_ = other.alertConfig_;
bitField0_ = (bitField0_ & ~0x00000200);
alertConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAlertConfigFieldBuilder() : null;
} else {
alertConfigBuilder_.addAllMessages(other.alertConfig_);
}
}
}
if (pluginConfigBuilder_ == null) {
if (!other.pluginConfig_.isEmpty()) {
if (pluginConfig_.isEmpty()) {
pluginConfig_ = other.pluginConfig_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensurePluginConfigIsMutable();
pluginConfig_.addAll(other.pluginConfig_);
}
onChanged();
}
} else {
if (!other.pluginConfig_.isEmpty()) {
if (pluginConfigBuilder_.isEmpty()) {
pluginConfigBuilder_.dispose();
pluginConfigBuilder_ = null;
pluginConfig_ = other.pluginConfig_;
bitField0_ = (bitField0_ & ~0x00000400);
pluginConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPluginConfigFieldBuilder() : null;
} else {
pluginConfigBuilder_.addAllMessages(other.pluginConfig_);
}
}
}
if (instrumentationConfigBuilder_ == null) {
if (!other.instrumentationConfig_.isEmpty()) {
if (instrumentationConfig_.isEmpty()) {
instrumentationConfig_ = other.instrumentationConfig_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureInstrumentationConfigIsMutable();
instrumentationConfig_.addAll(other.instrumentationConfig_);
}
onChanged();
}
} else {
if (!other.instrumentationConfig_.isEmpty()) {
if (instrumentationConfigBuilder_.isEmpty()) {
instrumentationConfigBuilder_.dispose();
instrumentationConfigBuilder_ = null;
instrumentationConfig_ = other.instrumentationConfig_;
bitField0_ = (bitField0_ & ~0x00000800);
instrumentationConfigBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getInstrumentationConfigFieldBuilder() : null;
} else {
instrumentationConfigBuilder_.addAllMessages(other.instrumentationConfig_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean configReadOnly_ ;
/**
*
* only used when sending to central and storing in central
*
*
* bool config_read_only = 18;
*/
public boolean getConfigReadOnly() {
return configReadOnly_;
}
/**
*
* only used when sending to central and storing in central
*
*
* bool config_read_only = 18;
*/
public Builder setConfigReadOnly(boolean value) {
configReadOnly_ = value;
onChanged();
return this;
}
/**
*
* only used when sending to central and storing in central
*
*
* bool config_read_only = 18;
*/
public Builder clearConfigReadOnly() {
configReadOnly_ = false;
onChanged();
return this;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig generalConfig_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder> generalConfigBuilder_;
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public boolean hasGeneralConfig() {
return generalConfigBuilder_ != null || generalConfig_ != null;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig getGeneralConfig() {
if (generalConfigBuilder_ == null) {
return generalConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.getDefaultInstance() : generalConfig_;
} else {
return generalConfigBuilder_.getMessage();
}
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public Builder setGeneralConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig value) {
if (generalConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
generalConfig_ = value;
onChanged();
} else {
generalConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public Builder setGeneralConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder builderForValue) {
if (generalConfigBuilder_ == null) {
generalConfig_ = builderForValue.build();
onChanged();
} else {
generalConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public Builder mergeGeneralConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig value) {
if (generalConfigBuilder_ == null) {
if (generalConfig_ != null) {
generalConfig_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.newBuilder(generalConfig_).mergeFrom(value).buildPartial();
} else {
generalConfig_ = value;
}
onChanged();
} else {
generalConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public Builder clearGeneralConfig() {
if (generalConfigBuilder_ == null) {
generalConfig_ = null;
onChanged();
} else {
generalConfig_ = null;
generalConfigBuilder_ = null;
}
return this;
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder getGeneralConfigBuilder() {
onChanged();
return getGeneralConfigFieldBuilder().getBuilder();
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder getGeneralConfigOrBuilder() {
if (generalConfigBuilder_ != null) {
return generalConfigBuilder_.getMessageOrBuilder();
} else {
return generalConfig_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.getDefaultInstance() : generalConfig_;
}
}
/**
*
* only stored in central
*
*
* .org_glowroot_wire_api_model.AgentConfig.GeneralConfig general_config = 16;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder>
getGeneralConfigFieldBuilder() {
if (generalConfigBuilder_ == null) {
generalConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GeneralConfigOrBuilder>(
getGeneralConfig(),
getParentForChildren(),
isClean());
generalConfig_ = null;
}
return generalConfigBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.TransactionConfig transactionConfig_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_;
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
public boolean hasTransactionConfig() {
return transactionConfigBuilder_ != null || transactionConfig_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.TransactionConfig transaction_config = 2;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.JvmConfig jvmConfig_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder> jvmConfigBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public boolean hasJvmConfig() {
return jvmConfigBuilder_ != null || jvmConfig_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig getJvmConfig() {
if (jvmConfigBuilder_ == null) {
return jvmConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.getDefaultInstance() : jvmConfig_;
} else {
return jvmConfigBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public Builder setJvmConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig value) {
if (jvmConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
jvmConfig_ = value;
onChanged();
} else {
jvmConfigBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public Builder setJvmConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder builderForValue) {
if (jvmConfigBuilder_ == null) {
jvmConfig_ = builderForValue.build();
onChanged();
} else {
jvmConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public Builder mergeJvmConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig value) {
if (jvmConfigBuilder_ == null) {
if (jvmConfig_ != null) {
jvmConfig_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.newBuilder(jvmConfig_).mergeFrom(value).buildPartial();
} else {
jvmConfig_ = value;
}
onChanged();
} else {
jvmConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public Builder clearJvmConfig() {
if (jvmConfigBuilder_ == null) {
jvmConfig_ = null;
onChanged();
} else {
jvmConfig_ = null;
jvmConfigBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder getJvmConfigBuilder() {
onChanged();
return getJvmConfigFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder getJvmConfigOrBuilder() {
if (jvmConfigBuilder_ != null) {
return jvmConfigBuilder_.getMessageOrBuilder();
} else {
return jvmConfig_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.getDefaultInstance() : jvmConfig_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.JvmConfig jvm_config = 17;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder>
getJvmConfigFieldBuilder() {
if (jvmConfigBuilder_ == null) {
jvmConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.JvmConfigOrBuilder>(
getJvmConfig(),
getParentForChildren(),
isClean());
jvmConfig_ = null;
}
return jvmConfigBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig uiDefaultsConfig_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder> uiDefaultsConfigBuilder_;
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public boolean hasUiDefaultsConfig() {
return uiDefaultsConfigBuilder_ != null || uiDefaultsConfig_ != null;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig getUiDefaultsConfig() {
if (uiDefaultsConfigBuilder_ == null) {
return uiDefaultsConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.getDefaultInstance() : uiDefaultsConfig_;
} else {
return uiDefaultsConfigBuilder_.getMessage();
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public Builder setUiDefaultsConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig value) {
if (uiDefaultsConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
uiDefaultsConfig_ = value;
onChanged();
} else {
uiDefaultsConfigBuilder_.setMessage(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public Builder setUiDefaultsConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder builderForValue) {
if (uiDefaultsConfigBuilder_ == null) {
uiDefaultsConfig_ = builderForValue.build();
onChanged();
} else {
uiDefaultsConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public Builder mergeUiDefaultsConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig value) {
if (uiDefaultsConfigBuilder_ == null) {
if (uiDefaultsConfig_ != null) {
uiDefaultsConfig_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.newBuilder(uiDefaultsConfig_).mergeFrom(value).buildPartial();
} else {
uiDefaultsConfig_ = value;
}
onChanged();
} else {
uiDefaultsConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public Builder clearUiDefaultsConfig() {
if (uiDefaultsConfigBuilder_ == null) {
uiDefaultsConfig_ = null;
onChanged();
} else {
uiDefaultsConfig_ = null;
uiDefaultsConfigBuilder_ = null;
}
return this;
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder getUiDefaultsConfigBuilder() {
onChanged();
return getUiDefaultsConfigFieldBuilder().getBuilder();
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder getUiDefaultsConfigOrBuilder() {
if (uiDefaultsConfigBuilder_ != null) {
return uiDefaultsConfigBuilder_.getMessageOrBuilder();
} else {
return uiDefaultsConfig_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.getDefaultInstance() : uiDefaultsConfig_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.UiDefaultsConfig ui_defaults_config = 3;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder>
getUiDefaultsConfigFieldBuilder() {
if (uiDefaultsConfigBuilder_ == null) {
uiDefaultsConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.UiDefaultsConfigOrBuilder>(
getUiDefaultsConfig(),
getParentForChildren(),
isClean());
uiDefaultsConfig_ = null;
}
return uiDefaultsConfigBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.AdvancedConfig advancedConfig_ = null;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_;
/**
* .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
*/
public boolean hasAdvancedConfig() {
return advancedConfigBuilder_ != null || advancedConfig_ != null;
}
/**
* .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();
}
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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;
}
/**
* .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();
}
/**
* .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_;
}
}
/**
* .org_glowroot_wire_api_model.AgentConfig.AdvancedConfig advanced_config = 5;
*/
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3<
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_ & 0x00000040) == 0x00000040)) {
gaugeConfig_ = new java.util.ArrayList(gaugeConfig_);
bitField0_ |= 0x00000040;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfig> values) {
if (gaugeConfigBuilder_ == null) {
ensureGaugeConfigIsMutable();
org.glowroot.agent.it.harness.shaded.com.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_ & ~0x00000040);
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 extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.GaugeConfigOrBuilder>
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
gaugeConfig_ = null;
}
return gaugeConfigBuilder_;
}
private java.util.List syntheticMonitorConfig_ =
java.util.Collections.emptyList();
private void ensureSyntheticMonitorConfigIsMutable() {
if (!((bitField0_ & 0x00000080) == 0x00000080)) {
syntheticMonitorConfig_ = new java.util.ArrayList(syntheticMonitorConfig_);
bitField0_ |= 0x00000080;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder> syntheticMonitorConfigBuilder_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public java.util.List getSyntheticMonitorConfigList() {
if (syntheticMonitorConfigBuilder_ == null) {
return java.util.Collections.unmodifiableList(syntheticMonitorConfig_);
} else {
return syntheticMonitorConfigBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public int getSyntheticMonitorConfigCount() {
if (syntheticMonitorConfigBuilder_ == null) {
return syntheticMonitorConfig_.size();
} else {
return syntheticMonitorConfigBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig getSyntheticMonitorConfig(int index) {
if (syntheticMonitorConfigBuilder_ == null) {
return syntheticMonitorConfig_.get(index);
} else {
return syntheticMonitorConfigBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder setSyntheticMonitorConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig value) {
if (syntheticMonitorConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.set(index, value);
onChanged();
} else {
syntheticMonitorConfigBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder setSyntheticMonitorConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder builderForValue) {
if (syntheticMonitorConfigBuilder_ == null) {
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.set(index, builderForValue.build());
onChanged();
} else {
syntheticMonitorConfigBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder addSyntheticMonitorConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig value) {
if (syntheticMonitorConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.add(value);
onChanged();
} else {
syntheticMonitorConfigBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder addSyntheticMonitorConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig value) {
if (syntheticMonitorConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.add(index, value);
onChanged();
} else {
syntheticMonitorConfigBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder addSyntheticMonitorConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder builderForValue) {
if (syntheticMonitorConfigBuilder_ == null) {
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.add(builderForValue.build());
onChanged();
} else {
syntheticMonitorConfigBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder addSyntheticMonitorConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder builderForValue) {
if (syntheticMonitorConfigBuilder_ == null) {
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.add(index, builderForValue.build());
onChanged();
} else {
syntheticMonitorConfigBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder addAllSyntheticMonitorConfig(
java.lang.Iterable extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig> values) {
if (syntheticMonitorConfigBuilder_ == null) {
ensureSyntheticMonitorConfigIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, syntheticMonitorConfig_);
onChanged();
} else {
syntheticMonitorConfigBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder clearSyntheticMonitorConfig() {
if (syntheticMonitorConfigBuilder_ == null) {
syntheticMonitorConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
syntheticMonitorConfigBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public Builder removeSyntheticMonitorConfig(int index) {
if (syntheticMonitorConfigBuilder_ == null) {
ensureSyntheticMonitorConfigIsMutable();
syntheticMonitorConfig_.remove(index);
onChanged();
} else {
syntheticMonitorConfigBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder getSyntheticMonitorConfigBuilder(
int index) {
return getSyntheticMonitorConfigFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder getSyntheticMonitorConfigOrBuilder(
int index) {
if (syntheticMonitorConfigBuilder_ == null) {
return syntheticMonitorConfig_.get(index); } else {
return syntheticMonitorConfigBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder>
getSyntheticMonitorConfigOrBuilderList() {
if (syntheticMonitorConfigBuilder_ != null) {
return syntheticMonitorConfigBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(syntheticMonitorConfig_);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder addSyntheticMonitorConfigBuilder() {
return getSyntheticMonitorConfigFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder addSyntheticMonitorConfigBuilder(
int index) {
return getSyntheticMonitorConfigFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.SyntheticMonitorConfig synthetic_monitor_config = 14;
*/
public java.util.List
getSyntheticMonitorConfigBuilderList() {
return getSyntheticMonitorConfigFieldBuilder().getBuilderList();
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder>
getSyntheticMonitorConfigFieldBuilder() {
if (syntheticMonitorConfigBuilder_ == null) {
syntheticMonitorConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.SyntheticMonitorConfigOrBuilder>(
syntheticMonitorConfig_,
((bitField0_ & 0x00000080) == 0x00000080),
getParentForChildren(),
isClean());
syntheticMonitorConfig_ = null;
}
return syntheticMonitorConfigBuilder_;
}
private java.util.List oldAlertConfig_ =
java.util.Collections.emptyList();
private void ensureOldAlertConfigIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
oldAlertConfig_ = new java.util.ArrayList(oldAlertConfig_);
bitField0_ |= 0x00000100;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder> oldAlertConfigBuilder_;
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public java.util.List getOldAlertConfigList() {
if (oldAlertConfigBuilder_ == null) {
return java.util.Collections.unmodifiableList(oldAlertConfig_);
} else {
return oldAlertConfigBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public int getOldAlertConfigCount() {
if (oldAlertConfigBuilder_ == null) {
return oldAlertConfig_.size();
} else {
return oldAlertConfigBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig getOldAlertConfig(int index) {
if (oldAlertConfigBuilder_ == null) {
return oldAlertConfig_.get(index);
} else {
return oldAlertConfigBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder setOldAlertConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig value) {
if (oldAlertConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOldAlertConfigIsMutable();
oldAlertConfig_.set(index, value);
onChanged();
} else {
oldAlertConfigBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder setOldAlertConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder builderForValue) {
if (oldAlertConfigBuilder_ == null) {
ensureOldAlertConfigIsMutable();
oldAlertConfig_.set(index, builderForValue.build());
onChanged();
} else {
oldAlertConfigBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder addOldAlertConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig value) {
if (oldAlertConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOldAlertConfigIsMutable();
oldAlertConfig_.add(value);
onChanged();
} else {
oldAlertConfigBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder addOldAlertConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig value) {
if (oldAlertConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOldAlertConfigIsMutable();
oldAlertConfig_.add(index, value);
onChanged();
} else {
oldAlertConfigBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder addOldAlertConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder builderForValue) {
if (oldAlertConfigBuilder_ == null) {
ensureOldAlertConfigIsMutable();
oldAlertConfig_.add(builderForValue.build());
onChanged();
} else {
oldAlertConfigBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder addOldAlertConfig(
int index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder builderForValue) {
if (oldAlertConfigBuilder_ == null) {
ensureOldAlertConfigIsMutable();
oldAlertConfig_.add(index, builderForValue.build());
onChanged();
} else {
oldAlertConfigBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder addAllOldAlertConfig(
java.lang.Iterable extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig> values) {
if (oldAlertConfigBuilder_ == null) {
ensureOldAlertConfigIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, oldAlertConfig_);
onChanged();
} else {
oldAlertConfigBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder clearOldAlertConfig() {
if (oldAlertConfigBuilder_ == null) {
oldAlertConfig_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
oldAlertConfigBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public Builder removeOldAlertConfig(int index) {
if (oldAlertConfigBuilder_ == null) {
ensureOldAlertConfigIsMutable();
oldAlertConfig_.remove(index);
onChanged();
} else {
oldAlertConfigBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder getOldAlertConfigBuilder(
int index) {
return getOldAlertConfigFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder getOldAlertConfigOrBuilder(
int index) {
if (oldAlertConfigBuilder_ == null) {
return oldAlertConfig_.get(index); } else {
return oldAlertConfigBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public java.util.List extends org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder>
getOldAlertConfigOrBuilderList() {
if (oldAlertConfigBuilder_ != null) {
return oldAlertConfigBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(oldAlertConfig_);
}
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder addOldAlertConfigBuilder() {
return getOldAlertConfigFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder addOldAlertConfigBuilder(
int index) {
return getOldAlertConfigFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AgentConfig.OldAlertConfig old_alert_config = 11;
*/
public java.util.List
getOldAlertConfigBuilderList() {
return getOldAlertConfigFieldBuilder().getBuilderList();
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder>
getOldAlertConfigFieldBuilder() {
if (oldAlertConfigBuilder_ == null) {
oldAlertConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.OldAlertConfigOrBuilder>(
oldAlertConfig_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
oldAlertConfig_ = null;
}
return oldAlertConfigBuilder_;
}
private java.util.List alertConfig_ =
java.util.Collections.emptyList();
private void ensureAlertConfigIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
alertConfig_ = new java.util.ArrayList(alertConfig_);
bitField0_ |= 0x00000200;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
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_;
/**
*