
org.glowroot.wire.api.model.AggregateOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glowroot-agent-it-harness Show documentation
Show all versions of glowroot-agent-it-harness Show documentation
Glowroot Agent Integration Test Harness
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: 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 AggregatesByTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregatesByType)
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 overall_aggregate = 2;
*/
boolean hasOverallAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getOverallAggregate();
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getOverallAggregateOrBuilder();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
java.util.List
getTransactionAggregateList();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index);
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
int getTransactionAggregateCount();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AggregatesByType}
*/
public static final class AggregatesByType extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregatesByType)
AggregatesByTypeOrBuilder {
// Use AggregatesByType.newBuilder() to construct.
private AggregatesByType(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AggregatesByType() {
transactionType_ = "";
transactionAggregate_ = 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 AggregatesByType(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
transactionType_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder subBuilder = null;
if (overallAggregate_ != null) {
subBuilder = overallAggregate_.toBuilder();
}
overallAggregate_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(overallAggregate_);
overallAggregate_ = subBuilder.buildPartial();
}
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
transactionAggregate_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
transactionAggregate_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
transactionAggregate_ = java.util.Collections.unmodifiableList(transactionAggregate_);
}
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_AggregatesByType_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_AggregatesByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.class, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder.class);
}
private int bitField0_;
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 OVERALL_AGGREGATE_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate overallAggregate_;
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public boolean hasOverallAggregate() {
return overallAggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getOverallAggregate() {
return overallAggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : overallAggregate_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getOverallAggregateOrBuilder() {
return getOverallAggregate();
}
public static final int TRANSACTION_AGGREGATE_FIELD_NUMBER = 3;
private java.util.List transactionAggregate_;
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public java.util.List getTransactionAggregateList() {
return transactionAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList() {
return transactionAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public int getTransactionAggregateCount() {
return transactionAggregate_.size();
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index) {
return transactionAggregate_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index) {
return transactionAggregate_.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 (!getTransactionTypeBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, transactionType_);
}
if (overallAggregate_ != null) {
output.writeMessage(2, getOverallAggregate());
}
for (int i = 0; i < transactionAggregate_.size(); i++) {
output.writeMessage(3, transactionAggregate_.get(i));
}
}
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 (overallAggregate_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getOverallAggregate());
}
for (int i = 0; i < transactionAggregate_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, transactionAggregate_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType 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.AggregatesByType 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.AggregatesByType parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType 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.AggregatesByType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType 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.AggregatesByType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType 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.AggregatesByType 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.AggregatesByType 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.AggregatesByType 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.AggregatesByType}
*/
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.AggregatesByType)
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder {
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_AggregatesByType_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_AggregatesByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.class, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.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) {
getTransactionAggregateFieldBuilder();
}
}
public Builder clear() {
super.clear();
transactionType_ = "";
if (overallAggregateBuilder_ == null) {
overallAggregate_ = null;
} else {
overallAggregate_ = null;
overallAggregateBuilder_ = null;
}
if (transactionAggregateBuilder_ == null) {
transactionAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
transactionAggregateBuilder_.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_AggregatesByType_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType build() {
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType result = new org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.transactionType_ = transactionType_;
if (overallAggregateBuilder_ == null) {
result.overallAggregate_ = overallAggregate_;
} else {
result.overallAggregate_ = overallAggregateBuilder_.build();
}
if (transactionAggregateBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
transactionAggregate_ = java.util.Collections.unmodifiableList(transactionAggregate_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.transactionAggregate_ = transactionAggregate_;
} else {
result.transactionAggregate_ = transactionAggregateBuilder_.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.AggregatesByType) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.getDefaultInstance()) return this;
if (!other.getTransactionType().isEmpty()) {
transactionType_ = other.transactionType_;
onChanged();
}
if (other.hasOverallAggregate()) {
mergeOverallAggregate(other.getOverallAggregate());
}
if (transactionAggregateBuilder_ == null) {
if (!other.transactionAggregate_.isEmpty()) {
if (transactionAggregate_.isEmpty()) {
transactionAggregate_ = other.transactionAggregate_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTransactionAggregateIsMutable();
transactionAggregate_.addAll(other.transactionAggregate_);
}
onChanged();
}
} else {
if (!other.transactionAggregate_.isEmpty()) {
if (transactionAggregateBuilder_.isEmpty()) {
transactionAggregateBuilder_.dispose();
transactionAggregateBuilder_ = null;
transactionAggregate_ = other.transactionAggregate_;
bitField0_ = (bitField0_ & ~0x00000004);
transactionAggregateBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getTransactionAggregateFieldBuilder() : null;
} else {
transactionAggregateBuilder_.addAllMessages(other.transactionAggregate_);
}
}
}
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.AggregatesByType parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
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 overallAggregate_ = 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> overallAggregateBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public boolean hasOverallAggregate() {
return overallAggregateBuilder_ != null || overallAggregate_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getOverallAggregate() {
if (overallAggregateBuilder_ == null) {
return overallAggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : overallAggregate_;
} else {
return overallAggregateBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public Builder setOverallAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (overallAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
overallAggregate_ = value;
onChanged();
} else {
overallAggregateBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public Builder setOverallAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder builderForValue) {
if (overallAggregateBuilder_ == null) {
overallAggregate_ = builderForValue.build();
onChanged();
} else {
overallAggregateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public Builder mergeOverallAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) {
if (overallAggregateBuilder_ == null) {
if (overallAggregate_ != null) {
overallAggregate_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder(overallAggregate_).mergeFrom(value).buildPartial();
} else {
overallAggregate_ = value;
}
onChanged();
} else {
overallAggregateBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public Builder clearOverallAggregate() {
if (overallAggregateBuilder_ == null) {
overallAggregate_ = null;
onChanged();
} else {
overallAggregate_ = null;
overallAggregateBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder getOverallAggregateBuilder() {
onChanged();
return getOverallAggregateFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_aggregate = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getOverallAggregateOrBuilder() {
if (overallAggregateBuilder_ != null) {
return overallAggregateBuilder_.getMessageOrBuilder();
} else {
return overallAggregate_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : overallAggregate_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate overall_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>
getOverallAggregateFieldBuilder() {
if (overallAggregateBuilder_ == null) {
overallAggregateBuilder_ = 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>(
getOverallAggregate(),
getParentForChildren(),
isClean());
overallAggregate_ = null;
}
return overallAggregateBuilder_;
}
private java.util.List transactionAggregate_ =
java.util.Collections.emptyList();
private void ensureTransactionAggregateIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
transactionAggregate_ = new java.util.ArrayList(transactionAggregate_);
bitField0_ |= 0x00000004;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder> transactionAggregateBuilder_;
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public java.util.List getTransactionAggregateList() {
if (transactionAggregateBuilder_ == null) {
return java.util.Collections.unmodifiableList(transactionAggregate_);
} else {
return transactionAggregateBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public int getTransactionAggregateCount() {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.size();
} else {
return transactionAggregateBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index) {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.get(index);
} else {
return transactionAggregateBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder setTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.set(index, value);
onChanged();
} else {
transactionAggregateBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder setTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.set(index, builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder addTransactionAggregate(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(value);
onChanged();
} else {
transactionAggregateBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder addTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(index, value);
onChanged();
} else {
transactionAggregateBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder addTransactionAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder addTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(index, builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder addAllTransactionAggregate(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate> values) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transactionAggregate_);
onChanged();
} else {
transactionAggregateBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder clearTransactionAggregate() {
if (transactionAggregateBuilder_ == null) {
transactionAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
transactionAggregateBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public Builder removeTransactionAggregate(int index) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.remove(index);
onChanged();
} else {
transactionAggregateBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder getTransactionAggregateBuilder(
int index) {
return getTransactionAggregateFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index) {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.get(index); } else {
return transactionAggregateBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList() {
if (transactionAggregateBuilder_ != null) {
return transactionAggregateBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(transactionAggregate_);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder addTransactionAggregateBuilder() {
return getTransactionAggregateFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder addTransactionAggregateBuilder(
int index) {
return getTransactionAggregateFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 3;
*/
public java.util.List
getTransactionAggregateBuilderList() {
return getTransactionAggregateFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateFieldBuilder() {
if (transactionAggregateBuilder_ == null) {
transactionAggregateBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>(
transactionAggregate_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
transactionAggregate_ = null;
}
return transactionAggregateBuilder_;
}
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.AggregatesByType)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregatesByType)
private static final org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public AggregatesByType 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 AggregatesByType(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.AggregatesByType 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_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() {
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 18: {
java.lang.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_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 (!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 (!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();
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.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.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 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_duration_nanos = 1;
*/
double getTotalDurationNanos();
/**
* optional int64 transaction_count = 2;
*/
long getTransactionCount();
/**
* optional int64 error_count = 3;
*/
long getErrorCount();
/**
* optional bool async_transactions = 4;
*
*
* true if there was at least one async transaction in aggregate
*
*/
boolean getAsyncTransactions();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
java.util.List
getMainThreadRootTimerList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getMainThreadRootTimer(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
int getMainThreadRootTimerCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getMainThreadRootTimerOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getMainThreadRootTimerOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
java.util.List
getAuxThreadRootTimerList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAuxThreadRootTimer(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
int getAuxThreadRootTimerCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAuxThreadRootTimerOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAuxThreadRootTimerOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
java.util.List
getAsyncRootTimerList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAsyncRootTimer(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
int getAsyncRootTimerCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAsyncRootTimerOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAsyncRootTimerOrBuilder(
int index);
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
boolean hasMainThreadStats();
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getMainThreadStats();
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getMainThreadStatsOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
boolean hasAuxThreadStats();
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getAuxThreadStats();
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
boolean hasDurationNanosHistogram();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDurationNanosHistogram();
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getDurationNanosHistogramOrBuilder();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
java.util.List
getQueriesByTypeList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType getQueriesByType(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
int getQueriesByTypeCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder>
getQueriesByTypeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder getQueriesByTypeOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
java.util.List
getServiceCallsByTypeList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType getServiceCallsByType(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
int getServiceCallsByTypeCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder>
getServiceCallsByTypeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder getServiceCallsByTypeOrBuilder(
int index);
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
boolean hasMainThreadProfile();
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile();
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder();
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
boolean hasAuxThreadProfile();
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile();
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder();
}
/**
* 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() {
totalDurationNanos_ = 0D;
transactionCount_ = 0L;
errorCount_ = 0L;
asyncTransactions_ = false;
mainThreadRootTimer_ = java.util.Collections.emptyList();
auxThreadRootTimer_ = java.util.Collections.emptyList();
asyncRootTimer_ = java.util.Collections.emptyList();
queriesByType_ = java.util.Collections.emptyList();
serviceCallsByType_ = 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: {
totalDurationNanos_ = input.readDouble();
break;
}
case 16: {
transactionCount_ = input.readInt64();
break;
}
case 24: {
errorCount_ = input.readInt64();
break;
}
case 32: {
asyncTransactions_ = input.readBool();
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
mainThreadRootTimer_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
mainThreadRootTimer_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.parser(), extensionRegistry));
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
auxThreadRootTimer_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000020;
}
auxThreadRootTimer_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.parser(), extensionRegistry));
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
asyncRootTimer_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
asyncRootTimer_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.parser(), extensionRegistry));
break;
}
case 66: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder subBuilder = null;
if (mainThreadStats_ != null) {
subBuilder = mainThreadStats_.toBuilder();
}
mainThreadStats_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mainThreadStats_);
mainThreadStats_ = subBuilder.buildPartial();
}
break;
}
case 74: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder subBuilder = null;
if (auxThreadStats_ != null) {
subBuilder = auxThreadStats_.toBuilder();
}
auxThreadStats_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(auxThreadStats_);
auxThreadStats_ = subBuilder.buildPartial();
}
break;
}
case 82: {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder subBuilder = null;
if (durationNanosHistogram_ != null) {
subBuilder = durationNanosHistogram_.toBuilder();
}
durationNanosHistogram_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(durationNanosHistogram_);
durationNanosHistogram_ = subBuilder.buildPartial();
}
break;
}
case 90: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
queriesByType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
queriesByType_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByType.parser(), extensionRegistry));
break;
}
case 98: {
if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
serviceCallsByType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000800;
}
serviceCallsByType_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.parser(), extensionRegistry));
break;
}
case 106: {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder subBuilder = null;
if (mainThreadProfile_ != null) {
subBuilder = mainThreadProfile_.toBuilder();
}
mainThreadProfile_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mainThreadProfile_);
mainThreadProfile_ = subBuilder.buildPartial();
}
break;
}
case 114: {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder subBuilder = null;
if (auxThreadProfile_ != null) {
subBuilder = auxThreadProfile_.toBuilder();
}
auxThreadProfile_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(auxThreadProfile_);
auxThreadProfile_ = 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_ & 0x00000010) == 0x00000010)) {
mainThreadRootTimer_ = java.util.Collections.unmodifiableList(mainThreadRootTimer_);
}
if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) {
auxThreadRootTimer_ = java.util.Collections.unmodifiableList(auxThreadRootTimer_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
asyncRootTimer_ = java.util.Collections.unmodifiableList(asyncRootTimer_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
queriesByType_ = java.util.Collections.unmodifiableList(queriesByType_);
}
if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
serviceCallsByType_ = java.util.Collections.unmodifiableList(serviceCallsByType_);
}
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 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: {
java.lang.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 ThreadStatsOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.ThreadStats)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
boolean hasTotalCpuNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getTotalCpuNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
boolean hasTotalBlockedNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getTotalBlockedNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
boolean hasTotalWaitedNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getTotalWaitedNanos();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
boolean hasTotalAllocatedBytes();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalDouble getTotalAllocatedBytes();
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.ThreadStats}
*/
public static final class ThreadStats extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.ThreadStats)
ThreadStatsOrBuilder {
// Use ThreadStats.newBuilder() to construct.
private ThreadStats(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ThreadStats() {
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ThreadStats(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null;
if (totalCpuNanos_ != null) {
subBuilder = totalCpuNanos_.toBuilder();
}
totalCpuNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalCpuNanos_);
totalCpuNanos_ = subBuilder.buildPartial();
}
break;
}
case 18: {
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null;
if (totalBlockedNanos_ != null) {
subBuilder = totalBlockedNanos_.toBuilder();
}
totalBlockedNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalBlockedNanos_);
totalBlockedNanos_ = subBuilder.buildPartial();
}
break;
}
case 26: {
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null;
if (totalWaitedNanos_ != null) {
subBuilder = totalWaitedNanos_.toBuilder();
}
totalWaitedNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalWaitedNanos_);
totalWaitedNanos_ = subBuilder.buildPartial();
}
break;
}
case 34: {
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder subBuilder = null;
if (totalAllocatedBytes_ != null) {
subBuilder = totalAllocatedBytes_.toBuilder();
}
totalAllocatedBytes_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalDouble.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalAllocatedBytes_);
totalAllocatedBytes_ = 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_Aggregate_ThreadStats_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_ThreadStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder.class);
}
public static final int TOTAL_CPU_NANOS_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.Proto.OptionalDouble totalCpuNanos_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public boolean hasTotalCpuNanos() {
return totalCpuNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalCpuNanos() {
return totalCpuNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder() {
return getTotalCpuNanos();
}
public static final int TOTAL_BLOCKED_NANOS_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.Proto.OptionalDouble totalBlockedNanos_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public boolean hasTotalBlockedNanos() {
return totalBlockedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalBlockedNanos() {
return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder() {
return getTotalBlockedNanos();
}
public static final int TOTAL_WAITED_NANOS_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.Proto.OptionalDouble totalWaitedNanos_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public boolean hasTotalWaitedNanos() {
return totalWaitedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalWaitedNanos() {
return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder() {
return getTotalWaitedNanos();
}
public static final int TOTAL_ALLOCATED_BYTES_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.Proto.OptionalDouble totalAllocatedBytes_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public boolean hasTotalAllocatedBytes() {
return totalAllocatedBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalAllocatedBytes() {
return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder() {
return getTotalAllocatedBytes();
}
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 (totalCpuNanos_ != null) {
output.writeMessage(1, getTotalCpuNanos());
}
if (totalBlockedNanos_ != null) {
output.writeMessage(2, getTotalBlockedNanos());
}
if (totalWaitedNanos_ != null) {
output.writeMessage(3, getTotalWaitedNanos());
}
if (totalAllocatedBytes_ != null) {
output.writeMessage(4, getTotalAllocatedBytes());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalCpuNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(1, getTotalCpuNanos());
}
if (totalBlockedNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTotalBlockedNanos());
}
if (totalWaitedNanos_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTotalWaitedNanos());
}
if (totalAllocatedBytes_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTotalAllocatedBytes());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats 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.ThreadStats 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.ThreadStats parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats 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.ThreadStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats 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.ThreadStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats 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.ThreadStats 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.ThreadStats 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.ThreadStats 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.ThreadStats}
*/
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.ThreadStats)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder {
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_ThreadStats_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_ThreadStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
if (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;
}
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_ThreadStats_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats(this);
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();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance()) return this;
if (other.hasTotalCpuNanos()) {
mergeTotalCpuNanos(other.getTotalCpuNanos());
}
if (other.hasTotalBlockedNanos()) {
mergeTotalBlockedNanos(other.getTotalBlockedNanos());
}
if (other.hasTotalWaitedNanos()) {
mergeTotalWaitedNanos(other.getTotalWaitedNanos());
}
if (other.hasTotalAllocatedBytes()) {
mergeTotalAllocatedBytes(other.getTotalAllocatedBytes());
}
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.ThreadStats 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.ThreadStats) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalDouble totalCpuNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> totalCpuNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public boolean hasTotalCpuNanos() {
return totalCpuNanosBuilder_ != null || totalCpuNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalCpuNanos() {
if (totalCpuNanosBuilder_ == null) {
return totalCpuNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
} else {
return totalCpuNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public Builder setTotalCpuNanos(org.glowroot.wire.api.model.Proto.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.OptionalDouble total_cpu_nanos = 1;
*/
public Builder setTotalCpuNanos(
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanos_ = builderForValue.build();
onChanged();
} else {
totalCpuNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public Builder mergeTotalCpuNanos(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (totalCpuNanosBuilder_ == null) {
if (totalCpuNanos_ != null) {
totalCpuNanos_ =
org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(totalCpuNanos_).mergeFrom(value).buildPartial();
} else {
totalCpuNanos_ = value;
}
onChanged();
} else {
totalCpuNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public Builder clearTotalCpuNanos() {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanos_ = null;
onChanged();
} else {
totalCpuNanos_ = null;
totalCpuNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTotalCpuNanosBuilder() {
onChanged();
return getTotalCpuNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalCpuNanosOrBuilder() {
if (totalCpuNanosBuilder_ != null) {
return totalCpuNanosBuilder_.getMessageOrBuilder();
} else {
return totalCpuNanos_ == null ?
org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalCpuNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_cpu_nanos = 1;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>
getTotalCpuNanosFieldBuilder() {
if (totalCpuNanosBuilder_ == null) {
totalCpuNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>(
getTotalCpuNanos(),
getParentForChildren(),
isClean());
totalCpuNanos_ = null;
}
return totalCpuNanosBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalDouble totalBlockedNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> totalBlockedNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public boolean hasTotalBlockedNanos() {
return totalBlockedNanosBuilder_ != null || totalBlockedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalBlockedNanos() {
if (totalBlockedNanosBuilder_ == null) {
return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
} else {
return totalBlockedNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public Builder setTotalBlockedNanos(org.glowroot.wire.api.model.Proto.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.OptionalDouble total_blocked_nanos = 2;
*/
public Builder setTotalBlockedNanos(
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanos_ = builderForValue.build();
onChanged();
} else {
totalBlockedNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public Builder mergeTotalBlockedNanos(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (totalBlockedNanosBuilder_ == null) {
if (totalBlockedNanos_ != null) {
totalBlockedNanos_ =
org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(totalBlockedNanos_).mergeFrom(value).buildPartial();
} else {
totalBlockedNanos_ = value;
}
onChanged();
} else {
totalBlockedNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public Builder clearTotalBlockedNanos() {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanos_ = null;
onChanged();
} else {
totalBlockedNanos_ = null;
totalBlockedNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTotalBlockedNanosBuilder() {
onChanged();
return getTotalBlockedNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalBlockedNanosOrBuilder() {
if (totalBlockedNanosBuilder_ != null) {
return totalBlockedNanosBuilder_.getMessageOrBuilder();
} else {
return totalBlockedNanos_ == null ?
org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalBlockedNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_blocked_nanos = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>
getTotalBlockedNanosFieldBuilder() {
if (totalBlockedNanosBuilder_ == null) {
totalBlockedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>(
getTotalBlockedNanos(),
getParentForChildren(),
isClean());
totalBlockedNanos_ = null;
}
return totalBlockedNanosBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalDouble totalWaitedNanos_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> totalWaitedNanosBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public boolean hasTotalWaitedNanos() {
return totalWaitedNanosBuilder_ != null || totalWaitedNanos_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalWaitedNanos() {
if (totalWaitedNanosBuilder_ == null) {
return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
} else {
return totalWaitedNanosBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public Builder setTotalWaitedNanos(org.glowroot.wire.api.model.Proto.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.OptionalDouble total_waited_nanos = 3;
*/
public Builder setTotalWaitedNanos(
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanos_ = builderForValue.build();
onChanged();
} else {
totalWaitedNanosBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public Builder mergeTotalWaitedNanos(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (totalWaitedNanosBuilder_ == null) {
if (totalWaitedNanos_ != null) {
totalWaitedNanos_ =
org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(totalWaitedNanos_).mergeFrom(value).buildPartial();
} else {
totalWaitedNanos_ = value;
}
onChanged();
} else {
totalWaitedNanosBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public Builder clearTotalWaitedNanos() {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanos_ = null;
onChanged();
} else {
totalWaitedNanos_ = null;
totalWaitedNanosBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTotalWaitedNanosBuilder() {
onChanged();
return getTotalWaitedNanosFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalWaitedNanosOrBuilder() {
if (totalWaitedNanosBuilder_ != null) {
return totalWaitedNanosBuilder_.getMessageOrBuilder();
} else {
return totalWaitedNanos_ == null ?
org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalWaitedNanos_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_waited_nanos = 3;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>
getTotalWaitedNanosFieldBuilder() {
if (totalWaitedNanosBuilder_ == null) {
totalWaitedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>(
getTotalWaitedNanos(),
getParentForChildren(),
isClean());
totalWaitedNanos_ = null;
}
return totalWaitedNanosBuilder_;
}
private org.glowroot.wire.api.model.Proto.OptionalDouble totalAllocatedBytes_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder> totalAllocatedBytesBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public boolean hasTotalAllocatedBytes() {
return totalAllocatedBytesBuilder_ != null || totalAllocatedBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble getTotalAllocatedBytes() {
if (totalAllocatedBytesBuilder_ == null) {
return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
} else {
return totalAllocatedBytesBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public Builder setTotalAllocatedBytes(org.glowroot.wire.api.model.Proto.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.OptionalDouble total_allocated_bytes = 4;
*/
public Builder setTotalAllocatedBytes(
org.glowroot.wire.api.model.Proto.OptionalDouble.Builder builderForValue) {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytes_ = builderForValue.build();
onChanged();
} else {
totalAllocatedBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public Builder mergeTotalAllocatedBytes(org.glowroot.wire.api.model.Proto.OptionalDouble value) {
if (totalAllocatedBytesBuilder_ == null) {
if (totalAllocatedBytes_ != null) {
totalAllocatedBytes_ =
org.glowroot.wire.api.model.Proto.OptionalDouble.newBuilder(totalAllocatedBytes_).mergeFrom(value).buildPartial();
} else {
totalAllocatedBytes_ = value;
}
onChanged();
} else {
totalAllocatedBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public Builder clearTotalAllocatedBytes() {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytes_ = null;
onChanged();
} else {
totalAllocatedBytes_ = null;
totalAllocatedBytesBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDouble.Builder getTotalAllocatedBytesBuilder() {
onChanged();
return getTotalAllocatedBytesFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder getTotalAllocatedBytesOrBuilder() {
if (totalAllocatedBytesBuilder_ != null) {
return totalAllocatedBytesBuilder_.getMessageOrBuilder();
} else {
return totalAllocatedBytes_ == null ?
org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance() : totalAllocatedBytes_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalDouble total_allocated_bytes = 4;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>
getTotalAllocatedBytesFieldBuilder() {
if (totalAllocatedBytesBuilder_ == null) {
totalAllocatedBytesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalDouble, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder, org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder>(
getTotalAllocatedBytes(),
getParentForChildren(),
isClean());
totalAllocatedBytes_ = null;
}
return totalAllocatedBytesBuilder_;
}
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.ThreadStats)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.ThreadStats)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ThreadStats 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 ThreadStats(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.ThreadStats 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: {
java.lang.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_duration_nanos = 2;
*/
double getTotalDurationNanos();
/**
* optional int64 execution_count = 3;
*/
long getExecutionCount();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
boolean hasTotalRows();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalRows();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalRowsOrBuilder();
}
/**
* 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_ = "";
totalDurationNanos_ = 0D;
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: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 17: {
totalDurationNanos_ = input.readDouble();
break;
}
case 24: {
executionCount_ = input.readInt64();
break;
}
case 34: {
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null;
if (totalRows_ != null) {
subBuilder = totalRows_.toBuilder();
}
totalRows_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalRows_);
totalRows_ = 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_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_DURATION_NANOS_FIELD_NUMBER = 2;
private double totalDurationNanos_;
/**
* optional double total_duration_nanos = 2;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
public static final int EXECUTION_COUNT_FIELD_NUMBER = 3;
private long executionCount_;
/**
* optional int64 execution_count = 3;
*/
public long getExecutionCount() {
return executionCount_;
}
public static final int TOTAL_ROWS_FIELD_NUMBER = 4;
private org.glowroot.wire.api.model.Proto.OptionalInt64 totalRows_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public boolean hasTotalRows() {
return totalRows_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalRows() {
return totalRows_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalRows_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalRowsOrBuilder() {
return getTotalRows();
}
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 (totalDurationNanos_ != 0D) {
output.writeDouble(2, totalDurationNanos_);
}
if (executionCount_ != 0L) {
output.writeInt64(3, executionCount_);
}
if (totalRows_ != null) {
output.writeMessage(4, getTotalRows());
}
}
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 (totalDurationNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(2, totalDurationNanos_);
}
if (executionCount_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(3, executionCount_);
}
if (totalRows_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(4, getTotalRows());
}
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_ = "";
totalDurationNanos_ = 0D;
executionCount_ = 0L;
if (totalRowsBuilder_ == null) {
totalRows_ = null;
} else {
totalRows_ = null;
totalRowsBuilder_ = 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_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.totalDurationNanos_ = totalDurationNanos_;
result.executionCount_ = executionCount_;
if (totalRowsBuilder_ == null) {
result.totalRows_ = totalRows_;
} else {
result.totalRows_ = totalRowsBuilder_.build();
}
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.getTotalDurationNanos() != 0D) {
setTotalDurationNanos(other.getTotalDurationNanos());
}
if (other.getExecutionCount() != 0L) {
setExecutionCount(other.getExecutionCount());
}
if (other.hasTotalRows()) {
mergeTotalRows(other.getTotalRows());
}
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 totalDurationNanos_ ;
/**
* optional double total_duration_nanos = 2;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
/**
* optional double total_duration_nanos = 2;
*/
public Builder setTotalDurationNanos(double value) {
totalDurationNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_duration_nanos = 2;
*/
public Builder clearTotalDurationNanos() {
totalDurationNanos_ = 0D;
onChanged();
return this;
}
private long executionCount_ ;
/**
* optional int64 execution_count = 3;
*/
public long getExecutionCount() {
return executionCount_;
}
/**
* optional int64 execution_count = 3;
*/
public Builder setExecutionCount(long value) {
executionCount_ = value;
onChanged();
return this;
}
/**
* optional int64 execution_count = 3;
*/
public Builder clearExecutionCount() {
executionCount_ = 0L;
onChanged();
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt64 totalRows_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalRowsBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public boolean hasTotalRows() {
return totalRowsBuilder_ != null || totalRows_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalRows() {
if (totalRowsBuilder_ == null) {
return totalRows_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalRows_;
} else {
return totalRowsBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public Builder setTotalRows(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (totalRowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalRows_ = value;
onChanged();
} else {
totalRowsBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public Builder setTotalRows(
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) {
if (totalRowsBuilder_ == null) {
totalRows_ = builderForValue.build();
onChanged();
} else {
totalRowsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public Builder mergeTotalRows(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (totalRowsBuilder_ == null) {
if (totalRows_ != null) {
totalRows_ =
org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalRows_).mergeFrom(value).buildPartial();
} else {
totalRows_ = value;
}
onChanged();
} else {
totalRowsBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public Builder clearTotalRows() {
if (totalRowsBuilder_ == null) {
totalRows_ = null;
onChanged();
} else {
totalRows_ = null;
totalRowsBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalRowsBuilder() {
onChanged();
return getTotalRowsFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalRowsOrBuilder() {
if (totalRowsBuilder_ != null) {
return totalRowsBuilder_.getMessageOrBuilder();
} else {
return totalRows_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalRows_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_rows = 4;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>
getTotalRowsFieldBuilder() {
if (totalRowsBuilder_ == null) {
totalRowsBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>(
getTotalRows(),
getParentForChildren(),
isClean());
totalRows_ = null;
}
return totalRowsBuilder_;
}
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;
}
}
public interface ServiceCallsByTypeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.ServiceCallsByType)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string type = 1;
*
*
* e.g. "HTTP"
*
*/
java.lang.String getType();
/**
* optional string type = 1;
*
*
* e.g. "HTTP"
*
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getTypeBytes();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
java.util.List
getServiceCallList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall getServiceCall(int index);
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
int getServiceCallCount();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder>
getServiceCallOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder getServiceCallOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.ServiceCallsByType}
*/
public static final class ServiceCallsByType extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.ServiceCallsByType)
ServiceCallsByTypeOrBuilder {
// Use ServiceCallsByType.newBuilder() to construct.
private ServiceCallsByType(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ServiceCallsByType() {
type_ = "";
serviceCall_ = 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 ServiceCallsByType(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
type_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
serviceCall_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
serviceCall_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.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)) {
serviceCall_ = java.util.Collections.unmodifiableList(serviceCall_);
}
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_ServiceCallsByType_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_ServiceCallsByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.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. "HTTP"
*
*/
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. "HTTP"
*
*/
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 SERVICE_CALL_FIELD_NUMBER = 2;
private java.util.List serviceCall_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public java.util.List getServiceCallList() {
return serviceCall_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder>
getServiceCallOrBuilderList() {
return serviceCall_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public int getServiceCallCount() {
return serviceCall_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall getServiceCall(int index) {
return serviceCall_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder getServiceCallOrBuilder(
int index) {
return serviceCall_.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 < serviceCall_.size(); i++) {
output.writeMessage(2, serviceCall_.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 < serviceCall_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, serviceCall_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType 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.ServiceCallsByType 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.ServiceCallsByType parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType 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.ServiceCallsByType parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType 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.ServiceCallsByType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType 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.ServiceCallsByType 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.ServiceCallsByType 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.ServiceCallsByType 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.ServiceCallsByType}
*/
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.ServiceCallsByType)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder {
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_ServiceCallsByType_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_ServiceCallsByType_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.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) {
getServiceCallFieldBuilder();
}
}
public Builder clear() {
super.clear();
type_ = "";
if (serviceCallBuilder_ == null) {
serviceCall_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
serviceCallBuilder_.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_ServiceCallsByType_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.type_ = type_;
if (serviceCallBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
serviceCall_ = java.util.Collections.unmodifiableList(serviceCall_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.serviceCall_ = serviceCall_;
} else {
result.serviceCall_ = serviceCallBuilder_.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.ServiceCallsByType) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
onChanged();
}
if (serviceCallBuilder_ == null) {
if (!other.serviceCall_.isEmpty()) {
if (serviceCall_.isEmpty()) {
serviceCall_ = other.serviceCall_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureServiceCallIsMutable();
serviceCall_.addAll(other.serviceCall_);
}
onChanged();
}
} else {
if (!other.serviceCall_.isEmpty()) {
if (serviceCallBuilder_.isEmpty()) {
serviceCallBuilder_.dispose();
serviceCallBuilder_ = null;
serviceCall_ = other.serviceCall_;
bitField0_ = (bitField0_ & ~0x00000002);
serviceCallBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getServiceCallFieldBuilder() : null;
} else {
serviceCallBuilder_.addAllMessages(other.serviceCall_);
}
}
}
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.ServiceCallsByType 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.ServiceCallsByType) 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. "HTTP"
*
*/
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. "HTTP"
*
*/
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. "HTTP"
*
*/
public Builder setType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
type_ = value;
onChanged();
return this;
}
/**
* optional string type = 1;
*
*
* e.g. "HTTP"
*
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
onChanged();
return this;
}
/**
* optional string type = 1;
*
*
* e.g. "HTTP"
*
*/
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 serviceCall_ =
java.util.Collections.emptyList();
private void ensureServiceCallIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
serviceCall_ = new java.util.ArrayList(serviceCall_);
bitField0_ |= 0x00000002;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder> serviceCallBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public java.util.List getServiceCallList() {
if (serviceCallBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceCall_);
} else {
return serviceCallBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public int getServiceCallCount() {
if (serviceCallBuilder_ == null) {
return serviceCall_.size();
} else {
return serviceCallBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall getServiceCall(int index) {
if (serviceCallBuilder_ == null) {
return serviceCall_.get(index);
} else {
return serviceCallBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder setServiceCall(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall value) {
if (serviceCallBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallIsMutable();
serviceCall_.set(index, value);
onChanged();
} else {
serviceCallBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder setServiceCall(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder builderForValue) {
if (serviceCallBuilder_ == null) {
ensureServiceCallIsMutable();
serviceCall_.set(index, builderForValue.build());
onChanged();
} else {
serviceCallBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder addServiceCall(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall value) {
if (serviceCallBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallIsMutable();
serviceCall_.add(value);
onChanged();
} else {
serviceCallBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder addServiceCall(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall value) {
if (serviceCallBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallIsMutable();
serviceCall_.add(index, value);
onChanged();
} else {
serviceCallBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder addServiceCall(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder builderForValue) {
if (serviceCallBuilder_ == null) {
ensureServiceCallIsMutable();
serviceCall_.add(builderForValue.build());
onChanged();
} else {
serviceCallBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder addServiceCall(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder builderForValue) {
if (serviceCallBuilder_ == null) {
ensureServiceCallIsMutable();
serviceCall_.add(index, builderForValue.build());
onChanged();
} else {
serviceCallBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder addAllServiceCall(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall> values) {
if (serviceCallBuilder_ == null) {
ensureServiceCallIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceCall_);
onChanged();
} else {
serviceCallBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder clearServiceCall() {
if (serviceCallBuilder_ == null) {
serviceCall_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
serviceCallBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public Builder removeServiceCall(int index) {
if (serviceCallBuilder_ == null) {
ensureServiceCallIsMutable();
serviceCall_.remove(index);
onChanged();
} else {
serviceCallBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder getServiceCallBuilder(
int index) {
return getServiceCallFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder getServiceCallOrBuilder(
int index) {
if (serviceCallBuilder_ == null) {
return serviceCall_.get(index); } else {
return serviceCallBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder>
getServiceCallOrBuilderList() {
if (serviceCallBuilder_ != null) {
return serviceCallBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceCall_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder addServiceCallBuilder() {
return getServiceCallFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder addServiceCallBuilder(
int index) {
return getServiceCallFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCall service_call = 2;
*/
public java.util.List
getServiceCallBuilderList() {
return getServiceCallFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder>
getServiceCallFieldBuilder() {
if (serviceCallBuilder_ == null) {
serviceCallBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder>(
serviceCall_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
serviceCall_ = null;
}
return serviceCallBuilder_;
}
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.ServiceCallsByType)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.ServiceCallsByType)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ServiceCallsByType 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 ServiceCallsByType(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.ServiceCallsByType getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ServiceCallOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Aggregate.ServiceCall)
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_duration_nanos = 2;
*/
double getTotalDurationNanos();
/**
* optional int64 execution_count = 3;
*/
long getExecutionCount();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Aggregate.ServiceCall}
*/
public static final class ServiceCall extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Aggregate.ServiceCall)
ServiceCallOrBuilder {
// Use ServiceCall.newBuilder() to construct.
private ServiceCall(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ServiceCall() {
text_ = "";
totalDurationNanos_ = 0D;
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 ServiceCall(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
text_ = s;
break;
}
case 17: {
totalDurationNanos_ = input.readDouble();
break;
}
case 24: {
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_ServiceCall_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_ServiceCall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.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_DURATION_NANOS_FIELD_NUMBER = 2;
private double totalDurationNanos_;
/**
* optional double total_duration_nanos = 2;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
public static final int EXECUTION_COUNT_FIELD_NUMBER = 3;
private long executionCount_;
/**
* optional int64 execution_count = 3;
*/
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 (totalDurationNanos_ != 0D) {
output.writeDouble(2, totalDurationNanos_);
}
if (executionCount_ != 0L) {
output.writeInt64(3, 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 (totalDurationNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(2, totalDurationNanos_);
}
if (executionCount_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(3, executionCount_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall 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.ServiceCall 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.ServiceCall parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall 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.ServiceCall parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall 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.ServiceCall parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall 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.ServiceCall 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.ServiceCall 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.ServiceCall 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.ServiceCall}
*/
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.ServiceCall)
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallOrBuilder {
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_ServiceCall_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_ServiceCall_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.class, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.Builder.class);
}
// Construct using org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.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_ = "";
totalDurationNanos_ = 0D;
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_ServiceCall_descriptor;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall getDefaultInstanceForType() {
return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.getDefaultInstance();
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall build() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall buildPartial() {
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall result = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall(this);
result.text_ = text_;
result.totalDurationNanos_ = totalDurationNanos_;
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.ServiceCall) {
return mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall other) {
if (other == org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall.getDefaultInstance()) return this;
if (!other.getText().isEmpty()) {
text_ = other.text_;
onChanged();
}
if (other.getTotalDurationNanos() != 0D) {
setTotalDurationNanos(other.getTotalDurationNanos());
}
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.ServiceCall 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.ServiceCall) 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 totalDurationNanos_ ;
/**
* optional double total_duration_nanos = 2;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
/**
* optional double total_duration_nanos = 2;
*/
public Builder setTotalDurationNanos(double value) {
totalDurationNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_duration_nanos = 2;
*/
public Builder clearTotalDurationNanos() {
totalDurationNanos_ = 0D;
onChanged();
return this;
}
private long executionCount_ ;
/**
* optional int64 execution_count = 3;
*/
public long getExecutionCount() {
return executionCount_;
}
/**
* optional int64 execution_count = 3;
*/
public Builder setExecutionCount(long value) {
executionCount_ = value;
onChanged();
return this;
}
/**
* optional int64 execution_count = 3;
*/
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.ServiceCall)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Aggregate.ServiceCall)
private static final org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall();
}
public static org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCall getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ServiceCall 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 ServiceCall(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.ServiceCall getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int bitField0_;
public static final int TOTAL_DURATION_NANOS_FIELD_NUMBER = 1;
private double totalDurationNanos_;
/**
* optional double total_duration_nanos = 1;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
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 ASYNC_TRANSACTIONS_FIELD_NUMBER = 4;
private boolean asyncTransactions_;
/**
* optional bool async_transactions = 4;
*
*
* true if there was at least one async transaction in aggregate
*
*/
public boolean getAsyncTransactions() {
return asyncTransactions_;
}
public static final int MAIN_THREAD_ROOT_TIMER_FIELD_NUMBER = 5;
private java.util.List mainThreadRootTimer_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public java.util.List getMainThreadRootTimerList() {
return mainThreadRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getMainThreadRootTimerOrBuilderList() {
return mainThreadRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public int getMainThreadRootTimerCount() {
return mainThreadRootTimer_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getMainThreadRootTimer(int index) {
return mainThreadRootTimer_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getMainThreadRootTimerOrBuilder(
int index) {
return mainThreadRootTimer_.get(index);
}
public static final int AUX_THREAD_ROOT_TIMER_FIELD_NUMBER = 6;
private java.util.List auxThreadRootTimer_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public java.util.List getAuxThreadRootTimerList() {
return auxThreadRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAuxThreadRootTimerOrBuilderList() {
return auxThreadRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public int getAuxThreadRootTimerCount() {
return auxThreadRootTimer_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAuxThreadRootTimer(int index) {
return auxThreadRootTimer_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAuxThreadRootTimerOrBuilder(
int index) {
return auxThreadRootTimer_.get(index);
}
public static final int ASYNC_ROOT_TIMER_FIELD_NUMBER = 7;
private java.util.List asyncRootTimer_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public java.util.List getAsyncRootTimerList() {
return asyncRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAsyncRootTimerOrBuilderList() {
return asyncRootTimer_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public int getAsyncRootTimerCount() {
return asyncRootTimer_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAsyncRootTimer(int index) {
return asyncRootTimer_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAsyncRootTimerOrBuilder(
int index) {
return asyncRootTimer_.get(index);
}
public static final int MAIN_THREAD_STATS_FIELD_NUMBER = 8;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats mainThreadStats_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public boolean hasMainThreadStats() {
return mainThreadStats_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getMainThreadStats() {
return mainThreadStats_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : mainThreadStats_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getMainThreadStatsOrBuilder() {
return getMainThreadStats();
}
public static final int AUX_THREAD_STATS_FIELD_NUMBER = 9;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats auxThreadStats_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public boolean hasAuxThreadStats() {
return auxThreadStats_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getAuxThreadStats() {
return auxThreadStats_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : auxThreadStats_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder() {
return getAuxThreadStats();
}
public static final int DURATION_NANOS_HISTOGRAM_FIELD_NUMBER = 10;
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram durationNanosHistogram_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public boolean hasDurationNanosHistogram() {
return durationNanosHistogram_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDurationNanosHistogram() {
return durationNanosHistogram_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : durationNanosHistogram_;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getDurationNanosHistogramOrBuilder() {
return getDurationNanosHistogram();
}
public static final int QUERIES_BY_TYPE_FIELD_NUMBER = 11;
private java.util.List queriesByType_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
public java.util.List getQueriesByTypeList() {
return queriesByType_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
public int getQueriesByTypeCount() {
return queriesByType_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueriesByTypeOrBuilder getQueriesByTypeOrBuilder(
int index) {
return queriesByType_.get(index);
}
public static final int SERVICE_CALLS_BY_TYPE_FIELD_NUMBER = 12;
private java.util.List serviceCallsByType_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public java.util.List getServiceCallsByTypeList() {
return serviceCallsByType_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder>
getServiceCallsByTypeOrBuilderList() {
return serviceCallsByType_;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public int getServiceCallsByTypeCount() {
return serviceCallsByType_.size();
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType getServiceCallsByType(int index) {
return serviceCallsByType_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder getServiceCallsByTypeOrBuilder(
int index) {
return serviceCallsByType_.get(index);
}
public static final int MAIN_THREAD_PROFILE_FIELD_NUMBER = 13;
private org.glowroot.wire.api.model.ProfileOuterClass.Profile mainThreadProfile_;
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public boolean hasMainThreadProfile() {
return mainThreadProfile_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() {
return mainThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() {
return getMainThreadProfile();
}
public static final int AUX_THREAD_PROFILE_FIELD_NUMBER = 14;
private org.glowroot.wire.api.model.ProfileOuterClass.Profile auxThreadProfile_;
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public boolean hasAuxThreadProfile() {
return auxThreadProfile_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() {
return auxThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() {
return getAuxThreadProfile();
}
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 (totalDurationNanos_ != 0D) {
output.writeDouble(1, totalDurationNanos_);
}
if (transactionCount_ != 0L) {
output.writeInt64(2, transactionCount_);
}
if (errorCount_ != 0L) {
output.writeInt64(3, errorCount_);
}
if (asyncTransactions_ != false) {
output.writeBool(4, asyncTransactions_);
}
for (int i = 0; i < mainThreadRootTimer_.size(); i++) {
output.writeMessage(5, mainThreadRootTimer_.get(i));
}
for (int i = 0; i < auxThreadRootTimer_.size(); i++) {
output.writeMessage(6, auxThreadRootTimer_.get(i));
}
for (int i = 0; i < asyncRootTimer_.size(); i++) {
output.writeMessage(7, asyncRootTimer_.get(i));
}
if (mainThreadStats_ != null) {
output.writeMessage(8, getMainThreadStats());
}
if (auxThreadStats_ != null) {
output.writeMessage(9, getAuxThreadStats());
}
if (durationNanosHistogram_ != null) {
output.writeMessage(10, getDurationNanosHistogram());
}
for (int i = 0; i < queriesByType_.size(); i++) {
output.writeMessage(11, queriesByType_.get(i));
}
for (int i = 0; i < serviceCallsByType_.size(); i++) {
output.writeMessage(12, serviceCallsByType_.get(i));
}
if (mainThreadProfile_ != null) {
output.writeMessage(13, getMainThreadProfile());
}
if (auxThreadProfile_ != null) {
output.writeMessage(14, getAuxThreadProfile());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (totalDurationNanos_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(1, totalDurationNanos_);
}
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 (asyncTransactions_ != false) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeBoolSize(4, asyncTransactions_);
}
for (int i = 0; i < mainThreadRootTimer_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(5, mainThreadRootTimer_.get(i));
}
for (int i = 0; i < auxThreadRootTimer_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(6, auxThreadRootTimer_.get(i));
}
for (int i = 0; i < asyncRootTimer_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(7, asyncRootTimer_.get(i));
}
if (mainThreadStats_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMainThreadStats());
}
if (auxThreadStats_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(9, getAuxThreadStats());
}
if (durationNanosHistogram_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(10, getDurationNanosHistogram());
}
for (int i = 0; i < queriesByType_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(11, queriesByType_.get(i));
}
for (int i = 0; i < serviceCallsByType_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(12, serviceCallsByType_.get(i));
}
if (mainThreadProfile_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(13, getMainThreadProfile());
}
if (auxThreadProfile_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(14, getAuxThreadProfile());
}
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) {
getMainThreadRootTimerFieldBuilder();
getAuxThreadRootTimerFieldBuilder();
getAsyncRootTimerFieldBuilder();
getQueriesByTypeFieldBuilder();
getServiceCallsByTypeFieldBuilder();
}
}
public Builder clear() {
super.clear();
totalDurationNanos_ = 0D;
transactionCount_ = 0L;
errorCount_ = 0L;
asyncTransactions_ = false;
if (mainThreadRootTimerBuilder_ == null) {
mainThreadRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
mainThreadRootTimerBuilder_.clear();
}
if (auxThreadRootTimerBuilder_ == null) {
auxThreadRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
} else {
auxThreadRootTimerBuilder_.clear();
}
if (asyncRootTimerBuilder_ == null) {
asyncRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
} else {
asyncRootTimerBuilder_.clear();
}
if (mainThreadStatsBuilder_ == null) {
mainThreadStats_ = null;
} else {
mainThreadStats_ = null;
mainThreadStatsBuilder_ = null;
}
if (auxThreadStatsBuilder_ == null) {
auxThreadStats_ = null;
} else {
auxThreadStats_ = null;
auxThreadStatsBuilder_ = null;
}
if (durationNanosHistogramBuilder_ == null) {
durationNanosHistogram_ = null;
} else {
durationNanosHistogram_ = null;
durationNanosHistogramBuilder_ = null;
}
if (queriesByTypeBuilder_ == null) {
queriesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
} else {
queriesByTypeBuilder_.clear();
}
if (serviceCallsByTypeBuilder_ == null) {
serviceCallsByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
} else {
serviceCallsByTypeBuilder_.clear();
}
if (mainThreadProfileBuilder_ == null) {
mainThreadProfile_ = null;
} else {
mainThreadProfile_ = null;
mainThreadProfileBuilder_ = null;
}
if (auxThreadProfileBuilder_ == null) {
auxThreadProfile_ = null;
} else {
auxThreadProfile_ = null;
auxThreadProfileBuilder_ = 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.totalDurationNanos_ = totalDurationNanos_;
result.transactionCount_ = transactionCount_;
result.errorCount_ = errorCount_;
result.asyncTransactions_ = asyncTransactions_;
if (mainThreadRootTimerBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
mainThreadRootTimer_ = java.util.Collections.unmodifiableList(mainThreadRootTimer_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.mainThreadRootTimer_ = mainThreadRootTimer_;
} else {
result.mainThreadRootTimer_ = mainThreadRootTimerBuilder_.build();
}
if (auxThreadRootTimerBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020)) {
auxThreadRootTimer_ = java.util.Collections.unmodifiableList(auxThreadRootTimer_);
bitField0_ = (bitField0_ & ~0x00000020);
}
result.auxThreadRootTimer_ = auxThreadRootTimer_;
} else {
result.auxThreadRootTimer_ = auxThreadRootTimerBuilder_.build();
}
if (asyncRootTimerBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040)) {
asyncRootTimer_ = java.util.Collections.unmodifiableList(asyncRootTimer_);
bitField0_ = (bitField0_ & ~0x00000040);
}
result.asyncRootTimer_ = asyncRootTimer_;
} else {
result.asyncRootTimer_ = asyncRootTimerBuilder_.build();
}
if (mainThreadStatsBuilder_ == null) {
result.mainThreadStats_ = mainThreadStats_;
} else {
result.mainThreadStats_ = mainThreadStatsBuilder_.build();
}
if (auxThreadStatsBuilder_ == null) {
result.auxThreadStats_ = auxThreadStats_;
} else {
result.auxThreadStats_ = auxThreadStatsBuilder_.build();
}
if (durationNanosHistogramBuilder_ == null) {
result.durationNanosHistogram_ = durationNanosHistogram_;
} else {
result.durationNanosHistogram_ = durationNanosHistogramBuilder_.build();
}
if (queriesByTypeBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400)) {
queriesByType_ = java.util.Collections.unmodifiableList(queriesByType_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.queriesByType_ = queriesByType_;
} else {
result.queriesByType_ = queriesByTypeBuilder_.build();
}
if (serviceCallsByTypeBuilder_ == null) {
if (((bitField0_ & 0x00000800) == 0x00000800)) {
serviceCallsByType_ = java.util.Collections.unmodifiableList(serviceCallsByType_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.serviceCallsByType_ = serviceCallsByType_;
} else {
result.serviceCallsByType_ = serviceCallsByTypeBuilder_.build();
}
if (mainThreadProfileBuilder_ == null) {
result.mainThreadProfile_ = mainThreadProfile_;
} else {
result.mainThreadProfile_ = mainThreadProfileBuilder_.build();
}
if (auxThreadProfileBuilder_ == null) {
result.auxThreadProfile_ = auxThreadProfile_;
} else {
result.auxThreadProfile_ = auxThreadProfileBuilder_.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.getTotalDurationNanos() != 0D) {
setTotalDurationNanos(other.getTotalDurationNanos());
}
if (other.getTransactionCount() != 0L) {
setTransactionCount(other.getTransactionCount());
}
if (other.getErrorCount() != 0L) {
setErrorCount(other.getErrorCount());
}
if (other.getAsyncTransactions() != false) {
setAsyncTransactions(other.getAsyncTransactions());
}
if (mainThreadRootTimerBuilder_ == null) {
if (!other.mainThreadRootTimer_.isEmpty()) {
if (mainThreadRootTimer_.isEmpty()) {
mainThreadRootTimer_ = other.mainThreadRootTimer_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.addAll(other.mainThreadRootTimer_);
}
onChanged();
}
} else {
if (!other.mainThreadRootTimer_.isEmpty()) {
if (mainThreadRootTimerBuilder_.isEmpty()) {
mainThreadRootTimerBuilder_.dispose();
mainThreadRootTimerBuilder_ = null;
mainThreadRootTimer_ = other.mainThreadRootTimer_;
bitField0_ = (bitField0_ & ~0x00000010);
mainThreadRootTimerBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getMainThreadRootTimerFieldBuilder() : null;
} else {
mainThreadRootTimerBuilder_.addAllMessages(other.mainThreadRootTimer_);
}
}
}
if (auxThreadRootTimerBuilder_ == null) {
if (!other.auxThreadRootTimer_.isEmpty()) {
if (auxThreadRootTimer_.isEmpty()) {
auxThreadRootTimer_ = other.auxThreadRootTimer_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.addAll(other.auxThreadRootTimer_);
}
onChanged();
}
} else {
if (!other.auxThreadRootTimer_.isEmpty()) {
if (auxThreadRootTimerBuilder_.isEmpty()) {
auxThreadRootTimerBuilder_.dispose();
auxThreadRootTimerBuilder_ = null;
auxThreadRootTimer_ = other.auxThreadRootTimer_;
bitField0_ = (bitField0_ & ~0x00000020);
auxThreadRootTimerBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAuxThreadRootTimerFieldBuilder() : null;
} else {
auxThreadRootTimerBuilder_.addAllMessages(other.auxThreadRootTimer_);
}
}
}
if (asyncRootTimerBuilder_ == null) {
if (!other.asyncRootTimer_.isEmpty()) {
if (asyncRootTimer_.isEmpty()) {
asyncRootTimer_ = other.asyncRootTimer_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.addAll(other.asyncRootTimer_);
}
onChanged();
}
} else {
if (!other.asyncRootTimer_.isEmpty()) {
if (asyncRootTimerBuilder_.isEmpty()) {
asyncRootTimerBuilder_.dispose();
asyncRootTimerBuilder_ = null;
asyncRootTimer_ = other.asyncRootTimer_;
bitField0_ = (bitField0_ & ~0x00000040);
asyncRootTimerBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAsyncRootTimerFieldBuilder() : null;
} else {
asyncRootTimerBuilder_.addAllMessages(other.asyncRootTimer_);
}
}
}
if (other.hasMainThreadStats()) {
mergeMainThreadStats(other.getMainThreadStats());
}
if (other.hasAuxThreadStats()) {
mergeAuxThreadStats(other.getAuxThreadStats());
}
if (other.hasDurationNanosHistogram()) {
mergeDurationNanosHistogram(other.getDurationNanosHistogram());
}
if (queriesByTypeBuilder_ == null) {
if (!other.queriesByType_.isEmpty()) {
if (queriesByType_.isEmpty()) {
queriesByType_ = other.queriesByType_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureQueriesByTypeIsMutable();
queriesByType_.addAll(other.queriesByType_);
}
onChanged();
}
} else {
if (!other.queriesByType_.isEmpty()) {
if (queriesByTypeBuilder_.isEmpty()) {
queriesByTypeBuilder_.dispose();
queriesByTypeBuilder_ = null;
queriesByType_ = other.queriesByType_;
bitField0_ = (bitField0_ & ~0x00000400);
queriesByTypeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getQueriesByTypeFieldBuilder() : null;
} else {
queriesByTypeBuilder_.addAllMessages(other.queriesByType_);
}
}
}
if (serviceCallsByTypeBuilder_ == null) {
if (!other.serviceCallsByType_.isEmpty()) {
if (serviceCallsByType_.isEmpty()) {
serviceCallsByType_ = other.serviceCallsByType_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.addAll(other.serviceCallsByType_);
}
onChanged();
}
} else {
if (!other.serviceCallsByType_.isEmpty()) {
if (serviceCallsByTypeBuilder_.isEmpty()) {
serviceCallsByTypeBuilder_.dispose();
serviceCallsByTypeBuilder_ = null;
serviceCallsByType_ = other.serviceCallsByType_;
bitField0_ = (bitField0_ & ~0x00000800);
serviceCallsByTypeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getServiceCallsByTypeFieldBuilder() : null;
} else {
serviceCallsByTypeBuilder_.addAllMessages(other.serviceCallsByType_);
}
}
}
if (other.hasMainThreadProfile()) {
mergeMainThreadProfile(other.getMainThreadProfile());
}
if (other.hasAuxThreadProfile()) {
mergeAuxThreadProfile(other.getAuxThreadProfile());
}
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 totalDurationNanos_ ;
/**
* optional double total_duration_nanos = 1;
*/
public double getTotalDurationNanos() {
return totalDurationNanos_;
}
/**
* optional double total_duration_nanos = 1;
*/
public Builder setTotalDurationNanos(double value) {
totalDurationNanos_ = value;
onChanged();
return this;
}
/**
* optional double total_duration_nanos = 1;
*/
public Builder clearTotalDurationNanos() {
totalDurationNanos_ = 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 boolean asyncTransactions_ ;
/**
* optional bool async_transactions = 4;
*
*
* true if there was at least one async transaction in aggregate
*
*/
public boolean getAsyncTransactions() {
return asyncTransactions_;
}
/**
* optional bool async_transactions = 4;
*
*
* true if there was at least one async transaction in aggregate
*
*/
public Builder setAsyncTransactions(boolean value) {
asyncTransactions_ = value;
onChanged();
return this;
}
/**
* optional bool async_transactions = 4;
*
*
* true if there was at least one async transaction in aggregate
*
*/
public Builder clearAsyncTransactions() {
asyncTransactions_ = false;
onChanged();
return this;
}
private java.util.List mainThreadRootTimer_ =
java.util.Collections.emptyList();
private void ensureMainThreadRootTimerIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
mainThreadRootTimer_ = new java.util.ArrayList(mainThreadRootTimer_);
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> mainThreadRootTimerBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public java.util.List getMainThreadRootTimerList() {
if (mainThreadRootTimerBuilder_ == null) {
return java.util.Collections.unmodifiableList(mainThreadRootTimer_);
} else {
return mainThreadRootTimerBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public int getMainThreadRootTimerCount() {
if (mainThreadRootTimerBuilder_ == null) {
return mainThreadRootTimer_.size();
} else {
return mainThreadRootTimerBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getMainThreadRootTimer(int index) {
if (mainThreadRootTimerBuilder_ == null) {
return mainThreadRootTimer_.get(index);
} else {
return mainThreadRootTimerBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder setMainThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (mainThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.set(index, value);
onChanged();
} else {
mainThreadRootTimerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder setMainThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (mainThreadRootTimerBuilder_ == null) {
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.set(index, builderForValue.build());
onChanged();
} else {
mainThreadRootTimerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder addMainThreadRootTimer(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (mainThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.add(value);
onChanged();
} else {
mainThreadRootTimerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder addMainThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (mainThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.add(index, value);
onChanged();
} else {
mainThreadRootTimerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder addMainThreadRootTimer(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (mainThreadRootTimerBuilder_ == null) {
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.add(builderForValue.build());
onChanged();
} else {
mainThreadRootTimerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder addMainThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (mainThreadRootTimerBuilder_ == null) {
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.add(index, builderForValue.build());
onChanged();
} else {
mainThreadRootTimerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder addAllMainThreadRootTimer(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer> values) {
if (mainThreadRootTimerBuilder_ == null) {
ensureMainThreadRootTimerIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, mainThreadRootTimer_);
onChanged();
} else {
mainThreadRootTimerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder clearMainThreadRootTimer() {
if (mainThreadRootTimerBuilder_ == null) {
mainThreadRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
mainThreadRootTimerBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public Builder removeMainThreadRootTimer(int index) {
if (mainThreadRootTimerBuilder_ == null) {
ensureMainThreadRootTimerIsMutable();
mainThreadRootTimer_.remove(index);
onChanged();
} else {
mainThreadRootTimerBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder getMainThreadRootTimerBuilder(
int index) {
return getMainThreadRootTimerFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getMainThreadRootTimerOrBuilder(
int index) {
if (mainThreadRootTimerBuilder_ == null) {
return mainThreadRootTimer_.get(index); } else {
return mainThreadRootTimerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getMainThreadRootTimerOrBuilderList() {
if (mainThreadRootTimerBuilder_ != null) {
return mainThreadRootTimerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(mainThreadRootTimer_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addMainThreadRootTimerBuilder() {
return getMainThreadRootTimerFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addMainThreadRootTimerBuilder(
int index) {
return getMainThreadRootTimerFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer main_thread_root_timer = 5;
*/
public java.util.List
getMainThreadRootTimerBuilderList() {
return getMainThreadRootTimerFieldBuilder().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>
getMainThreadRootTimerFieldBuilder() {
if (mainThreadRootTimerBuilder_ == null) {
mainThreadRootTimerBuilder_ = 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>(
mainThreadRootTimer_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
mainThreadRootTimer_ = null;
}
return mainThreadRootTimerBuilder_;
}
private java.util.List auxThreadRootTimer_ =
java.util.Collections.emptyList();
private void ensureAuxThreadRootTimerIsMutable() {
if (!((bitField0_ & 0x00000020) == 0x00000020)) {
auxThreadRootTimer_ = new java.util.ArrayList(auxThreadRootTimer_);
bitField0_ |= 0x00000020;
}
}
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> auxThreadRootTimerBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public java.util.List getAuxThreadRootTimerList() {
if (auxThreadRootTimerBuilder_ == null) {
return java.util.Collections.unmodifiableList(auxThreadRootTimer_);
} else {
return auxThreadRootTimerBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public int getAuxThreadRootTimerCount() {
if (auxThreadRootTimerBuilder_ == null) {
return auxThreadRootTimer_.size();
} else {
return auxThreadRootTimerBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAuxThreadRootTimer(int index) {
if (auxThreadRootTimerBuilder_ == null) {
return auxThreadRootTimer_.get(index);
} else {
return auxThreadRootTimerBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder setAuxThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (auxThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.set(index, value);
onChanged();
} else {
auxThreadRootTimerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder setAuxThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (auxThreadRootTimerBuilder_ == null) {
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.set(index, builderForValue.build());
onChanged();
} else {
auxThreadRootTimerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder addAuxThreadRootTimer(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (auxThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.add(value);
onChanged();
} else {
auxThreadRootTimerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder addAuxThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (auxThreadRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.add(index, value);
onChanged();
} else {
auxThreadRootTimerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder addAuxThreadRootTimer(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (auxThreadRootTimerBuilder_ == null) {
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.add(builderForValue.build());
onChanged();
} else {
auxThreadRootTimerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder addAuxThreadRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (auxThreadRootTimerBuilder_ == null) {
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.add(index, builderForValue.build());
onChanged();
} else {
auxThreadRootTimerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder addAllAuxThreadRootTimer(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer> values) {
if (auxThreadRootTimerBuilder_ == null) {
ensureAuxThreadRootTimerIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, auxThreadRootTimer_);
onChanged();
} else {
auxThreadRootTimerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder clearAuxThreadRootTimer() {
if (auxThreadRootTimerBuilder_ == null) {
auxThreadRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
auxThreadRootTimerBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public Builder removeAuxThreadRootTimer(int index) {
if (auxThreadRootTimerBuilder_ == null) {
ensureAuxThreadRootTimerIsMutable();
auxThreadRootTimer_.remove(index);
onChanged();
} else {
auxThreadRootTimerBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder getAuxThreadRootTimerBuilder(
int index) {
return getAuxThreadRootTimerFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAuxThreadRootTimerOrBuilder(
int index) {
if (auxThreadRootTimerBuilder_ == null) {
return auxThreadRootTimer_.get(index); } else {
return auxThreadRootTimerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAuxThreadRootTimerOrBuilderList() {
if (auxThreadRootTimerBuilder_ != null) {
return auxThreadRootTimerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(auxThreadRootTimer_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addAuxThreadRootTimerBuilder() {
return getAuxThreadRootTimerFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addAuxThreadRootTimerBuilder(
int index) {
return getAuxThreadRootTimerFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer aux_thread_root_timer = 6;
*/
public java.util.List
getAuxThreadRootTimerBuilderList() {
return getAuxThreadRootTimerFieldBuilder().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>
getAuxThreadRootTimerFieldBuilder() {
if (auxThreadRootTimerBuilder_ == null) {
auxThreadRootTimerBuilder_ = 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>(
auxThreadRootTimer_,
((bitField0_ & 0x00000020) == 0x00000020),
getParentForChildren(),
isClean());
auxThreadRootTimer_ = null;
}
return auxThreadRootTimerBuilder_;
}
private java.util.List asyncRootTimer_ =
java.util.Collections.emptyList();
private void ensureAsyncRootTimerIsMutable() {
if (!((bitField0_ & 0x00000040) == 0x00000040)) {
asyncRootTimer_ = new java.util.ArrayList(asyncRootTimer_);
bitField0_ |= 0x00000040;
}
}
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> asyncRootTimerBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public java.util.List getAsyncRootTimerList() {
if (asyncRootTimerBuilder_ == null) {
return java.util.Collections.unmodifiableList(asyncRootTimer_);
} else {
return asyncRootTimerBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public int getAsyncRootTimerCount() {
if (asyncRootTimerBuilder_ == null) {
return asyncRootTimer_.size();
} else {
return asyncRootTimerBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer getAsyncRootTimer(int index) {
if (asyncRootTimerBuilder_ == null) {
return asyncRootTimer_.get(index);
} else {
return asyncRootTimerBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder setAsyncRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (asyncRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.set(index, value);
onChanged();
} else {
asyncRootTimerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder setAsyncRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (asyncRootTimerBuilder_ == null) {
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.set(index, builderForValue.build());
onChanged();
} else {
asyncRootTimerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder addAsyncRootTimer(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (asyncRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.add(value);
onChanged();
} else {
asyncRootTimerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder addAsyncRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer value) {
if (asyncRootTimerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.add(index, value);
onChanged();
} else {
asyncRootTimerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder addAsyncRootTimer(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (asyncRootTimerBuilder_ == null) {
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.add(builderForValue.build());
onChanged();
} else {
asyncRootTimerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder addAsyncRootTimer(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder builderForValue) {
if (asyncRootTimerBuilder_ == null) {
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.add(index, builderForValue.build());
onChanged();
} else {
asyncRootTimerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder addAllAsyncRootTimer(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer> values) {
if (asyncRootTimerBuilder_ == null) {
ensureAsyncRootTimerIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, asyncRootTimer_);
onChanged();
} else {
asyncRootTimerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder clearAsyncRootTimer() {
if (asyncRootTimerBuilder_ == null) {
asyncRootTimer_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
} else {
asyncRootTimerBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public Builder removeAsyncRootTimer(int index) {
if (asyncRootTimerBuilder_ == null) {
ensureAsyncRootTimerIsMutable();
asyncRootTimer_.remove(index);
onChanged();
} else {
asyncRootTimerBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder getAsyncRootTimerBuilder(
int index) {
return getAsyncRootTimerFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder getAsyncRootTimerOrBuilder(
int index) {
if (asyncRootTimerBuilder_ == null) {
return asyncRootTimer_.get(index); } else {
return asyncRootTimerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.TimerOrBuilder>
getAsyncRootTimerOrBuilderList() {
if (asyncRootTimerBuilder_ != null) {
return asyncRootTimerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(asyncRootTimer_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addAsyncRootTimerBuilder() {
return getAsyncRootTimerFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.Builder addAsyncRootTimerBuilder(
int index) {
return getAsyncRootTimerFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Timer.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.Timer async_root_timer = 7;
*
*
* children are also async, so sum of time in children can
*
*/
public java.util.List
getAsyncRootTimerBuilderList() {
return getAsyncRootTimerFieldBuilder().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>
getAsyncRootTimerFieldBuilder() {
if (asyncRootTimerBuilder_ == null) {
asyncRootTimerBuilder_ = 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>(
asyncRootTimer_,
((bitField0_ & 0x00000040) == 0x00000040),
getParentForChildren(),
isClean());
asyncRootTimer_ = null;
}
return asyncRootTimerBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats mainThreadStats_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder> mainThreadStatsBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public boolean hasMainThreadStats() {
return mainThreadStatsBuilder_ != null || mainThreadStats_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getMainThreadStats() {
if (mainThreadStatsBuilder_ == null) {
return mainThreadStats_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : mainThreadStats_;
} else {
return mainThreadStatsBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public Builder setMainThreadStats(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats value) {
if (mainThreadStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mainThreadStats_ = value;
onChanged();
} else {
mainThreadStatsBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public Builder setMainThreadStats(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder builderForValue) {
if (mainThreadStatsBuilder_ == null) {
mainThreadStats_ = builderForValue.build();
onChanged();
} else {
mainThreadStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public Builder mergeMainThreadStats(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats value) {
if (mainThreadStatsBuilder_ == null) {
if (mainThreadStats_ != null) {
mainThreadStats_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.newBuilder(mainThreadStats_).mergeFrom(value).buildPartial();
} else {
mainThreadStats_ = value;
}
onChanged();
} else {
mainThreadStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public Builder clearMainThreadStats() {
if (mainThreadStatsBuilder_ == null) {
mainThreadStats_ = null;
onChanged();
} else {
mainThreadStats_ = null;
mainThreadStatsBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder getMainThreadStatsBuilder() {
onChanged();
return getMainThreadStatsFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getMainThreadStatsOrBuilder() {
if (mainThreadStatsBuilder_ != null) {
return mainThreadStatsBuilder_.getMessageOrBuilder();
} else {
return mainThreadStats_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : mainThreadStats_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats main_thread_stats = 8;
*
*
* be greater than time in parent
*
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder>
getMainThreadStatsFieldBuilder() {
if (mainThreadStatsBuilder_ == null) {
mainThreadStatsBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder>(
getMainThreadStats(),
getParentForChildren(),
isClean());
mainThreadStats_ = null;
}
return mainThreadStatsBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats auxThreadStats_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder> auxThreadStatsBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public boolean hasAuxThreadStats() {
return auxThreadStatsBuilder_ != null || auxThreadStats_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats getAuxThreadStats() {
if (auxThreadStatsBuilder_ == null) {
return auxThreadStats_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : auxThreadStats_;
} else {
return auxThreadStatsBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public Builder setAuxThreadStats(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats value) {
if (auxThreadStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
auxThreadStats_ = value;
onChanged();
} else {
auxThreadStatsBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public Builder setAuxThreadStats(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder builderForValue) {
if (auxThreadStatsBuilder_ == null) {
auxThreadStats_ = builderForValue.build();
onChanged();
} else {
auxThreadStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public Builder mergeAuxThreadStats(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats value) {
if (auxThreadStatsBuilder_ == null) {
if (auxThreadStats_ != null) {
auxThreadStats_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.newBuilder(auxThreadStats_).mergeFrom(value).buildPartial();
} else {
auxThreadStats_ = value;
}
onChanged();
} else {
auxThreadStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public Builder clearAuxThreadStats() {
if (auxThreadStatsBuilder_ == null) {
auxThreadStats_ = null;
onChanged();
} else {
auxThreadStats_ = null;
auxThreadStatsBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder getAuxThreadStatsBuilder() {
onChanged();
return getAuxThreadStatsFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder() {
if (auxThreadStatsBuilder_ != null) {
return auxThreadStatsBuilder_.getMessageOrBuilder();
} else {
return auxThreadStats_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.getDefaultInstance() : auxThreadStats_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.ThreadStats aux_thread_stats = 9;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder>
getAuxThreadStatsFieldBuilder() {
if (auxThreadStatsBuilder_ == null) {
auxThreadStatsBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStats.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ThreadStatsOrBuilder>(
getAuxThreadStats(),
getParentForChildren(),
isClean());
auxThreadStats_ = null;
}
return auxThreadStatsBuilder_;
}
private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram durationNanosHistogram_ = 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> durationNanosHistogramBuilder_;
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public boolean hasDurationNanosHistogram() {
return durationNanosHistogramBuilder_ != null || durationNanosHistogram_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram getDurationNanosHistogram() {
if (durationNanosHistogramBuilder_ == null) {
return durationNanosHistogram_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : durationNanosHistogram_;
} else {
return durationNanosHistogramBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public Builder setDurationNanosHistogram(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram value) {
if (durationNanosHistogramBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
durationNanosHistogram_ = value;
onChanged();
} else {
durationNanosHistogramBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public Builder setDurationNanosHistogram(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder builderForValue) {
if (durationNanosHistogramBuilder_ == null) {
durationNanosHistogram_ = builderForValue.build();
onChanged();
} else {
durationNanosHistogramBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public Builder mergeDurationNanosHistogram(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram value) {
if (durationNanosHistogramBuilder_ == null) {
if (durationNanosHistogram_ != null) {
durationNanosHistogram_ =
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.newBuilder(durationNanosHistogram_).mergeFrom(value).buildPartial();
} else {
durationNanosHistogram_ = value;
}
onChanged();
} else {
durationNanosHistogramBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public Builder clearDurationNanosHistogram() {
if (durationNanosHistogramBuilder_ == null) {
durationNanosHistogram_ = null;
onChanged();
} else {
durationNanosHistogram_ = null;
durationNanosHistogramBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.Builder getDurationNanosHistogramBuilder() {
onChanged();
return getDurationNanosHistogramFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.HistogramOrBuilder getDurationNanosHistogramOrBuilder() {
if (durationNanosHistogramBuilder_ != null) {
return durationNanosHistogramBuilder_.getMessageOrBuilder();
} else {
return durationNanosHistogram_ == null ?
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Histogram.getDefaultInstance() : durationNanosHistogram_;
}
}
/**
* optional .org_glowroot_wire_api_model.Aggregate.Histogram duration_nanos_histogram = 10;
*
*
* histogram values are in nanoseconds with microsecond
*
*/
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>
getDurationNanosHistogramFieldBuilder() {
if (durationNanosHistogramBuilder_ == null) {
durationNanosHistogramBuilder_ = 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>(
getDurationNanosHistogram(),
getParentForChildren(),
isClean());
durationNanosHistogram_ = null;
}
return durationNanosHistogramBuilder_;
}
private java.util.List queriesByType_ =
java.util.Collections.emptyList();
private void ensureQueriesByTypeIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
queriesByType_ = new java.util.ArrayList(queriesByType_);
bitField0_ |= 0x00000400;
}
}
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
public int getQueriesByTypeCount() {
if (queriesByTypeBuilder_ == null) {
return queriesByType_.size();
} else {
return queriesByTypeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
public Builder clearQueriesByType() {
if (queriesByTypeBuilder_ == null) {
queriesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
queriesByTypeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.QueriesByType queries_by_type = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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 = 11;
*
*
* precision
*
*/
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_ & 0x00000400) == 0x00000400),
getParentForChildren(),
isClean());
queriesByType_ = null;
}
return queriesByTypeBuilder_;
}
private java.util.List serviceCallsByType_ =
java.util.Collections.emptyList();
private void ensureServiceCallsByTypeIsMutable() {
if (!((bitField0_ & 0x00000800) == 0x00000800)) {
serviceCallsByType_ = new java.util.ArrayList(serviceCallsByType_);
bitField0_ |= 0x00000800;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder> serviceCallsByTypeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public java.util.List getServiceCallsByTypeList() {
if (serviceCallsByTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(serviceCallsByType_);
} else {
return serviceCallsByTypeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public int getServiceCallsByTypeCount() {
if (serviceCallsByTypeBuilder_ == null) {
return serviceCallsByType_.size();
} else {
return serviceCallsByTypeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType getServiceCallsByType(int index) {
if (serviceCallsByTypeBuilder_ == null) {
return serviceCallsByType_.get(index);
} else {
return serviceCallsByTypeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder setServiceCallsByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType value) {
if (serviceCallsByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.set(index, value);
onChanged();
} else {
serviceCallsByTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder setServiceCallsByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder builderForValue) {
if (serviceCallsByTypeBuilder_ == null) {
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.set(index, builderForValue.build());
onChanged();
} else {
serviceCallsByTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder addServiceCallsByType(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType value) {
if (serviceCallsByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.add(value);
onChanged();
} else {
serviceCallsByTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder addServiceCallsByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType value) {
if (serviceCallsByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.add(index, value);
onChanged();
} else {
serviceCallsByTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder addServiceCallsByType(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder builderForValue) {
if (serviceCallsByTypeBuilder_ == null) {
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.add(builderForValue.build());
onChanged();
} else {
serviceCallsByTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder addServiceCallsByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder builderForValue) {
if (serviceCallsByTypeBuilder_ == null) {
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.add(index, builderForValue.build());
onChanged();
} else {
serviceCallsByTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder addAllServiceCallsByType(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType> values) {
if (serviceCallsByTypeBuilder_ == null) {
ensureServiceCallsByTypeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, serviceCallsByType_);
onChanged();
} else {
serviceCallsByTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder clearServiceCallsByType() {
if (serviceCallsByTypeBuilder_ == null) {
serviceCallsByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
serviceCallsByTypeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public Builder removeServiceCallsByType(int index) {
if (serviceCallsByTypeBuilder_ == null) {
ensureServiceCallsByTypeIsMutable();
serviceCallsByType_.remove(index);
onChanged();
} else {
serviceCallsByTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder getServiceCallsByTypeBuilder(
int index) {
return getServiceCallsByTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder getServiceCallsByTypeOrBuilder(
int index) {
if (serviceCallsByTypeBuilder_ == null) {
return serviceCallsByType_.get(index); } else {
return serviceCallsByTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder>
getServiceCallsByTypeOrBuilderList() {
if (serviceCallsByTypeBuilder_ != null) {
return serviceCallsByTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(serviceCallsByType_);
}
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder addServiceCallsByTypeBuilder() {
return getServiceCallsByTypeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder addServiceCallsByTypeBuilder(
int index) {
return getServiceCallsByTypeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.Aggregate.ServiceCallsByType service_calls_by_type = 12;
*/
public java.util.List
getServiceCallsByTypeBuilderList() {
return getServiceCallsByTypeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder>
getServiceCallsByTypeFieldBuilder() {
if (serviceCallsByTypeBuilder_ == null) {
serviceCallsByTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.ServiceCallsByTypeOrBuilder>(
serviceCallsByType_,
((bitField0_ & 0x00000800) == 0x00000800),
getParentForChildren(),
isClean());
serviceCallsByType_ = null;
}
return serviceCallsByTypeBuilder_;
}
private org.glowroot.wire.api.model.ProfileOuterClass.Profile mainThreadProfile_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> mainThreadProfileBuilder_;
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public boolean hasMainThreadProfile() {
return mainThreadProfileBuilder_ != null || mainThreadProfile_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() {
if (mainThreadProfileBuilder_ == null) {
return mainThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_;
} else {
return mainThreadProfileBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public Builder setMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) {
if (mainThreadProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mainThreadProfile_ = value;
onChanged();
} else {
mainThreadProfileBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public Builder setMainThreadProfile(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) {
if (mainThreadProfileBuilder_ == null) {
mainThreadProfile_ = builderForValue.build();
onChanged();
} else {
mainThreadProfileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public Builder mergeMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) {
if (mainThreadProfileBuilder_ == null) {
if (mainThreadProfile_ != null) {
mainThreadProfile_ =
org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder(mainThreadProfile_).mergeFrom(value).buildPartial();
} else {
mainThreadProfile_ = value;
}
onChanged();
} else {
mainThreadProfileBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public Builder clearMainThreadProfile() {
if (mainThreadProfileBuilder_ == null) {
mainThreadProfile_ = null;
onChanged();
} else {
mainThreadProfile_ = null;
mainThreadProfileBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getMainThreadProfileBuilder() {
onChanged();
return getMainThreadProfileFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() {
if (mainThreadProfileBuilder_ != null) {
return mainThreadProfileBuilder_.getMessageOrBuilder();
} else {
return mainThreadProfile_ == null ?
org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_;
}
}
/**
* optional .org_glowroot_wire_api_model.Profile main_thread_profile = 13;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>
getMainThreadProfileFieldBuilder() {
if (mainThreadProfileBuilder_ == null) {
mainThreadProfileBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>(
getMainThreadProfile(),
getParentForChildren(),
isClean());
mainThreadProfile_ = null;
}
return mainThreadProfileBuilder_;
}
private org.glowroot.wire.api.model.ProfileOuterClass.Profile auxThreadProfile_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> auxThreadProfileBuilder_;
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public boolean hasAuxThreadProfile() {
return auxThreadProfileBuilder_ != null || auxThreadProfile_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() {
if (auxThreadProfileBuilder_ == null) {
return auxThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_;
} else {
return auxThreadProfileBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public Builder setAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) {
if (auxThreadProfileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
auxThreadProfile_ = value;
onChanged();
} else {
auxThreadProfileBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public Builder setAuxThreadProfile(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) {
if (auxThreadProfileBuilder_ == null) {
auxThreadProfile_ = builderForValue.build();
onChanged();
} else {
auxThreadProfileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public Builder mergeAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) {
if (auxThreadProfileBuilder_ == null) {
if (auxThreadProfile_ != null) {
auxThreadProfile_ =
org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder(auxThreadProfile_).mergeFrom(value).buildPartial();
} else {
auxThreadProfile_ = value;
}
onChanged();
} else {
auxThreadProfileBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public Builder clearAuxThreadProfile() {
if (auxThreadProfileBuilder_ == null) {
auxThreadProfile_ = null;
onChanged();
} else {
auxThreadProfile_ = null;
auxThreadProfileBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getAuxThreadProfileBuilder() {
onChanged();
return getAuxThreadProfileFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() {
if (auxThreadProfileBuilder_ != null) {
return auxThreadProfileBuilder_.getMessageOrBuilder();
} else {
return auxThreadProfile_ == null ?
org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_;
}
}
/**
* optional .org_glowroot_wire_api_model.Profile aux_thread_profile = 14;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>
getAuxThreadProfileFieldBuilder() {
if (auxThreadProfileBuilder_ == null) {
auxThreadProfileBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>(
getAuxThreadProfile(),
getParentForChildren(),
isClean());
auxThreadProfile_ = null;
}
return auxThreadProfileBuilder_;
}
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_AggregatesByType_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_AggregatesByType_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_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_ThreadStats_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_ThreadStats_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;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCallsByType_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCallsByType_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCall_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCall_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\rProfile.proto\032\014Common.proto\"\301\001\n\020" +
"AggregatesByType\022\030\n\020transaction_type\030\001 \001" +
"(\t\022A\n\021overall_aggregate\030\002 \001(\0132&.org_glow" +
"root_wire_api_model.Aggregate\022P\n\025transac" +
"tion_aggregate\030\003 \003(\01321.org_glowroot_wire" +
"_api_model.TransactionAggregate\"k\n\024Trans" +
"actionAggregate\022\030\n\020transaction_name\030\002 \001(" +
"\t\0229\n\taggregate\030\003 \001(\0132&.org_glowroot_wire" +
"_api_model.Aggregate\"\251\016\n\tAggregate\022\034\n\024to",
"tal_duration_nanos\030\001 \001(\001\022\031\n\021transaction_" +
"count\030\002 \001(\003\022\023\n\013error_count\030\003 \001(\003\022\032\n\022asyn" +
"c_transactions\030\004 \001(\010\022L\n\026main_thread_root" +
"_timer\030\005 \003(\0132,.org_glowroot_wire_api_mod" +
"el.Aggregate.Timer\022K\n\025aux_thread_root_ti" +
"mer\030\006 \003(\0132,.org_glowroot_wire_api_model." +
"Aggregate.Timer\022F\n\020async_root_timer\030\007 \003(" +
"\0132,.org_glowroot_wire_api_model.Aggregat" +
"e.Timer\022M\n\021main_thread_stats\030\010 \001(\01322.org" +
"_glowroot_wire_api_model.Aggregate.Threa",
"dStats\022L\n\020aux_thread_stats\030\t \001(\01322.org_g" +
"lowroot_wire_api_model.Aggregate.ThreadS" +
"tats\022R\n\030duration_nanos_histogram\030\n \001(\01320" +
".org_glowroot_wire_api_model.Aggregate.H" +
"istogram\022M\n\017queries_by_type\030\013 \003(\01324.org_" +
"glowroot_wire_api_model.Aggregate.Querie" +
"sByType\022X\n\025service_calls_by_type\030\014 \003(\01329" +
".org_glowroot_wire_api_model.Aggregate.S" +
"erviceCallsByType\022A\n\023main_thread_profile" +
"\030\r \001(\0132$.org_glowroot_wire_api_model.Pro",
"file\022@\n\022aux_thread_profile\030\016 \001(\0132$.org_g" +
"lowroot_wire_api_model.Profile\032=\n\tHistog" +
"ram\022\031\n\021ordered_raw_value\030\001 \003(\003\022\025\n\rencode" +
"d_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\005" +
"count\030\004 \001(\003\022A\n\013child_timer\030\005 \003(\0132,.org_g" +
"lowroot_wire_api_model.Aggregate.Timer\032\262" +
"\002\n\013ThreadStats\022D\n\017total_cpu_nanos\030\001 \001(\0132" +
"+.org_glowroot_wire_api_model.OptionalDo" +
"uble\022H\n\023total_blocked_nanos\030\002 \001(\0132+.org_",
"glowroot_wire_api_model.OptionalDouble\022G" +
"\n\022total_waited_nanos\030\003 \001(\0132+.org_glowroo" +
"t_wire_api_model.OptionalDouble\022J\n\025total" +
"_allocated_bytes\030\004 \001(\0132+.org_glowroot_wi" +
"re_api_model.OptionalDouble\032Z\n\rQueriesBy" +
"Type\022\014\n\004type\030\001 \001(\t\022;\n\005query\030\002 \003(\0132,.org_" +
"glowroot_wire_api_model.Aggregate.Query\032" +
"\214\001\n\005Query\022\014\n\004text\030\001 \001(\t\022\034\n\024total_duratio" +
"n_nanos\030\002 \001(\001\022\027\n\017execution_count\030\003 \001(\003\022>" +
"\n\ntotal_rows\030\004 \001(\0132*.org_glowroot_wire_a",
"pi_model.OptionalInt64\032l\n\022ServiceCallsBy" +
"Type\022\014\n\004type\030\001 \001(\t\022H\n\014service_call\030\002 \003(\013" +
"22.org_glowroot_wire_api_model.Aggregate" +
".ServiceCall\032R\n\013ServiceCall\022\014\n\004text\030\001 \001(" +
"\t\022\034\n\024total_duration_nanos\030\002 \001(\001\022\027\n\017execu" +
"tion_count\030\003 \001(\003B\035\n\033org.glowroot.wire.ap" +
"i.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.ProfileOuterClass.getDescriptor(),
org.glowroot.wire.api.model.Proto.getDescriptor(),
}, assigner);
internal_static_org_glowroot_wire_api_model_AggregatesByType_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_AggregatesByType_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_AggregatesByType_descriptor,
new java.lang.String[] { "TransactionType", "OverallAggregate", "TransactionAggregate", });
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[] { "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[] { "TotalDurationNanos", "TransactionCount", "ErrorCount", "AsyncTransactions", "MainThreadRootTimer", "AuxThreadRootTimer", "AsyncRootTimer", "MainThreadStats", "AuxThreadStats", "DurationNanosHistogram", "QueriesByType", "ServiceCallsByType", "MainThreadProfile", "AuxThreadProfile", });
internal_static_org_glowroot_wire_api_model_Aggregate_Histogram_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(0);
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(1);
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_ThreadStats_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(2);
internal_static_org_glowroot_wire_api_model_Aggregate_ThreadStats_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_ThreadStats_descriptor,
new java.lang.String[] { "TotalCpuNanos", "TotalBlockedNanos", "TotalWaitedNanos", "TotalAllocatedBytes", });
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", "TotalDurationNanos", "ExecutionCount", "TotalRows", });
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCallsByType_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(5);
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCallsByType_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCallsByType_descriptor,
new java.lang.String[] { "Type", "ServiceCall", });
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCall_descriptor =
internal_static_org_glowroot_wire_api_model_Aggregate_descriptor.getNestedTypes().get(6);
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCall_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Aggregate_ServiceCall_descriptor,
new java.lang.String[] { "Text", "TotalDurationNanos", "ExecutionCount", });
org.glowroot.wire.api.model.ProfileOuterClass.getDescriptor();
org.glowroot.wire.api.model.Proto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy