
org.glowroot.wire.api.model.AggregateOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Aggregate.proto
package org.glowroot.wire.api.model;
public final class AggregateOuterClass {
private AggregateOuterClass() {}
public static void registerAllExtensions(
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry registry) {
}
public interface OverallAggregateOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OverallAggregate)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string transaction_type = 1;
*/
java.lang.String getTransactionType();
/**
* optional string transaction_type = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
boolean hasAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.OverallAggregate}
*/
public static final class OverallAggregate extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OverallAggregate)
OverallAggregateOrBuilder {
// Use OverallAggregate.newBuilder() to construct.
private OverallAggregate(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private OverallAggregate() {
transactionType_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private OverallAggregate(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
transactionType_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder subBuilder = null;
if (aggregate_ != null) {
subBuilder = aggregate_.toBuilder();
}
aggregate_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(aggregate_);
aggregate_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_OverallAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder.class);
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object transactionType_;
/**
* optional 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.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* optional string transaction_type = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int AGGREGATE_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_;
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public boolean hasAggregate() {
return aggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() {
return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() {
return getAggregate();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, transactionType_);
}
if (aggregate_ != null) {
output.writeMessage(2, getAggregate());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, transactionType_);
}
if (aggregate_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAggregate());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.OverallAggregate}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.OverallAggregate)
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_OverallAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
transactionType_ = "";
if (aggregateBuilder_ == null) {
aggregate_ = null;
} else {
aggregate_ = null;
aggregateBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate build() {
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate result = new org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate(this);
result.transactionType_ = transactionType_;
if (aggregateBuilder_ == null) {
result.aggregate_ = aggregate_;
} else {
result.aggregate_ = aggregateBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.getDefaultInstance()) return this;
if (!other.getTransactionType().isEmpty()) {
transactionType_ = other.transactionType_;
onChanged();
}
if (other.hasAggregate()) {
mergeAggregate(other.getAggregate());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object transactionType_ = "";
/**
* optional string transaction_type = 1;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string transaction_type = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string transaction_type = 1;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* optional string transaction_type = 1;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* optional string transaction_type = 1;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionType_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> aggregateBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public boolean hasAggregate() {
return aggregateBuilder_ != null || aggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() {
if (aggregateBuilder_ == null) {
return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
} else {
return aggregateBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public Builder setAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (aggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aggregate_ = value;
onChanged();
} else {
aggregateBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public Builder setAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder builderForValue) {
if (aggregateBuilder_ == null) {
aggregate_ = builderForValue.build();
onChanged();
} else {
aggregateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public Builder mergeAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (aggregateBuilder_ == null) {
if (aggregate_ != null) {
aggregate_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder(aggregate_).mergeFrom(value).buildPartial();
} else {
aggregate_ = value;
}
onChanged();
} else {
aggregateBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public Builder clearAggregate() {
if (aggregateBuilder_ == null) {
aggregate_ = null;
onChanged();
} else {
aggregate_ = null;
aggregateBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder getAggregateBuilder() {
onChanged();
return getAggregateFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() {
if (aggregateBuilder_ != null) {
return aggregateBuilder_.getMessageOrBuilder();
} else {
return aggregate_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>
getAggregateFieldBuilder() {
if (aggregateBuilder_ == null) {
aggregateBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>(
getAggregate(),
getParentForChildren(),
isClean());
aggregate_ = null;
}
return aggregateBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.OverallAggregate)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OverallAggregate)
private static final org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public OverallAggregate parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new OverallAggregate(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TransactionAggregateOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TransactionAggregate)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string transaction_type = 1;
*/
java.lang.String getTransactionType();
/**
* optional string transaction_type = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes();
/**
* optional string transaction_name = 2;
*/
java.lang.String getTransactionName();
/**
* optional string transaction_name = 2;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionNameBytes();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
boolean hasAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.TransactionAggregate}
*/
public static final class TransactionAggregate extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TransactionAggregate)
TransactionAggregateOrBuilder {
// Use TransactionAggregate.newBuilder() to construct.
private TransactionAggregate(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private TransactionAggregate() {
transactionType_ = "";
transactionName_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private TransactionAggregate(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
transactionType_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
transactionName_ = s;
break;
}
case 26: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder subBuilder = null;
if (aggregate_ != null) {
subBuilder = aggregate_.toBuilder();
}
aggregate_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(aggregate_);
aggregate_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_TransactionAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder.class);
}
public static final int TRANSACTION_TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object transactionType_;
/**
* optional 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.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
}
}
/**
* optional string transaction_type = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int TRANSACTION_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object transactionName_;
/**
* optional 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.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
}
}
/**
* optional string transaction_name = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int AGGREGATE_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_;
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public boolean hasAggregate() {
return aggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() {
return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() {
return getAggregate();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, transactionName_);
}
if (aggregate_ != null) {
output.writeMessage(3, getAggregate());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTransactionTypeBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, transactionType_);
}
if (!getTransactionNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, transactionName_);
}
if (aggregate_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, getAggregate());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.TransactionAggregate}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.TransactionAggregate)
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_TransactionAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
transactionType_ = "";
transactionName_ = "";
if (aggregateBuilder_ == null) {
aggregate_ = null;
} else {
aggregate_ = null;
aggregateBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate build() {
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate result = new org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate(this);
result.transactionType_ = transactionType_;
result.transactionName_ = transactionName_;
if (aggregateBuilder_ == null) {
result.aggregate_ = aggregate_;
} else {
result.aggregate_ = aggregateBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance()) return this;
if (!other.getTransactionType().isEmpty()) {
transactionType_ = other.transactionType_;
onChanged();
}
if (!other.getTransactionName().isEmpty()) {
transactionName_ = other.transactionName_;
onChanged();
}
if (other.hasAggregate()) {
mergeAggregate(other.getAggregate());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object transactionType_ = "";
/**
* optional string transaction_type = 1;
*/
public java.lang.String getTransactionType() {
java.lang.Object ref = transactionType_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string transaction_type = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionTypeBytes() {
java.lang.Object ref = transactionType_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionType_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string transaction_type = 1;
*/
public Builder setTransactionType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionType_ = value;
onChanged();
return this;
}
/**
* optional string transaction_type = 1;
*/
public Builder clearTransactionType() {
transactionType_ = getDefaultInstance().getTransactionType();
onChanged();
return this;
}
/**
* optional string transaction_type = 1;
*/
public Builder setTransactionTypeBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionType_ = value;
onChanged();
return this;
}
private java.lang.Object transactionName_ = "";
/**
* optional string transaction_name = 2;
*/
public java.lang.String getTransactionName() {
java.lang.Object ref = transactionName_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
transactionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string transaction_name = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTransactionNameBytes() {
java.lang.Object ref = transactionName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
transactionName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string transaction_name = 2;
*/
public Builder setTransactionName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
transactionName_ = value;
onChanged();
return this;
}
/**
* optional string transaction_name = 2;
*/
public Builder clearTransactionName() {
transactionName_ = getDefaultInstance().getTransactionName();
onChanged();
return this;
}
/**
* optional string transaction_name = 2;
*/
public Builder setTransactionNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
transactionName_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> aggregateBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public boolean hasAggregate() {
return aggregateBuilder_ != null || aggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() {
if (aggregateBuilder_ == null) {
return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
} else {
return aggregateBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public Builder setAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (aggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aggregate_ = value;
onChanged();
} else {
aggregateBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public Builder setAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder builderForValue) {
if (aggregateBuilder_ == null) {
aggregate_ = builderForValue.build();
onChanged();
} else {
aggregateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public Builder mergeAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (aggregateBuilder_ == null) {
if (aggregate_ != null) {
aggregate_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder(aggregate_).mergeFrom(value).buildPartial();
} else {
aggregate_ = value;
}
onChanged();
} else {
aggregateBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public Builder clearAggregate() {
if (aggregateBuilder_ == null) {
aggregate_ = null;
onChanged();
} else {
aggregate_ = null;
aggregateBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder getAggregateBuilder() {
onChanged();
return getAggregateFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() {
if (aggregateBuilder_ != null) {
return aggregateBuilder_.getMessageOrBuilder();
} else {
return aggregate_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate aggregate = 3;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>
getAggregateFieldBuilder() {
if (aggregateBuilder_ == null) {
aggregateBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>(
getAggregate(),
getParentForChildren(),
isClean());
aggregate_ = null;
}
return aggregateBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.TransactionAggregate)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TransactionAggregate)
private static final org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public TransactionAggregate parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new TransactionAggregate(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional double total_nanos = 1;
*/
double getTotalNanos();
/**
* optional int64 transaction_count = 2;
*/
long getTransactionCount();
/**
* optional int64 error_count = 3;
*/
long getErrorCount();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
boolean hasTotalCpuNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalCpuNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
boolean hasTotalBlockedNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalBlockedNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
boolean hasTotalWaitedNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalWaitedNanos();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
boolean hasTotalAllocatedBytes();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalAllocatedBytes();
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
boolean hasTotalNanosHistogram();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getTotalNanosHistogram();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getTotalNanosHistogramOrBuilder();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
java.util.List
getRootTimerList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getRootTimer(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
int getRootTimerCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getRootTimerOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getRootTimerOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
java.util.List
getQueriesByTypeList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getQueriesByType(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
int getQueriesByTypeCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>
getQueriesByTypeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder getQueriesByTypeOrBuilder(
int index);
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
boolean hasProfileTree();
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree();
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate}
*
*
* aggregate uses double instead of int64 to avoid (unlikely) 292 year nanosecond rollover
*
*/
public static final class Aggregate extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate)
AggregateOrBuilder {
// Use Aggregate.newBuilder() to construct.
private Aggregate(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Aggregate() {
totalNanos_ = 0D;
transactionCount_ = 0L;
errorCount_ = 0L;
rootTimer_ = java.util.Collections.emptyList();
queriesByType_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Aggregate(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 9: {
totalNanos_ = input.readDouble();
break;
}
case 16: {
transactionCount_ = input.readInt64();
break;
}
case 24: {
errorCount_ = input.readInt64();
break;
}
case 34: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder subBuilder = null;
if (totalCpuNanos_ != null) {
subBuilder = totalCpuNanos_.toBuilder();
}
totalCpuNanos_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalCpuNanos_);
totalCpuNanos_ = subBuilder.buildPartial();
}
break;
}
case 42: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder subBuilder = null;
if (totalBlockedNanos_ != null) {
subBuilder = totalBlockedNanos_.toBuilder();
}
totalBlockedNanos_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalBlockedNanos_);
totalBlockedNanos_ = subBuilder.buildPartial();
}
break;
}
case 50: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder subBuilder = null;
if (totalWaitedNanos_ != null) {
subBuilder = totalWaitedNanos_.toBuilder();
}
totalWaitedNanos_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalWaitedNanos_);
totalWaitedNanos_ = subBuilder.buildPartial();
}
break;
}
case 58: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder subBuilder = null;
if (totalAllocatedBytes_ != null) {
subBuilder = totalAllocatedBytes_.toBuilder();
}
totalAllocatedBytes_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalAllocatedBytes_);
totalAllocatedBytes_ = subBuilder.buildPartial();
}
break;
}
case 66: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder subBuilder = null;
if (totalNanosHistogram_ != null) {
subBuilder = totalNanosHistogram_.toBuilder();
}
totalNanosHistogram_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalNanosHistogram_);
totalNanosHistogram_ = subBuilder.buildPartial();
}
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
rootTimer_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000100;
}
rootTimer_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.parser(), extensionRegistry));
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
queriesByType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000200;
}
queriesByType_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.parser(), extensionRegistry));
break;
}
case 90: {
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder subBuilder = null;
if (profileTree_ != null) {
subBuilder = profileTree_.toBuilder();
}
profileTree_ = input.readMessage(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(profileTree_);
profileTree_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
rootTimer_ = java.util.Collections.unmodifiableList(rootTimer_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
queriesByType_ = java.util.Collections.unmodifiableList(queriesByType_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder.class);
}
public interface OptionalDoubleOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.OptionalDouble)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional double value = 1;
*/
double getValue();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.OptionalDouble}
*/
public static final class OptionalDouble extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.OptionalDouble)
OptionalDoubleOrBuilder {
// Use OptionalDouble.newBuilder() to construct.
private OptionalDouble(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private OptionalDouble() {
value_ = 0D;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private OptionalDouble(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 9: {
value_ = input.readDouble();
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder.class);
}
public static final int VALUE_FIELD_NUMBER = 1;
private double value_;
/**
* optional double value = 1;
*/
public double getValue() {
return value_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (value_ != 0D) {
output.writeDouble(1, value_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (value_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(1, value_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.OptionalDouble}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate.OptionalDouble)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
value_ = 0D;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble(this);
result.value_ = value_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance()) return this;
if (other.getValue() != 0D) {
setValue(other.getValue());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double value_ ;
/**
* optional double value = 1;
*/
public double getValue() {
return value_;
}
/**
* optional double value = 1;
*/
public Builder setValue(double value) {
value_ = value;
onChanged();
return this;
}
/**
* optional double value = 1;
*/
public Builder clearValue() {
value_ = 0D;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate.OptionalDouble)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.OptionalDouble)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public OptionalDouble parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new OptionalDouble(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HistogramOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.Histogram)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
java.util.List getOrderedRawValueList();
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
int getOrderedRawValueCount();
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
long getOrderedRawValue(int index);
/**
* optional bytes encoded_bytes = 2;
*
*
* for larger numbers of transactions, the histogram is tracked and encoded using HdrHistogram
*
*/
org.glowroot.agent.shaded.google.protobuf.ByteString getEncodedBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Histogram}
*/
public static final class Histogram extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.Histogram)
HistogramOrBuilder {
// Use Histogram.newBuilder() to construct.
private Histogram(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Histogram() {
orderedRawValue_ = java.util.Collections.emptyList();
encodedBytes_ = org.glowroot.agent.shaded.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Histogram(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
orderedRawValue_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
orderedRawValue_.add(input.readInt64());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
orderedRawValue_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
orderedRawValue_.add(input.readInt64());
}
input.popLimit(limit);
break;
}
case 18: {
encodedBytes_ = input.readBytes();
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
orderedRawValue_ = java.util.Collections.unmodifiableList(orderedRawValue_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder.class);
}
private int bitField0_;
public static final int ORDERED_RAW_VALUE_FIELD_NUMBER = 1;
private java.util.List orderedRawValue_;
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public java.util.List
getOrderedRawValueList() {
return orderedRawValue_;
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public int getOrderedRawValueCount() {
return orderedRawValue_.size();
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public long getOrderedRawValue(int index) {
return orderedRawValue_.get(index);
}
private int orderedRawValueMemoizedSerializedSize = -1;
public static final int ENCODED_BYTES_FIELD_NUMBER = 2;
private org.glowroot.agent.shaded.google.protobuf.ByteString encodedBytes_;
/**
* optional bytes encoded_bytes = 2;
*
*
* for larger numbers of transactions, the histogram is tracked and encoded using HdrHistogram
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString getEncodedBytes() {
return encodedBytes_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getOrderedRawValueList().size() > 0) {
output.writeRawVarint32(10);
output.writeRawVarint32(orderedRawValueMemoizedSerializedSize);
}
for (int i = 0; i < orderedRawValue_.size(); i++) {
output.writeInt64NoTag(orderedRawValue_.get(i));
}
if (!encodedBytes_.isEmpty()) {
output.writeBytes(2, encodedBytes_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < orderedRawValue_.size(); i++) {
dataSize += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64SizeNoTag(orderedRawValue_.get(i));
}
size += dataSize;
if (!getOrderedRawValueList().isEmpty()) {
size += 1;
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
orderedRawValueMemoizedSerializedSize = dataSize;
}
if (!encodedBytes_.isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeBytesSize(2, encodedBytes_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Histogram}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate.Histogram)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
orderedRawValue_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
encodedBytes_ = org.glowroot.agent.shaded.google.protobuf.ByteString.EMPTY;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
orderedRawValue_ = java.util.Collections.unmodifiableList(orderedRawValue_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.orderedRawValue_ = orderedRawValue_;
result.encodedBytes_ = encodedBytes_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance()) return this;
if (!other.orderedRawValue_.isEmpty()) {
if (orderedRawValue_.isEmpty()) {
orderedRawValue_ = other.orderedRawValue_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureOrderedRawValueIsMutable();
orderedRawValue_.addAll(other.orderedRawValue_);
}
onChanged();
}
if (other.getEncodedBytes() != org.glowroot.agent.shaded.google.protobuf.ByteString.EMPTY) {
setEncodedBytes(other.getEncodedBytes());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List orderedRawValue_ = java.util.Collections.emptyList();
private void ensureOrderedRawValueIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
orderedRawValue_ = new java.util.ArrayList(orderedRawValue_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public java.util.List
getOrderedRawValueList() {
return java.util.Collections.unmodifiableList(orderedRawValue_);
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public int getOrderedRawValueCount() {
return orderedRawValue_.size();
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public long getOrderedRawValue(int index) {
return orderedRawValue_.get(index);
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public Builder setOrderedRawValue(
int index, long value) {
ensureOrderedRawValueIsMutable();
orderedRawValue_.set(index, value);
onChanged();
return this;
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public Builder addOrderedRawValue(long value) {
ensureOrderedRawValueIsMutable();
orderedRawValue_.add(value);
onChanged();
return this;
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public Builder addAllOrderedRawValue(
java.lang.Iterable extends java.lang.Long> values) {
ensureOrderedRawValueIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, orderedRawValue_);
onChanged();
return this;
}
/**
* repeated int64 ordered_raw_value = 1;
*
*
* for smaller numbers of transactions, the individual raw values are stored directly
* these values are ordered for fast percentile calculation on retrieval
*
*/
public Builder clearOrderedRawValue() {
orderedRawValue_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
private org.glowroot.agent.shaded.google.protobuf.ByteString encodedBytes_ = org.glowroot.agent.shaded.google.protobuf.ByteString.EMPTY;
/**
* optional bytes encoded_bytes = 2;
*
*
* for larger numbers of transactions, the histogram is tracked and encoded using HdrHistogram
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString getEncodedBytes() {
return encodedBytes_;
}
/**
* optional bytes encoded_bytes = 2;
*
*
* for larger numbers of transactions, the histogram is tracked and encoded using HdrHistogram
*
*/
public Builder setEncodedBytes(org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
encodedBytes_ = value;
onChanged();
return this;
}
/**
* optional bytes encoded_bytes = 2;
*
*
* for larger numbers of transactions, the histogram is tracked and encoded using HdrHistogram
*
*/
public Builder clearEncodedBytes() {
encodedBytes_ = getDefaultInstance().getEncodedBytes();
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate.Histogram)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.Histogram)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public Histogram parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new Histogram(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TimerOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.Timer)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
java.lang.String getName();
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes();
/**
* optional bool extended = 2;
*/
boolean getExtended();
/**
* optional double total_nanos = 3;
*/
double getTotalNanos();
/**
* optional int64 count = 4;
*/
long getCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
java.util.List
getChildTimerList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getChildTimer(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
int getChildTimerCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getChildTimerOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getChildTimerOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Timer}
*/
public static final class Timer extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.Timer)
TimerOrBuilder {
// Use Timer.newBuilder() to construct.
private Timer(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Timer() {
name_ = "";
extended_ = false;
totalNanos_ = 0D;
count_ = 0L;
childTimer_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Timer(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 16: {
extended_ = input.readBool();
break;
}
case 25: {
totalNanos_ = input.readDouble();
break;
}
case 32: {
count_ = input.readInt64();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
childTimer_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
childTimer_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
childTimer_ = java.util.Collections.unmodifiableList(childTimer_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Timer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder.class);
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int EXTENDED_FIELD_NUMBER = 2;
private boolean extended_;
/**
* optional bool extended = 2;
*/
public boolean getExtended() {
return extended_;
}
public static final int TOTAL_NANOS_FIELD_NUMBER = 3;
private double totalNanos_;
/**
* optional double total_nanos = 3;
*/
public double getTotalNanos() {
return totalNanos_;
}
public static final int COUNT_FIELD_NUMBER = 4;
private long count_;
/**
* optional int64 count = 4;
*/
public long getCount() {
return count_;
}
public static final int CHILD_TIMER_FIELD_NUMBER = 5;
private java.util.List childTimer_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public java.util.List getChildTimerList() {
return childTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getChildTimerOrBuilderList() {
return childTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public int getChildTimerCount() {
return childTimer_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getChildTimer(int index) {
return childTimer_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getChildTimerOrBuilder(
int index) {
return childTimer_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (extended_ != false) {
output.writeBool(2, extended_);
}
if (totalNanos_ != 0D) {
output.writeDouble(3, totalNanos_);
}
if (count_ != 0L) {
output.writeInt64(4, count_);
}
for (int i = 0; i < childTimer_.size(); i++) {
output.writeMessage(5, childTimer_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (extended_ != false) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeBoolSize(2, extended_);
}
if (totalNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(3, totalNanos_);
}
if (count_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(4, count_);
}
for (int i = 0; i < childTimer_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(5, childTimer_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Timer}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate.Timer)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Timer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getChildTimerFieldBuilder();
}
}
public Builder clear() {
super.clear();
name_ = "";
extended_ = false;
totalNanos_ = 0D;
count_ = 0L;
if (childTimerBuilder_ == null) {
childTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
childTimerBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.name_ = name_;
result.extended_ = extended_;
result.totalNanos_ = totalNanos_;
result.count_ = count_;
if (childTimerBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
childTimer_ = java.util.Collections.unmodifiableList(childTimer_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.childTimer_ = childTimer_;
} else {
result.childTimer_ = childTimerBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.getExtended() != false) {
setExtended(other.getExtended());
}
if (other.getTotalNanos() != 0D) {
setTotalNanos(other.getTotalNanos());
}
if (other.getCount() != 0L) {
setCount(other.getCount());
}
if (childTimerBuilder_ == null) {
if (!other.childTimer_.isEmpty()) {
if (childTimer_.isEmpty()) {
childTimer_ = other.childTimer_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureChildTimerIsMutable();
childTimer_.addAll(other.childTimer_);
}
onChanged();
}
} else {
if (!other.childTimer_.isEmpty()) {
if (childTimerBuilder_.isEmpty()) {
childTimerBuilder_.dispose();
childTimerBuilder_ = null;
childTimer_ = other.childTimer_;
bitField0_ = (bitField0_ & ~0x00000010);
childTimerBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getChildTimerFieldBuilder() : null;
} else {
childTimerBuilder_.addAllMessages(other.childTimer_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*
*
* name is null for synthetic root
*
*/
public Builder setNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private boolean extended_ ;
/**
* optional bool extended = 2;
*/
public boolean getExtended() {
return extended_;
}
/**
* optional bool extended = 2;
*/
public Builder setExtended(boolean value) {
extended_ = value;
onChanged();
return this;
}
/**
* optional bool extended = 2;
*/
public Builder clearExtended() {
extended_ = false;
onChanged();
return this;
}
private double totalNanos_ ;
/**
* optional double total_nanos = 3;
*/
public double getTotalNanos() {
return totalNanos_;
}
/**
* optional double total_nanos = 3;
*/
public Builder setTotalNanos(double value) {
totalNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_nanos = 3;
*/
public Builder clearTotalNanos() {
totalNanos_ = 0D;
onChanged();
return this;
}
private long count_ ;
/**
* optional int64 count = 4;
*/
public long getCount() {
return count_;
}
/**
* optional int64 count = 4;
*/
public Builder setCount(long value) {
count_ = value;
onChanged();
return this;
}
/**
* optional int64 count = 4;
*/
public Builder clearCount() {
count_ = 0L;
onChanged();
return this;
}
private java.util.List childTimer_ =
java.util.Collections.emptyList();
private void ensureChildTimerIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
childTimer_ = new java.util.ArrayList(childTimer_);
bitField0_ |= 0x00000010;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder> childTimerBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public java.util.List getChildTimerList() {
if (childTimerBuilder_ == null) {
return java.util.Collections.unmodifiableList(childTimer_);
} else {
return childTimerBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public int getChildTimerCount() {
if (childTimerBuilder_ == null) {
return childTimer_.size();
} else {
return childTimerBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getChildTimer(int index) {
if (childTimerBuilder_ == null) {
return childTimer_.get(index);
} else {
return childTimerBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder setChildTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (childTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildTimerIsMutable();
childTimer_.set(index, value);
onChanged();
} else {
childTimerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder setChildTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (childTimerBuilder_ == null) {
ensureChildTimerIsMutable();
childTimer_.set(index, builderForValue.build());
onChanged();
} else {
childTimerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder addChildTimer(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (childTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildTimerIsMutable();
childTimer_.add(value);
onChanged();
} else {
childTimerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder addChildTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (childTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildTimerIsMutable();
childTimer_.add(index, value);
onChanged();
} else {
childTimerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder addChildTimer(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (childTimerBuilder_ == null) {
ensureChildTimerIsMutable();
childTimer_.add(builderForValue.build());
onChanged();
} else {
childTimerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder addChildTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (childTimerBuilder_ == null) {
ensureChildTimerIsMutable();
childTimer_.add(index, builderForValue.build());
onChanged();
} else {
childTimerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder addAllChildTimer(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer> values) {
if (childTimerBuilder_ == null) {
ensureChildTimerIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, childTimer_);
onChanged();
} else {
childTimerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder clearChildTimer() {
if (childTimerBuilder_ == null) {
childTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
childTimerBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public Builder removeChildTimer(int index) {
if (childTimerBuilder_ == null) {
ensureChildTimerIsMutable();
childTimer_.remove(index);
onChanged();
} else {
childTimerBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder getChildTimerBuilder(
int index) {
return getChildTimerFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getChildTimerOrBuilder(
int index) {
if (childTimerBuilder_ == null) {
return childTimer_.get(index); } else {
return childTimerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getChildTimerOrBuilderList() {
if (childTimerBuilder_ != null) {
return childTimerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(childTimer_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addChildTimerBuilder() {
return getChildTimerFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addChildTimerBuilder(
int index) {
return getChildTimerFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer child_timer = 5;
*/
public java.util.List
getChildTimerBuilderList() {
return getChildTimerFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getChildTimerFieldBuilder() {
if (childTimerBuilder_ == null) {
childTimerBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>(
childTimer_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
childTimer_ = null;
}
return childTimerBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate.Timer)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.Timer)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public Timer parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new Timer(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueriesByTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.QueriesByType)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
java.lang.String getType();
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTypeBytes();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
java.util.List
getQueryList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
int getQueryCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>
getQueryOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.QueriesByType}
*/
public static final class QueriesByType extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.QueriesByType)
QueriesByTypeOrBuilder {
// Use QueriesByType.newBuilder() to construct.
private QueriesByType(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private QueriesByType() {
type_ = "";
query_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private QueriesByType(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
query_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
query_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
query_ = java.util.Collections.unmodifiableList(query_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder.class);
}
private int bitField0_;
public static final int TYPE_FIELD_NUMBER = 1;
private volatile java.lang.Object type_;
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
}
}
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int QUERY_FIELD_NUMBER = 2;
private java.util.List query_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public java.util.List getQueryList() {
return query_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>
getQueryOrBuilderList() {
return query_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public int getQueryCount() {
return query_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) {
return query_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder(
int index) {
return query_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTypeBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, type_);
}
for (int i = 0; i < query_.size(); i++) {
output.writeMessage(2, query_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTypeBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, type_);
}
for (int i = 0; i < query_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, query_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.QueriesByType}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate.QueriesByType)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getQueryFieldBuilder();
}
}
public Builder clear() {
super.clear();
type_ = "";
if (queryBuilder_ == null) {
query_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
queryBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.type_ = type_;
if (queryBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
query_ = java.util.Collections.unmodifiableList(query_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.query_ = query_;
} else {
result.query_ = queryBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (queryBuilder_ == null) {
if (!other.query_.isEmpty()) {
if (query_.isEmpty()) {
query_ = other.query_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureQueryIsMutable();
query_.addAll(other.query_);
}
onChanged();
}
} else {
if (!other.query_.isEmpty()) {
if (queryBuilder_.isEmpty()) {
queryBuilder_.dispose();
queryBuilder_ = null;
query_ = other.query_;
bitField0_ = (bitField0_ & ~0x00000002);
queryBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getQueryFieldBuilder() : null;
} else {
queryBuilder_.addAllMessages(other.query_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object type_ = "";
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* optional string type = 1;
*
*
* e.g. "SQL", "CQL"
*
*/
public Builder setTypeBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
type_ = value;
onChanged();
return this;
}
private java.util.List query_ =
java.util.Collections.emptyList();
private void ensureQueryIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
query_ = new java.util.ArrayList(query_);
bitField0_ |= 0x00000002;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder> queryBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public java.util.List getQueryList() {
if (queryBuilder_ == null) {
return java.util.Collections.unmodifiableList(query_);
} else {
return queryBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public int getQueryCount() {
if (queryBuilder_ == null) {
return query_.size();
} else {
return queryBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) {
if (queryBuilder_ == null) {
return query_.get(index);
} else {
return queryBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder setQuery(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) {
if (queryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryIsMutable();
query_.set(index, value);
onChanged();
} else {
queryBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder setQuery(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) {
if (queryBuilder_ == null) {
ensureQueryIsMutable();
query_.set(index, builderForValue.build());
onChanged();
} else {
queryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder addQuery(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) {
if (queryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryIsMutable();
query_.add(value);
onChanged();
} else {
queryBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder addQuery(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) {
if (queryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueryIsMutable();
query_.add(index, value);
onChanged();
} else {
queryBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder addQuery(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) {
if (queryBuilder_ == null) {
ensureQueryIsMutable();
query_.add(builderForValue.build());
onChanged();
} else {
queryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder addQuery(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) {
if (queryBuilder_ == null) {
ensureQueryIsMutable();
query_.add(index, builderForValue.build());
onChanged();
} else {
queryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder addAllQuery(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query> values) {
if (queryBuilder_ == null) {
ensureQueryIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, query_);
onChanged();
} else {
queryBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder clearQuery() {
if (queryBuilder_ == null) {
query_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
queryBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public Builder removeQuery(int index) {
if (queryBuilder_ == null) {
ensureQueryIsMutable();
query_.remove(index);
onChanged();
} else {
queryBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder getQueryBuilder(
int index) {
return getQueryFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder(
int index) {
if (queryBuilder_ == null) {
return query_.get(index); } else {
return queryBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>
getQueryOrBuilderList() {
if (queryBuilder_ != null) {
return queryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(query_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder() {
return getQueryFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder(
int index) {
return getQueryFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Query query = 2;
*/
public java.util.List
getQueryBuilderList() {
return getQueryFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>
getQueryFieldBuilder() {
if (queryBuilder_ == null) {
queryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>(
query_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
query_ = null;
}
return queryBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate.QueriesByType)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.QueriesByType)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public QueriesByType parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new QueriesByType(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface QueryOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.Query)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string text = 1;
*/
java.lang.String getText();
/**
* optional string text = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTextBytes();
/**
* optional double total_nanos = 2;
*/
double getTotalNanos();
/**
* optional int64 total_rows = 3;
*/
long getTotalRows();
/**
* optional int64 execution_count = 4;
*/
long getExecutionCount();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Query}
*/
public static final class Query extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.Query)
QueryOrBuilder {
// Use Query.newBuilder() to construct.
private Query(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Query() {
text_ = "";
totalNanos_ = 0D;
totalRows_ = 0L;
executionCount_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Query(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 17: {
totalNanos_ = input.readDouble();
break;
}
case 24: {
totalRows_ = input.readInt64();
break;
}
case 32: {
executionCount_ = input.readInt64();
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Query_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder.class);
}
public static final int TEXT_FIELD_NUMBER = 1;
private volatile java.lang.Object text_;
/**
* optional string text = 1;
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
}
}
/**
* optional string text = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int TOTAL_NANOS_FIELD_NUMBER = 2;
private double totalNanos_;
/**
* optional double total_nanos = 2;
*/
public double getTotalNanos() {
return totalNanos_;
}
public static final int TOTAL_ROWS_FIELD_NUMBER = 3;
private long totalRows_;
/**
* optional int64 total_rows = 3;
*/
public long getTotalRows() {
return totalRows_;
}
public static final int EXECUTION_COUNT_FIELD_NUMBER = 4;
private long executionCount_;
/**
* optional int64 execution_count = 4;
*/
public long getExecutionCount() {
return executionCount_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getTextBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, text_);
}
if (totalNanos_ != 0D) {
output.writeDouble(2, totalNanos_);
}
if (totalRows_ != 0L) {
output.writeInt64(3, totalRows_);
}
if (executionCount_ != 0L) {
output.writeInt64(4, executionCount_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getTextBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, text_);
}
if (totalNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(2, totalNanos_);
}
if (totalRows_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(3, totalRows_);
}
if (executionCount_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(4, executionCount_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.Query}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate.Query)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Query_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
text_ = "";
totalNanos_ = 0D;
totalRows_ = 0L;
executionCount_ = 0L;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query(this);
result.text_ = text_;
result.totalNanos_ = totalNanos_;
result.totalRows_ = totalRows_;
result.executionCount_ = executionCount_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance()) return this;
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (other.getTotalNanos() != 0D) {
setTotalNanos(other.getTotalNanos());
}
if (other.getTotalRows() != 0L) {
setTotalRows(other.getTotalRows());
}
if (other.getExecutionCount() != 0L) {
setExecutionCount(other.getExecutionCount());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object text_ = "";
/**
* optional string text = 1;
*/
public java.lang.String getText() {
java.lang.Object ref = text_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
text_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string text = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getTextBytes() {
java.lang.Object ref = text_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
text_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string text = 1;
*/
public Builder setText(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
text_ = value;
onChanged();
return this;
}
/**
* optional string text = 1;
*/
public Builder clearText() {
text_ = getDefaultInstance().getText();
onChanged();
return this;
}
/**
* optional string text = 1;
*/
public Builder setTextBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
text_ = value;
onChanged();
return this;
}
private double totalNanos_ ;
/**
* optional double total_nanos = 2;
*/
public double getTotalNanos() {
return totalNanos_;
}
/**
* optional double total_nanos = 2;
*/
public Builder setTotalNanos(double value) {
totalNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_nanos = 2;
*/
public Builder clearTotalNanos() {
totalNanos_ = 0D;
onChanged();
return this;
}
private long totalRows_ ;
/**
* optional int64 total_rows = 3;
*/
public long getTotalRows() {
return totalRows_;
}
/**
* optional int64 total_rows = 3;
*/
public Builder setTotalRows(long value) {
totalRows_ = value;
onChanged();
return this;
}
/**
* optional int64 total_rows = 3;
*/
public Builder clearTotalRows() {
totalRows_ = 0L;
onChanged();
return this;
}
private long executionCount_ ;
/**
* optional int64 execution_count = 4;
*/
public long getExecutionCount() {
return executionCount_;
}
/**
* optional int64 execution_count = 4;
*/
public Builder setExecutionCount(long value) {
executionCount_ = value;
onChanged();
return this;
}
/**
* optional int64 execution_count = 4;
*/
public Builder clearExecutionCount() {
executionCount_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate.Query)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.Query)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public Query parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new Query(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int TOTAL_NANOS_FIELD_NUMBER = 1;
private double totalNanos_;
/**
* optional double total_nanos = 1;
*/
public double getTotalNanos() {
return totalNanos_;
}
public static final int TRANSACTION_COUNT_FIELD_NUMBER = 2;
private long transactionCount_;
/**
* optional int64 transaction_count = 2;
*/
public long getTransactionCount() {
return transactionCount_;
}
public static final int ERROR_COUNT_FIELD_NUMBER = 3;
private long errorCount_;
/**
* optional int64 error_count = 3;
*/
public long getErrorCount() {
return errorCount_;
}
public static final int TOTAL_CPU_NANOS_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalCpuNanos_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public boolean hasTotalCpuNanos() {
return totalCpuNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalCpuNanos() {
return totalCpuNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder() {
return getTotalCpuNanos();
}
public static final int TOTAL_BLOCKED_NANOS_FIELD_NUMBER = 5;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalBlockedNanos_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public boolean hasTotalBlockedNanos() {
return totalBlockedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalBlockedNanos() {
return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder() {
return getTotalBlockedNanos();
}
public static final int TOTAL_WAITED_NANOS_FIELD_NUMBER = 6;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalWaitedNanos_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public boolean hasTotalWaitedNanos() {
return totalWaitedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalWaitedNanos() {
return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder() {
return getTotalWaitedNanos();
}
public static final int TOTAL_ALLOCATED_BYTES_FIELD_NUMBER = 7;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalAllocatedBytes_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public boolean hasTotalAllocatedBytes() {
return totalAllocatedBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalAllocatedBytes() {
return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder() {
return getTotalAllocatedBytes();
}
public static final int TOTAL_NANOS_HISTOGRAM_FIELD_NUMBER = 8;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram totalNanosHistogram_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public boolean hasTotalNanosHistogram() {
return totalNanosHistogram_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getTotalNanosHistogram() {
return totalNanosHistogram_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : totalNanosHistogram_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getTotalNanosHistogramOrBuilder() {
return getTotalNanosHistogram();
}
public static final int ROOT_TIMER_FIELD_NUMBER = 9;
private java.util.List rootTimer_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public java.util.List getRootTimerList() {
return rootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getRootTimerOrBuilderList() {
return rootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public int getRootTimerCount() {
return rootTimer_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getRootTimer(int index) {
return rootTimer_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getRootTimerOrBuilder(
int index) {
return rootTimer_.get(index);
}
public static final int QUERIES_BY_TYPE_FIELD_NUMBER = 10;
private java.util.List queriesByType_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public java.util.List getQueriesByTypeList() {
return queriesByType_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>
getQueriesByTypeOrBuilderList() {
return queriesByType_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public int getQueriesByTypeCount() {
return queriesByType_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getQueriesByType(int index) {
return queriesByType_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder getQueriesByTypeOrBuilder(
int index) {
return queriesByType_.get(index);
}
public static final int PROFILE_TREE_FIELD_NUMBER = 11;
private org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree profileTree_;
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public boolean hasProfileTree() {
return profileTree_ != null;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree() {
return profileTree_ == null ? org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder() {
return getProfileTree();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (totalNanos_ != 0D) {
output.writeDouble(1, totalNanos_);
}
if (transactionCount_ != 0L) {
output.writeInt64(2, transactionCount_);
}
if (errorCount_ != 0L) {
output.writeInt64(3, errorCount_);
}
if (totalCpuNanos_ != null) {
output.writeMessage(4, getTotalCpuNanos());
}
if (totalBlockedNanos_ != null) {
output.writeMessage(5, getTotalBlockedNanos());
}
if (totalWaitedNanos_ != null) {
output.writeMessage(6, getTotalWaitedNanos());
}
if (totalAllocatedBytes_ != null) {
output.writeMessage(7, getTotalAllocatedBytes());
}
if (totalNanosHistogram_ != null) {
output.writeMessage(8, getTotalNanosHistogram());
}
for (int i = 0; i < rootTimer_.size(); i++) {
output.writeMessage(9, rootTimer_.get(i));
}
for (int i = 0; i < queriesByType_.size(); i++) {
output.writeMessage(10, queriesByType_.get(i));
}
if (profileTree_ != null) {
output.writeMessage(11, getProfileTree());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(1, totalNanos_);
}
if (transactionCount_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(2, transactionCount_);
}
if (errorCount_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(3, errorCount_);
}
if (totalCpuNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTotalCpuNanos());
}
if (totalBlockedNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(5, getTotalBlockedNanos());
}
if (totalWaitedNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(6, getTotalWaitedNanos());
}
if (totalAllocatedBytes_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(7, getTotalAllocatedBytes());
}
if (totalNanosHistogram_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(8, getTotalNanosHistogram());
}
for (int i = 0; i < rootTimer_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(9, rootTimer_.get(i));
}
for (int i = 0; i < queriesByType_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(10, queriesByType_.get(i));
}
if (profileTree_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(11, getProfileTree());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate}
*
*
* aggregate uses double instead of int64 to avoid (unlikely) 292 year nanosecond rollover
*
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Aggregate)
org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getRootTimerFieldBuilder();
getQueriesByTypeFieldBuilder();
}
}
public Builder clear() {
super.clear();
totalNanos_ = 0D;
transactionCount_ = 0L;
errorCount_ = 0L;
if (totalCpuNanosBuilder_ == null) {
totalCpuNanos_ = null;
} else {
totalCpuNanos_ = null;
totalCpuNanosBuilder_ = null;
}
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanos_ = null;
} else {
totalBlockedNanos_ = null;
totalBlockedNanosBuilder_ = null;
}
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanos_ = null;
} else {
totalWaitedNanos_ = null;
totalWaitedNanosBuilder_ = null;
}
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytes_ = null;
} else {
totalAllocatedBytes_ = null;
totalAllocatedBytesBuilder_ = null;
}
if (totalNanosHistogramBuilder_ == null) {
totalNanosHistogram_ = null;
} else {
totalNanosHistogram_ = null;
totalNanosHistogramBuilder_ = null;
}
if (rootTimerBuilder_ == null) {
rootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
} else {
rootTimerBuilder_.clear();
}
if (queriesByTypeBuilder_ == null) {
queriesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
} else {
queriesByTypeBuilder_.clear();
}
if (profileTreeBuilder_ == null) {
profileTree_ = null;
} else {
profileTree_ = null;
profileTreeBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.internal_static_org_glowroot_wire_api_model_Aggregate_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.totalNanos_ = totalNanos_;
result.transactionCount_ = transactionCount_;
result.errorCount_ = errorCount_;
if (totalCpuNanosBuilder_ == null) {
result.totalCpuNanos_ = totalCpuNanos_;
} else {
result.totalCpuNanos_ = totalCpuNanosBuilder_.build();
}
if (totalBlockedNanosBuilder_ == null) {
result.totalBlockedNanos_ = totalBlockedNanos_;
} else {
result.totalBlockedNanos_ = totalBlockedNanosBuilder_.build();
}
if (totalWaitedNanosBuilder_ == null) {
result.totalWaitedNanos_ = totalWaitedNanos_;
} else {
result.totalWaitedNanos_ = totalWaitedNanosBuilder_.build();
}
if (totalAllocatedBytesBuilder_ == null) {
result.totalAllocatedBytes_ = totalAllocatedBytes_;
} else {
result.totalAllocatedBytes_ = totalAllocatedBytesBuilder_.build();
}
if (totalNanosHistogramBuilder_ == null) {
result.totalNanosHistogram_ = totalNanosHistogram_;
} else {
result.totalNanosHistogram_ = totalNanosHistogramBuilder_.build();
}
if (rootTimerBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100)) {
rootTimer_ = java.util.Collections.unmodifiableList(rootTimer_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.rootTimer_ = rootTimer_;
} else {
result.rootTimer_ = rootTimerBuilder_.build();
}
if (queriesByTypeBuilder_ == null) {
if (((bitField0_ & 0x00000200) == 0x00000200)) {
queriesByType_ = java.util.Collections.unmodifiableList(queriesByType_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.queriesByType_ = queriesByType_;
} else {
result.queriesByType_ = queriesByTypeBuilder_.build();
}
if (profileTreeBuilder_ == null) {
result.profileTree_ = profileTree_;
} else {
result.profileTree_ = profileTreeBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance()) return this;
if (other.getTotalNanos() != 0D) {
setTotalNanos(other.getTotalNanos());
}
if (other.getTransactionCount() != 0L) {
setTransactionCount(other.getTransactionCount());
}
if (other.getErrorCount() != 0L) {
setErrorCount(other.getErrorCount());
}
if (other.hasTotalCpuNanos()) {
mergeTotalCpuNanos(other.getTotalCpuNanos());
}
if (other.hasTotalBlockedNanos()) {
mergeTotalBlockedNanos(other.getTotalBlockedNanos());
}
if (other.hasTotalWaitedNanos()) {
mergeTotalWaitedNanos(other.getTotalWaitedNanos());
}
if (other.hasTotalAllocatedBytes()) {
mergeTotalAllocatedBytes(other.getTotalAllocatedBytes());
}
if (other.hasTotalNanosHistogram()) {
mergeTotalNanosHistogram(other.getTotalNanosHistogram());
}
if (rootTimerBuilder_ == null) {
if (!other.rootTimer_.isEmpty()) {
if (rootTimer_.isEmpty()) {
rootTimer_ = other.rootTimer_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureRootTimerIsMutable();
rootTimer_.addAll(other.rootTimer_);
}
onChanged();
}
} else {
if (!other.rootTimer_.isEmpty()) {
if (rootTimerBuilder_.isEmpty()) {
rootTimerBuilder_.dispose();
rootTimerBuilder_ = null;
rootTimer_ = other.rootTimer_;
bitField0_ = (bitField0_ & ~0x00000100);
rootTimerBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRootTimerFieldBuilder() : null;
} else {
rootTimerBuilder_.addAllMessages(other.rootTimer_);
}
}
}
if (queriesByTypeBuilder_ == null) {
if (!other.queriesByType_.isEmpty()) {
if (queriesByType_.isEmpty()) {
queriesByType_ = other.queriesByType_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureQueriesByTypeIsMutable();
queriesByType_.addAll(other.queriesByType_);
}
onChanged();
}
} else {
if (!other.queriesByType_.isEmpty()) {
if (queriesByTypeBuilder_.isEmpty()) {
queriesByTypeBuilder_.dispose();
queriesByTypeBuilder_ = null;
queriesByType_ = other.queriesByType_;
bitField0_ = (bitField0_ & ~0x00000200);
queriesByTypeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getQueriesByTypeFieldBuilder() : null;
} else {
queriesByTypeBuilder_.addAllMessages(other.queriesByType_);
}
}
}
if (other.hasProfileTree()) {
mergeProfileTree(other.getProfileTree());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private double totalNanos_ ;
/**
* optional double total_nanos = 1;
*/
public double getTotalNanos() {
return totalNanos_;
}
/**
* optional double total_nanos = 1;
*/
public Builder setTotalNanos(double value) {
totalNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_nanos = 1;
*/
public Builder clearTotalNanos() {
totalNanos_ = 0D;
onChanged();
return this;
}
private long transactionCount_ ;
/**
* optional int64 transaction_count = 2;
*/
public long getTransactionCount() {
return transactionCount_;
}
/**
* optional int64 transaction_count = 2;
*/
public Builder setTransactionCount(long value) {
transactionCount_ = value;
onChanged();
return this;
}
/**
* optional int64 transaction_count = 2;
*/
public Builder clearTransactionCount() {
transactionCount_ = 0L;
onChanged();
return this;
}
private long errorCount_ ;
/**
* optional int64 error_count = 3;
*/
public long getErrorCount() {
return errorCount_;
}
/**
* optional int64 error_count = 3;
*/
public Builder setErrorCount(long value) {
errorCount_ = value;
onChanged();
return this;
}
/**
* optional int64 error_count = 3;
*/
public Builder clearErrorCount() {
errorCount_ = 0L;
onChanged();
return this;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalCpuNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder> totalCpuNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public boolean hasTotalCpuNanos() {
return totalCpuNanosBuilder_ != null || totalCpuNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalCpuNanos() {
if (totalCpuNanosBuilder_ == null) {
return totalCpuNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
} else {
return totalCpuNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public Builder setTotalCpuNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalCpuNanosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalCpuNanos_ = value;
onChanged();
} else {
totalCpuNanosBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public Builder setTotalCpuNanos(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder builderForValue) {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanos_ = builderForValue.build();
onChanged();
} else {
totalCpuNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public Builder mergeTotalCpuNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalCpuNanosBuilder_ == null) {
if (totalCpuNanos_ != null) {
totalCpuNanos_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.newBuilder(totalCpuNanos_).mergeFrom(value).buildPartial();
} else {
totalCpuNanos_ = value;
}
onChanged();
} else {
totalCpuNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public Builder clearTotalCpuNanos() {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanos_ = null;
onChanged();
} else {
totalCpuNanos_ = null;
totalCpuNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder getTotalCpuNanosBuilder() {
onChanged();
return getTotalCpuNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder() {
if (totalCpuNanosBuilder_ != null) {
return totalCpuNanosBuilder_.getMessageOrBuilder();
} else {
return totalCpuNanos_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_cpu_nanos = 4;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>
getTotalCpuNanosFieldBuilder() {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>(
getTotalCpuNanos(),
getParentForChildren(),
isClean());
totalCpuNanos_ = null;
}
return totalCpuNanosBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalBlockedNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder> totalBlockedNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public boolean hasTotalBlockedNanos() {
return totalBlockedNanosBuilder_ != null || totalBlockedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalBlockedNanos() {
if (totalBlockedNanosBuilder_ == null) {
return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
} else {
return totalBlockedNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public Builder setTotalBlockedNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalBlockedNanosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalBlockedNanos_ = value;
onChanged();
} else {
totalBlockedNanosBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public Builder setTotalBlockedNanos(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder builderForValue) {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanos_ = builderForValue.build();
onChanged();
} else {
totalBlockedNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public Builder mergeTotalBlockedNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalBlockedNanosBuilder_ == null) {
if (totalBlockedNanos_ != null) {
totalBlockedNanos_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.newBuilder(totalBlockedNanos_).mergeFrom(value).buildPartial();
} else {
totalBlockedNanos_ = value;
}
onChanged();
} else {
totalBlockedNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public Builder clearTotalBlockedNanos() {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanos_ = null;
onChanged();
} else {
totalBlockedNanos_ = null;
totalBlockedNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder getTotalBlockedNanosBuilder() {
onChanged();
return getTotalBlockedNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder() {
if (totalBlockedNanosBuilder_ != null) {
return totalBlockedNanosBuilder_.getMessageOrBuilder();
} else {
return totalBlockedNanos_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_blocked_nanos = 5;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>
getTotalBlockedNanosFieldBuilder() {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>(
getTotalBlockedNanos(),
getParentForChildren(),
isClean());
totalBlockedNanos_ = null;
}
return totalBlockedNanosBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalWaitedNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder> totalWaitedNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public boolean hasTotalWaitedNanos() {
return totalWaitedNanosBuilder_ != null || totalWaitedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalWaitedNanos() {
if (totalWaitedNanosBuilder_ == null) {
return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
} else {
return totalWaitedNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public Builder setTotalWaitedNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalWaitedNanosBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalWaitedNanos_ = value;
onChanged();
} else {
totalWaitedNanosBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public Builder setTotalWaitedNanos(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder builderForValue) {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanos_ = builderForValue.build();
onChanged();
} else {
totalWaitedNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public Builder mergeTotalWaitedNanos(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalWaitedNanosBuilder_ == null) {
if (totalWaitedNanos_ != null) {
totalWaitedNanos_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.newBuilder(totalWaitedNanos_).mergeFrom(value).buildPartial();
} else {
totalWaitedNanos_ = value;
}
onChanged();
} else {
totalWaitedNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public Builder clearTotalWaitedNanos() {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanos_ = null;
onChanged();
} else {
totalWaitedNanos_ = null;
totalWaitedNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder getTotalWaitedNanosBuilder() {
onChanged();
return getTotalWaitedNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder() {
if (totalWaitedNanosBuilder_ != null) {
return totalWaitedNanosBuilder_.getMessageOrBuilder();
} else {
return totalWaitedNanos_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_waited_nanos = 6;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>
getTotalWaitedNanosFieldBuilder() {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>(
getTotalWaitedNanos(),
getParentForChildren(),
isClean());
totalWaitedNanos_ = null;
}
return totalWaitedNanosBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble totalAllocatedBytes_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder> totalAllocatedBytesBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public boolean hasTotalAllocatedBytes() {
return totalAllocatedBytesBuilder_ != null || totalAllocatedBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble getTotalAllocatedBytes() {
if (totalAllocatedBytesBuilder_ == null) {
return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
} else {
return totalAllocatedBytesBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public Builder setTotalAllocatedBytes(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalAllocatedBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalAllocatedBytes_ = value;
onChanged();
} else {
totalAllocatedBytesBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public Builder setTotalAllocatedBytes(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder builderForValue) {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytes_ = builderForValue.build();
onChanged();
} else {
totalAllocatedBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public Builder mergeTotalAllocatedBytes(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble value) {
if (totalAllocatedBytesBuilder_ == null) {
if (totalAllocatedBytes_ != null) {
totalAllocatedBytes_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.newBuilder(totalAllocatedBytes_).mergeFrom(value).buildPartial();
} else {
totalAllocatedBytes_ = value;
}
onChanged();
} else {
totalAllocatedBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public Builder clearTotalAllocatedBytes() {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytes_ = null;
onChanged();
} else {
totalAllocatedBytes_ = null;
totalAllocatedBytesBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder getTotalAllocatedBytesBuilder() {
onChanged();
return getTotalAllocatedBytesFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder() {
if (totalAllocatedBytesBuilder_ != null) {
return totalAllocatedBytesBuilder_.getMessageOrBuilder();
} else {
return totalAllocatedBytes_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.OptionalDouble total_allocated_bytes = 7;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>
getTotalAllocatedBytesFieldBuilder() {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDouble.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.OptionalDoubleOrBuilder>(
getTotalAllocatedBytes(),
getParentForChildren(),
isClean());
totalAllocatedBytes_ = null;
}
return totalAllocatedBytesBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram totalNanosHistogram_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder> totalNanosHistogramBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public boolean hasTotalNanosHistogram() {
return totalNanosHistogramBuilder_ != null || totalNanosHistogram_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getTotalNanosHistogram() {
if (totalNanosHistogramBuilder_ == null) {
return totalNanosHistogram_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : totalNanosHistogram_;
} else {
return totalNanosHistogramBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public Builder setTotalNanosHistogram(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram value) {
if (totalNanosHistogramBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalNanosHistogram_ = value;
onChanged();
} else {
totalNanosHistogramBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public Builder setTotalNanosHistogram(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder builderForValue) {
if (totalNanosHistogramBuilder_ == null) {
totalNanosHistogram_ = builderForValue.build();
onChanged();
} else {
totalNanosHistogramBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public Builder mergeTotalNanosHistogram(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram value) {
if (totalNanosHistogramBuilder_ == null) {
if (totalNanosHistogram_ != null) {
totalNanosHistogram_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.newBuilder(totalNanosHistogram_).mergeFrom(value).buildPartial();
} else {
totalNanosHistogram_ = value;
}
onChanged();
} else {
totalNanosHistogramBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public Builder clearTotalNanosHistogram() {
if (totalNanosHistogramBuilder_ == null) {
totalNanosHistogram_ = null;
onChanged();
} else {
totalNanosHistogram_ = null;
totalNanosHistogramBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder getTotalNanosHistogramBuilder() {
onChanged();
return getTotalNanosHistogramFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getTotalNanosHistogramOrBuilder() {
if (totalNanosHistogramBuilder_ != null) {
return totalNanosHistogramBuilder_.getMessageOrBuilder();
} else {
return totalNanosHistogram_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : totalNanosHistogram_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram total_nanos_histogram = 8;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder>
getTotalNanosHistogramFieldBuilder() {
if (totalNanosHistogramBuilder_ == null) {
totalNanosHistogramBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder>(
getTotalNanosHistogram(),
getParentForChildren(),
isClean());
totalNanosHistogram_ = null;
}
return totalNanosHistogramBuilder_;
}
private java.util.List rootTimer_ =
java.util.Collections.emptyList();
private void ensureRootTimerIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
rootTimer_ = new java.util.ArrayList(rootTimer_);
bitField0_ |= 0x00000100;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder> rootTimerBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public java.util.List getRootTimerList() {
if (rootTimerBuilder_ == null) {
return java.util.Collections.unmodifiableList(rootTimer_);
} else {
return rootTimerBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public int getRootTimerCount() {
if (rootTimerBuilder_ == null) {
return rootTimer_.size();
} else {
return rootTimerBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getRootTimer(int index) {
if (rootTimerBuilder_ == null) {
return rootTimer_.get(index);
} else {
return rootTimerBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder setRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (rootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootTimerIsMutable();
rootTimer_.set(index, value);
onChanged();
} else {
rootTimerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder setRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (rootTimerBuilder_ == null) {
ensureRootTimerIsMutable();
rootTimer_.set(index, builderForValue.build());
onChanged();
} else {
rootTimerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder addRootTimer(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (rootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootTimerIsMutable();
rootTimer_.add(value);
onChanged();
} else {
rootTimerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder addRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (rootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootTimerIsMutable();
rootTimer_.add(index, value);
onChanged();
} else {
rootTimerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder addRootTimer(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (rootTimerBuilder_ == null) {
ensureRootTimerIsMutable();
rootTimer_.add(builderForValue.build());
onChanged();
} else {
rootTimerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder addRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (rootTimerBuilder_ == null) {
ensureRootTimerIsMutable();
rootTimer_.add(index, builderForValue.build());
onChanged();
} else {
rootTimerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder addAllRootTimer(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer> values) {
if (rootTimerBuilder_ == null) {
ensureRootTimerIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rootTimer_);
onChanged();
} else {
rootTimerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder clearRootTimer() {
if (rootTimerBuilder_ == null) {
rootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
rootTimerBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public Builder removeRootTimer(int index) {
if (rootTimerBuilder_ == null) {
ensureRootTimerIsMutable();
rootTimer_.remove(index);
onChanged();
} else {
rootTimerBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder getRootTimerBuilder(
int index) {
return getRootTimerFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getRootTimerOrBuilder(
int index) {
if (rootTimerBuilder_ == null) {
return rootTimer_.get(index); } else {
return rootTimerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getRootTimerOrBuilderList() {
if (rootTimerBuilder_ != null) {
return rootTimerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rootTimer_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addRootTimerBuilder() {
return getRootTimerFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addRootTimerBuilder(
int index) {
return getRootTimerFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer root_timer = 9;
*/
public java.util.List
getRootTimerBuilderList() {
return getRootTimerFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getRootTimerFieldBuilder() {
if (rootTimerBuilder_ == null) {
rootTimerBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>(
rootTimer_,
((bitField0_ & 0x00000100) == 0x00000100),
getParentForChildren(),
isClean());
rootTimer_ = null;
}
return rootTimerBuilder_;
}
private java.util.List queriesByType_ =
java.util.Collections.emptyList();
private void ensureQueriesByTypeIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
queriesByType_ = new java.util.ArrayList(queriesByType_);
bitField0_ |= 0x00000200;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder> queriesByTypeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public java.util.List getQueriesByTypeList() {
if (queriesByTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(queriesByType_);
} else {
return queriesByTypeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public int getQueriesByTypeCount() {
if (queriesByTypeBuilder_ == null) {
return queriesByType_.size();
} else {
return queriesByTypeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getQueriesByType(int index) {
if (queriesByTypeBuilder_ == null) {
return queriesByType_.get(index);
} else {
return queriesByTypeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder setQueriesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType value) {
if (queriesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueriesByTypeIsMutable();
queriesByType_.set(index, value);
onChanged();
} else {
queriesByTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder setQueriesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder builderForValue) {
if (queriesByTypeBuilder_ == null) {
ensureQueriesByTypeIsMutable();
queriesByType_.set(index, builderForValue.build());
onChanged();
} else {
queriesByTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder addQueriesByType(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType value) {
if (queriesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueriesByTypeIsMutable();
queriesByType_.add(value);
onChanged();
} else {
queriesByTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder addQueriesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType value) {
if (queriesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQueriesByTypeIsMutable();
queriesByType_.add(index, value);
onChanged();
} else {
queriesByTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder addQueriesByType(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder builderForValue) {
if (queriesByTypeBuilder_ == null) {
ensureQueriesByTypeIsMutable();
queriesByType_.add(builderForValue.build());
onChanged();
} else {
queriesByTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder addQueriesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder builderForValue) {
if (queriesByTypeBuilder_ == null) {
ensureQueriesByTypeIsMutable();
queriesByType_.add(index, builderForValue.build());
onChanged();
} else {
queriesByTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder addAllQueriesByType(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType> values) {
if (queriesByTypeBuilder_ == null) {
ensureQueriesByTypeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, queriesByType_);
onChanged();
} else {
queriesByTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder clearQueriesByType() {
if (queriesByTypeBuilder_ == null) {
queriesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
queriesByTypeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public Builder removeQueriesByType(int index) {
if (queriesByTypeBuilder_ == null) {
ensureQueriesByTypeIsMutable();
queriesByType_.remove(index);
onChanged();
} else {
queriesByTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder getQueriesByTypeBuilder(
int index) {
return getQueriesByTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder getQueriesByTypeOrBuilder(
int index) {
if (queriesByTypeBuilder_ == null) {
return queriesByType_.get(index); } else {
return queriesByTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>
getQueriesByTypeOrBuilderList() {
if (queriesByTypeBuilder_ != null) {
return queriesByTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(queriesByType_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder addQueriesByTypeBuilder() {
return getQueriesByTypeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder addQueriesByTypeBuilder(
int index) {
return getQueriesByTypeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 10;
*/
public java.util.List
getQueriesByTypeBuilderList() {
return getQueriesByTypeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>
getQueriesByTypeFieldBuilder() {
if (queriesByTypeBuilder_ == null) {
queriesByTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>(
queriesByType_,
((bitField0_ & 0x00000200) == 0x00000200),
getParentForChildren(),
isClean());
queriesByType_ = null;
}
return queriesByTypeBuilder_;
}
private org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree profileTree_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder> profileTreeBuilder_;
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public boolean hasProfileTree() {
return profileTreeBuilder_ != null || profileTree_ != null;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree() {
if (profileTreeBuilder_ == null) {
return profileTree_ == null ? org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_;
} else {
return profileTreeBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public Builder setProfileTree(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree value) {
if (profileTreeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
profileTree_ = value;
onChanged();
} else {
profileTreeBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public Builder setProfileTree(
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder builderForValue) {
if (profileTreeBuilder_ == null) {
profileTree_ = builderForValue.build();
onChanged();
} else {
profileTreeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public Builder mergeProfileTree(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree value) {
if (profileTreeBuilder_ == null) {
if (profileTree_ != null) {
profileTree_ =
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.newBuilder(profileTree_).mergeFrom(value).buildPartial();
} else {
profileTree_ = value;
}
onChanged();
} else {
profileTreeBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public Builder clearProfileTree() {
if (profileTreeBuilder_ == null) {
profileTree_ = null;
onChanged();
} else {
profileTree_ = null;
profileTreeBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder getProfileTreeBuilder() {
onChanged();
return getProfileTreeFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder() {
if (profileTreeBuilder_ != null) {
return profileTreeBuilder_.getMessageOrBuilder();
} else {
return profileTree_ == null ?
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_;
}
}
/**
* optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 11;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder>
getProfileTreeFieldBuilder() {
if (profileTreeBuilder_ == null) {
profileTreeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder>(
getProfileTree(),
getParentForChildren(),
isClean());
profileTree_ = null;
}
return profileTreeBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Aggregate)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public Aggregate parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new Aggregate(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_OverallAggregate_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_TransactionAggregate_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_Timer_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_Query_fieldAccessorTable;
public static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\017Aggregate.proto\022\033org_glowroot_wire_api" +
"_model\032\021ProfileTree.proto\"g\n\020OverallAggr" +
"egate\022\030\n\020transaction_type\030\001 \001(\t\0229\n\taggre" +
"gate\030\002 \001(\0132&.org_glowroot_wire_api_model" +
".Aggregate\"\205\001\n\024TransactionAggregate\022\030\n\020t" +
"ransaction_type\030\001 \001(\t\022\030\n\020transaction_nam" +
"e\030\002 \001(\t\0229\n\taggregate\030\003 \001(\0132&.org_glowroo" +
"t_wire_api_model.Aggregate\"\345\010\n\tAggregate" +
"\022\023\n\013total_nanos\030\001 \001(\001\022\031\n\021transaction_cou" +
"nt\030\002 \001(\003\022\023\n\013error_count\030\003 \001(\003\022N\n\017total_c",
"pu_nanos\030\004 \001(\01325.org_glowroot_wire_api_m" +
"odel.Aggregate.OptionalDouble\022R\n\023total_b" +
"locked_nanos\030\005 \001(\01325.org_glowroot_wire_a" +
"pi_model.Aggregate.OptionalDouble\022Q\n\022tot" +
"al_waited_nanos\030\006 \001(\01325.org_glowroot_wir" +
"e_api_model.Aggregate.OptionalDouble\022T\n\025" +
"total_allocated_bytes\030\007 \001(\01325.org_glowro" +
"ot_wire_api_model.Aggregate.OptionalDoub" +
"le\022O\n\025total_nanos_histogram\030\010 \001(\01320.org_" +
"glowroot_wire_api_model.Aggregate.Histog",
"ram\022@\n\nroot_timer\030\t \003(\0132,.org_glowroot_w" +
"ire_api_model.Aggregate.Timer\022M\n\017queries" +
"_by_type\030\n \003(\01324.org_glowroot_wire_api_m" +
"odel.Aggregate.QueriesByType\022>\n\014profile_" +
"tree\030\013 \001(\0132(.org_glowroot_wire_api_model" +
".ProfileTree\032\037\n\016OptionalDouble\022\r\n\005value\030" +
"\001 \001(\001\032=\n\tHistogram\022\031\n\021ordered_raw_value\030" +
"\001 \003(\003\022\025\n\rencoded_bytes\030\002 \001(\014\032\216\001\n\005Timer\022\014" +
"\n\004name\030\001 \001(\t\022\020\n\010extended\030\002 \001(\010\022\023\n\013total_" +
"nanos\030\003 \001(\001\022\r\n\005count\030\004 \001(\003\022A\n\013child_time",
"r\030\005 \003(\0132,.org_glowroot_wire_api_model.Ag" +
"gregate.Timer\032Z\n\rQueriesByType\022\014\n\004type\030\001" +
" \001(\t\022;\n\005query\030\002 \003(\0132,.org_glowroot_wire_" +
"api_model.Aggregate.Query\032W\n\005Query\022\014\n\004te" +
"xt\030\001 \001(\t\022\023\n\013total_nanos\030\002 \001(\001\022\022\n\ntotal_r" +
"ows\030\003 \001(\003\022\027\n\017execution_count\030\004 \001(\003B\035\n\033or" +
"g.glowroot.wire.api.modelb\006proto3"
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry assignDescriptors(
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor[] {
org.glowroot.wire.api.model.ProfileTreeOuterClass.getDescriptor(),
}, assigner);
internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_OverallAggregate_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_OverallAggregate_descriptor,
new java.lang.String[] { "TransactionType", "Aggregate", });
internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_glowroot_wire_api_model_TransactionAggregate_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_TransactionAggregate_descriptor,
new java.lang.String[] { "TransactionType", "TransactionName", "Aggregate", });
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_org_glowroot_wire_api_model_Aggregate_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor,
new java.lang.String[] { "TotalNanos", "TransactionCount", "ErrorCount", "TotalCpuNanos", "TotalBlockedNanos", "TotalWaitedNanos", "TotalAllocatedBytes", "TotalNanosHistogram", "RootTimer", "QueriesByType", "ProfileTree", });
internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(0);
internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_OptionalDouble_descriptor,
new java.lang.String[] { "Value", });
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(1);
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor,
new java.lang.String[] { "OrderedRawValue", "EncodedBytes", });
internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(2);
internal_static_org_glowroot_wire_api_model_Aggregate_Timer_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_Timer_descriptor,
new java.lang.String[] { "Name", "Extended", "TotalNanos", "Count", "ChildTimer", });
internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(3);
internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_QueriesByType_descriptor,
new java.lang.String[] { "Type", "Query", });
internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(4);
internal_static_org_glowroot_wire_api_model_Aggregate_Query_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_Query_descriptor,
new java.lang.String[] { "Text", "TotalNanos", "TotalRows", "ExecutionCount", });
org.glowroot.wire.api.model.ProfileTreeOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy