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

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

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

package org.glowroot.wire.api.model;

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

    /**
     * optional string id = 1;
     *
     * 
     * this is a uuid
     * 
*/ java.lang.String getId(); /** * optional string id = 1; * *
     * this is a uuid
     * 
*/ org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes(); /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ boolean hasHeader(); /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader(); /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ java.util.List getEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ int getEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ java.util.List getEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index); /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ boolean hasProfileTree(); /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree(); /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace} */ public static final class Trace extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace) TraceOrBuilder { // Use Trace.newBuilder() to construct. private Trace(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Trace() { id_ = ""; entry_ = 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 Trace( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder subBuilder = null; if (header_ != null) { subBuilder = header_.toBuilder(); } header_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(header_); header_ = subBuilder.buildPartial(); } break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } entry_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.parser(), extensionRegistry)); break; } case 34: { org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder subBuilder = null; if (profileTree_ != null) { subBuilder = profileTree_.toBuilder(); } profileTree_ = input.readMessage(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(profileTree_); profileTree_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { entry_ = java.util.Collections.unmodifiableList(entry_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder.class); } public interface HeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Header) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional bool partial = 2; */ boolean getPartial(); /** * optional bool slow = 3; */ boolean getSlow(); /** * optional int64 start_time = 4; */ long getStartTime(); /** * optional int64 capture_time = 5; */ long getCaptureTime(); /** * optional int64 duration_nanos = 6; */ long getDurationNanos(); /** * optional string transaction_type = 7; */ java.lang.String getTransactionType(); /** * optional string transaction_type = 7; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes(); /** * optional string transaction_name = 8; */ java.lang.String getTransactionName(); /** * optional string transaction_name = 8; */ org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionNameBytes(); /** * optional string headline = 9; */ java.lang.String getHeadline(); /** * optional string headline = 9; */ org.glowroot.agent.shaded.google.protobuf.ByteString getHeadlineBytes(); /** * optional string user = 10; */ java.lang.String getUser(); /** * optional string user = 10; */ org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes(); /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ java.util.List getAttributeList(); /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute getAttribute(int index); /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ int getAttributeCount(); /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ java.util.List getAttributeOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder getAttributeOrBuilder( int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ java.util.List getDetailEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ int getDetailEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ java.util.List getDetailEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ boolean hasError(); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError(); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder(); /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ boolean hasRootTimer(); /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getRootTimer(); /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getRootTimerOrBuilder(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ boolean hasThreadCpuNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadCpuNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadCpuNanosOrBuilder(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ boolean hasThreadBlockedNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadBlockedNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadBlockedNanosOrBuilder(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ boolean hasThreadWaitedNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadWaitedNanos(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadWaitedNanosOrBuilder(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ boolean hasThreadAllocatedBytes(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadAllocatedBytes(); /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadAllocatedBytesOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ java.util.List getGcActivityList(); /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity getGcActivity(int index); /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ int getGcActivityCount(); /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ java.util.List getGcActivityOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder getGcActivityOrBuilder( int index); /** * optional int32 entry_count = 20; */ int getEntryCount(); /** * optional bool entry_limit_exceeded = 21; */ boolean getEntryLimitExceeded(); /** * optional int64 profile_sample_count = 22; */ long getProfileSampleCount(); /** * optional bool profile_sample_limit_exceeded = 23; */ boolean getProfileSampleLimitExceeded(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Header} */ public static final class Header extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Header) HeaderOrBuilder { // Use Header.newBuilder() to construct. private Header(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Header() { partial_ = false; slow_ = false; startTime_ = 0L; captureTime_ = 0L; durationNanos_ = 0L; transactionType_ = ""; transactionName_ = ""; headline_ = ""; user_ = ""; attribute_ = java.util.Collections.emptyList(); detailEntry_ = java.util.Collections.emptyList(); gcActivity_ = java.util.Collections.emptyList(); entryCount_ = 0; entryLimitExceeded_ = false; profileSampleCount_ = 0L; profileSampleLimitExceeded_ = false; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Header( 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 16: { partial_ = input.readBool(); break; } case 24: { slow_ = input.readBool(); break; } case 32: { startTime_ = input.readInt64(); break; } case 40: { captureTime_ = input.readInt64(); break; } case 48: { durationNanos_ = input.readInt64(); break; } case 58: { String s = input.readStringRequireUtf8(); transactionType_ = s; break; } case 66: { String s = input.readStringRequireUtf8(); transactionName_ = s; break; } case 74: { String s = input.readStringRequireUtf8(); headline_ = s; break; } case 82: { String s = input.readStringRequireUtf8(); user_ = s; break; } case 90: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } attribute_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.parser(), extensionRegistry)); break; } case 98: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { detailEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } detailEntry_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.parser(), extensionRegistry)); break; } case 106: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder subBuilder = null; if (error_ != null) { subBuilder = error_.toBuilder(); } error_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(error_); error_ = subBuilder.buildPartial(); } break; } case 114: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder subBuilder = null; if (rootTimer_ != null) { subBuilder = rootTimer_.toBuilder(); } rootTimer_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rootTimer_); rootTimer_ = subBuilder.buildPartial(); } break; } case 122: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder subBuilder = null; if (threadCpuNanos_ != null) { subBuilder = threadCpuNanos_.toBuilder(); } threadCpuNanos_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(threadCpuNanos_); threadCpuNanos_ = subBuilder.buildPartial(); } break; } case 130: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder subBuilder = null; if (threadBlockedNanos_ != null) { subBuilder = threadBlockedNanos_.toBuilder(); } threadBlockedNanos_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(threadBlockedNanos_); threadBlockedNanos_ = subBuilder.buildPartial(); } break; } case 138: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder subBuilder = null; if (threadWaitedNanos_ != null) { subBuilder = threadWaitedNanos_.toBuilder(); } threadWaitedNanos_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(threadWaitedNanos_); threadWaitedNanos_ = subBuilder.buildPartial(); } break; } case 146: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder subBuilder = null; if (threadAllocatedBytes_ != null) { subBuilder = threadAllocatedBytes_.toBuilder(); } threadAllocatedBytes_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(threadAllocatedBytes_); threadAllocatedBytes_ = subBuilder.buildPartial(); } break; } case 154: { if (!((mutable_bitField0_ & 0x00020000) == 0x00020000)) { gcActivity_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00020000; } gcActivity_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.parser(), extensionRegistry)); break; } case 160: { entryCount_ = input.readInt32(); break; } case 168: { entryLimitExceeded_ = input.readBool(); break; } case 176: { profileSampleCount_ = input.readInt64(); break; } case 184: { profileSampleLimitExceeded_ = input.readBool(); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); } if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); } if (((mutable_bitField0_ & 0x00020000) == 0x00020000)) { gcActivity_ = java.util.Collections.unmodifiableList(gcActivity_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder.class); } private int bitField0_; public static final int PARTIAL_FIELD_NUMBER = 2; private boolean partial_; /** * optional bool partial = 2; */ public boolean getPartial() { return partial_; } public static final int SLOW_FIELD_NUMBER = 3; private boolean slow_; /** * optional bool slow = 3; */ public boolean getSlow() { return slow_; } public static final int START_TIME_FIELD_NUMBER = 4; private long startTime_; /** * optional int64 start_time = 4; */ public long getStartTime() { return startTime_; } public static final int CAPTURE_TIME_FIELD_NUMBER = 5; private long captureTime_; /** * optional int64 capture_time = 5; */ public long getCaptureTime() { return captureTime_; } public static final int DURATION_NANOS_FIELD_NUMBER = 6; private long durationNanos_; /** * optional int64 duration_nanos = 6; */ public long getDurationNanos() { return durationNanos_; } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object transactionType_; /** * optional string transaction_type = 7; */ 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 = 7; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object transactionName_; /** * optional string transaction_name = 8; */ 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 = 8; */ 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 HEADLINE_FIELD_NUMBER = 9; private volatile java.lang.Object headline_; /** * optional string headline = 9; */ public java.lang.String getHeadline() { java.lang.Object ref = headline_; 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(); headline_ = s; return s; } } /** * optional string headline = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; 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); headline_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int USER_FIELD_NUMBER = 10; private volatile java.lang.Object user_; /** * optional string user = 10; */ public java.lang.String getUser() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** * optional string user = 10; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; 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); user_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int ATTRIBUTE_FIELD_NUMBER = 11; private java.util.List attribute_; /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public java.util.List getAttributeList() { return attribute_; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public java.util.List getAttributeOrBuilderList() { return attribute_; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public int getAttributeCount() { return attribute_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute getAttribute(int index) { return attribute_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder getAttributeOrBuilder( int index) { return attribute_.get(index); } public static final int DETAIL_ENTRY_FIELD_NUMBER = 12; private java.util.List detailEntry_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public java.util.List getDetailEntryList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public java.util.List getDetailEntryOrBuilderList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public int getDetailEntryCount() { return detailEntry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index) { return detailEntry_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index) { return detailEntry_.get(index); } public static final int ERROR_FIELD_NUMBER = 13; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_; /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public boolean hasError() { return error_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError() { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder() { return getError(); } public static final int ROOT_TIMER_FIELD_NUMBER = 14; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer rootTimer_; /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public boolean hasRootTimer() { return rootTimer_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getRootTimer() { return rootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : rootTimer_; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getRootTimerOrBuilder() { return getRootTimer(); } public static final int THREAD_CPU_NANOS_FIELD_NUMBER = 15; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadCpuNanos_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public boolean hasThreadCpuNanos() { return threadCpuNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadCpuNanos() { return threadCpuNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadCpuNanos_; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadCpuNanosOrBuilder() { return getThreadCpuNanos(); } public static final int THREAD_BLOCKED_NANOS_FIELD_NUMBER = 16; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadBlockedNanos_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public boolean hasThreadBlockedNanos() { return threadBlockedNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadBlockedNanos() { return threadBlockedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadBlockedNanos_; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadBlockedNanosOrBuilder() { return getThreadBlockedNanos(); } public static final int THREAD_WAITED_NANOS_FIELD_NUMBER = 17; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadWaitedNanos_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public boolean hasThreadWaitedNanos() { return threadWaitedNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadWaitedNanos() { return threadWaitedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadWaitedNanos_; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadWaitedNanosOrBuilder() { return getThreadWaitedNanos(); } public static final int THREAD_ALLOCATED_BYTES_FIELD_NUMBER = 18; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadAllocatedBytes_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public boolean hasThreadAllocatedBytes() { return threadAllocatedBytes_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadAllocatedBytes() { return threadAllocatedBytes_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadAllocatedBytes_; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadAllocatedBytesOrBuilder() { return getThreadAllocatedBytes(); } public static final int GC_ACTIVITY_FIELD_NUMBER = 19; private java.util.List gcActivity_; /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public java.util.List getGcActivityList() { return gcActivity_; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public java.util.List getGcActivityOrBuilderList() { return gcActivity_; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public int getGcActivityCount() { return gcActivity_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity getGcActivity(int index) { return gcActivity_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder getGcActivityOrBuilder( int index) { return gcActivity_.get(index); } public static final int ENTRY_COUNT_FIELD_NUMBER = 20; private int entryCount_; /** * optional int32 entry_count = 20; */ public int getEntryCount() { return entryCount_; } public static final int ENTRY_LIMIT_EXCEEDED_FIELD_NUMBER = 21; private boolean entryLimitExceeded_; /** * optional bool entry_limit_exceeded = 21; */ public boolean getEntryLimitExceeded() { return entryLimitExceeded_; } public static final int PROFILE_SAMPLE_COUNT_FIELD_NUMBER = 22; private long profileSampleCount_; /** * optional int64 profile_sample_count = 22; */ public long getProfileSampleCount() { return profileSampleCount_; } public static final int PROFILE_SAMPLE_LIMIT_EXCEEDED_FIELD_NUMBER = 23; private boolean profileSampleLimitExceeded_; /** * optional bool profile_sample_limit_exceeded = 23; */ public boolean getProfileSampleLimitExceeded() { return profileSampleLimitExceeded_; } 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 (partial_ != false) { output.writeBool(2, partial_); } if (slow_ != false) { output.writeBool(3, slow_); } if (startTime_ != 0L) { output.writeInt64(4, startTime_); } if (captureTime_ != 0L) { output.writeInt64(5, captureTime_); } if (durationNanos_ != 0L) { output.writeInt64(6, durationNanos_); } if (!getTransactionTypeBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 7, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 8, transactionName_); } if (!getHeadlineBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 9, headline_); } if (!getUserBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 10, user_); } for (int i = 0; i < attribute_.size(); i++) { output.writeMessage(11, attribute_.get(i)); } for (int i = 0; i < detailEntry_.size(); i++) { output.writeMessage(12, detailEntry_.get(i)); } if (error_ != null) { output.writeMessage(13, getError()); } if (rootTimer_ != null) { output.writeMessage(14, getRootTimer()); } if (threadCpuNanos_ != null) { output.writeMessage(15, getThreadCpuNanos()); } if (threadBlockedNanos_ != null) { output.writeMessage(16, getThreadBlockedNanos()); } if (threadWaitedNanos_ != null) { output.writeMessage(17, getThreadWaitedNanos()); } if (threadAllocatedBytes_ != null) { output.writeMessage(18, getThreadAllocatedBytes()); } for (int i = 0; i < gcActivity_.size(); i++) { output.writeMessage(19, gcActivity_.get(i)); } if (entryCount_ != 0) { output.writeInt32(20, entryCount_); } if (entryLimitExceeded_ != false) { output.writeBool(21, entryLimitExceeded_); } if (profileSampleCount_ != 0L) { output.writeInt64(22, profileSampleCount_); } if (profileSampleLimitExceeded_ != false) { output.writeBool(23, profileSampleLimitExceeded_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (partial_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(2, partial_); } if (slow_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(3, slow_); } if (startTime_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(4, startTime_); } if (captureTime_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(5, captureTime_); } if (durationNanos_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(6, durationNanos_); } if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(7, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(8, transactionName_); } if (!getHeadlineBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(9, headline_); } if (!getUserBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(10, user_); } for (int i = 0; i < attribute_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(11, attribute_.get(i)); } for (int i = 0; i < detailEntry_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(12, detailEntry_.get(i)); } if (error_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(13, getError()); } if (rootTimer_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(14, getRootTimer()); } if (threadCpuNanos_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(15, getThreadCpuNanos()); } if (threadBlockedNanos_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(16, getThreadBlockedNanos()); } if (threadWaitedNanos_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(17, getThreadWaitedNanos()); } if (threadAllocatedBytes_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(18, getThreadAllocatedBytes()); } for (int i = 0; i < gcActivity_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(19, gcActivity_.get(i)); } if (entryCount_ != 0) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt32Size(20, entryCount_); } if (entryLimitExceeded_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(21, entryLimitExceeded_); } if (profileSampleCount_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(22, profileSampleCount_); } if (profileSampleLimitExceeded_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(23, profileSampleLimitExceeded_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header 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.TraceOuterClass.Trace.Header 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.Trace.Header} */ 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.Trace.Header) org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.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) { getAttributeFieldBuilder(); getDetailEntryFieldBuilder(); getGcActivityFieldBuilder(); } } public Builder clear() { super.clear(); partial_ = false; slow_ = false; startTime_ = 0L; captureTime_ = 0L; durationNanos_ = 0L; transactionType_ = ""; transactionName_ = ""; headline_ = ""; user_ = ""; if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); } else { attributeBuilder_.clear(); } if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { detailEntryBuilder_.clear(); } if (errorBuilder_ == null) { error_ = null; } else { error_ = null; errorBuilder_ = null; } if (rootTimerBuilder_ == null) { rootTimer_ = null; } else { rootTimer_ = null; rootTimerBuilder_ = null; } if (threadCpuNanosBuilder_ == null) { threadCpuNanos_ = null; } else { threadCpuNanos_ = null; threadCpuNanosBuilder_ = null; } if (threadBlockedNanosBuilder_ == null) { threadBlockedNanos_ = null; } else { threadBlockedNanos_ = null; threadBlockedNanosBuilder_ = null; } if (threadWaitedNanosBuilder_ == null) { threadWaitedNanos_ = null; } else { threadWaitedNanos_ = null; threadWaitedNanosBuilder_ = null; } if (threadAllocatedBytesBuilder_ == null) { threadAllocatedBytes_ = null; } else { threadAllocatedBytes_ = null; threadAllocatedBytesBuilder_ = null; } if (gcActivityBuilder_ == null) { gcActivity_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00020000); } else { gcActivityBuilder_.clear(); } entryCount_ = 0; entryLimitExceeded_ = false; profileSampleCount_ = 0L; profileSampleLimitExceeded_ = false; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Header result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Header result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Header(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.partial_ = partial_; result.slow_ = slow_; result.startTime_ = startTime_; result.captureTime_ = captureTime_; result.durationNanos_ = durationNanos_; result.transactionType_ = transactionType_; result.transactionName_ = transactionName_; result.headline_ = headline_; result.user_ = user_; if (attributeBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000200); } result.attribute_ = attribute_; } else { result.attribute_ = attributeBuilder_.build(); } if (detailEntryBuilder_ == null) { if (((bitField0_ & 0x00000400) == 0x00000400)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); bitField0_ = (bitField0_ & ~0x00000400); } result.detailEntry_ = detailEntry_; } else { result.detailEntry_ = detailEntryBuilder_.build(); } if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (rootTimerBuilder_ == null) { result.rootTimer_ = rootTimer_; } else { result.rootTimer_ = rootTimerBuilder_.build(); } if (threadCpuNanosBuilder_ == null) { result.threadCpuNanos_ = threadCpuNanos_; } else { result.threadCpuNanos_ = threadCpuNanosBuilder_.build(); } if (threadBlockedNanosBuilder_ == null) { result.threadBlockedNanos_ = threadBlockedNanos_; } else { result.threadBlockedNanos_ = threadBlockedNanosBuilder_.build(); } if (threadWaitedNanosBuilder_ == null) { result.threadWaitedNanos_ = threadWaitedNanos_; } else { result.threadWaitedNanos_ = threadWaitedNanosBuilder_.build(); } if (threadAllocatedBytesBuilder_ == null) { result.threadAllocatedBytes_ = threadAllocatedBytes_; } else { result.threadAllocatedBytes_ = threadAllocatedBytesBuilder_.build(); } if (gcActivityBuilder_ == null) { if (((bitField0_ & 0x00020000) == 0x00020000)) { gcActivity_ = java.util.Collections.unmodifiableList(gcActivity_); bitField0_ = (bitField0_ & ~0x00020000); } result.gcActivity_ = gcActivity_; } else { result.gcActivity_ = gcActivityBuilder_.build(); } result.entryCount_ = entryCount_; result.entryLimitExceeded_ = entryLimitExceeded_; result.profileSampleCount_ = profileSampleCount_; result.profileSampleLimitExceeded_ = profileSampleLimitExceeded_; 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.TraceOuterClass.Trace.Header) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Header)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance()) return this; if (other.getPartial() != false) { setPartial(other.getPartial()); } if (other.getSlow() != false) { setSlow(other.getSlow()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } if (other.getCaptureTime() != 0L) { setCaptureTime(other.getCaptureTime()); } if (other.getDurationNanos() != 0L) { setDurationNanos(other.getDurationNanos()); } if (!other.getTransactionType().isEmpty()) { transactionType_ = other.transactionType_; onChanged(); } if (!other.getTransactionName().isEmpty()) { transactionName_ = other.transactionName_; onChanged(); } if (!other.getHeadline().isEmpty()) { headline_ = other.headline_; onChanged(); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (attributeBuilder_ == null) { if (!other.attribute_.isEmpty()) { if (attribute_.isEmpty()) { attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureAttributeIsMutable(); attribute_.addAll(other.attribute_); } onChanged(); } } else { if (!other.attribute_.isEmpty()) { if (attributeBuilder_.isEmpty()) { attributeBuilder_.dispose(); attributeBuilder_ = null; attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000200); attributeBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getAttributeFieldBuilder() : null; } else { attributeBuilder_.addAllMessages(other.attribute_); } } } if (detailEntryBuilder_ == null) { if (!other.detailEntry_.isEmpty()) { if (detailEntry_.isEmpty()) { detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000400); } else { ensureDetailEntryIsMutable(); detailEntry_.addAll(other.detailEntry_); } onChanged(); } } else { if (!other.detailEntry_.isEmpty()) { if (detailEntryBuilder_.isEmpty()) { detailEntryBuilder_.dispose(); detailEntryBuilder_ = null; detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000400); detailEntryBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getDetailEntryFieldBuilder() : null; } else { detailEntryBuilder_.addAllMessages(other.detailEntry_); } } } if (other.hasError()) { mergeError(other.getError()); } if (other.hasRootTimer()) { mergeRootTimer(other.getRootTimer()); } if (other.hasThreadCpuNanos()) { mergeThreadCpuNanos(other.getThreadCpuNanos()); } if (other.hasThreadBlockedNanos()) { mergeThreadBlockedNanos(other.getThreadBlockedNanos()); } if (other.hasThreadWaitedNanos()) { mergeThreadWaitedNanos(other.getThreadWaitedNanos()); } if (other.hasThreadAllocatedBytes()) { mergeThreadAllocatedBytes(other.getThreadAllocatedBytes()); } if (gcActivityBuilder_ == null) { if (!other.gcActivity_.isEmpty()) { if (gcActivity_.isEmpty()) { gcActivity_ = other.gcActivity_; bitField0_ = (bitField0_ & ~0x00020000); } else { ensureGcActivityIsMutable(); gcActivity_.addAll(other.gcActivity_); } onChanged(); } } else { if (!other.gcActivity_.isEmpty()) { if (gcActivityBuilder_.isEmpty()) { gcActivityBuilder_.dispose(); gcActivityBuilder_ = null; gcActivity_ = other.gcActivity_; bitField0_ = (bitField0_ & ~0x00020000); gcActivityBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getGcActivityFieldBuilder() : null; } else { gcActivityBuilder_.addAllMessages(other.gcActivity_); } } } if (other.getEntryCount() != 0) { setEntryCount(other.getEntryCount()); } if (other.getEntryLimitExceeded() != false) { setEntryLimitExceeded(other.getEntryLimitExceeded()); } if (other.getProfileSampleCount() != 0L) { setProfileSampleCount(other.getProfileSampleCount()); } if (other.getProfileSampleLimitExceeded() != false) { setProfileSampleLimitExceeded(other.getProfileSampleLimitExceeded()); } 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.TraceOuterClass.Trace.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean partial_ ; /** * optional bool partial = 2; */ public boolean getPartial() { return partial_; } /** * optional bool partial = 2; */ public Builder setPartial(boolean value) { partial_ = value; onChanged(); return this; } /** * optional bool partial = 2; */ public Builder clearPartial() { partial_ = false; onChanged(); return this; } private boolean slow_ ; /** * optional bool slow = 3; */ public boolean getSlow() { return slow_; } /** * optional bool slow = 3; */ public Builder setSlow(boolean value) { slow_ = value; onChanged(); return this; } /** * optional bool slow = 3; */ public Builder clearSlow() { slow_ = false; onChanged(); return this; } private long startTime_ ; /** * optional int64 start_time = 4; */ public long getStartTime() { return startTime_; } /** * optional int64 start_time = 4; */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * optional int64 start_time = 4; */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } private long captureTime_ ; /** * optional int64 capture_time = 5; */ public long getCaptureTime() { return captureTime_; } /** * optional int64 capture_time = 5; */ public Builder setCaptureTime(long value) { captureTime_ = value; onChanged(); return this; } /** * optional int64 capture_time = 5; */ public Builder clearCaptureTime() { captureTime_ = 0L; onChanged(); return this; } private long durationNanos_ ; /** * optional int64 duration_nanos = 6; */ public long getDurationNanos() { return durationNanos_; } /** * optional int64 duration_nanos = 6; */ public Builder setDurationNanos(long value) { durationNanos_ = value; onChanged(); return this; } /** * optional int64 duration_nanos = 6; */ public Builder clearDurationNanos() { durationNanos_ = 0L; onChanged(); return this; } private java.lang.Object transactionType_ = ""; /** * optional string transaction_type = 7; */ 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 = 7; */ 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 = 7; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * optional string transaction_type = 7; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * optional string transaction_type = 7; */ public Builder setTransactionTypeBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionType_ = value; onChanged(); return this; } private java.lang.Object transactionName_ = ""; /** * optional string transaction_name = 8; */ 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 = 8; */ 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 = 8; */ public Builder setTransactionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionName_ = value; onChanged(); return this; } /** * optional string transaction_name = 8; */ public Builder clearTransactionName() { transactionName_ = getDefaultInstance().getTransactionName(); onChanged(); return this; } /** * optional string transaction_name = 8; */ 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 java.lang.Object headline_ = ""; /** * optional string headline = 9; */ public java.lang.String getHeadline() { java.lang.Object ref = headline_; 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(); headline_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string headline = 9; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headline_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string headline = 9; */ public Builder setHeadline( java.lang.String value) { if (value == null) { throw new NullPointerException(); } headline_ = value; onChanged(); return this; } /** * optional string headline = 9; */ public Builder clearHeadline() { headline_ = getDefaultInstance().getHeadline(); onChanged(); return this; } /** * optional string headline = 9; */ public Builder setHeadlineBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headline_ = value; onChanged(); return this; } private java.lang.Object user_ = ""; /** * optional string user = 10; */ public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string user = 10; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string user = 10; */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** * optional string user = 10; */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** * optional string user = 10; */ public Builder setUserBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { attribute_ = new java.util.ArrayList(attribute_); bitField0_ |= 0x00000200; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder> attributeBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public java.util.List getAttributeList() { if (attributeBuilder_ == null) { return java.util.Collections.unmodifiableList(attribute_); } else { return attributeBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public int getAttributeCount() { if (attributeBuilder_ == null) { return attribute_.size(); } else { return attributeBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute getAttribute(int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder setAttribute( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.set(index, value); onChanged(); } else { attributeBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder setAttribute( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.set(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder addAttribute(org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(value); onChanged(); } else { attributeBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder addAttribute( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute value) { if (attributeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributeIsMutable(); attribute_.add(index, value); onChanged(); } else { attributeBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder addAttribute( org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder addAttribute( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder builderForValue) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.add(index, builderForValue.build()); onChanged(); } else { attributeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder addAllAttribute( java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder clearAttribute() { if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); } else { attributeBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public Builder removeAttribute(int index) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); attribute_.remove(index); onChanged(); } else { attributeBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder getAttributeBuilder( int index) { return getAttributeFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder getAttributeOrBuilder( int index) { if (attributeBuilder_ == null) { return attribute_.get(index); } else { return attributeBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public java.util.List getAttributeOrBuilderList() { if (attributeBuilder_ != null) { return attributeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attribute_); } } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder addAttributeBuilder() { return getAttributeFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder addAttributeBuilder( int index) { return getAttributeFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Attribute attribute = 11; */ public java.util.List getAttributeBuilderList() { return getAttributeFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder> getAttributeFieldBuilder() { if (attributeBuilder_ == null) { attributeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder>( attribute_, ((bitField0_ & 0x00000200) == 0x00000200), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } private java.util.List detailEntry_ = java.util.Collections.emptyList(); private void ensureDetailEntryIsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { detailEntry_ = new java.util.ArrayList(detailEntry_); bitField0_ |= 0x00000400; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> detailEntryBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public java.util.List getDetailEntryList() { if (detailEntryBuilder_ == null) { return java.util.Collections.unmodifiableList(detailEntry_); } else { return detailEntryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public int getDetailEntryCount() { if (detailEntryBuilder_ == null) { return detailEntry_.size(); } else { return detailEntryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index) { if (detailEntryBuilder_ == null) { return detailEntry_.get(index); } else { return detailEntryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder setDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.set(index, value); onChanged(); } else { detailEntryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder setDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.set(index, builderForValue.build()); onChanged(); } else { detailEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder addDetailEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.add(value); onChanged(); } else { detailEntryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder addDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.add(index, value); onChanged(); } else { detailEntryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder addDetailEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.add(builderForValue.build()); onChanged(); } else { detailEntryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder addDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.add(index, builderForValue.build()); onChanged(); } else { detailEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder addAllDetailEntry( java.lang.Iterable values) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, detailEntry_); onChanged(); } else { detailEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder clearDetailEntry() { if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); } else { detailEntryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public Builder removeDetailEntry(int index) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.remove(index); onChanged(); } else { detailEntryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder getDetailEntryBuilder( int index) { return getDetailEntryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index) { if (detailEntryBuilder_ == null) { return detailEntry_.get(index); } else { return detailEntryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public java.util.List getDetailEntryOrBuilderList() { if (detailEntryBuilder_ != null) { return detailEntryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(detailEntry_); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addDetailEntryBuilder() { return getDetailEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addDetailEntryBuilder( int index) { return getDetailEntryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 12; */ public java.util.List getDetailEntryBuilderList() { return getDetailEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> getDetailEntryFieldBuilder() { if (detailEntryBuilder_ == null) { detailEntryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder>( detailEntry_, ((bitField0_ & 0x00000400) == 0x00000400), getParentForChildren(), isClean()); detailEntry_ = null; } return detailEntryBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder> errorBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError() { if (errorBuilder_ == null) { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } else { return errorBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public Builder setError(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); } else { errorBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public Builder setError( org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); } else { errorBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public Builder mergeError(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error value) { if (errorBuilder_ == null) { if (error_ != null) { error_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } onChanged(); } else { errorBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public Builder clearError() { if (errorBuilder_ == null) { error_ = null; onChanged(); } else { error_ = null; errorBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder getErrorBuilder() { onChanged(); return getErrorFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 13; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { errorBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder>( getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer rootTimer_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder> rootTimerBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public boolean hasRootTimer() { return rootTimerBuilder_ != null || rootTimer_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getRootTimer() { if (rootTimerBuilder_ == null) { return rootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : rootTimer_; } else { return rootTimerBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public Builder setRootTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (rootTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rootTimer_ = value; onChanged(); } else { rootTimerBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public Builder setRootTimer( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (rootTimerBuilder_ == null) { rootTimer_ = builderForValue.build(); onChanged(); } else { rootTimerBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public Builder mergeRootTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (rootTimerBuilder_ == null) { if (rootTimer_ != null) { rootTimer_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.newBuilder(rootTimer_).mergeFrom(value).buildPartial(); } else { rootTimer_ = value; } onChanged(); } else { rootTimerBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public Builder clearRootTimer() { if (rootTimerBuilder_ == null) { rootTimer_ = null; onChanged(); } else { rootTimer_ = null; rootTimerBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder getRootTimerBuilder() { onChanged(); return getRootTimerFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getRootTimerOrBuilder() { if (rootTimerBuilder_ != null) { return rootTimerBuilder_.getMessageOrBuilder(); } else { return rootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : rootTimer_; } } /** * optional .org_glowroot_wire_api_model.Trace.Timer root_timer = 14; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder> getRootTimerFieldBuilder() { if (rootTimerBuilder_ == null) { rootTimerBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder>( getRootTimer(), getParentForChildren(), isClean()); rootTimer_ = null; } return rootTimerBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadCpuNanos_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> threadCpuNanosBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public boolean hasThreadCpuNanos() { return threadCpuNanosBuilder_ != null || threadCpuNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadCpuNanos() { if (threadCpuNanosBuilder_ == null) { return threadCpuNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadCpuNanos_; } else { return threadCpuNanosBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public Builder setThreadCpuNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadCpuNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } threadCpuNanos_ = value; onChanged(); } else { threadCpuNanosBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public Builder setThreadCpuNanos( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder builderForValue) { if (threadCpuNanosBuilder_ == null) { threadCpuNanos_ = builderForValue.build(); onChanged(); } else { threadCpuNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public Builder mergeThreadCpuNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadCpuNanosBuilder_ == null) { if (threadCpuNanos_ != null) { threadCpuNanos_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.newBuilder(threadCpuNanos_).mergeFrom(value).buildPartial(); } else { threadCpuNanos_ = value; } onChanged(); } else { threadCpuNanosBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public Builder clearThreadCpuNanos() { if (threadCpuNanosBuilder_ == null) { threadCpuNanos_ = null; onChanged(); } else { threadCpuNanos_ = null; threadCpuNanosBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder getThreadCpuNanosBuilder() { onChanged(); return getThreadCpuNanosFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadCpuNanosOrBuilder() { if (threadCpuNanosBuilder_ != null) { return threadCpuNanosBuilder_.getMessageOrBuilder(); } else { return threadCpuNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadCpuNanos_; } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_cpu_nanos = 15; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> getThreadCpuNanosFieldBuilder() { if (threadCpuNanosBuilder_ == null) { threadCpuNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder>( getThreadCpuNanos(), getParentForChildren(), isClean()); threadCpuNanos_ = null; } return threadCpuNanosBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadBlockedNanos_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> threadBlockedNanosBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public boolean hasThreadBlockedNanos() { return threadBlockedNanosBuilder_ != null || threadBlockedNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadBlockedNanos() { if (threadBlockedNanosBuilder_ == null) { return threadBlockedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadBlockedNanos_; } else { return threadBlockedNanosBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public Builder setThreadBlockedNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadBlockedNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } threadBlockedNanos_ = value; onChanged(); } else { threadBlockedNanosBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public Builder setThreadBlockedNanos( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder builderForValue) { if (threadBlockedNanosBuilder_ == null) { threadBlockedNanos_ = builderForValue.build(); onChanged(); } else { threadBlockedNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public Builder mergeThreadBlockedNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadBlockedNanosBuilder_ == null) { if (threadBlockedNanos_ != null) { threadBlockedNanos_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.newBuilder(threadBlockedNanos_).mergeFrom(value).buildPartial(); } else { threadBlockedNanos_ = value; } onChanged(); } else { threadBlockedNanosBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public Builder clearThreadBlockedNanos() { if (threadBlockedNanosBuilder_ == null) { threadBlockedNanos_ = null; onChanged(); } else { threadBlockedNanos_ = null; threadBlockedNanosBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder getThreadBlockedNanosBuilder() { onChanged(); return getThreadBlockedNanosFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadBlockedNanosOrBuilder() { if (threadBlockedNanosBuilder_ != null) { return threadBlockedNanosBuilder_.getMessageOrBuilder(); } else { return threadBlockedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadBlockedNanos_; } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_blocked_nanos = 16; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> getThreadBlockedNanosFieldBuilder() { if (threadBlockedNanosBuilder_ == null) { threadBlockedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder>( getThreadBlockedNanos(), getParentForChildren(), isClean()); threadBlockedNanos_ = null; } return threadBlockedNanosBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadWaitedNanos_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> threadWaitedNanosBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public boolean hasThreadWaitedNanos() { return threadWaitedNanosBuilder_ != null || threadWaitedNanos_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadWaitedNanos() { if (threadWaitedNanosBuilder_ == null) { return threadWaitedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadWaitedNanos_; } else { return threadWaitedNanosBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public Builder setThreadWaitedNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadWaitedNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } threadWaitedNanos_ = value; onChanged(); } else { threadWaitedNanosBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public Builder setThreadWaitedNanos( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder builderForValue) { if (threadWaitedNanosBuilder_ == null) { threadWaitedNanos_ = builderForValue.build(); onChanged(); } else { threadWaitedNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public Builder mergeThreadWaitedNanos(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadWaitedNanosBuilder_ == null) { if (threadWaitedNanos_ != null) { threadWaitedNanos_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.newBuilder(threadWaitedNanos_).mergeFrom(value).buildPartial(); } else { threadWaitedNanos_ = value; } onChanged(); } else { threadWaitedNanosBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public Builder clearThreadWaitedNanos() { if (threadWaitedNanosBuilder_ == null) { threadWaitedNanos_ = null; onChanged(); } else { threadWaitedNanos_ = null; threadWaitedNanosBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder getThreadWaitedNanosBuilder() { onChanged(); return getThreadWaitedNanosFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadWaitedNanosOrBuilder() { if (threadWaitedNanosBuilder_ != null) { return threadWaitedNanosBuilder_.getMessageOrBuilder(); } else { return threadWaitedNanos_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadWaitedNanos_; } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_waited_nanos = 17; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> getThreadWaitedNanosFieldBuilder() { if (threadWaitedNanosBuilder_ == null) { threadWaitedNanosBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder>( getThreadWaitedNanos(), getParentForChildren(), isClean()); threadWaitedNanos_ = null; } return threadWaitedNanosBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt threadAllocatedBytes_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> threadAllocatedBytesBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public boolean hasThreadAllocatedBytes() { return threadAllocatedBytesBuilder_ != null || threadAllocatedBytes_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getThreadAllocatedBytes() { if (threadAllocatedBytesBuilder_ == null) { return threadAllocatedBytes_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadAllocatedBytes_; } else { return threadAllocatedBytesBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public Builder setThreadAllocatedBytes(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadAllocatedBytesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } threadAllocatedBytes_ = value; onChanged(); } else { threadAllocatedBytesBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public Builder setThreadAllocatedBytes( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder builderForValue) { if (threadAllocatedBytesBuilder_ == null) { threadAllocatedBytes_ = builderForValue.build(); onChanged(); } else { threadAllocatedBytesBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public Builder mergeThreadAllocatedBytes(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt value) { if (threadAllocatedBytesBuilder_ == null) { if (threadAllocatedBytes_ != null) { threadAllocatedBytes_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.newBuilder(threadAllocatedBytes_).mergeFrom(value).buildPartial(); } else { threadAllocatedBytes_ = value; } onChanged(); } else { threadAllocatedBytesBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public Builder clearThreadAllocatedBytes() { if (threadAllocatedBytesBuilder_ == null) { threadAllocatedBytes_ = null; onChanged(); } else { threadAllocatedBytes_ = null; threadAllocatedBytesBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder getThreadAllocatedBytesBuilder() { onChanged(); return getThreadAllocatedBytesFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder getThreadAllocatedBytesOrBuilder() { if (threadAllocatedBytesBuilder_ != null) { return threadAllocatedBytesBuilder_.getMessageOrBuilder(); } else { return threadAllocatedBytes_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance() : threadAllocatedBytes_; } } /** * optional .org_glowroot_wire_api_model.Trace.OptionalInt thread_allocated_bytes = 18; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder> getThreadAllocatedBytesFieldBuilder() { if (threadAllocatedBytesBuilder_ == null) { threadAllocatedBytesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder>( getThreadAllocatedBytes(), getParentForChildren(), isClean()); threadAllocatedBytes_ = null; } return threadAllocatedBytesBuilder_; } private java.util.List gcActivity_ = java.util.Collections.emptyList(); private void ensureGcActivityIsMutable() { if (!((bitField0_ & 0x00020000) == 0x00020000)) { gcActivity_ = new java.util.ArrayList(gcActivity_); bitField0_ |= 0x00020000; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder> gcActivityBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public java.util.List getGcActivityList() { if (gcActivityBuilder_ == null) { return java.util.Collections.unmodifiableList(gcActivity_); } else { return gcActivityBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public int getGcActivityCount() { if (gcActivityBuilder_ == null) { return gcActivity_.size(); } else { return gcActivityBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity getGcActivity(int index) { if (gcActivityBuilder_ == null) { return gcActivity_.get(index); } else { return gcActivityBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder setGcActivity( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity value) { if (gcActivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGcActivityIsMutable(); gcActivity_.set(index, value); onChanged(); } else { gcActivityBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder setGcActivity( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder builderForValue) { if (gcActivityBuilder_ == null) { ensureGcActivityIsMutable(); gcActivity_.set(index, builderForValue.build()); onChanged(); } else { gcActivityBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder addGcActivity(org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity value) { if (gcActivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGcActivityIsMutable(); gcActivity_.add(value); onChanged(); } else { gcActivityBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder addGcActivity( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity value) { if (gcActivityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGcActivityIsMutable(); gcActivity_.add(index, value); onChanged(); } else { gcActivityBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder addGcActivity( org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder builderForValue) { if (gcActivityBuilder_ == null) { ensureGcActivityIsMutable(); gcActivity_.add(builderForValue.build()); onChanged(); } else { gcActivityBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder addGcActivity( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder builderForValue) { if (gcActivityBuilder_ == null) { ensureGcActivityIsMutable(); gcActivity_.add(index, builderForValue.build()); onChanged(); } else { gcActivityBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder addAllGcActivity( java.lang.Iterable values) { if (gcActivityBuilder_ == null) { ensureGcActivityIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, gcActivity_); onChanged(); } else { gcActivityBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder clearGcActivity() { if (gcActivityBuilder_ == null) { gcActivity_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00020000); onChanged(); } else { gcActivityBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public Builder removeGcActivity(int index) { if (gcActivityBuilder_ == null) { ensureGcActivityIsMutable(); gcActivity_.remove(index); onChanged(); } else { gcActivityBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder getGcActivityBuilder( int index) { return getGcActivityFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder getGcActivityOrBuilder( int index) { if (gcActivityBuilder_ == null) { return gcActivity_.get(index); } else { return gcActivityBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public java.util.List getGcActivityOrBuilderList() { if (gcActivityBuilder_ != null) { return gcActivityBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(gcActivity_); } } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder addGcActivityBuilder() { return getGcActivityFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder addGcActivityBuilder( int index) { return getGcActivityFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.GarbageCollectionActivity gc_activity = 19; */ public java.util.List getGcActivityBuilderList() { return getGcActivityFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder> getGcActivityFieldBuilder() { if (gcActivityBuilder_ == null) { gcActivityBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder>( gcActivity_, ((bitField0_ & 0x00020000) == 0x00020000), getParentForChildren(), isClean()); gcActivity_ = null; } return gcActivityBuilder_; } private int entryCount_ ; /** * optional int32 entry_count = 20; */ public int getEntryCount() { return entryCount_; } /** * optional int32 entry_count = 20; */ public Builder setEntryCount(int value) { entryCount_ = value; onChanged(); return this; } /** * optional int32 entry_count = 20; */ public Builder clearEntryCount() { entryCount_ = 0; onChanged(); return this; } private boolean entryLimitExceeded_ ; /** * optional bool entry_limit_exceeded = 21; */ public boolean getEntryLimitExceeded() { return entryLimitExceeded_; } /** * optional bool entry_limit_exceeded = 21; */ public Builder setEntryLimitExceeded(boolean value) { entryLimitExceeded_ = value; onChanged(); return this; } /** * optional bool entry_limit_exceeded = 21; */ public Builder clearEntryLimitExceeded() { entryLimitExceeded_ = false; onChanged(); return this; } private long profileSampleCount_ ; /** * optional int64 profile_sample_count = 22; */ public long getProfileSampleCount() { return profileSampleCount_; } /** * optional int64 profile_sample_count = 22; */ public Builder setProfileSampleCount(long value) { profileSampleCount_ = value; onChanged(); return this; } /** * optional int64 profile_sample_count = 22; */ public Builder clearProfileSampleCount() { profileSampleCount_ = 0L; onChanged(); return this; } private boolean profileSampleLimitExceeded_ ; /** * optional bool profile_sample_limit_exceeded = 23; */ public boolean getProfileSampleLimitExceeded() { return profileSampleLimitExceeded_; } /** * optional bool profile_sample_limit_exceeded = 23; */ public Builder setProfileSampleLimitExceeded(boolean value) { profileSampleLimitExceeded_ = value; onChanged(); return this; } /** * optional bool profile_sample_limit_exceeded = 23; */ public Builder clearProfileSampleLimitExceeded() { profileSampleLimitExceeded_ = false; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.Header) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Header) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Header DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Header(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser
() { public Header 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 Header(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.TraceOuterClass.Trace.Header getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Attribute) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * repeated string value = 2; */ org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getValueList(); /** * repeated string value = 2; */ int getValueCount(); /** * repeated string value = 2; */ java.lang.String getValue(int index); /** * repeated string value = 2; */ org.glowroot.agent.shaded.google.protobuf.ByteString getValueBytes(int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Attribute} */ public static final class Attribute extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Attribute) AttributeOrBuilder { // Use Attribute.newBuilder() to construct. private Attribute(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Attribute() { name_ = ""; value_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Attribute( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } value_.add(s); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = value_.getUnmodifiableView(); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private org.glowroot.agent.shaded.google.protobuf.LazyStringList value_; /** * repeated string value = 2; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getValueList() { return value_; } /** * repeated string value = 2; */ public int getValueCount() { return value_.size(); } /** * repeated string value = 2; */ public java.lang.String getValue(int index) { return value_.get(index); } /** * repeated string value = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getValueBytes(int index) { return value_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, name_); } for (int i = 0; i < value_.size(); i++) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, value_.getRaw(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_); } { int dataSize = 0; for (int i = 0; i < value_.size(); i++) { dataSize += computeStringSizeNoTag(value_.getRaw(i)); } size += dataSize; size += 1 * getValueList().size(); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute 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.TraceOuterClass.Trace.Attribute 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.Trace.Attribute} */ 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.Trace.Attribute) org.glowroot.wire.api.model.TraceOuterClass.Trace.AttributeOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; value_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; if (((bitField0_ & 0x00000002) == 0x00000002)) { value_ = value_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.value_ = value_; 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.TraceOuterClass.Trace.Attribute) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private org.glowroot.agent.shaded.google.protobuf.LazyStringList value_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { value_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(value_); bitField0_ |= 0x00000002; } } /** * repeated string value = 2; */ public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList getValueList() { return value_.getUnmodifiableView(); } /** * repeated string value = 2; */ public int getValueCount() { return value_.size(); } /** * repeated string value = 2; */ public java.lang.String getValue(int index) { return value_.get(index); } /** * repeated string value = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getValueBytes(int index) { return value_.getByteString(index); } /** * repeated string value = 2; */ public Builder setValue( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); return this; } /** * repeated string value = 2; */ public Builder addValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); return this; } /** * repeated string value = 2; */ public Builder addAllValue( java.lang.Iterable values) { ensureValueIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); return this; } /** * repeated string value = 2; */ public Builder clearValue() { value_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string value = 2; */ public Builder addValueBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureValueIsMutable(); value_.add(value); onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.Attribute) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Attribute) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Attribute 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 Attribute(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.TraceOuterClass.Trace.Attribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DetailEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.DetailEntry) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ java.util.List getValueList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ int getValueCount(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ java.util.List getValueOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder getValueOrBuilder( int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ java.util.List getChildEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getChildEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ int getChildEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ java.util.List getChildEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getChildEntryOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.DetailEntry} */ public static final class DetailEntry extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.DetailEntry) DetailEntryOrBuilder { // Use DetailEntry.newBuilder() to construct. private DetailEntry(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DetailEntry() { name_ = ""; value_ = java.util.Collections.emptyList(); childEntry_ = 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 DetailEntry( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } value_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { childEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } childEntry_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.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)) { value_ = java.util.Collections.unmodifiableList(value_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { childEntry_ = java.util.Collections.unmodifiableList(childEntry_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private java.util.List value_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ public java.util.List getValueList() { return value_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ public java.util.List getValueOrBuilderList() { return value_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ public int getValueCount() { return value_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index) { return value_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
       * one of these two (or neither for an empty value)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder getValueOrBuilder( int index) { return value_.get(index); } public static final int CHILD_ENTRY_FIELD_NUMBER = 3; private java.util.List childEntry_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public java.util.List getChildEntryList() { return childEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public java.util.List getChildEntryOrBuilderList() { return childEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public int getChildEntryCount() { return childEntry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getChildEntry(int index) { return childEntry_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getChildEntryOrBuilder( int index) { return childEntry_.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_); } for (int i = 0; i < value_.size(); i++) { output.writeMessage(2, value_.get(i)); } for (int i = 0; i < childEntry_.size(); i++) { output.writeMessage(3, childEntry_.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_); } for (int i = 0; i < value_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, value_.get(i)); } for (int i = 0; i < childEntry_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, childEntry_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry 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.TraceOuterClass.Trace.DetailEntry 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.Trace.DetailEntry} */ 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.Trace.DetailEntry) org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.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) { getValueFieldBuilder(); getChildEntryFieldBuilder(); } } public Builder clear() { super.clear(); name_ = ""; if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { valueBuilder_.clear(); } if (childEntryBuilder_ == null) { childEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { childEntryBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; if (valueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { value_ = java.util.Collections.unmodifiableList(value_); bitField0_ = (bitField0_ & ~0x00000002); } result.value_ = value_; } else { result.value_ = valueBuilder_.build(); } if (childEntryBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { childEntry_ = java.util.Collections.unmodifiableList(childEntry_); bitField0_ = (bitField0_ & ~0x00000004); } result.childEntry_ = childEntry_; } else { result.childEntry_ = childEntryBuilder_.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.TraceOuterClass.Trace.DetailEntry) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (valueBuilder_ == null) { if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureValueIsMutable(); value_.addAll(other.value_); } onChanged(); } } else { if (!other.value_.isEmpty()) { if (valueBuilder_.isEmpty()) { valueBuilder_.dispose(); valueBuilder_ = null; value_ = other.value_; bitField0_ = (bitField0_ & ~0x00000002); valueBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getValueFieldBuilder() : null; } else { valueBuilder_.addAllMessages(other.value_); } } } if (childEntryBuilder_ == null) { if (!other.childEntry_.isEmpty()) { if (childEntry_.isEmpty()) { childEntry_ = other.childEntry_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureChildEntryIsMutable(); childEntry_.addAll(other.childEntry_); } onChanged(); } } else { if (!other.childEntry_.isEmpty()) { if (childEntryBuilder_.isEmpty()) { childEntryBuilder_.dispose(); childEntryBuilder_ = null; childEntry_ = other.childEntry_; bitField0_ = (bitField0_ & ~0x00000004); childEntryBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChildEntryFieldBuilder() : null; } else { childEntryBuilder_.addAllMessages(other.childEntry_); } } } 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.TraceOuterClass.Trace.DetailEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private java.util.List value_ = java.util.Collections.emptyList(); private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { value_ = new java.util.ArrayList(value_); bitField0_ |= 0x00000002; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder> valueBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public java.util.List getValueList() { if (valueBuilder_ == null) { return java.util.Collections.unmodifiableList(value_); } else { return valueBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public int getValueCount() { if (valueBuilder_ == null) { return value_.size(); } else { return valueBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder setValue( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.set(index, value); onChanged(); } else { valueBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder setValue( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.set(index, builderForValue.build()); onChanged(); } else { valueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder addValue(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(value); onChanged(); } else { valueBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder addValue( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue value) { if (valueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureValueIsMutable(); value_.add(index, value); onChanged(); } else { valueBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder addValue( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder addValue( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder builderForValue) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.add(index, builderForValue.build()); onChanged(); } else { valueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder clearValue() { if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { valueBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public Builder removeValue(int index) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.remove(index); onChanged(); } else { valueBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder getValueBuilder( int index) { return getValueFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder getValueOrBuilder( int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public java.util.List getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(value_); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder addValueBuilder() { return getValueFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder addValueBuilder( int index) { return getValueFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; * *
         * one of these two (or neither for an empty value)
         * 
*/ public java.util.List getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { valueBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder>( value_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } private java.util.List childEntry_ = java.util.Collections.emptyList(); private void ensureChildEntryIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { childEntry_ = new java.util.ArrayList(childEntry_); bitField0_ |= 0x00000004; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> childEntryBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public java.util.List getChildEntryList() { if (childEntryBuilder_ == null) { return java.util.Collections.unmodifiableList(childEntry_); } else { return childEntryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public int getChildEntryCount() { if (childEntryBuilder_ == null) { return childEntry_.size(); } else { return childEntryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getChildEntry(int index) { if (childEntryBuilder_ == null) { return childEntry_.get(index); } else { return childEntryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder setChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.set(index, value); onChanged(); } else { childEntryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder setChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.set(index, builderForValue.build()); onChanged(); } else { childEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder addChildEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.add(value); onChanged(); } else { childEntryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder addChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.add(index, value); onChanged(); } else { childEntryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder addChildEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.add(builderForValue.build()); onChanged(); } else { childEntryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder addChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.add(index, builderForValue.build()); onChanged(); } else { childEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder addAllChildEntry( java.lang.Iterable values) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, childEntry_); onChanged(); } else { childEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder clearChildEntry() { if (childEntryBuilder_ == null) { childEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { childEntryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public Builder removeChildEntry(int index) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.remove(index); onChanged(); } else { childEntryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder getChildEntryBuilder( int index) { return getChildEntryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getChildEntryOrBuilder( int index) { if (childEntryBuilder_ == null) { return childEntry_.get(index); } else { return childEntryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public java.util.List getChildEntryOrBuilderList() { if (childEntryBuilder_ != null) { return childEntryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(childEntry_); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addChildEntryBuilder() { return getChildEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addChildEntryBuilder( int index) { return getChildEntryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry child_entry = 3; */ public java.util.List getChildEntryBuilderList() { return getChildEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> getChildEntryFieldBuilder() { if (childEntryBuilder_ == null) { childEntryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder>( childEntry_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); childEntry_ = null; } return childEntryBuilder_; } 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.Trace.DetailEntry) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.DetailEntry) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public DetailEntry 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 DetailEntry(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.TraceOuterClass.Trace.DetailEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DetailValueOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.DetailValue) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string sval = 1; */ java.lang.String getSval(); /** * optional string sval = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes(); /** * optional double dval = 2; */ double getDval(); /** * optional int64 lval = 3; */ long getLval(); /** * optional bool bval = 4; */ boolean getBval(); public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.ValCase getValCase(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.DetailValue} */ public static final class DetailValue extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.DetailValue) DetailValueOrBuilder { // Use DetailValue.newBuilder() to construct. private DetailValue(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private DetailValue() { } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private DetailValue( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); valCase_ = 1; val_ = s; break; } case 17: { valCase_ = 2; val_ = input.readDouble(); break; } case 24: { valCase_ = 3; val_ = input.readInt64(); break; } case 32: { valCase_ = 4; val_ = input.readBool(); break; } } } } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { throw new RuntimeException(e.setUnfinishedMessage(this)); } catch (java.io.IOException e) { throw new RuntimeException( new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this)); } finally { makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder.class); } private int valCase_ = 0; private java.lang.Object val_; public enum ValCase implements org.glowroot.agent.shaded.google.protobuf.Internal.EnumLite { SVAL(1), DVAL(2), LVAL(3), BVAL(4), VAL_NOT_SET(0); private int value = 0; private ValCase(int value) { this.value = value; } public static ValCase valueOf(int value) { switch (value) { case 1: return SVAL; case 2: return DVAL; case 3: return LVAL; case 4: return BVAL; case 0: return VAL_NOT_SET; default: throw new java.lang.IllegalArgumentException( "Value is undefined for this oneof enum."); } } public int getNumber() { return this.value; } }; public ValCase getValCase() { return ValCase.valueOf( valCase_); } public static final int SVAL_FIELD_NUMBER = 1; /** * optional string sval = 1; */ public java.lang.String getSval() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 1) { val_ = s; } return s; } } /** * optional string sval = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 1) { val_ = b; } return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int DVAL_FIELD_NUMBER = 2; /** * optional double dval = 2; */ public double getDval() { if (valCase_ == 2) { return (java.lang.Double) val_; } return 0D; } public static final int LVAL_FIELD_NUMBER = 3; /** * optional int64 lval = 3; */ public long getLval() { if (valCase_ == 3) { return (java.lang.Long) val_; } return 0L; } public static final int BVAL_FIELD_NUMBER = 4; /** * optional bool bval = 4; */ public boolean getBval() { if (valCase_ == 4) { return (java.lang.Boolean) val_; } return false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valCase_ == 1) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, val_); } if (valCase_ == 2) { output.writeDouble( 2, (double)((java.lang.Double) val_)); } if (valCase_ == 3) { output.writeInt64( 3, (long)((java.lang.Long) val_)); } if (valCase_ == 4) { output.writeBool( 4, (boolean)((java.lang.Boolean) val_)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valCase_ == 1) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, val_); } if (valCase_ == 2) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeDoubleSize( 2, (double)((java.lang.Double) val_)); } if (valCase_ == 3) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size( 3, (long)((java.lang.Long) val_)); } if (valCase_ == 4) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize( 4, (boolean)((java.lang.Boolean) val_)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue 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.TraceOuterClass.Trace.DetailValue 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.Trace.DetailValue} */ 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.Trace.DetailValue) org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); valCase_ = 0; val_ = null; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue(this); if (valCase_ == 1) { result.val_ = val_; } if (valCase_ == 2) { result.val_ = val_; } if (valCase_ == 3) { result.val_ = val_; } if (valCase_ == 4) { result.val_ = val_; } result.valCase_ = valCase_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.getDefaultInstance()) return this; switch (other.getValCase()) { case SVAL: { valCase_ = 1; val_ = other.val_; onChanged(); break; } case DVAL: { setDval(other.getDval()); break; } case LVAL: { setLval(other.getLval()); break; } case BVAL: { setBval(other.getBval()); break; } case VAL_NOT_SET: { break; } } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valCase_ = 0; private java.lang.Object val_; public ValCase getValCase() { return ValCase.valueOf( valCase_); } public Builder clearVal() { valCase_ = 0; val_ = null; onChanged(); return this; } /** * optional string sval = 1; */ public java.lang.String getSval() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 1) { val_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string sval = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getSvalBytes() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 1) { val_ = b; } return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string sval = 1; */ public Builder setSval( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valCase_ = 1; val_ = value; onChanged(); return this; } /** * optional string sval = 1; */ public Builder clearSval() { if (valCase_ == 1) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional string sval = 1; */ public Builder setSvalBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valCase_ = 1; val_ = value; onChanged(); return this; } /** * optional double dval = 2; */ public double getDval() { if (valCase_ == 2) { return (java.lang.Double) val_; } return 0D; } /** * optional double dval = 2; */ public Builder setDval(double value) { valCase_ = 2; val_ = value; onChanged(); return this; } /** * optional double dval = 2; */ public Builder clearDval() { if (valCase_ == 2) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional int64 lval = 3; */ public long getLval() { if (valCase_ == 3) { return (java.lang.Long) val_; } return 0L; } /** * optional int64 lval = 3; */ public Builder setLval(long value) { valCase_ = 3; val_ = value; onChanged(); return this; } /** * optional int64 lval = 3; */ public Builder clearLval() { if (valCase_ == 3) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * optional bool bval = 4; */ public boolean getBval() { if (valCase_ == 4) { return (java.lang.Boolean) val_; } return false; } /** * optional bool bval = 4; */ public Builder setBval(boolean value) { valCase_ = 4; val_ = value; onChanged(); return this; } /** * optional bool bval = 4; */ public Builder clearBval() { if (valCase_ == 4) { valCase_ = 0; val_ = null; 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.Trace.DetailValue) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.DetailValue) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public DetailValue 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 DetailValue(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.TraceOuterClass.Trace.DetailValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Error) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string message = 1; */ java.lang.String getMessage(); /** * optional string message = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ boolean hasException(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getException(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getExceptionOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Error} */ public static final class Error extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Error) ErrorOrBuilder { // Use Error.newBuilder() to construct. private Error(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Error() { message_ = ""; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Error( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); message_ = s; break; } case 18: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder subBuilder = null; if (exception_ != null) { subBuilder = exception_.toBuilder(); } exception_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exception_); exception_ = 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.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder.class); } public static final int MESSAGE_FIELD_NUMBER = 1; private volatile java.lang.Object message_; /** * optional string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * optional string message = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int EXCEPTION_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable exception_; /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public boolean hasException() { return exception_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getException() { return exception_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : exception_; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getExceptionOrBuilder() { return getException(); } 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 (!getMessageBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, message_); } if (exception_ != null) { output.writeMessage(2, getException()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, message_); } if (exception_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getException()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error 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.TraceOuterClass.Trace.Error 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.Trace.Error} */ 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.Trace.Error) org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.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(); message_ = ""; if (exceptionBuilder_ == null) { exception_ = null; } else { exception_ = null; exceptionBuilder_ = null; } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Error result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Error result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Error(this); result.message_ = message_; if (exceptionBuilder_ == null) { result.exception_ = exception_; } else { result.exception_ = exceptionBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Error) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Error)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance()) return this; if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.hasException()) { mergeException(other.getException()); } 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.TraceOuterClass.Trace.Error parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Error) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object message_ = ""; /** * optional string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string message = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string message = 1; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * optional string message = 1; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 1; */ public Builder setMessageBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable exception_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder> exceptionBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public boolean hasException() { return exceptionBuilder_ != null || exception_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getException() { if (exceptionBuilder_ == null) { return exception_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : exception_; } else { return exceptionBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public Builder setException(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable value) { if (exceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exception_ = value; onChanged(); } else { exceptionBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public Builder setException( org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder builderForValue) { if (exceptionBuilder_ == null) { exception_ = builderForValue.build(); onChanged(); } else { exceptionBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public Builder mergeException(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable value) { if (exceptionBuilder_ == null) { if (exception_ != null) { exception_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.newBuilder(exception_).mergeFrom(value).buildPartial(); } else { exception_ = value; } onChanged(); } else { exceptionBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public Builder clearException() { if (exceptionBuilder_ == null) { exception_ = null; onChanged(); } else { exception_ = null; exceptionBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder getExceptionBuilder() { onChanged(); return getExceptionFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getExceptionOrBuilder() { if (exceptionBuilder_ != null) { return exceptionBuilder_.getMessageOrBuilder(); } else { return exception_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : exception_; } } /** * optional .org_glowroot_wire_api_model.Trace.Throwable exception = 2; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { exceptionBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder>( getException(), getParentForChildren(), isClean()); exception_ = null; } return exceptionBuilder_; } 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.Trace.Error) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Error) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Error DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Error(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Error 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 Error(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.TraceOuterClass.Trace.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ThrowableOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Throwable) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string display = 1; * *
       * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
       * so it includes the exception class name
       * 
*/ java.lang.String getDisplay(); /** * optional string display = 1; * *
       * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
       * so it includes the exception class name
       * 
*/ org.glowroot.agent.shaded.google.protobuf.ByteString getDisplayBytes(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ java.util.List getStackTraceElementList(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getStackTraceElement(int index); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ int getStackTraceElementCount(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ java.util.List getStackTraceElementOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index); /** * optional int32 frames_in_common_with_enclosing = 3; * *
       * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
       * 
*/ int getFramesInCommonWithEnclosing(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ boolean hasCause(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getCause(); /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getCauseOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Throwable} */ public static final class Throwable extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Throwable) ThrowableOrBuilder { // Use Throwable.newBuilder() to construct. private Throwable(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Throwable() { display_ = ""; stackTraceElement_ = java.util.Collections.emptyList(); framesInCommonWithEnclosing_ = 0; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Throwable( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); display_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { stackTraceElement_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } stackTraceElement_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.parser(), extensionRegistry)); break; } case 24: { framesInCommonWithEnclosing_ = input.readInt32(); break; } case 34: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder subBuilder = null; if (cause_ != null) { subBuilder = cause_.toBuilder(); } cause_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cause_); cause_ = 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_ & 0x00000002) == 0x00000002)) { stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Throwable_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder.class); } private int bitField0_; public static final int DISPLAY_FIELD_NUMBER = 1; private volatile java.lang.Object display_; /** * optional string display = 1; * *
       * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
       * so it includes the exception class name
       * 
*/ public java.lang.String getDisplay() { java.lang.Object ref = display_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); display_ = s; return s; } } /** * optional string display = 1; * *
       * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
       * so it includes the exception class name
       * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getDisplayBytes() { java.lang.Object ref = display_; 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); display_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int STACK_TRACE_ELEMENT_FIELD_NUMBER = 2; private java.util.List stackTraceElement_; /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ public java.util.List getStackTraceElementList() { return stackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ public java.util.List getStackTraceElementOrBuilderList() { return stackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ public int getStackTraceElementCount() { return stackTraceElement_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getStackTraceElement(int index) { return stackTraceElement_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index) { return stackTraceElement_.get(index); } public static final int FRAMES_IN_COMMON_WITH_ENCLOSING_FIELD_NUMBER = 3; private int framesInCommonWithEnclosing_; /** * optional int32 frames_in_common_with_enclosing = 3; * *
       * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
       * 
*/ public int getFramesInCommonWithEnclosing() { return framesInCommonWithEnclosing_; } public static final int CAUSE_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable cause_; /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public boolean hasCause() { return cause_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getCause() { return cause_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : cause_; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getCauseOrBuilder() { return getCause(); } 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 (!getDisplayBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, display_); } for (int i = 0; i < stackTraceElement_.size(); i++) { output.writeMessage(2, stackTraceElement_.get(i)); } if (framesInCommonWithEnclosing_ != 0) { output.writeInt32(3, framesInCommonWithEnclosing_); } if (cause_ != null) { output.writeMessage(4, getCause()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getDisplayBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, display_); } for (int i = 0; i < stackTraceElement_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, stackTraceElement_.get(i)); } if (framesInCommonWithEnclosing_ != 0) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt32Size(3, framesInCommonWithEnclosing_); } if (cause_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(4, getCause()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable 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.TraceOuterClass.Trace.Throwable 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.Trace.Throwable} */ 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.Trace.Throwable) org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Throwable_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.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) { getStackTraceElementFieldBuilder(); } } public Builder clear() { super.clear(); display_ = ""; if (stackTraceElementBuilder_ == null) { stackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { stackTraceElementBuilder_.clear(); } framesInCommonWithEnclosing_ = 0; if (causeBuilder_ == null) { cause_ = null; } else { cause_ = null; causeBuilder_ = null; } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.display_ = display_; if (stackTraceElementBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_); bitField0_ = (bitField0_ & ~0x00000002); } result.stackTraceElement_ = stackTraceElement_; } else { result.stackTraceElement_ = stackTraceElementBuilder_.build(); } result.framesInCommonWithEnclosing_ = framesInCommonWithEnclosing_; if (causeBuilder_ == null) { result.cause_ = cause_; } else { result.cause_ = causeBuilder_.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.TraceOuterClass.Trace.Throwable) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance()) return this; if (!other.getDisplay().isEmpty()) { display_ = other.display_; onChanged(); } if (stackTraceElementBuilder_ == null) { if (!other.stackTraceElement_.isEmpty()) { if (stackTraceElement_.isEmpty()) { stackTraceElement_ = other.stackTraceElement_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStackTraceElementIsMutable(); stackTraceElement_.addAll(other.stackTraceElement_); } onChanged(); } } else { if (!other.stackTraceElement_.isEmpty()) { if (stackTraceElementBuilder_.isEmpty()) { stackTraceElementBuilder_.dispose(); stackTraceElementBuilder_ = null; stackTraceElement_ = other.stackTraceElement_; bitField0_ = (bitField0_ & ~0x00000002); stackTraceElementBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStackTraceElementFieldBuilder() : null; } else { stackTraceElementBuilder_.addAllMessages(other.stackTraceElement_); } } } if (other.getFramesInCommonWithEnclosing() != 0) { setFramesInCommonWithEnclosing(other.getFramesInCommonWithEnclosing()); } if (other.hasCause()) { mergeCause(other.getCause()); } 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.TraceOuterClass.Trace.Throwable parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object display_ = ""; /** * optional string display = 1; * *
         * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
         * so it includes the exception class name
         * 
*/ public java.lang.String getDisplay() { java.lang.Object ref = display_; 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(); display_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string display = 1; * *
         * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
         * so it includes the exception class name
         * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getDisplayBytes() { java.lang.Object ref = display_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); display_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string display = 1; * *
         * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
         * so it includes the exception class name
         * 
*/ public Builder setDisplay( java.lang.String value) { if (value == null) { throw new NullPointerException(); } display_ = value; onChanged(); return this; } /** * optional string display = 1; * *
         * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
         * so it includes the exception class name
         * 
*/ public Builder clearDisplay() { display_ = getDefaultInstance().getDisplay(); onChanged(); return this; } /** * optional string display = 1; * *
         * display is java.lang.Throwable.toString() instead of java.lang.Throwable.getMessage()
         * so it includes the exception class name
         * 
*/ public Builder setDisplayBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); display_ = value; onChanged(); return this; } private java.util.List stackTraceElement_ = java.util.Collections.emptyList(); private void ensureStackTraceElementIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { stackTraceElement_ = new java.util.ArrayList(stackTraceElement_); bitField0_ |= 0x00000002; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder> stackTraceElementBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public java.util.List getStackTraceElementList() { if (stackTraceElementBuilder_ == null) { return java.util.Collections.unmodifiableList(stackTraceElement_); } else { return stackTraceElementBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public int getStackTraceElementCount() { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.size(); } else { return stackTraceElementBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getStackTraceElement(int index) { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.get(index); } else { return stackTraceElementBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder setStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.set(index, value); onChanged(); } else { stackTraceElementBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder setStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.set(index, builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder addStackTraceElement(org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.add(value); onChanged(); } else { stackTraceElementBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder addStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.add(index, value); onChanged(); } else { stackTraceElementBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder addStackTraceElement( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.add(builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder addStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.add(index, builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder addAllStackTraceElement( java.lang.Iterable values) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, stackTraceElement_); onChanged(); } else { stackTraceElementBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder clearStackTraceElement() { if (stackTraceElementBuilder_ == null) { stackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { stackTraceElementBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public Builder removeStackTraceElement(int index) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.remove(index); onChanged(); } else { stackTraceElementBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder getStackTraceElementBuilder( int index) { return getStackTraceElementFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index) { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.get(index); } else { return stackTraceElementBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public java.util.List getStackTraceElementOrBuilderList() { if (stackTraceElementBuilder_ != null) { return stackTraceElementBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stackTraceElement_); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder addStackTraceElementBuilder() { return getStackTraceElementFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder addStackTraceElementBuilder( int index) { return getStackTraceElementFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement stack_trace_element = 2; * *
         * for inner "cause" throwable, stack trace only includes frames not in common with the
         * enclosing throwable
         * 
*/ public java.util.List getStackTraceElementBuilderList() { return getStackTraceElementFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder> getStackTraceElementFieldBuilder() { if (stackTraceElementBuilder_ == null) { stackTraceElementBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder>( stackTraceElement_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); stackTraceElement_ = null; } return stackTraceElementBuilder_; } private int framesInCommonWithEnclosing_ ; /** * optional int32 frames_in_common_with_enclosing = 3; * *
         * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
         * 
*/ public int getFramesInCommonWithEnclosing() { return framesInCommonWithEnclosing_; } /** * optional int32 frames_in_common_with_enclosing = 3; * *
         * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
         * 
*/ public Builder setFramesInCommonWithEnclosing(int value) { framesInCommonWithEnclosing_ = value; onChanged(); return this; } /** * optional int32 frames_in_common_with_enclosing = 3; * *
         * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
         * 
*/ public Builder clearFramesInCommonWithEnclosing() { framesInCommonWithEnclosing_ = 0; onChanged(); return this; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable cause_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder> causeBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public boolean hasCause() { return causeBuilder_ != null || cause_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getCause() { if (causeBuilder_ == null) { return cause_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : cause_; } else { return causeBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public Builder setCause(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable value) { if (causeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cause_ = value; onChanged(); } else { causeBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public Builder setCause( org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder builderForValue) { if (causeBuilder_ == null) { cause_ = builderForValue.build(); onChanged(); } else { causeBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public Builder mergeCause(org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable value) { if (causeBuilder_ == null) { if (cause_ != null) { cause_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.newBuilder(cause_).mergeFrom(value).buildPartial(); } else { cause_ = value; } onChanged(); } else { causeBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public Builder clearCause() { if (causeBuilder_ == null) { cause_ = null; onChanged(); } else { cause_ = null; causeBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder getCauseBuilder() { onChanged(); return getCauseFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder getCauseOrBuilder() { if (causeBuilder_ != null) { return causeBuilder_.getMessageOrBuilder(); } else { return cause_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.getDefaultInstance() : cause_; } } /** * optional .org_glowroot_wire_api_model.Trace.Throwable cause = 4; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder> getCauseFieldBuilder() { if (causeBuilder_ == null) { causeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable, org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThrowableOrBuilder>( getCause(), getParentForChildren(), isClean()); cause_ = null; } return causeBuilder_; } 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.Trace.Throwable) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Throwable) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Throwable getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Throwable 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 Throwable(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.TraceOuterClass.Trace.Throwable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimerOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Timer) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes(); /** * optional bool extended = 2; */ boolean getExtended(); /** * optional int64 total_nanos = 3; */ long getTotalNanos(); /** * optional int64 count = 4; */ long getCount(); /** * optional bool active = 5; * *
       * whether timer was active at the time of a partial trace capture
       * 
*/ boolean getActive(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ java.util.List getChildTimerList(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getChildTimer(int index); /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ int getChildTimerCount(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ java.util.List getChildTimerOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getChildTimerOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.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.Trace.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_ = 0L; count_ = 0L; active_ = false; childTimer_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private Timer( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); name_ = s; break; } case 16: { extended_ = input.readBool(); break; } case 24: { totalNanos_ = input.readInt64(); break; } case 32: { count_ = input.readInt64(); break; } case 40: { active_ = input.readBool(); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { childTimer_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } childTimer_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.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_ & 0x00000020) == 0x00000020)) { 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.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int 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 long totalNanos_; /** * optional int64 total_nanos = 3; */ public long 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 ACTIVE_FIELD_NUMBER = 5; private boolean active_; /** * optional bool active = 5; * *
       * whether timer was active at the time of a partial trace capture
       * 
*/ public boolean getActive() { return active_; } public static final int CHILD_TIMER_FIELD_NUMBER = 6; private java.util.List childTimer_; /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public java.util.List getChildTimerList() { return childTimer_; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public java.util.List getChildTimerOrBuilderList() { return childTimer_; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public int getChildTimerCount() { return childTimer_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getChildTimer(int index) { return childTimer_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.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_ != 0L) { output.writeInt64(3, totalNanos_); } if (count_ != 0L) { output.writeInt64(4, count_); } if (active_ != false) { output.writeBool(5, active_); } for (int i = 0; i < childTimer_.size(); i++) { output.writeMessage(6, 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_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(3, totalNanos_); } if (count_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(4, count_); } if (active_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(5, active_); } for (int i = 0; i < childTimer_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(6, childTimer_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.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.TraceOuterClass.Trace.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.TraceOuterClass.Trace.Timer parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.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.TraceOuterClass.Trace.Timer parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.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.TraceOuterClass.Trace.Timer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.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.TraceOuterClass.Trace.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.TraceOuterClass.Trace.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.TraceOuterClass.Trace.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.Trace.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.Trace.Timer) org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.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_ = 0L; count_ = 0L; active_ = false; if (childTimerBuilder_ == null) { childTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { childTimerBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.name_ = name_; result.extended_ = extended_; result.totalNanos_ = totalNanos_; result.count_ = count_; result.active_ = active_; if (childTimerBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { childTimer_ = java.util.Collections.unmodifiableList(childTimer_); bitField0_ = (bitField0_ & ~0x00000020); } 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.TraceOuterClass.Trace.Timer) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getExtended() != false) { setExtended(other.getExtended()); } if (other.getTotalNanos() != 0L) { setTotalNanos(other.getTotalNanos()); } if (other.getCount() != 0L) { setCount(other.getCount()); } if (other.getActive() != false) { setActive(other.getActive()); } if (childTimerBuilder_ == null) { if (!other.childTimer_.isEmpty()) { if (childTimer_.isEmpty()) { childTimer_ = other.childTimer_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureChildTimerIsMutable(); childTimer_.addAll(other.childTimer_); } onChanged(); } } else { if (!other.childTimer_.isEmpty()) { if (childTimerBuilder_.isEmpty()) { childTimerBuilder_.dispose(); childTimerBuilder_ = null; childTimer_ = other.childTimer_; bitField0_ = (bitField0_ & ~0x00000020); 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.TraceOuterClass.Trace.Timer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.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; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private boolean 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 long totalNanos_ ; /** * optional int64 total_nanos = 3; */ public long getTotalNanos() { return totalNanos_; } /** * optional int64 total_nanos = 3; */ public Builder setTotalNanos(long value) { totalNanos_ = value; onChanged(); return this; } /** * optional int64 total_nanos = 3; */ public Builder clearTotalNanos() { totalNanos_ = 0L; 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 boolean active_ ; /** * optional bool active = 5; * *
         * whether timer was active at the time of a partial trace capture
         * 
*/ public boolean getActive() { return active_; } /** * optional bool active = 5; * *
         * whether timer was active at the time of a partial trace capture
         * 
*/ public Builder setActive(boolean value) { active_ = value; onChanged(); return this; } /** * optional bool active = 5; * *
         * whether timer was active at the time of a partial trace capture
         * 
*/ public Builder clearActive() { active_ = false; onChanged(); return this; } private java.util.List childTimer_ = java.util.Collections.emptyList(); private void ensureChildTimerIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { childTimer_ = new java.util.ArrayList(childTimer_); bitField0_ |= 0x00000020; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder> childTimerBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public java.util.List getChildTimerList() { if (childTimerBuilder_ == null) { return java.util.Collections.unmodifiableList(childTimer_); } else { return childTimerBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public int getChildTimerCount() { if (childTimerBuilder_ == null) { return childTimer_.size(); } else { return childTimerBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getChildTimer(int index) { if (childTimerBuilder_ == null) { return childTimer_.get(index); } else { return childTimerBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public Builder setChildTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder setChildTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder addChildTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder addChildTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder addChildTimer( org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder addChildTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.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.Trace.Timer child_timer = 6; */ public Builder addAllChildTimer( java.lang.Iterable 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.Trace.Timer child_timer = 6; */ public Builder clearChildTimer() { if (childTimerBuilder_ == null) { childTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { childTimerBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ 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.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder getChildTimerBuilder( int index) { return getChildTimerFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getChildTimerOrBuilder( int index) { if (childTimerBuilder_ == null) { return childTimer_.get(index); } else { return childTimerBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public java.util.List getChildTimerOrBuilderList() { if (childTimerBuilder_ != null) { return childTimerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(childTimer_); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addChildTimerBuilder() { return getChildTimerFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addChildTimerBuilder( int index) { return getChildTimerFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer child_timer = 6; */ public java.util.List getChildTimerBuilderList() { return getChildTimerFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder> getChildTimerFieldBuilder() { if (childTimerBuilder_ == null) { childTimerBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder>( childTimer_, ((bitField0_ & 0x00000020) == 0x00000020), 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.Trace.Timer) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Timer) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.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.TraceOuterClass.Trace.Timer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionalIntOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.OptionalInt) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional int64 value = 1; */ long getValue(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.OptionalInt} */ public static final class OptionalInt extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.OptionalInt) OptionalIntOrBuilder { // Use OptionalInt.newBuilder() to construct. private OptionalInt(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private OptionalInt() { value_ = 0L; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private OptionalInt( 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: { value_ = 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.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private long value_; /** * optional int64 value = 1; */ public long getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != 0L) { output.writeInt64(1, value_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (value_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(1, value_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt 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.TraceOuterClass.Trace.OptionalInt 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.Trace.OptionalInt} */ 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.Trace.OptionalInt) org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalIntOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); value_ = 0L; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt(this); result.value_ = value_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt.getDefaultInstance()) return this; if (other.getValue() != 0L) { setValue(other.getValue()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long value_ ; /** * optional int64 value = 1; */ public long getValue() { return value_; } /** * optional int64 value = 1; */ public Builder setValue(long value) { value_ = value; onChanged(); return this; } /** * optional int64 value = 1; */ public Builder clearValue() { value_ = 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.Trace.OptionalInt) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.OptionalInt) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OptionalInt getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public OptionalInt 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 OptionalInt(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.TraceOuterClass.Trace.OptionalInt getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GarbageCollectionActivityOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.GarbageCollectionActivity) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string collector_name = 1; */ java.lang.String getCollectorName(); /** * optional string collector_name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getCollectorNameBytes(); /** * optional int64 total_millis = 2; */ long getTotalMillis(); /** * optional int64 count = 3; */ long getCount(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.GarbageCollectionActivity} */ public static final class GarbageCollectionActivity extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.GarbageCollectionActivity) GarbageCollectionActivityOrBuilder { // Use GarbageCollectionActivity.newBuilder() to construct. private GarbageCollectionActivity(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private GarbageCollectionActivity() { collectorName_ = ""; totalMillis_ = 0L; count_ = 0L; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private GarbageCollectionActivity( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); collectorName_ = s; break; } case 16: { totalMillis_ = input.readInt64(); break; } case 24: { count_ = 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.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder.class); } public static final int COLLECTOR_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object collectorName_; /** * optional string collector_name = 1; */ public java.lang.String getCollectorName() { java.lang.Object ref = collectorName_; 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(); collectorName_ = s; return s; } } /** * optional string collector_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getCollectorNameBytes() { java.lang.Object ref = collectorName_; 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); collectorName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int TOTAL_MILLIS_FIELD_NUMBER = 2; private long totalMillis_; /** * optional int64 total_millis = 2; */ public long getTotalMillis() { return totalMillis_; } public static final int COUNT_FIELD_NUMBER = 3; private long count_; /** * optional int64 count = 3; */ public long getCount() { return count_; } 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 (!getCollectorNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, collectorName_); } if (totalMillis_ != 0L) { output.writeInt64(2, totalMillis_); } if (count_ != 0L) { output.writeInt64(3, count_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCollectorNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, collectorName_); } if (totalMillis_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(2, totalMillis_); } if (count_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(3, count_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity 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.TraceOuterClass.Trace.GarbageCollectionActivity 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.Trace.GarbageCollectionActivity} */ 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.Trace.GarbageCollectionActivity) org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivityOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.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(); collectorName_ = ""; totalMillis_ = 0L; count_ = 0L; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity(this); result.collectorName_ = collectorName_; result.totalMillis_ = totalMillis_; result.count_ = count_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity.getDefaultInstance()) return this; if (!other.getCollectorName().isEmpty()) { collectorName_ = other.collectorName_; onChanged(); } if (other.getTotalMillis() != 0L) { setTotalMillis(other.getTotalMillis()); } if (other.getCount() != 0L) { setCount(other.getCount()); } 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.TraceOuterClass.Trace.GarbageCollectionActivity parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object collectorName_ = ""; /** * optional string collector_name = 1; */ public java.lang.String getCollectorName() { java.lang.Object ref = collectorName_; 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(); collectorName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string collector_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getCollectorNameBytes() { java.lang.Object ref = collectorName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collectorName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string collector_name = 1; */ public Builder setCollectorName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collectorName_ = value; onChanged(); return this; } /** * optional string collector_name = 1; */ public Builder clearCollectorName() { collectorName_ = getDefaultInstance().getCollectorName(); onChanged(); return this; } /** * optional string collector_name = 1; */ public Builder setCollectorNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collectorName_ = value; onChanged(); return this; } private long totalMillis_ ; /** * optional int64 total_millis = 2; */ public long getTotalMillis() { return totalMillis_; } /** * optional int64 total_millis = 2; */ public Builder setTotalMillis(long value) { totalMillis_ = value; onChanged(); return this; } /** * optional int64 total_millis = 2; */ public Builder clearTotalMillis() { totalMillis_ = 0L; onChanged(); return this; } private long count_ ; /** * optional int64 count = 3; */ public long getCount() { return count_; } /** * optional int64 count = 3; */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** * optional int64 count = 3; */ public Builder clearCount() { count_ = 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.Trace.GarbageCollectionActivity) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.GarbageCollectionActivity) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.GarbageCollectionActivity getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public GarbageCollectionActivity 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 GarbageCollectionActivity(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.TraceOuterClass.Trace.GarbageCollectionActivity getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Entry) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional int64 start_offset_nanos = 1; * *
       * start time relative to trace start
       * 
*/ long getStartOffsetNanos(); /** * optional int64 duration_nanos = 2; */ long getDurationNanos(); /** * optional bool active = 3; * *
       * whether entry was active at the time of a partial trace capture
       * 
*/ boolean getActive(); /** * optional string message = 4; * *
       * message is empty for trace entries added using addErrorEntry()
       * 
*/ java.lang.String getMessage(); /** * optional string message = 4; * *
       * message is empty for trace entries added using addErrorEntry()
       * 
*/ org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ java.util.List getDetailEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ int getDetailEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ java.util.List getDetailEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ java.util.List getLocationStackTraceElementList(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getLocationStackTraceElement(int index); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ int getLocationStackTraceElementCount(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ java.util.List getLocationStackTraceElementOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ boolean hasError(); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError(); /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ java.util.List getChildEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getChildEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ int getChildEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ java.util.List getChildEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getChildEntryOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Entry} */ public static final class Entry extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Entry) EntryOrBuilder { // Use Entry.newBuilder() to construct. private Entry(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private Entry() { startOffsetNanos_ = 0L; durationNanos_ = 0L; active_ = false; message_ = ""; detailEntry_ = java.util.Collections.emptyList(); locationStackTraceElement_ = java.util.Collections.emptyList(); childEntry_ = 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 Entry( 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: { startOffsetNanos_ = input.readInt64(); break; } case 16: { durationNanos_ = input.readInt64(); break; } case 24: { active_ = input.readBool(); break; } case 34: { String s = input.readStringRequireUtf8(); message_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { detailEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } detailEntry_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.parser(), extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { locationStackTraceElement_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } locationStackTraceElement_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.parser(), extensionRegistry)); break; } case 58: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder subBuilder = null; if (error_ != null) { subBuilder = error_.toBuilder(); } error_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(error_); error_ = subBuilder.buildPartial(); } break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { childEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } childEntry_.add(input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.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)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { locationStackTraceElement_ = java.util.Collections.unmodifiableList(locationStackTraceElement_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { childEntry_ = java.util.Collections.unmodifiableList(childEntry_); } makeExtensionsImmutable(); } } public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder.class); } private int bitField0_; public static final int START_OFFSET_NANOS_FIELD_NUMBER = 1; private long startOffsetNanos_; /** * optional int64 start_offset_nanos = 1; * *
       * start time relative to trace start
       * 
*/ public long getStartOffsetNanos() { return startOffsetNanos_; } public static final int DURATION_NANOS_FIELD_NUMBER = 2; private long durationNanos_; /** * optional int64 duration_nanos = 2; */ public long getDurationNanos() { return durationNanos_; } public static final int ACTIVE_FIELD_NUMBER = 3; private boolean active_; /** * optional bool active = 3; * *
       * whether entry was active at the time of a partial trace capture
       * 
*/ public boolean getActive() { return active_; } public static final int MESSAGE_FIELD_NUMBER = 4; private volatile java.lang.Object message_; /** * optional string message = 4; * *
       * message is empty for trace entries added using addErrorEntry()
       * 
*/ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * optional string message = 4; * *
       * message is empty for trace entries added using addErrorEntry()
       * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; 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); message_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int DETAIL_ENTRY_FIELD_NUMBER = 5; private java.util.List detailEntry_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public java.util.List getDetailEntryList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public java.util.List getDetailEntryOrBuilderList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public int getDetailEntryCount() { return detailEntry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index) { return detailEntry_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index) { return detailEntry_.get(index); } public static final int LOCATION_STACK_TRACE_ELEMENT_FIELD_NUMBER = 6; private java.util.List locationStackTraceElement_; /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public java.util.List getLocationStackTraceElementList() { return locationStackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public java.util.List getLocationStackTraceElementOrBuilderList() { return locationStackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public int getLocationStackTraceElementCount() { return locationStackTraceElement_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getLocationStackTraceElement(int index) { return locationStackTraceElement_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index) { return locationStackTraceElement_.get(index); } public static final int ERROR_FIELD_NUMBER = 7; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_; /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public boolean hasError() { return error_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError() { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder() { return getError(); } public static final int CHILD_ENTRY_FIELD_NUMBER = 8; private java.util.List childEntry_; /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public java.util.List getChildEntryList() { return childEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public java.util.List getChildEntryOrBuilderList() { return childEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public int getChildEntryCount() { return childEntry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getChildEntry(int index) { return childEntry_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getChildEntryOrBuilder( int index) { return childEntry_.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 (startOffsetNanos_ != 0L) { output.writeInt64(1, startOffsetNanos_); } if (durationNanos_ != 0L) { output.writeInt64(2, durationNanos_); } if (active_ != false) { output.writeBool(3, active_); } if (!getMessageBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, message_); } for (int i = 0; i < detailEntry_.size(); i++) { output.writeMessage(5, detailEntry_.get(i)); } for (int i = 0; i < locationStackTraceElement_.size(); i++) { output.writeMessage(6, locationStackTraceElement_.get(i)); } if (error_ != null) { output.writeMessage(7, getError()); } for (int i = 0; i < childEntry_.size(); i++) { output.writeMessage(8, childEntry_.get(i)); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (startOffsetNanos_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(1, startOffsetNanos_); } if (durationNanos_ != 0L) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeInt64Size(2, durationNanos_); } if (active_ != false) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeBoolSize(3, active_); } if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, message_); } for (int i = 0; i < detailEntry_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(5, detailEntry_.get(i)); } for (int i = 0; i < locationStackTraceElement_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(6, locationStackTraceElement_.get(i)); } if (error_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(7, getError()); } for (int i = 0; i < childEntry_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(8, childEntry_.get(i)); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry 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.TraceOuterClass.Trace.Entry 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.Trace.Entry} */ 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.Trace.Entry) org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.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) { getDetailEntryFieldBuilder(); getLocationStackTraceElementFieldBuilder(); getChildEntryFieldBuilder(); } } public Builder clear() { super.clear(); startOffsetNanos_ = 0L; durationNanos_ = 0L; active_ = false; message_ = ""; if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { detailEntryBuilder_.clear(); } if (locationStackTraceElementBuilder_ == null) { locationStackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { locationStackTraceElementBuilder_.clear(); } if (errorBuilder_ == null) { error_ = null; } else { error_ = null; errorBuilder_ = null; } if (childEntryBuilder_ == null) { childEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { childEntryBuilder_.clear(); } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.startOffsetNanos_ = startOffsetNanos_; result.durationNanos_ = durationNanos_; result.active_ = active_; result.message_ = message_; if (detailEntryBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); bitField0_ = (bitField0_ & ~0x00000010); } result.detailEntry_ = detailEntry_; } else { result.detailEntry_ = detailEntryBuilder_.build(); } if (locationStackTraceElementBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { locationStackTraceElement_ = java.util.Collections.unmodifiableList(locationStackTraceElement_); bitField0_ = (bitField0_ & ~0x00000020); } result.locationStackTraceElement_ = locationStackTraceElement_; } else { result.locationStackTraceElement_ = locationStackTraceElementBuilder_.build(); } if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (childEntryBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { childEntry_ = java.util.Collections.unmodifiableList(childEntry_); bitField0_ = (bitField0_ & ~0x00000080); } result.childEntry_ = childEntry_; } else { result.childEntry_ = childEntryBuilder_.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.TraceOuterClass.Trace.Entry) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()) return this; if (other.getStartOffsetNanos() != 0L) { setStartOffsetNanos(other.getStartOffsetNanos()); } if (other.getDurationNanos() != 0L) { setDurationNanos(other.getDurationNanos()); } if (other.getActive() != false) { setActive(other.getActive()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (detailEntryBuilder_ == null) { if (!other.detailEntry_.isEmpty()) { if (detailEntry_.isEmpty()) { detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureDetailEntryIsMutable(); detailEntry_.addAll(other.detailEntry_); } onChanged(); } } else { if (!other.detailEntry_.isEmpty()) { if (detailEntryBuilder_.isEmpty()) { detailEntryBuilder_.dispose(); detailEntryBuilder_ = null; detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000010); detailEntryBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getDetailEntryFieldBuilder() : null; } else { detailEntryBuilder_.addAllMessages(other.detailEntry_); } } } if (locationStackTraceElementBuilder_ == null) { if (!other.locationStackTraceElement_.isEmpty()) { if (locationStackTraceElement_.isEmpty()) { locationStackTraceElement_ = other.locationStackTraceElement_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.addAll(other.locationStackTraceElement_); } onChanged(); } } else { if (!other.locationStackTraceElement_.isEmpty()) { if (locationStackTraceElementBuilder_.isEmpty()) { locationStackTraceElementBuilder_.dispose(); locationStackTraceElementBuilder_ = null; locationStackTraceElement_ = other.locationStackTraceElement_; bitField0_ = (bitField0_ & ~0x00000020); locationStackTraceElementBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getLocationStackTraceElementFieldBuilder() : null; } else { locationStackTraceElementBuilder_.addAllMessages(other.locationStackTraceElement_); } } } if (other.hasError()) { mergeError(other.getError()); } if (childEntryBuilder_ == null) { if (!other.childEntry_.isEmpty()) { if (childEntry_.isEmpty()) { childEntry_ = other.childEntry_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureChildEntryIsMutable(); childEntry_.addAll(other.childEntry_); } onChanged(); } } else { if (!other.childEntry_.isEmpty()) { if (childEntryBuilder_.isEmpty()) { childEntryBuilder_.dispose(); childEntryBuilder_ = null; childEntry_ = other.childEntry_; bitField0_ = (bitField0_ & ~0x00000080); childEntryBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getChildEntryFieldBuilder() : null; } else { childEntryBuilder_.addAllMessages(other.childEntry_); } } } 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.TraceOuterClass.Trace.Entry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long startOffsetNanos_ ; /** * optional int64 start_offset_nanos = 1; * *
         * start time relative to trace start
         * 
*/ public long getStartOffsetNanos() { return startOffsetNanos_; } /** * optional int64 start_offset_nanos = 1; * *
         * start time relative to trace start
         * 
*/ public Builder setStartOffsetNanos(long value) { startOffsetNanos_ = value; onChanged(); return this; } /** * optional int64 start_offset_nanos = 1; * *
         * start time relative to trace start
         * 
*/ public Builder clearStartOffsetNanos() { startOffsetNanos_ = 0L; onChanged(); return this; } private long durationNanos_ ; /** * optional int64 duration_nanos = 2; */ public long getDurationNanos() { return durationNanos_; } /** * optional int64 duration_nanos = 2; */ public Builder setDurationNanos(long value) { durationNanos_ = value; onChanged(); return this; } /** * optional int64 duration_nanos = 2; */ public Builder clearDurationNanos() { durationNanos_ = 0L; onChanged(); return this; } private boolean active_ ; /** * optional bool active = 3; * *
         * whether entry was active at the time of a partial trace capture
         * 
*/ public boolean getActive() { return active_; } /** * optional bool active = 3; * *
         * whether entry was active at the time of a partial trace capture
         * 
*/ public Builder setActive(boolean value) { active_ = value; onChanged(); return this; } /** * optional bool active = 3; * *
         * whether entry was active at the time of a partial trace capture
         * 
*/ public Builder clearActive() { active_ = false; onChanged(); return this; } private java.lang.Object message_ = ""; /** * optional string message = 4; * *
         * message is empty for trace entries added using addErrorEntry()
         * 
*/ public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string message = 4; * *
         * message is empty for trace entries added using addErrorEntry()
         * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string message = 4; * *
         * message is empty for trace entries added using addErrorEntry()
         * 
*/ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * optional string message = 4; * *
         * message is empty for trace entries added using addErrorEntry()
         * 
*/ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * optional string message = 4; * *
         * message is empty for trace entries added using addErrorEntry()
         * 
*/ public Builder setMessageBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private java.util.List detailEntry_ = java.util.Collections.emptyList(); private void ensureDetailEntryIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { detailEntry_ = new java.util.ArrayList(detailEntry_); bitField0_ |= 0x00000010; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> detailEntryBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public java.util.List getDetailEntryList() { if (detailEntryBuilder_ == null) { return java.util.Collections.unmodifiableList(detailEntry_); } else { return detailEntryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public int getDetailEntryCount() { if (detailEntryBuilder_ == null) { return detailEntry_.size(); } else { return detailEntryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index) { if (detailEntryBuilder_ == null) { return detailEntry_.get(index); } else { return detailEntryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder setDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.set(index, value); onChanged(); } else { detailEntryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder setDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.set(index, builderForValue.build()); onChanged(); } else { detailEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder addDetailEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.add(value); onChanged(); } else { detailEntryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder addDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry value) { if (detailEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDetailEntryIsMutable(); detailEntry_.add(index, value); onChanged(); } else { detailEntryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder addDetailEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.add(builderForValue.build()); onChanged(); } else { detailEntryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder addDetailEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder builderForValue) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.add(index, builderForValue.build()); onChanged(); } else { detailEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder addAllDetailEntry( java.lang.Iterable values) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, detailEntry_); onChanged(); } else { detailEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder clearDetailEntry() { if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { detailEntryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public Builder removeDetailEntry(int index) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); detailEntry_.remove(index); onChanged(); } else { detailEntryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder getDetailEntryBuilder( int index) { return getDetailEntryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index) { if (detailEntryBuilder_ == null) { return detailEntry_.get(index); } else { return detailEntryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public java.util.List getDetailEntryOrBuilderList() { if (detailEntryBuilder_ != null) { return detailEntryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(detailEntry_); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addDetailEntryBuilder() { return getDetailEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder addDetailEntryBuilder( int index) { return getDetailEntryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 5; */ public java.util.List getDetailEntryBuilderList() { return getDetailEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder> getDetailEntryFieldBuilder() { if (detailEntryBuilder_ == null) { detailEntryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder>( detailEntry_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); detailEntry_ = null; } return detailEntryBuilder_; } private java.util.List locationStackTraceElement_ = java.util.Collections.emptyList(); private void ensureLocationStackTraceElementIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { locationStackTraceElement_ = new java.util.ArrayList(locationStackTraceElement_); bitField0_ |= 0x00000020; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder> locationStackTraceElementBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public java.util.List getLocationStackTraceElementList() { if (locationStackTraceElementBuilder_ == null) { return java.util.Collections.unmodifiableList(locationStackTraceElement_); } else { return locationStackTraceElementBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public int getLocationStackTraceElementCount() { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.size(); } else { return locationStackTraceElementBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getLocationStackTraceElement(int index) { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.get(index); } else { return locationStackTraceElementBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder setLocationStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (locationStackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.set(index, value); onChanged(); } else { locationStackTraceElementBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder setLocationStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.set(index, builderForValue.build()); onChanged(); } else { locationStackTraceElementBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder addLocationStackTraceElement(org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (locationStackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.add(value); onChanged(); } else { locationStackTraceElementBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder addLocationStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement value) { if (locationStackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.add(index, value); onChanged(); } else { locationStackTraceElementBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder addLocationStackTraceElement( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.add(builderForValue.build()); onChanged(); } else { locationStackTraceElementBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder addLocationStackTraceElement( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder builderForValue) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.add(index, builderForValue.build()); onChanged(); } else { locationStackTraceElementBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder addAllLocationStackTraceElement( java.lang.Iterable values) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, locationStackTraceElement_); onChanged(); } else { locationStackTraceElementBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder clearLocationStackTraceElement() { if (locationStackTraceElementBuilder_ == null) { locationStackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { locationStackTraceElementBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public Builder removeLocationStackTraceElement(int index) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.remove(index); onChanged(); } else { locationStackTraceElementBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder getLocationStackTraceElementBuilder( int index) { return getLocationStackTraceElementFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index) { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.get(index); } else { return locationStackTraceElementBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public java.util.List getLocationStackTraceElementOrBuilderList() { if (locationStackTraceElementBuilder_ != null) { return locationStackTraceElementBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locationStackTraceElement_); } } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder addLocationStackTraceElementBuilder() { return getLocationStackTraceElementFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder addLocationStackTraceElementBuilder( int index) { return getLocationStackTraceElementFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.StackTraceElement location_stack_trace_element = 6; */ public java.util.List getLocationStackTraceElementBuilderList() { return getLocationStackTraceElementFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder> getLocationStackTraceElementFieldBuilder() { if (locationStackTraceElementBuilder_ == null) { locationStackTraceElementBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder>( locationStackTraceElement_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); locationStackTraceElement_ = null; } return locationStackTraceElementBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder> errorBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError() { if (errorBuilder_ == null) { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } else { return errorBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public Builder setError(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error value) { if (errorBuilder_ == null) { if (value == null) { throw new NullPointerException(); } error_ = value; onChanged(); } else { errorBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public Builder setError( org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); } else { errorBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public Builder mergeError(org.glowroot.wire.api.model.TraceOuterClass.Trace.Error value) { if (errorBuilder_ == null) { if (error_ != null) { error_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } onChanged(); } else { errorBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public Builder clearError() { if (errorBuilder_ == null) { error_ = null; onChanged(); } else { error_ = null; errorBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder getErrorBuilder() { onChanged(); return getErrorFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } } /** * optional .org_glowroot_wire_api_model.Trace.Error error = 7; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { errorBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Error, org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder>( getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; } private java.util.List childEntry_ = java.util.Collections.emptyList(); private void ensureChildEntryIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { childEntry_ = new java.util.ArrayList(childEntry_); bitField0_ |= 0x00000080; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder> childEntryBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public java.util.List getChildEntryList() { if (childEntryBuilder_ == null) { return java.util.Collections.unmodifiableList(childEntry_); } else { return childEntryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public int getChildEntryCount() { if (childEntryBuilder_ == null) { return childEntry_.size(); } else { return childEntryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getChildEntry(int index) { if (childEntryBuilder_ == null) { return childEntry_.get(index); } else { return childEntryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder setChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.set(index, value); onChanged(); } else { childEntryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder setChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.set(index, builderForValue.build()); onChanged(); } else { childEntryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder addChildEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.add(value); onChanged(); } else { childEntryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder addChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (childEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureChildEntryIsMutable(); childEntry_.add(index, value); onChanged(); } else { childEntryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder addChildEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.add(builderForValue.build()); onChanged(); } else { childEntryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder addChildEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.add(index, builderForValue.build()); onChanged(); } else { childEntryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder addAllChildEntry( java.lang.Iterable values) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, childEntry_); onChanged(); } else { childEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder clearChildEntry() { if (childEntryBuilder_ == null) { childEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { childEntryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public Builder removeChildEntry(int index) { if (childEntryBuilder_ == null) { ensureChildEntryIsMutable(); childEntry_.remove(index); onChanged(); } else { childEntryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder getChildEntryBuilder( int index) { return getChildEntryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getChildEntryOrBuilder( int index) { if (childEntryBuilder_ == null) { return childEntry_.get(index); } else { return childEntryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public java.util.List getChildEntryOrBuilderList() { if (childEntryBuilder_ != null) { return childEntryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(childEntry_); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder addChildEntryBuilder() { return getChildEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder addChildEntryBuilder( int index) { return getChildEntryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry child_entry = 8; */ public java.util.List getChildEntryBuilderList() { return getChildEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder> getChildEntryFieldBuilder() { if (childEntryBuilder_ == null) { childEntryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder>( childEntry_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); childEntry_ = null; } return childEntryBuilder_; } 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.Trace.Entry) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.Entry) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Entry 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 Entry(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.TraceOuterClass.Trace.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StackTraceElementOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.StackTraceElement) org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder { /** * optional string class_name = 1; */ java.lang.String getClassName(); /** * optional string class_name = 1; */ org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes(); /** * optional string method_name = 2; */ java.lang.String getMethodName(); /** * optional string method_name = 2; */ org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes(); /** * optional string file_name = 3; */ java.lang.String getFileName(); /** * optional string file_name = 3; */ org.glowroot.agent.shaded.google.protobuf.ByteString getFileNameBytes(); /** * optional sint32 line_number = 4; * *
       * sint since can be negative
       * 
*/ int getLineNumber(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.StackTraceElement} */ public static final class StackTraceElement extends org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.StackTraceElement) StackTraceElementOrBuilder { // Use StackTraceElement.newBuilder() to construct. private StackTraceElement(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder builder) { super(builder); } private StackTraceElement() { className_ = ""; methodName_ = ""; fileName_ = ""; lineNumber_ = 0; } @java.lang.Override public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet getUnknownFields() { return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private StackTraceElement( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) { this(); int mutable_bitField0_ = 0; try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!input.skipField(tag)) { done = true; } break; } case 10: { String s = input.readStringRequireUtf8(); className_ = s; break; } case 18: { String s = input.readStringRequireUtf8(); methodName_ = s; break; } case 26: { String s = input.readStringRequireUtf8(); fileName_ = s; break; } case 32: { lineNumber_ = input.readSInt32(); 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.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder.class); } public static final int CLASS_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object className_; /** * optional string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); className_ = s; return s; } } /** * optional string class_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int METHOD_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object methodName_; /** * optional string method_name = 2; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } } /** * optional string method_name = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int FILE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object fileName_; /** * optional string file_name = 3; */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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(); fileName_ = s; return s; } } /** * optional string file_name = 3; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; 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); fileName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int LINE_NUMBER_FIELD_NUMBER = 4; private int lineNumber_; /** * optional sint32 line_number = 4; * *
       * sint since can be negative
       * 
*/ public int getLineNumber() { return lineNumber_; } 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 (!getClassNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, className_); } if (!getMethodNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, methodName_); } if (!getFileNameBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 3, fileName_); } if (lineNumber_ != 0) { output.writeSInt32(4, lineNumber_); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClassNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, className_); } if (!getMethodNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, methodName_); } if (!getFileNameBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(3, fileName_); } if (lineNumber_ != 0) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeSInt32Size(4, lineNumber_); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement 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.TraceOuterClass.Trace.StackTraceElement 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.Trace.StackTraceElement} */ 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.Trace.StackTraceElement) org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElementOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); className_ = ""; methodName_ = ""; fileName_ = ""; lineNumber_ = 0; return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement(this); result.className_ = className_; result.methodName_ = methodName_; result.fileName_ = fileName_; result.lineNumber_ = lineNumber_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement.getDefaultInstance()) return this; if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getMethodName().isEmpty()) { methodName_ = other.methodName_; onChanged(); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; onChanged(); } if (other.getLineNumber() != 0) { setLineNumber(other.getLineNumber()); } 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.TraceOuterClass.Trace.StackTraceElement parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object className_ = ""; /** * optional string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); className_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string class_name = 1; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string class_name = 1; */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; onChanged(); return this; } /** * optional string class_name = 1; */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * optional string class_name = 1; */ public Builder setClassNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); className_ = value; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * optional string method_name = 2; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); methodName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string method_name = 2; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); methodName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string method_name = 2; */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; onChanged(); return this; } /** * optional string method_name = 2; */ public Builder clearMethodName() { methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * optional string method_name = 2; */ public Builder setMethodNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodName_ = value; onChanged(); return this; } private java.lang.Object fileName_ = ""; /** * optional string file_name = 3; */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string file_name = 3; */ public org.glowroot.agent.shaded.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileName_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string file_name = 3; */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; onChanged(); return this; } /** * optional string file_name = 3; */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** * optional string file_name = 3; */ public Builder setFileNameBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = value; onChanged(); return this; } private int lineNumber_ ; /** * optional sint32 line_number = 4; * *
         * sint since can be negative
         * 
*/ public int getLineNumber() { return lineNumber_; } /** * optional sint32 line_number = 4; * *
         * sint since can be negative
         * 
*/ public Builder setLineNumber(int value) { lineNumber_ = value; onChanged(); return this; } /** * optional sint32 line_number = 4; * *
         * sint since can be negative
         * 
*/ public Builder clearLineNumber() { lineNumber_ = 0; 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.Trace.StackTraceElement) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.StackTraceElement) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.StackTraceElement getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public StackTraceElement 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 StackTraceElement(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.TraceOuterClass.Trace.StackTraceElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * optional string id = 1; * *
     * this is a uuid
     * 
*/ public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** * optional string id = 1; * *
     * this is a uuid
     * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } public static final int HEADER_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Header header_; /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public boolean hasHeader() { return header_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader() { return header_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance() : header_; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder() { return getHeader(); } public static final int ENTRY_FIELD_NUMBER = 3; private java.util.List entry_; /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ public java.util.List getEntryList() { return entry_; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ public int getEntryCount() { return entry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index) { return entry_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
     * each entry can have child entries (and each child entry can have child entries, etc)
     * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } public static final int PROFILE_TREE_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree profileTree_; /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public boolean hasProfileTree() { return profileTree_ != null; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree() { return profileTree_ == null ? org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder() { return getProfileTree(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, id_); } if (header_ != null) { output.writeMessage(2, getHeader()); } for (int i = 0; i < entry_.size(); i++) { output.writeMessage(3, entry_.get(i)); } if (profileTree_ != null) { output.writeMessage(4, getProfileTree()); } } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, id_); } if (header_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(2, getHeader()); } for (int i = 0; i < entry_.size(); i++) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(3, entry_.get(i)); } if (profileTree_ != null) { size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream .computeMessageSize(4, getProfileTree()); } memoizedSize = size; return size; } private static final long serialVersionUID = 0L; public static org.glowroot.wire.api.model.TraceOuterClass.Trace 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.TraceOuterClass.Trace 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.TraceOuterClass.Trace parseFrom(byte[] data) throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace 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.TraceOuterClass.Trace parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace 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.TraceOuterClass.Trace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace 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.TraceOuterClass.Trace parseFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace 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.TraceOuterClass.Trace 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.Trace} */ 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.Trace) org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder { public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_descriptor; } protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.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) { getEntryFieldBuilder(); } } public Builder clear() { super.clear(); id_ = ""; if (headerBuilder_ == null) { header_ = null; } else { header_ = null; headerBuilder_ = null; } if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { entryBuilder_.clear(); } if (profileTreeBuilder_ == null) { profileTree_ = null; } else { profileTree_ = null; profileTreeBuilder_ = null; } return this; } public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace build() { org.glowroot.wire.api.model.TraceOuterClass.Trace result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace result = new org.glowroot.wire.api.model.TraceOuterClass.Trace(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.id_ = id_; if (headerBuilder_ == null) { result.header_ = header_; } else { result.header_ = headerBuilder_.build(); } if (entryBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000004); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } if (profileTreeBuilder_ == null) { result.profileTree_ = profileTree_; } else { result.profileTree_ = profileTreeBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (other.hasHeader()) { mergeHeader(other.getHeader()); } if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000004); entryBuilder_ = org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } if (other.hasProfileTree()) { mergeProfileTree(other.getProfileTree()); } onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.shaded.google.protobuf.CodedInputStream input, org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** * optional string id = 1; * *
       * this is a uuid
       * 
*/ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.shaded.google.protobuf.ByteString bs = (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string id = 1; * *
       * this is a uuid
       * 
*/ public org.glowroot.agent.shaded.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { org.glowroot.agent.shaded.google.protobuf.ByteString b = org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref; } } /** * optional string id = 1; * *
       * this is a uuid
       * 
*/ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** * optional string id = 1; * *
       * this is a uuid
       * 
*/ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * optional string id = 1; * *
       * this is a uuid
       * 
*/ public Builder setIdBytes( org.glowroot.agent.shaded.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Header header_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Header, org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder> headerBuilder_; /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader() { if (headerBuilder_ == null) { return header_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance() : header_; } else { return headerBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public Builder setHeader(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } header_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public Builder setHeader( org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder builderForValue) { if (headerBuilder_ == null) { header_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public Builder mergeHeader(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header value) { if (headerBuilder_ == null) { if (header_ != null) { header_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.newBuilder(header_).mergeFrom(value).buildPartial(); } else { header_ = value; } onChanged(); } else { headerBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public Builder clearHeader() { if (headerBuilder_ == null) { header_ = null; onChanged(); } else { header_ = null; headerBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder() { if (headerBuilder_ != null) { return headerBuilder_.getMessageOrBuilder(); } else { return header_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance() : header_; } } /** * optional .org_glowroot_wire_api_model.Trace.Header header = 2; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Header, org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder> getHeaderFieldBuilder() { if (headerBuilder_ == null) { headerBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Header, org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder>( getHeader(), getParentForChildren(), isClean()); header_ = null; } return headerBuilder_; } private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000004; } } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder> entryBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder setEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder setEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder addEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder addEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder addEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder addEntry( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; * *
       * each entry can have child entries (and each child entry can have child entries, etc)
       * 
*/ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder< org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry, org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder>( entry_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } private org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree profileTree_ = null; private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder> profileTreeBuilder_; /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public boolean hasProfileTree() { return profileTreeBuilder_ != null || profileTree_ != null; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree getProfileTree() { if (profileTreeBuilder_ == null) { return profileTree_ == null ? org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_; } else { return profileTreeBuilder_.getMessage(); } } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public Builder setProfileTree(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree value) { if (profileTreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } profileTree_ = value; onChanged(); } else { profileTreeBuilder_.setMessage(value); } return this; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public Builder setProfileTree( org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder builderForValue) { if (profileTreeBuilder_ == null) { profileTree_ = builderForValue.build(); onChanged(); } else { profileTreeBuilder_.setMessage(builderForValue.build()); } return this; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public Builder mergeProfileTree(org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree value) { if (profileTreeBuilder_ == null) { if (profileTree_ != null) { profileTree_ = org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.newBuilder(profileTree_).mergeFrom(value).buildPartial(); } else { profileTree_ = value; } onChanged(); } else { profileTreeBuilder_.mergeFrom(value); } return this; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public Builder clearProfileTree() { if (profileTreeBuilder_ == null) { profileTree_ = null; onChanged(); } else { profileTree_ = null; profileTreeBuilder_ = null; } return this; } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder getProfileTreeBuilder() { onChanged(); return getProfileTreeFieldBuilder().getBuilder(); } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ public org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder getProfileTreeOrBuilder() { if (profileTreeBuilder_ != null) { return profileTreeBuilder_.getMessageOrBuilder(); } else { return profileTree_ == null ? org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.getDefaultInstance() : profileTree_; } } /** * optional .org_glowroot_wire_api_model.ProfileTree profile_tree = 4; */ private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder> getProfileTreeFieldBuilder() { if (profileTreeBuilder_ == null) { profileTreeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder< org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTree.Builder, org.glowroot.wire.api.model.ProfileTreeOuterClass.ProfileTreeOrBuilder>( getProfileTree(), getParentForChildren(), isClean()); profileTree_ = null; } return profileTreeBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } public final Builder mergeUnknownFields( final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) { return this; } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.shaded.google.protobuf.Parser PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() { public Trace 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 Trace(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.TraceOuterClass.Trace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Header_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Attribute_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_DetailValue_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Error_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Throwable_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable; private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor; private static org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_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\013Trace.proto\022\033org_glowroot_wire_api_mod" + "el\032\021ProfileTree.proto\"\316\023\n\005Trace\022\n\n\002id\030\001 " + "\001(\t\0229\n\006header\030\002 \001(\0132).org_glowroot_wire_" + "api_model.Trace.Header\0227\n\005entry\030\003 \003(\0132(." + "org_glowroot_wire_api_model.Trace.Entry\022" + ">\n\014profile_tree\030\004 \001(\0132(.org_glowroot_wir" + "e_api_model.ProfileTree\032\273\007\n\006Header\022\017\n\007pa" + "rtial\030\002 \001(\010\022\014\n\004slow\030\003 \001(\010\022\022\n\nstart_time\030" + "\004 \001(\003\022\024\n\014capture_time\030\005 \001(\003\022\026\n\016duration_" + "nanos\030\006 \001(\003\022\030\n\020transaction_type\030\007 \001(\t\022\030\n", "\020transaction_name\030\010 \001(\t\022\020\n\010headline\030\t \001(" + "\t\022\014\n\004user\030\n \001(\t\022?\n\tattribute\030\013 \003(\0132,.org" + "_glowroot_wire_api_model.Trace.Attribute" + "\022D\n\014detail_entry\030\014 \003(\0132..org_glowroot_wi" + "re_api_model.Trace.DetailEntry\0227\n\005error\030" + "\r \001(\0132(.org_glowroot_wire_api_model.Trac" + "e.Error\022<\n\nroot_timer\030\016 \001(\0132(.org_glowro" + "ot_wire_api_model.Trace.Timer\022H\n\020thread_" + "cpu_nanos\030\017 \001(\0132..org_glowroot_wire_api_" + "model.Trace.OptionalInt\022L\n\024thread_blocke", "d_nanos\030\020 \001(\0132..org_glowroot_wire_api_mo" + "del.Trace.OptionalInt\022K\n\023thread_waited_n" + "anos\030\021 \001(\0132..org_glowroot_wire_api_model" + ".Trace.OptionalInt\022N\n\026thread_allocated_b" + "ytes\030\022 \001(\0132..org_glowroot_wire_api_model" + ".Trace.OptionalInt\022Q\n\013gc_activity\030\023 \003(\0132" + "<.org_glowroot_wire_api_model.Trace.Garb" + "ageCollectionActivity\022\023\n\013entry_count\030\024 \001" + "(\005\022\034\n\024entry_limit_exceeded\030\025 \001(\010\022\034\n\024prof" + "ile_sample_count\030\026 \001(\003\022%\n\035profile_sample", "_limit_exceeded\030\027 \001(\010\032(\n\tAttribute\022\014\n\004na" + "me\030\001 \001(\t\022\r\n\005value\030\002 \003(\t\032\237\001\n\013DetailEntry\022" + "\014\n\004name\030\001 \001(\t\022=\n\005value\030\002 \003(\0132..org_glowr" + "oot_wire_api_model.Trace.DetailValue\022C\n\013" + "child_entry\030\003 \003(\0132..org_glowroot_wire_ap" + "i_model.Trace.DetailEntry\032T\n\013DetailValue" + "\022\016\n\004sval\030\001 \001(\tH\000\022\016\n\004dval\030\002 \001(\001H\000\022\016\n\004lval" + "\030\003 \001(\003H\000\022\016\n\004bval\030\004 \001(\010H\000B\005\n\003val\032Y\n\005Error" + "\022\017\n\007message\030\001 \001(\t\022?\n\texception\030\002 \001(\0132,.o" + "rg_glowroot_wire_api_model.Trace.Throwab", "le\032\325\001\n\tThrowable\022\017\n\007display\030\001 \001(\t\022Q\n\023sta" + "ck_trace_element\030\002 \003(\01324.org_glowroot_wi" + "re_api_model.Trace.StackTraceElement\022\'\n\037" + "frames_in_common_with_enclosing\030\003 \001(\005\022;\n" + "\005cause\030\004 \001(\0132,.org_glowroot_wire_api_mod" + "el.Trace.Throwable\032\232\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(" + "\003\022\r\n\005count\030\004 \001(\003\022\016\n\006active\030\005 \001(\010\022=\n\013chil" + "d_timer\030\006 \003(\0132(.org_glowroot_wire_api_mo" + "del.Trace.Timer\032\034\n\013OptionalInt\022\r\n\005value\030", "\001 \001(\003\032X\n\031GarbageCollectionActivity\022\026\n\016co" + "llector_name\030\001 \001(\t\022\024\n\014total_millis\030\002 \001(\003" + "\022\r\n\005count\030\003 \001(\003\032\366\002\n\005Entry\022\032\n\022start_offse" + "t_nanos\030\001 \001(\003\022\026\n\016duration_nanos\030\002 \001(\003\022\016\n" + "\006active\030\003 \001(\010\022\017\n\007message\030\004 \001(\t\022D\n\014detail" + "_entry\030\005 \003(\0132..org_glowroot_wire_api_mod" + "el.Trace.DetailEntry\022Z\n\034location_stack_t" + "race_element\030\006 \003(\01324.org_glowroot_wire_a" + "pi_model.Trace.StackTraceElement\0227\n\005erro" + "r\030\007 \001(\0132(.org_glowroot_wire_api_model.Tr", "ace.Error\022=\n\013child_entry\030\010 \003(\0132(.org_glo" + "wroot_wire_api_model.Trace.Entry\032d\n\021Stac" + "kTraceElement\022\022\n\nclass_name\030\001 \001(\t\022\023\n\013met" + "hod_name\030\002 \001(\t\022\021\n\tfile_name\030\003 \001(\t\022\023\n\013lin" + "e_number\030\004 \001(\021B\035\n\033org.glowroot.wire.api." + "modelb\006proto3" }; org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry assignDescriptors( org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor[] { org.glowroot.wire.api.model.ProfileTreeOuterClass.getDescriptor(), }, assigner); internal_static_org_glowroot_wire_api_model_Trace_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_glowroot_wire_api_model_Trace_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_descriptor, new java.lang.String[] { "Id", "Header", "Entry", "ProfileTree", }); internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_Trace_Header_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor, new java.lang.String[] { "Partial", "Slow", "StartTime", "CaptureTime", "DurationNanos", "TransactionType", "TransactionName", "Headline", "User", "Attribute", "DetailEntry", "Error", "RootTimer", "ThreadCpuNanos", "ThreadBlockedNanos", "ThreadWaitedNanos", "ThreadAllocatedBytes", "GcActivity", "EntryCount", "EntryLimitExceeded", "ProfileSampleCount", "ProfileSampleLimitExceeded", }); internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(1); internal_static_org_glowroot_wire_api_model_Trace_Attribute_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(2); internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor, new java.lang.String[] { "Name", "Value", "ChildEntry", }); internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(3); internal_static_org_glowroot_wire_api_model_Trace_DetailValue_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor, new java.lang.String[] { "Sval", "Dval", "Lval", "Bval", "Val", }); internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(4); internal_static_org_glowroot_wire_api_model_Trace_Error_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor, new java.lang.String[] { "Message", "Exception", }); internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(5); internal_static_org_glowroot_wire_api_model_Trace_Throwable_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Throwable_descriptor, new java.lang.String[] { "Display", "StackTraceElement", "FramesInCommonWithEnclosing", "Cause", }); internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(6); internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor, new java.lang.String[] { "Name", "Extended", "TotalNanos", "Count", "Active", "ChildTimer", }); internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(7); internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_OptionalInt_descriptor, new java.lang.String[] { "Value", }); internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(8); internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_GarbageCollectionActivity_descriptor, new java.lang.String[] { "CollectorName", "TotalMillis", "Count", }); internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(9); internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor, new java.lang.String[] { "StartOffsetNanos", "DurationNanos", "Active", "Message", "DetailEntry", "LocationStackTraceElement", "Error", "ChildEntry", }); internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(10); internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_fieldAccessorTable = new org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_StackTraceElement_descriptor, new java.lang.String[] { "ClassName", "MethodName", "FileName", "LineNumber", }); org.glowroot.wire.api.model.ProfileTreeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy