org.glowroot.wire.api.model.ProfileOuterClass 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: Profile.proto
package org.glowroot.wire.api.model;
public final class ProfileOuterClass {
private ProfileOuterClass() {}
public static void registerAllExtensions(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface ProfileOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Profile)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* repeated string package_name = 1;
*/
java.util.List
getPackageNameList();
/**
* repeated string package_name = 1;
*/
int getPackageNameCount();
/**
* repeated string package_name = 1;
*/
java.lang.String getPackageName(int index);
/**
* repeated string package_name = 1;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPackageNameBytes(int index);
/**
* repeated string class_name = 2;
*/
java.util.List
getClassNameList();
/**
* repeated string class_name = 2;
*/
int getClassNameCount();
/**
* repeated string class_name = 2;
*/
java.lang.String getClassName(int index);
/**
* repeated string class_name = 2;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes(int index);
/**
* repeated string method_name = 3;
*/
java.util.List
getMethodNameList();
/**
* repeated string method_name = 3;
*/
int getMethodNameCount();
/**
* repeated string method_name = 3;
*/
java.lang.String getMethodName(int index);
/**
* repeated string method_name = 3;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes(int index);
/**
* repeated string file_name = 4;
*/
java.util.List
getFileNameList();
/**
* repeated string file_name = 4;
*/
int getFileNameCount();
/**
* repeated string file_name = 4;
*/
java.lang.String getFileName(int index);
/**
* repeated string file_name = 4;
*/
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getFileNameBytes(int index);
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
java.util.List
getNodeList();
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getNode(int index);
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
int getNodeCount();
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
java.util.List extends org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder>
getNodeOrBuilderList();
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder getNodeOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Profile}
*/
public static final class Profile extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Profile)
ProfileOrBuilder {
private static final long serialVersionUID = 0L;
// Use Profile.newBuilder() to construct.
private Profile(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Profile() {
packageName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
className_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
methodName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
fileName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
node_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Profile(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
packageName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
packageName_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
className_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
className_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
methodName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
methodName_.add(s);
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
fileName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
fileName_.add(s);
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
node_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
node_.add(
input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
packageName_ = packageName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
className_ = className_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
methodName_ = methodName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
fileName_ = fileName_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
node_ = java.util.Collections.unmodifiableList(node_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.class, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder.class);
}
/**
* Protobuf enum {@code org_glowroot_wire_api_model.Profile.LeafThreadState}
*/
public enum LeafThreadState
implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum {
/**
*
* means not a leaf node
*
*
* NONE = 0;
*/
NONE(0),
/**
* NEW = 1;
*/
NEW(1),
/**
* RUNNABLE = 2;
*/
RUNNABLE(2),
/**
* BLOCKED = 3;
*/
BLOCKED(3),
/**
* WAITING = 4;
*/
WAITING(4),
/**
* TIMED_WAITING = 5;
*/
TIMED_WAITING(5),
/**
* TERMINATED = 6;
*/
TERMINATED(6),
UNRECOGNIZED(-1),
;
/**
*
* means not a leaf node
*
*
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* NEW = 1;
*/
public static final int NEW_VALUE = 1;
/**
* RUNNABLE = 2;
*/
public static final int RUNNABLE_VALUE = 2;
/**
* BLOCKED = 3;
*/
public static final int BLOCKED_VALUE = 3;
/**
* WAITING = 4;
*/
public static final int WAITING_VALUE = 4;
/**
* TIMED_WAITING = 5;
*/
public static final int TIMED_WAITING_VALUE = 5;
/**
* TERMINATED = 6;
*/
public static final int TERMINATED_VALUE = 6;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LeafThreadState valueOf(int value) {
return forNumber(value);
}
public static LeafThreadState forNumber(int value) {
switch (value) {
case 0: return NONE;
case 1: return NEW;
case 2: return RUNNABLE;
case 3: return BLOCKED;
case 4: return WAITING;
case 5: return TIMED_WAITING;
case 6: return TERMINATED;
default: return null;
}
}
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap<
LeafThreadState> internalValueMap =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() {
public LeafThreadState findValueByNumber(int number) {
return LeafThreadState.forNumber(number);
}
};
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(ordinal());
}
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDescriptor().getEnumTypes().get(0);
}
private static final LeafThreadState[] VALUES = values();
public static LeafThreadState valueOf(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private LeafThreadState(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.Profile.LeafThreadState)
}
public interface ProfileNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Profile.ProfileNode)
org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {
/**
* int32 depth = 1;
*/
int getDepth();
/**
* int32 package_name_index = 2;
*/
int getPackageNameIndex();
/**
* int32 class_name_index = 3;
*/
int getClassNameIndex();
/**
* int32 method_name_index = 4;
*/
int getMethodNameIndex();
/**
* int32 file_name_index = 5;
*/
int getFileNameIndex();
/**
* sint32 line_number = 6;
*/
int getLineNumber();
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
int getLeafThreadStateValue();
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState getLeafThreadState();
/**
* int64 sample_count = 8;
*/
long getSampleCount();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Profile.ProfileNode}
*/
public static final class ProfileNode extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Profile.ProfileNode)
ProfileNodeOrBuilder {
private static final long serialVersionUID = 0L;
// Use ProfileNode.newBuilder() to construct.
private ProfileNode(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ProfileNode() {
depth_ = 0;
packageNameIndex_ = 0;
classNameIndex_ = 0;
methodNameIndex_ = 0;
fileNameIndex_ = 0;
lineNumber_ = 0;
leafThreadState_ = 0;
sampleCount_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ProfileNode(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
depth_ = input.readInt32();
break;
}
case 16: {
packageNameIndex_ = input.readInt32();
break;
}
case 24: {
classNameIndex_ = input.readInt32();
break;
}
case 32: {
methodNameIndex_ = input.readInt32();
break;
}
case 40: {
fileNameIndex_ = input.readInt32();
break;
}
case 48: {
lineNumber_ = input.readSInt32();
break;
}
case 56: {
int rawValue = input.readEnum();
leafThreadState_ = rawValue;
break;
}
case 64: {
sampleCount_ = input.readInt64();
break;
}
}
}
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.class, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder.class);
}
public static final int DEPTH_FIELD_NUMBER = 1;
private int depth_;
/**
* int32 depth = 1;
*/
public int getDepth() {
return depth_;
}
public static final int PACKAGE_NAME_INDEX_FIELD_NUMBER = 2;
private int packageNameIndex_;
/**
* int32 package_name_index = 2;
*/
public int getPackageNameIndex() {
return packageNameIndex_;
}
public static final int CLASS_NAME_INDEX_FIELD_NUMBER = 3;
private int classNameIndex_;
/**
* int32 class_name_index = 3;
*/
public int getClassNameIndex() {
return classNameIndex_;
}
public static final int METHOD_NAME_INDEX_FIELD_NUMBER = 4;
private int methodNameIndex_;
/**
* int32 method_name_index = 4;
*/
public int getMethodNameIndex() {
return methodNameIndex_;
}
public static final int FILE_NAME_INDEX_FIELD_NUMBER = 5;
private int fileNameIndex_;
/**
* int32 file_name_index = 5;
*/
public int getFileNameIndex() {
return fileNameIndex_;
}
public static final int LINE_NUMBER_FIELD_NUMBER = 6;
private int lineNumber_;
/**
* sint32 line_number = 6;
*/
public int getLineNumber() {
return lineNumber_;
}
public static final int LEAF_THREAD_STATE_FIELD_NUMBER = 7;
private int leafThreadState_;
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public int getLeafThreadStateValue() {
return leafThreadState_;
}
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState getLeafThreadState() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState result = org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.valueOf(leafThreadState_);
return result == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.UNRECOGNIZED : result;
}
public static final int SAMPLE_COUNT_FIELD_NUMBER = 8;
private long sampleCount_;
/**
* int64 sample_count = 8;
*/
public long getSampleCount() {
return sampleCount_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (depth_ != 0) {
output.writeInt32(1, depth_);
}
if (packageNameIndex_ != 0) {
output.writeInt32(2, packageNameIndex_);
}
if (classNameIndex_ != 0) {
output.writeInt32(3, classNameIndex_);
}
if (methodNameIndex_ != 0) {
output.writeInt32(4, methodNameIndex_);
}
if (fileNameIndex_ != 0) {
output.writeInt32(5, fileNameIndex_);
}
if (lineNumber_ != 0) {
output.writeSInt32(6, lineNumber_);
}
if (leafThreadState_ != org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.NONE.getNumber()) {
output.writeEnum(7, leafThreadState_);
}
if (sampleCount_ != 0L) {
output.writeInt64(8, sampleCount_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (depth_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(1, depth_);
}
if (packageNameIndex_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(2, packageNameIndex_);
}
if (classNameIndex_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(3, classNameIndex_);
}
if (methodNameIndex_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(4, methodNameIndex_);
}
if (fileNameIndex_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt32Size(5, fileNameIndex_);
}
if (lineNumber_ != 0) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeSInt32Size(6, lineNumber_);
}
if (leafThreadState_ != org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.NONE.getNumber()) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeEnumSize(7, leafThreadState_);
}
if (sampleCount_ != 0L) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeInt64Size(8, sampleCount_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode other = (org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode) obj;
boolean result = true;
result = result && (getDepth()
== other.getDepth());
result = result && (getPackageNameIndex()
== other.getPackageNameIndex());
result = result && (getClassNameIndex()
== other.getClassNameIndex());
result = result && (getMethodNameIndex()
== other.getMethodNameIndex());
result = result && (getFileNameIndex()
== other.getFileNameIndex());
result = result && (getLineNumber()
== other.getLineNumber());
result = result && leafThreadState_ == other.leafThreadState_;
result = result && (getSampleCount()
== other.getSampleCount());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DEPTH_FIELD_NUMBER;
hash = (53 * hash) + getDepth();
hash = (37 * hash) + PACKAGE_NAME_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getPackageNameIndex();
hash = (37 * hash) + CLASS_NAME_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getClassNameIndex();
hash = (37 * hash) + METHOD_NAME_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getMethodNameIndex();
hash = (37 * hash) + FILE_NAME_INDEX_FIELD_NUMBER;
hash = (53 * hash) + getFileNameIndex();
hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER;
hash = (53 * hash) + getLineNumber();
hash = (37 * hash) + LEAF_THREAD_STATE_FIELD_NUMBER;
hash = (53 * hash) + leafThreadState_;
hash = (37 * hash) + SAMPLE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong(
getSampleCount());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Profile.ProfileNode}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Profile.ProfileNode)
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.class, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder.class);
}
// Construct using org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
depth_ = 0;
packageNameIndex_ = 0;
classNameIndex_ = 0;
methodNameIndex_ = 0;
fileNameIndex_ = 0;
lineNumber_ = 0;
leafThreadState_ = 0;
sampleCount_ = 0L;
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getDefaultInstanceForType() {
return org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.getDefaultInstance();
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode build() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode buildPartial() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode result = new org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode(this);
result.depth_ = depth_;
result.packageNameIndex_ = packageNameIndex_;
result.classNameIndex_ = classNameIndex_;
result.methodNameIndex_ = methodNameIndex_;
result.fileNameIndex_ = fileNameIndex_;
result.lineNumber_ = lineNumber_;
result.leafThreadState_ = leafThreadState_;
result.sampleCount_ = sampleCount_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode) {
return mergeFrom((org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode other) {
if (other == org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.getDefaultInstance()) return this;
if (other.getDepth() != 0) {
setDepth(other.getDepth());
}
if (other.getPackageNameIndex() != 0) {
setPackageNameIndex(other.getPackageNameIndex());
}
if (other.getClassNameIndex() != 0) {
setClassNameIndex(other.getClassNameIndex());
}
if (other.getMethodNameIndex() != 0) {
setMethodNameIndex(other.getMethodNameIndex());
}
if (other.getFileNameIndex() != 0) {
setFileNameIndex(other.getFileNameIndex());
}
if (other.getLineNumber() != 0) {
setLineNumber(other.getLineNumber());
}
if (other.leafThreadState_ != 0) {
setLeafThreadStateValue(other.getLeafThreadStateValue());
}
if (other.getSampleCount() != 0L) {
setSampleCount(other.getSampleCount());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int depth_ ;
/**
* int32 depth = 1;
*/
public int getDepth() {
return depth_;
}
/**
* int32 depth = 1;
*/
public Builder setDepth(int value) {
depth_ = value;
onChanged();
return this;
}
/**
* int32 depth = 1;
*/
public Builder clearDepth() {
depth_ = 0;
onChanged();
return this;
}
private int packageNameIndex_ ;
/**
* int32 package_name_index = 2;
*/
public int getPackageNameIndex() {
return packageNameIndex_;
}
/**
* int32 package_name_index = 2;
*/
public Builder setPackageNameIndex(int value) {
packageNameIndex_ = value;
onChanged();
return this;
}
/**
* int32 package_name_index = 2;
*/
public Builder clearPackageNameIndex() {
packageNameIndex_ = 0;
onChanged();
return this;
}
private int classNameIndex_ ;
/**
* int32 class_name_index = 3;
*/
public int getClassNameIndex() {
return classNameIndex_;
}
/**
* int32 class_name_index = 3;
*/
public Builder setClassNameIndex(int value) {
classNameIndex_ = value;
onChanged();
return this;
}
/**
* int32 class_name_index = 3;
*/
public Builder clearClassNameIndex() {
classNameIndex_ = 0;
onChanged();
return this;
}
private int methodNameIndex_ ;
/**
* int32 method_name_index = 4;
*/
public int getMethodNameIndex() {
return methodNameIndex_;
}
/**
* int32 method_name_index = 4;
*/
public Builder setMethodNameIndex(int value) {
methodNameIndex_ = value;
onChanged();
return this;
}
/**
* int32 method_name_index = 4;
*/
public Builder clearMethodNameIndex() {
methodNameIndex_ = 0;
onChanged();
return this;
}
private int fileNameIndex_ ;
/**
* int32 file_name_index = 5;
*/
public int getFileNameIndex() {
return fileNameIndex_;
}
/**
* int32 file_name_index = 5;
*/
public Builder setFileNameIndex(int value) {
fileNameIndex_ = value;
onChanged();
return this;
}
/**
* int32 file_name_index = 5;
*/
public Builder clearFileNameIndex() {
fileNameIndex_ = 0;
onChanged();
return this;
}
private int lineNumber_ ;
/**
* sint32 line_number = 6;
*/
public int getLineNumber() {
return lineNumber_;
}
/**
* sint32 line_number = 6;
*/
public Builder setLineNumber(int value) {
lineNumber_ = value;
onChanged();
return this;
}
/**
* sint32 line_number = 6;
*/
public Builder clearLineNumber() {
lineNumber_ = 0;
onChanged();
return this;
}
private int leafThreadState_ = 0;
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public int getLeafThreadStateValue() {
return leafThreadState_;
}
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public Builder setLeafThreadStateValue(int value) {
leafThreadState_ = value;
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState getLeafThreadState() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState result = org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.valueOf(leafThreadState_);
return result == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState.UNRECOGNIZED : result;
}
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public Builder setLeafThreadState(org.glowroot.wire.api.model.ProfileOuterClass.Profile.LeafThreadState value) {
if (value == null) {
throw new NullPointerException();
}
leafThreadState_ = value.getNumber();
onChanged();
return this;
}
/**
* .org_glowroot_wire_api_model.Profile.LeafThreadState leaf_thread_state = 7;
*/
public Builder clearLeafThreadState() {
leafThreadState_ = 0;
onChanged();
return this;
}
private long sampleCount_ ;
/**
* int64 sample_count = 8;
*/
public long getSampleCount() {
return sampleCount_;
}
/**
* int64 sample_count = 8;
*/
public Builder setSampleCount(long value) {
sampleCount_ = value;
onChanged();
return this;
}
/**
* int64 sample_count = 8;
*/
public Builder clearSampleCount() {
sampleCount_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Profile.ProfileNode)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Profile.ProfileNode)
private static final org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode();
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public ProfileNode parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new ProfileNode(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int PACKAGE_NAME_FIELD_NUMBER = 1;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList packageName_;
/**
* repeated string package_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getPackageNameList() {
return packageName_;
}
/**
* repeated string package_name = 1;
*/
public int getPackageNameCount() {
return packageName_.size();
}
/**
* repeated string package_name = 1;
*/
public java.lang.String getPackageName(int index) {
return packageName_.get(index);
}
/**
* repeated string package_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPackageNameBytes(int index) {
return packageName_.getByteString(index);
}
public static final int CLASS_NAME_FIELD_NUMBER = 2;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList className_;
/**
* repeated string class_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getClassNameList() {
return className_;
}
/**
* repeated string class_name = 2;
*/
public int getClassNameCount() {
return className_.size();
}
/**
* repeated string class_name = 2;
*/
public java.lang.String getClassName(int index) {
return className_.get(index);
}
/**
* repeated string class_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes(int index) {
return className_.getByteString(index);
}
public static final int METHOD_NAME_FIELD_NUMBER = 3;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList methodName_;
/**
* repeated string method_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMethodNameList() {
return methodName_;
}
/**
* repeated string method_name = 3;
*/
public int getMethodNameCount() {
return methodName_.size();
}
/**
* repeated string method_name = 3;
*/
public java.lang.String getMethodName(int index) {
return methodName_.get(index);
}
/**
* repeated string method_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes(int index) {
return methodName_.getByteString(index);
}
public static final int FILE_NAME_FIELD_NUMBER = 4;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList fileName_;
/**
* repeated string file_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getFileNameList() {
return fileName_;
}
/**
* repeated string file_name = 4;
*/
public int getFileNameCount() {
return fileName_.size();
}
/**
* repeated string file_name = 4;
*/
public java.lang.String getFileName(int index) {
return fileName_.get(index);
}
/**
* repeated string file_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getFileNameBytes(int index) {
return fileName_.getByteString(index);
}
public static final int NODE_FIELD_NUMBER = 5;
private java.util.List node_;
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public java.util.List getNodeList() {
return node_;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder>
getNodeOrBuilderList() {
return node_;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public int getNodeCount() {
return node_.size();
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getNode(int index) {
return node_.get(index);
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder getNodeOrBuilder(
int index) {
return node_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < packageName_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, packageName_.getRaw(i));
}
for (int i = 0; i < className_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, className_.getRaw(i));
}
for (int i = 0; i < methodName_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, methodName_.getRaw(i));
}
for (int i = 0; i < fileName_.size(); i++) {
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fileName_.getRaw(i));
}
for (int i = 0; i < node_.size(); i++) {
output.writeMessage(5, node_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < packageName_.size(); i++) {
dataSize += computeStringSizeNoTag(packageName_.getRaw(i));
}
size += dataSize;
size += 1 * getPackageNameList().size();
}
{
int dataSize = 0;
for (int i = 0; i < className_.size(); i++) {
dataSize += computeStringSizeNoTag(className_.getRaw(i));
}
size += dataSize;
size += 1 * getClassNameList().size();
}
{
int dataSize = 0;
for (int i = 0; i < methodName_.size(); i++) {
dataSize += computeStringSizeNoTag(methodName_.getRaw(i));
}
size += dataSize;
size += 1 * getMethodNameList().size();
}
{
int dataSize = 0;
for (int i = 0; i < fileName_.size(); i++) {
dataSize += computeStringSizeNoTag(fileName_.getRaw(i));
}
size += dataSize;
size += 1 * getFileNameList().size();
}
for (int i = 0; i < node_.size(); i++) {
size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, node_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.glowroot.wire.api.model.ProfileOuterClass.Profile)) {
return super.equals(obj);
}
org.glowroot.wire.api.model.ProfileOuterClass.Profile other = (org.glowroot.wire.api.model.ProfileOuterClass.Profile) obj;
boolean result = true;
result = result && getPackageNameList()
.equals(other.getPackageNameList());
result = result && getClassNameList()
.equals(other.getClassNameList());
result = result && getMethodNameList()
.equals(other.getMethodNameList());
result = result && getFileNameList()
.equals(other.getFileNameList());
result = result && getNodeList()
.equals(other.getNodeList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPackageNameCount() > 0) {
hash = (37 * hash) + PACKAGE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getPackageNameList().hashCode();
}
if (getClassNameCount() > 0) {
hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getClassNameList().hashCode();
}
if (getMethodNameCount() > 0) {
hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER;
hash = (53 * hash) + getMethodNameList().hashCode();
}
if (getFileNameCount() > 0) {
hash = (37 * hash) + FILE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFileNameList().hashCode();
}
if (getNodeCount() > 0) {
hash = (37 * hash) + NODE_FIELD_NUMBER;
hash = (53 * hash) + getNodeList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
java.nio.ByteBuffer data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
java.nio.ByteBuffer data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(byte[] data)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
byte[] data,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile parseFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.ProfileOuterClass.Profile prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Profile}
*/
public static final class Builder extends
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Profile)
org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder {
public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_descriptor;
}
protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.class, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder.class);
}
// Construct using org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getNodeFieldBuilder();
}
}
public Builder clear() {
super.clear();
packageName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
className_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
methodName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
fileName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
if (nodeBuilder_ == null) {
node_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
} else {
nodeBuilder_.clear();
}
return this;
}
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.ProfileOuterClass.internal_static_org_glowroot_wire_api_model_Profile_descriptor;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getDefaultInstanceForType() {
return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance();
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile build() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile buildPartial() {
org.glowroot.wire.api.model.ProfileOuterClass.Profile result = new org.glowroot.wire.api.model.ProfileOuterClass.Profile(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
packageName_ = packageName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.packageName_ = packageName_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
className_ = className_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.className_ = className_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
methodName_ = methodName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.methodName_ = methodName_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
fileName_ = fileName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.fileName_ = fileName_;
if (nodeBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010)) {
node_ = java.util.Collections.unmodifiableList(node_);
bitField0_ = (bitField0_ & ~0x00000010);
}
result.node_ = node_;
} else {
result.node_ = nodeBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.ProfileOuterClass.Profile) {
return mergeFrom((org.glowroot.wire.api.model.ProfileOuterClass.Profile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.ProfileOuterClass.Profile other) {
if (other == org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance()) return this;
if (!other.packageName_.isEmpty()) {
if (packageName_.isEmpty()) {
packageName_ = other.packageName_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePackageNameIsMutable();
packageName_.addAll(other.packageName_);
}
onChanged();
}
if (!other.className_.isEmpty()) {
if (className_.isEmpty()) {
className_ = other.className_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureClassNameIsMutable();
className_.addAll(other.className_);
}
onChanged();
}
if (!other.methodName_.isEmpty()) {
if (methodName_.isEmpty()) {
methodName_ = other.methodName_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureMethodNameIsMutable();
methodName_.addAll(other.methodName_);
}
onChanged();
}
if (!other.fileName_.isEmpty()) {
if (fileName_.isEmpty()) {
fileName_ = other.fileName_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureFileNameIsMutable();
fileName_.addAll(other.fileName_);
}
onChanged();
}
if (nodeBuilder_ == null) {
if (!other.node_.isEmpty()) {
if (node_.isEmpty()) {
node_ = other.node_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureNodeIsMutable();
node_.addAll(other.node_);
}
onChanged();
}
} else {
if (!other.node_.isEmpty()) {
if (nodeBuilder_.isEmpty()) {
nodeBuilder_.dispose();
nodeBuilder_ = null;
node_ = other.node_;
bitField0_ = (bitField0_ & ~0x00000010);
nodeBuilder_ =
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getNodeFieldBuilder() : null;
} else {
nodeBuilder_.addAllMessages(other.node_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.ProfileOuterClass.Profile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.ProfileOuterClass.Profile) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList packageName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePackageNameIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
packageName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(packageName_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string package_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getPackageNameList() {
return packageName_.getUnmodifiableView();
}
/**
* repeated string package_name = 1;
*/
public int getPackageNameCount() {
return packageName_.size();
}
/**
* repeated string package_name = 1;
*/
public java.lang.String getPackageName(int index) {
return packageName_.get(index);
}
/**
* repeated string package_name = 1;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getPackageNameBytes(int index) {
return packageName_.getByteString(index);
}
/**
* repeated string package_name = 1;
*/
public Builder setPackageName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePackageNameIsMutable();
packageName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string package_name = 1;
*/
public Builder addPackageName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePackageNameIsMutable();
packageName_.add(value);
onChanged();
return this;
}
/**
* repeated string package_name = 1;
*/
public Builder addAllPackageName(
java.lang.Iterable values) {
ensurePackageNameIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, packageName_);
onChanged();
return this;
}
/**
* repeated string package_name = 1;
*/
public Builder clearPackageName() {
packageName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string package_name = 1;
*/
public Builder addPackageNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensurePackageNameIsMutable();
packageName_.add(value);
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList className_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureClassNameIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
className_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(className_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string class_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getClassNameList() {
return className_.getUnmodifiableView();
}
/**
* repeated string class_name = 2;
*/
public int getClassNameCount() {
return className_.size();
}
/**
* repeated string class_name = 2;
*/
public java.lang.String getClassName(int index) {
return className_.get(index);
}
/**
* repeated string class_name = 2;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getClassNameBytes(int index) {
return className_.getByteString(index);
}
/**
* repeated string class_name = 2;
*/
public Builder setClassName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureClassNameIsMutable();
className_.set(index, value);
onChanged();
return this;
}
/**
* repeated string class_name = 2;
*/
public Builder addClassName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureClassNameIsMutable();
className_.add(value);
onChanged();
return this;
}
/**
* repeated string class_name = 2;
*/
public Builder addAllClassName(
java.lang.Iterable values) {
ensureClassNameIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, className_);
onChanged();
return this;
}
/**
* repeated string class_name = 2;
*/
public Builder clearClassName() {
className_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string class_name = 2;
*/
public Builder addClassNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureClassNameIsMutable();
className_.add(value);
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList methodName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMethodNameIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
methodName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(methodName_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string method_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getMethodNameList() {
return methodName_.getUnmodifiableView();
}
/**
* repeated string method_name = 3;
*/
public int getMethodNameCount() {
return methodName_.size();
}
/**
* repeated string method_name = 3;
*/
public java.lang.String getMethodName(int index) {
return methodName_.get(index);
}
/**
* repeated string method_name = 3;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getMethodNameBytes(int index) {
return methodName_.getByteString(index);
}
/**
* repeated string method_name = 3;
*/
public Builder setMethodName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodNameIsMutable();
methodName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string method_name = 3;
*/
public Builder addMethodName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureMethodNameIsMutable();
methodName_.add(value);
onChanged();
return this;
}
/**
* repeated string method_name = 3;
*/
public Builder addAllMethodName(
java.lang.Iterable values) {
ensureMethodNameIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, methodName_);
onChanged();
return this;
}
/**
* repeated string method_name = 3;
*/
public Builder clearMethodName() {
methodName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string method_name = 3;
*/
public Builder addMethodNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureMethodNameIsMutable();
methodName_.add(value);
onChanged();
return this;
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList fileName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFileNameIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
fileName_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(fileName_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string file_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList
getFileNameList() {
return fileName_.getUnmodifiableView();
}
/**
* repeated string file_name = 4;
*/
public int getFileNameCount() {
return fileName_.size();
}
/**
* repeated string file_name = 4;
*/
public java.lang.String getFileName(int index) {
return fileName_.get(index);
}
/**
* repeated string file_name = 4;
*/
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
getFileNameBytes(int index) {
return fileName_.getByteString(index);
}
/**
* repeated string file_name = 4;
*/
public Builder setFileName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFileNameIsMutable();
fileName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string file_name = 4;
*/
public Builder addFileName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFileNameIsMutable();
fileName_.add(value);
onChanged();
return this;
}
/**
* repeated string file_name = 4;
*/
public Builder addAllFileName(
java.lang.Iterable values) {
ensureFileNameIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fileName_);
onChanged();
return this;
}
/**
* repeated string file_name = 4;
*/
public Builder clearFileName() {
fileName_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string file_name = 4;
*/
public Builder addFileNameBytes(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureFileNameIsMutable();
fileName_.add(value);
onChanged();
return this;
}
private java.util.List node_ =
java.util.Collections.emptyList();
private void ensureNodeIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
node_ = new java.util.ArrayList(node_);
bitField0_ |= 0x00000010;
}
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder> nodeBuilder_;
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public java.util.List getNodeList() {
if (nodeBuilder_ == null) {
return java.util.Collections.unmodifiableList(node_);
} else {
return nodeBuilder_.getMessageList();
}
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public int getNodeCount() {
if (nodeBuilder_ == null) {
return node_.size();
} else {
return nodeBuilder_.getCount();
}
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode getNode(int index) {
if (nodeBuilder_ == null) {
return node_.get(index);
} else {
return nodeBuilder_.getMessage(index);
}
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder setNode(
int index, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode value) {
if (nodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeIsMutable();
node_.set(index, value);
onChanged();
} else {
nodeBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder setNode(
int index, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder builderForValue) {
if (nodeBuilder_ == null) {
ensureNodeIsMutable();
node_.set(index, builderForValue.build());
onChanged();
} else {
nodeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder addNode(org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode value) {
if (nodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeIsMutable();
node_.add(value);
onChanged();
} else {
nodeBuilder_.addMessage(value);
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder addNode(
int index, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode value) {
if (nodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureNodeIsMutable();
node_.add(index, value);
onChanged();
} else {
nodeBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder addNode(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder builderForValue) {
if (nodeBuilder_ == null) {
ensureNodeIsMutable();
node_.add(builderForValue.build());
onChanged();
} else {
nodeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder addNode(
int index, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder builderForValue) {
if (nodeBuilder_ == null) {
ensureNodeIsMutable();
node_.add(index, builderForValue.build());
onChanged();
} else {
nodeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder addAllNode(
java.lang.Iterable extends org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode> values) {
if (nodeBuilder_ == null) {
ensureNodeIsMutable();
org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, node_);
onChanged();
} else {
nodeBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder clearNode() {
if (nodeBuilder_ == null) {
node_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
} else {
nodeBuilder_.clear();
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public Builder removeNode(int index) {
if (nodeBuilder_ == null) {
ensureNodeIsMutable();
node_.remove(index);
onChanged();
} else {
nodeBuilder_.remove(index);
}
return this;
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder getNodeBuilder(
int index) {
return getNodeFieldBuilder().getBuilder(index);
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder getNodeOrBuilder(
int index) {
if (nodeBuilder_ == null) {
return node_.get(index); } else {
return nodeBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public java.util.List extends org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder>
getNodeOrBuilderList() {
if (nodeBuilder_ != null) {
return nodeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(node_);
}
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder addNodeBuilder() {
return getNodeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.getDefaultInstance());
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder addNodeBuilder(
int index) {
return getNodeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.getDefaultInstance());
}
/**
*
* node ordering is pre-order depth-first
* IMPORTANT there can be multiple "root" nodes (with depth=0)
*
*
* repeated .org_glowroot_wire_api_model.Profile.ProfileNode node = 5;
*/
public java.util.List
getNodeBuilderList() {
return getNodeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder>
getNodeFieldBuilder() {
if (nodeBuilder_ == null) {
nodeBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNode.Builder, org.glowroot.wire.api.model.ProfileOuterClass.Profile.ProfileNodeOrBuilder>(
node_,
((bitField0_ & 0x00000010) == 0x00000010),
getParentForChildren(),
isClean());
node_ = null;
}
return nodeBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Profile)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Profile)
private static final org.glowroot.wire.api.model.ProfileOuterClass.Profile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.ProfileOuterClass.Profile();
}
public static org.glowroot.wire.api.model.ProfileOuterClass.Profile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() {
public Profile parsePartialFrom(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input,
org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException {
return new Profile(input, extensionRegistry);
}
};
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.ProfileOuterClass.Profile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Profile_descriptor;
private static final
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Profile_fieldAccessorTable;
private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor;
private static final
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_fieldAccessorTable;
public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\rProfile.proto\022\033org_glowroot_wire_api_m" +
"odel\"\221\004\n\007Profile\022\024\n\014package_name\030\001 \003(\t\022\022" +
"\n\nclass_name\030\002 \003(\t\022\023\n\013method_name\030\003 \003(\t\022" +
"\021\n\tfile_name\030\004 \003(\t\022>\n\004node\030\005 \003(\01320.org_g" +
"lowroot_wire_api_model.Profile.ProfileNo" +
"de\032\202\002\n\013ProfileNode\022\r\n\005depth\030\001 \001(\005\022\032\n\022pac" +
"kage_name_index\030\002 \001(\005\022\030\n\020class_name_inde" +
"x\030\003 \001(\005\022\031\n\021method_name_index\030\004 \001(\005\022\027\n\017fi" +
"le_name_index\030\005 \001(\005\022\023\n\013line_number\030\006 \001(\021" +
"\022O\n\021leaf_thread_state\030\007 \001(\01624.org_glowro" +
"ot_wire_api_model.Profile.LeafThreadStat" +
"e\022\024\n\014sample_count\030\010 \001(\003\"o\n\017LeafThreadSta" +
"te\022\010\n\004NONE\020\000\022\007\n\003NEW\020\001\022\014\n\010RUNNABLE\020\002\022\013\n\007B" +
"LOCKED\020\003\022\013\n\007WAITING\020\004\022\021\n\rTIMED_WAITING\020\005" +
"\022\016\n\nTERMINATED\020\006B\035\n\033org.glowroot.wire.ap" +
"i.modelb\006proto3"
};
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry assignDescriptors(
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_org_glowroot_wire_api_model_Profile_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_Profile_fieldAccessorTable = new
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Profile_descriptor,
new java.lang.String[] { "PackageName", "ClassName", "MethodName", "FileName", "Node", });
internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor =
internal_static_org_glowroot_wire_api_model_Profile_descriptor.getNestedTypes().get(0);
internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_fieldAccessorTable = new
org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Profile_ProfileNode_descriptor,
new java.lang.String[] { "Depth", "PackageNameIndex", "ClassNameIndex", "MethodNameIndex", "FileNameIndex", "LineNumber", "LeafThreadState", "SampleCount", });
}
// @@protoc_insertion_point(outer_class_scope)
}