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.14.0-beta.3
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.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TraceOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace)
      org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * this is a uuid
     * 
* * string id = 1; */ java.lang.String getId(); /** *
     * this is a uuid
     * 
* * string id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getIdBytes(); /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ boolean hasHeader(); /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader(); /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder(); /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ java.util.List getEntryList(); /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index); /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ int getEntryCount(); /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ java.util.List getEntryOrBuilderList(); /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ java.util.List getQueryList(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ int getQueryCount(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ java.util.List getQueryOrBuilderList(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ boolean hasMainThreadProfile(); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile(); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ boolean hasAuxThreadProfile(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder(); /** *
     * optimization so the central collector does not need to check for prior partial
     * 
* * bool update = 6; */ boolean getUpdate(); /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ java.util.List getSharedQueryTextList(); /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText(int index); /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ int getSharedQueryTextCount(); /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ java.util.List getSharedQueryTextOrBuilderList(); /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace} */ public static final class Trace extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace) TraceOrBuilder { private static final long serialVersionUID = 0L; // Use Trace.newBuilder() to construct. private Trace(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Trace() { id_ = ""; entry_ = java.util.Collections.emptyList(); query_ = java.util.Collections.emptyList(); update_ = false; sharedQueryText_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Trace( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); id_ = s; break; } case 18: { 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.ProfileOuterClass.Profile.Builder subBuilder = null; if (mainThreadProfile_ != null) { subBuilder = mainThreadProfile_.toBuilder(); } mainThreadProfile_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mainThreadProfile_); mainThreadProfile_ = subBuilder.buildPartial(); } break; } case 42: { org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder subBuilder = null; if (auxThreadProfile_ != null) { subBuilder = auxThreadProfile_.toBuilder(); } auxThreadProfile_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(auxThreadProfile_); auxThreadProfile_ = subBuilder.buildPartial(); } break; } case 48: { update_ = input.readBool(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { sharedQueryText_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } sharedQueryText_.add( input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.parser(), extensionRegistry)); break; } case 74: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { query_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } query_.add( input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.parser(), extensionRegistry)); break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { entry_ = java.util.Collections.unmodifiableList(entry_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { sharedQueryText_ = java.util.Collections.unmodifiableList(sharedQueryText_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { query_ = java.util.Collections.unmodifiableList(query_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * bool partial = 1; */ boolean getPartial(); /** * bool slow = 2; */ boolean getSlow(); /** * bool async = 3; */ boolean getAsync(); /** * int64 start_time = 4; */ long getStartTime(); /** * int64 capture_time = 5; */ long getCaptureTime(); /** * int64 duration_nanos = 6; */ long getDurationNanos(); /** * string transaction_type = 7; */ java.lang.String getTransactionType(); /** * string transaction_type = 7; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionTypeBytes(); /** * string transaction_name = 8; */ java.lang.String getTransactionName(); /** * string transaction_name = 8; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionNameBytes(); /** * string headline = 9; */ java.lang.String getHeadline(); /** * string headline = 9; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeadlineBytes(); /** * string user = 10; */ java.lang.String getUser(); /** * string user = 10; */ org.glowroot.agent.it.harness.shaded.com.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); /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ boolean hasError(); /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError(); /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder(); /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ boolean hasMainThreadRootTimer(); /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getMainThreadRootTimer(); /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getMainThreadRootTimerOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ java.util.List getAuxThreadRootTimerList(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAuxThreadRootTimer(int index); /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ int getAuxThreadRootTimerCount(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ java.util.List getAuxThreadRootTimerOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAuxThreadRootTimerOrBuilder( int index); /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ java.util.List getAsyncTimerList(); /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAsyncTimer(int index); /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ int getAsyncTimerCount(); /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ java.util.List getAsyncTimerOrBuilderList(); /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAsyncTimerOrBuilder( int index); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ boolean hasOldMainThreadStats(); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldMainThreadStats(); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldMainThreadStatsOrBuilder(); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ boolean hasOldAuxThreadStats(); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldAuxThreadStats(); /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldAuxThreadStatsOrBuilder(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ boolean hasMainThreadStats(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getMainThreadStats(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getMainThreadStatsOrBuilder(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ boolean hasAuxThreadStats(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getAuxThreadStats(); /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder(); /** * int32 entry_count = 19; */ int getEntryCount(); /** * bool entry_limit_exceeded = 20; */ boolean getEntryLimitExceeded(); /** * int32 query_count = 25; */ int getQueryCount(); /** * bool query_limit_exceeded = 26; */ boolean getQueryLimitExceeded(); /** * int64 main_thread_profile_sample_count = 21; */ long getMainThreadProfileSampleCount(); /** * bool main_thread_profile_sample_limit_exceeded = 22; */ boolean getMainThreadProfileSampleLimitExceeded(); /** * int64 aux_thread_profile_sample_count = 23; */ long getAuxThreadProfileSampleCount(); /** * bool aux_thread_profile_sample_limit_exceeded = 24; */ boolean getAuxThreadProfileSampleLimitExceeded(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Header} */ public static final class Header extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Header) HeaderOrBuilder { private static final long serialVersionUID = 0L; // Use Header.newBuilder() to construct. private Header(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Header() { partial_ = false; slow_ = false; async_ = false; startTime_ = 0L; captureTime_ = 0L; durationNanos_ = 0L; transactionType_ = ""; transactionName_ = ""; headline_ = ""; user_ = ""; attribute_ = java.util.Collections.emptyList(); detailEntry_ = java.util.Collections.emptyList(); auxThreadRootTimer_ = java.util.Collections.emptyList(); asyncTimer_ = java.util.Collections.emptyList(); entryCount_ = 0; entryLimitExceeded_ = false; queryCount_ = 0; queryLimitExceeded_ = false; mainThreadProfileSampleCount_ = 0L; mainThreadProfileSampleLimitExceeded_ = false; auxThreadProfileSampleCount_ = 0L; auxThreadProfileSampleLimitExceeded_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Header( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { partial_ = input.readBool(); break; } case 16: { slow_ = input.readBool(); break; } case 24: { async_ = input.readBool(); break; } case 32: { startTime_ = input.readInt64(); break; } case 40: { captureTime_ = input.readInt64(); break; } case 48: { durationNanos_ = input.readInt64(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); transactionType_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); transactionName_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); headline_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 90: { if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { attribute_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000400; } attribute_.add( input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute.parser(), extensionRegistry)); break; } case 98: { if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) { detailEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000800; } 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 (mainThreadRootTimer_ != null) { subBuilder = mainThreadRootTimer_.toBuilder(); } mainThreadRootTimer_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mainThreadRootTimer_); mainThreadRootTimer_ = subBuilder.buildPartial(); } break; } case 122: { if (!((mutable_bitField0_ & 0x00004000) == 0x00004000)) { auxThreadRootTimer_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00004000; } auxThreadRootTimer_.add( input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.parser(), extensionRegistry)); break; } case 130: { if (!((mutable_bitField0_ & 0x00008000) == 0x00008000)) { asyncTimer_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00008000; } asyncTimer_.add( input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.parser(), extensionRegistry)); break; } case 138: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder subBuilder = null; if (oldMainThreadStats_ != null) { subBuilder = oldMainThreadStats_.toBuilder(); } oldMainThreadStats_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(oldMainThreadStats_); oldMainThreadStats_ = subBuilder.buildPartial(); } break; } case 146: { org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder subBuilder = null; if (oldAuxThreadStats_ != null) { subBuilder = oldAuxThreadStats_.toBuilder(); } oldAuxThreadStats_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(oldAuxThreadStats_); oldAuxThreadStats_ = subBuilder.buildPartial(); } break; } case 152: { entryCount_ = input.readInt32(); break; } case 160: { entryLimitExceeded_ = input.readBool(); break; } case 168: { mainThreadProfileSampleCount_ = input.readInt64(); break; } case 176: { mainThreadProfileSampleLimitExceeded_ = input.readBool(); break; } case 184: { auxThreadProfileSampleCount_ = input.readInt64(); break; } case 192: { auxThreadProfileSampleLimitExceeded_ = input.readBool(); break; } case 200: { queryCount_ = input.readInt32(); break; } case 208: { queryLimitExceeded_ = input.readBool(); break; } case 218: { org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder subBuilder = null; if (mainThreadStats_ != null) { subBuilder = mainThreadStats_.toBuilder(); } mainThreadStats_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mainThreadStats_); mainThreadStats_ = subBuilder.buildPartial(); } break; } case 226: { org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder subBuilder = null; if (auxThreadStats_ != null) { subBuilder = auxThreadStats_.toBuilder(); } auxThreadStats_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(auxThreadStats_); auxThreadStats_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); } if (((mutable_bitField0_ & 0x00000800) == 0x00000800)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); } if (((mutable_bitField0_ & 0x00004000) == 0x00004000)) { auxThreadRootTimer_ = java.util.Collections.unmodifiableList(auxThreadRootTimer_); } if (((mutable_bitField0_ & 0x00008000) == 0x00008000)) { asyncTimer_ = java.util.Collections.unmodifiableList(asyncTimer_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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 = 1; private boolean partial_; /** * bool partial = 1; */ public boolean getPartial() { return partial_; } public static final int SLOW_FIELD_NUMBER = 2; private boolean slow_; /** * bool slow = 2; */ public boolean getSlow() { return slow_; } public static final int ASYNC_FIELD_NUMBER = 3; private boolean async_; /** * bool async = 3; */ public boolean getAsync() { return async_; } public static final int START_TIME_FIELD_NUMBER = 4; private long startTime_; /** * int64 start_time = 4; */ public long getStartTime() { return startTime_; } public static final int CAPTURE_TIME_FIELD_NUMBER = 5; private long captureTime_; /** * int64 capture_time = 5; */ public long getCaptureTime() { return captureTime_; } public static final int DURATION_NANOS_FIELD_NUMBER = 6; private long durationNanos_; /** * int64 duration_nanos = 6; */ public long getDurationNanos() { return durationNanos_; } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 7; private volatile java.lang.Object transactionType_; /** * 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } } /** * string transaction_type = 7; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRANSACTION_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object transactionName_; /** * 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionName_ = s; return s; } } /** * string transaction_name = 8; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionNameBytes() { java.lang.Object ref = transactionName_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int HEADLINE_FIELD_NUMBER = 9; private volatile java.lang.Object headline_; /** * 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headline_ = s; return s; } } /** * string headline = 9; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headline_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int USER_FIELD_NUMBER = 10; private volatile java.lang.Object user_; /** * 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } } /** * string user = 10; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int 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_; /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ public boolean hasError() { return error_ != null; } /** * .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_; } /** * .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 MAIN_THREAD_ROOT_TIMER_FIELD_NUMBER = 14; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer mainThreadRootTimer_; /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public boolean hasMainThreadRootTimer() { return mainThreadRootTimer_ != null; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getMainThreadRootTimer() { return mainThreadRootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : mainThreadRootTimer_; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getMainThreadRootTimerOrBuilder() { return getMainThreadRootTimer(); } public static final int AUX_THREAD_ROOT_TIMER_FIELD_NUMBER = 15; private java.util.List auxThreadRootTimer_; /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public java.util.List getAuxThreadRootTimerList() { return auxThreadRootTimer_; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public java.util.List getAuxThreadRootTimerOrBuilderList() { return auxThreadRootTimer_; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public int getAuxThreadRootTimerCount() { return auxThreadRootTimer_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAuxThreadRootTimer(int index) { return auxThreadRootTimer_.get(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAuxThreadRootTimerOrBuilder( int index) { return auxThreadRootTimer_.get(index); } public static final int ASYNC_TIMER_FIELD_NUMBER = 16; private java.util.List asyncTimer_; /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public java.util.List getAsyncTimerList() { return asyncTimer_; } /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public java.util.List getAsyncTimerOrBuilderList() { return asyncTimer_; } /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public int getAsyncTimerCount() { return asyncTimer_.size(); } /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAsyncTimer(int index) { return asyncTimer_.get(index); } /** *
       * async timers have no child timers
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAsyncTimerOrBuilder( int index) { return asyncTimer_.get(index); } public static final int OLD_MAIN_THREAD_STATS_FIELD_NUMBER = 17; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats oldMainThreadStats_; /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public boolean hasOldMainThreadStats() { return oldMainThreadStats_ != null; } /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldMainThreadStats() { return oldMainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldMainThreadStats_; } /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldMainThreadStatsOrBuilder() { return getOldMainThreadStats(); } public static final int OLD_AUX_THREAD_STATS_FIELD_NUMBER = 18; private org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats oldAuxThreadStats_; /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public boolean hasOldAuxThreadStats() { return oldAuxThreadStats_ != null; } /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldAuxThreadStats() { return oldAuxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldAuxThreadStats_; } /** *
       * deprecated in 0.10.9
       * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldAuxThreadStatsOrBuilder() { return getOldAuxThreadStats(); } public static final int MAIN_THREAD_STATS_FIELD_NUMBER = 27; private org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats mainThreadStats_; /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public boolean hasMainThreadStats() { return mainThreadStats_ != null; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getMainThreadStats() { return mainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : mainThreadStats_; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getMainThreadStatsOrBuilder() { return getMainThreadStats(); } public static final int AUX_THREAD_STATS_FIELD_NUMBER = 28; private org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats auxThreadStats_; /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public boolean hasAuxThreadStats() { return auxThreadStats_ != null; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getAuxThreadStats() { return auxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : auxThreadStats_; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder() { return getAuxThreadStats(); } public static final int ENTRY_COUNT_FIELD_NUMBER = 19; private int entryCount_; /** * int32 entry_count = 19; */ public int getEntryCount() { return entryCount_; } public static final int ENTRY_LIMIT_EXCEEDED_FIELD_NUMBER = 20; private boolean entryLimitExceeded_; /** * bool entry_limit_exceeded = 20; */ public boolean getEntryLimitExceeded() { return entryLimitExceeded_; } public static final int QUERY_COUNT_FIELD_NUMBER = 25; private int queryCount_; /** * int32 query_count = 25; */ public int getQueryCount() { return queryCount_; } public static final int QUERY_LIMIT_EXCEEDED_FIELD_NUMBER = 26; private boolean queryLimitExceeded_; /** * bool query_limit_exceeded = 26; */ public boolean getQueryLimitExceeded() { return queryLimitExceeded_; } public static final int MAIN_THREAD_PROFILE_SAMPLE_COUNT_FIELD_NUMBER = 21; private long mainThreadProfileSampleCount_; /** * int64 main_thread_profile_sample_count = 21; */ public long getMainThreadProfileSampleCount() { return mainThreadProfileSampleCount_; } public static final int MAIN_THREAD_PROFILE_SAMPLE_LIMIT_EXCEEDED_FIELD_NUMBER = 22; private boolean mainThreadProfileSampleLimitExceeded_; /** * bool main_thread_profile_sample_limit_exceeded = 22; */ public boolean getMainThreadProfileSampleLimitExceeded() { return mainThreadProfileSampleLimitExceeded_; } public static final int AUX_THREAD_PROFILE_SAMPLE_COUNT_FIELD_NUMBER = 23; private long auxThreadProfileSampleCount_; /** * int64 aux_thread_profile_sample_count = 23; */ public long getAuxThreadProfileSampleCount() { return auxThreadProfileSampleCount_; } public static final int AUX_THREAD_PROFILE_SAMPLE_LIMIT_EXCEEDED_FIELD_NUMBER = 24; private boolean auxThreadProfileSampleLimitExceeded_; /** * bool aux_thread_profile_sample_limit_exceeded = 24; */ public boolean getAuxThreadProfileSampleLimitExceeded() { return auxThreadProfileSampleLimitExceeded_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (partial_ != false) { output.writeBool(1, partial_); } if (slow_ != false) { output.writeBool(2, slow_); } if (async_ != false) { output.writeBool(3, async_); } 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 7, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 8, transactionName_); } if (!getHeadlineBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 9, headline_); } if (!getUserBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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 (mainThreadRootTimer_ != null) { output.writeMessage(14, getMainThreadRootTimer()); } for (int i = 0; i < auxThreadRootTimer_.size(); i++) { output.writeMessage(15, auxThreadRootTimer_.get(i)); } for (int i = 0; i < asyncTimer_.size(); i++) { output.writeMessage(16, asyncTimer_.get(i)); } if (oldMainThreadStats_ != null) { output.writeMessage(17, getOldMainThreadStats()); } if (oldAuxThreadStats_ != null) { output.writeMessage(18, getOldAuxThreadStats()); } if (entryCount_ != 0) { output.writeInt32(19, entryCount_); } if (entryLimitExceeded_ != false) { output.writeBool(20, entryLimitExceeded_); } if (mainThreadProfileSampleCount_ != 0L) { output.writeInt64(21, mainThreadProfileSampleCount_); } if (mainThreadProfileSampleLimitExceeded_ != false) { output.writeBool(22, mainThreadProfileSampleLimitExceeded_); } if (auxThreadProfileSampleCount_ != 0L) { output.writeInt64(23, auxThreadProfileSampleCount_); } if (auxThreadProfileSampleLimitExceeded_ != false) { output.writeBool(24, auxThreadProfileSampleLimitExceeded_); } if (queryCount_ != 0) { output.writeInt32(25, queryCount_); } if (queryLimitExceeded_ != false) { output.writeBool(26, queryLimitExceeded_); } if (mainThreadStats_ != null) { output.writeMessage(27, getMainThreadStats()); } if (auxThreadStats_ != null) { output.writeMessage(28, getAuxThreadStats()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (partial_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(1, partial_); } if (slow_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(2, slow_); } if (async_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(3, async_); } if (startTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(4, startTime_); } if (captureTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(5, captureTime_); } if (durationNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(6, durationNanos_); } if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(7, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(8, transactionName_); } if (!getHeadlineBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(9, headline_); } if (!getUserBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(10, user_); } for (int i = 0; i < attribute_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(11, attribute_.get(i)); } for (int i = 0; i < detailEntry_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(12, detailEntry_.get(i)); } if (error_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(13, getError()); } if (mainThreadRootTimer_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(14, getMainThreadRootTimer()); } for (int i = 0; i < auxThreadRootTimer_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(15, auxThreadRootTimer_.get(i)); } for (int i = 0; i < asyncTimer_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(16, asyncTimer_.get(i)); } if (oldMainThreadStats_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(17, getOldMainThreadStats()); } if (oldAuxThreadStats_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(18, getOldAuxThreadStats()); } if (entryCount_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(19, entryCount_); } if (entryLimitExceeded_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(20, entryLimitExceeded_); } if (mainThreadProfileSampleCount_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(21, mainThreadProfileSampleCount_); } if (mainThreadProfileSampleLimitExceeded_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(22, mainThreadProfileSampleLimitExceeded_); } if (auxThreadProfileSampleCount_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(23, auxThreadProfileSampleCount_); } if (auxThreadProfileSampleLimitExceeded_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(24, auxThreadProfileSampleLimitExceeded_); } if (queryCount_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(25, queryCount_); } if (queryLimitExceeded_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(26, queryLimitExceeded_); } if (mainThreadStats_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(27, getMainThreadStats()); } if (auxThreadStats_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(28, getAuxThreadStats()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Header)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.Header other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) obj; boolean result = true; result = result && (getPartial() == other.getPartial()); result = result && (getSlow() == other.getSlow()); result = result && (getAsync() == other.getAsync()); result = result && (getStartTime() == other.getStartTime()); result = result && (getCaptureTime() == other.getCaptureTime()); result = result && (getDurationNanos() == other.getDurationNanos()); result = result && getTransactionType() .equals(other.getTransactionType()); result = result && getTransactionName() .equals(other.getTransactionName()); result = result && getHeadline() .equals(other.getHeadline()); result = result && getUser() .equals(other.getUser()); result = result && getAttributeList() .equals(other.getAttributeList()); result = result && getDetailEntryList() .equals(other.getDetailEntryList()); result = result && (hasError() == other.hasError()); if (hasError()) { result = result && getError() .equals(other.getError()); } result = result && (hasMainThreadRootTimer() == other.hasMainThreadRootTimer()); if (hasMainThreadRootTimer()) { result = result && getMainThreadRootTimer() .equals(other.getMainThreadRootTimer()); } result = result && getAuxThreadRootTimerList() .equals(other.getAuxThreadRootTimerList()); result = result && getAsyncTimerList() .equals(other.getAsyncTimerList()); result = result && (hasOldMainThreadStats() == other.hasOldMainThreadStats()); if (hasOldMainThreadStats()) { result = result && getOldMainThreadStats() .equals(other.getOldMainThreadStats()); } result = result && (hasOldAuxThreadStats() == other.hasOldAuxThreadStats()); if (hasOldAuxThreadStats()) { result = result && getOldAuxThreadStats() .equals(other.getOldAuxThreadStats()); } result = result && (hasMainThreadStats() == other.hasMainThreadStats()); if (hasMainThreadStats()) { result = result && getMainThreadStats() .equals(other.getMainThreadStats()); } result = result && (hasAuxThreadStats() == other.hasAuxThreadStats()); if (hasAuxThreadStats()) { result = result && getAuxThreadStats() .equals(other.getAuxThreadStats()); } result = result && (getEntryCount() == other.getEntryCount()); result = result && (getEntryLimitExceeded() == other.getEntryLimitExceeded()); result = result && (getQueryCount() == other.getQueryCount()); result = result && (getQueryLimitExceeded() == other.getQueryLimitExceeded()); result = result && (getMainThreadProfileSampleCount() == other.getMainThreadProfileSampleCount()); result = result && (getMainThreadProfileSampleLimitExceeded() == other.getMainThreadProfileSampleLimitExceeded()); result = result && (getAuxThreadProfileSampleCount() == other.getAuxThreadProfileSampleCount()); result = result && (getAuxThreadProfileSampleLimitExceeded() == other.getAuxThreadProfileSampleLimitExceeded()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PARTIAL_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getPartial()); hash = (37 * hash) + SLOW_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getSlow()); hash = (37 * hash) + ASYNC_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getAsync()); hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getStartTime()); hash = (37 * hash) + CAPTURE_TIME_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getCaptureTime()); hash = (37 * hash) + DURATION_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getDurationNanos()); hash = (37 * hash) + TRANSACTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + getTransactionType().hashCode(); hash = (37 * hash) + TRANSACTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getTransactionName().hashCode(); hash = (37 * hash) + HEADLINE_FIELD_NUMBER; hash = (53 * hash) + getHeadline().hashCode(); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); if (getAttributeCount() > 0) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; hash = (53 * hash) + getAttributeList().hashCode(); } if (getDetailEntryCount() > 0) { hash = (37 * hash) + DETAIL_ENTRY_FIELD_NUMBER; hash = (53 * hash) + getDetailEntryList().hashCode(); } if (hasError()) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); } if (hasMainThreadRootTimer()) { hash = (37 * hash) + MAIN_THREAD_ROOT_TIMER_FIELD_NUMBER; hash = (53 * hash) + getMainThreadRootTimer().hashCode(); } if (getAuxThreadRootTimerCount() > 0) { hash = (37 * hash) + AUX_THREAD_ROOT_TIMER_FIELD_NUMBER; hash = (53 * hash) + getAuxThreadRootTimerList().hashCode(); } if (getAsyncTimerCount() > 0) { hash = (37 * hash) + ASYNC_TIMER_FIELD_NUMBER; hash = (53 * hash) + getAsyncTimerList().hashCode(); } if (hasOldMainThreadStats()) { hash = (37 * hash) + OLD_MAIN_THREAD_STATS_FIELD_NUMBER; hash = (53 * hash) + getOldMainThreadStats().hashCode(); } if (hasOldAuxThreadStats()) { hash = (37 * hash) + OLD_AUX_THREAD_STATS_FIELD_NUMBER; hash = (53 * hash) + getOldAuxThreadStats().hashCode(); } if (hasMainThreadStats()) { hash = (37 * hash) + MAIN_THREAD_STATS_FIELD_NUMBER; hash = (53 * hash) + getMainThreadStats().hashCode(); } if (hasAuxThreadStats()) { hash = (37 * hash) + AUX_THREAD_STATS_FIELD_NUMBER; hash = (53 * hash) + getAuxThreadStats().hashCode(); } hash = (37 * hash) + ENTRY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getEntryCount(); hash = (37 * hash) + ENTRY_LIMIT_EXCEEDED_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getEntryLimitExceeded()); hash = (37 * hash) + QUERY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getQueryCount(); hash = (37 * hash) + QUERY_LIMIT_EXCEEDED_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getQueryLimitExceeded()); hash = (37 * hash) + MAIN_THREAD_PROFILE_SAMPLE_COUNT_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getMainThreadProfileSampleCount()); hash = (37 * hash) + MAIN_THREAD_PROFILE_SAMPLE_LIMIT_EXCEEDED_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getMainThreadProfileSampleLimitExceeded()); hash = (37 * hash) + AUX_THREAD_PROFILE_SAMPLE_COUNT_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getAuxThreadProfileSampleCount()); hash = (37 * hash) + AUX_THREAD_PROFILE_SAMPLE_LIMIT_EXCEEDED_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getAuxThreadProfileSampleLimitExceeded()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAttributeFieldBuilder(); getDetailEntryFieldBuilder(); getAuxThreadRootTimerFieldBuilder(); getAsyncTimerFieldBuilder(); } } public Builder clear() { super.clear(); partial_ = false; slow_ = false; async_ = false; startTime_ = 0L; captureTime_ = 0L; durationNanos_ = 0L; transactionType_ = ""; transactionName_ = ""; headline_ = ""; user_ = ""; if (attributeBuilder_ == null) { attribute_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); } else { attributeBuilder_.clear(); } if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000800); } else { detailEntryBuilder_.clear(); } if (errorBuilder_ == null) { error_ = null; } else { error_ = null; errorBuilder_ = null; } if (mainThreadRootTimerBuilder_ == null) { mainThreadRootTimer_ = null; } else { mainThreadRootTimer_ = null; mainThreadRootTimerBuilder_ = null; } if (auxThreadRootTimerBuilder_ == null) { auxThreadRootTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); } else { auxThreadRootTimerBuilder_.clear(); } if (asyncTimerBuilder_ == null) { asyncTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00008000); } else { asyncTimerBuilder_.clear(); } if (oldMainThreadStatsBuilder_ == null) { oldMainThreadStats_ = null; } else { oldMainThreadStats_ = null; oldMainThreadStatsBuilder_ = null; } if (oldAuxThreadStatsBuilder_ == null) { oldAuxThreadStats_ = null; } else { oldAuxThreadStats_ = null; oldAuxThreadStatsBuilder_ = null; } if (mainThreadStatsBuilder_ == null) { mainThreadStats_ = null; } else { mainThreadStats_ = null; mainThreadStatsBuilder_ = null; } if (auxThreadStatsBuilder_ == null) { auxThreadStats_ = null; } else { auxThreadStats_ = null; auxThreadStatsBuilder_ = null; } entryCount_ = 0; entryLimitExceeded_ = false; queryCount_ = 0; queryLimitExceeded_ = false; mainThreadProfileSampleCount_ = 0L; mainThreadProfileSampleLimitExceeded_ = false; auxThreadProfileSampleCount_ = 0L; auxThreadProfileSampleLimitExceeded_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.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.async_ = async_; 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_ & 0x00000400) == 0x00000400)) { attribute_ = java.util.Collections.unmodifiableList(attribute_); bitField0_ = (bitField0_ & ~0x00000400); } result.attribute_ = attribute_; } else { result.attribute_ = attributeBuilder_.build(); } if (detailEntryBuilder_ == null) { if (((bitField0_ & 0x00000800) == 0x00000800)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); bitField0_ = (bitField0_ & ~0x00000800); } result.detailEntry_ = detailEntry_; } else { result.detailEntry_ = detailEntryBuilder_.build(); } if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } if (mainThreadRootTimerBuilder_ == null) { result.mainThreadRootTimer_ = mainThreadRootTimer_; } else { result.mainThreadRootTimer_ = mainThreadRootTimerBuilder_.build(); } if (auxThreadRootTimerBuilder_ == null) { if (((bitField0_ & 0x00004000) == 0x00004000)) { auxThreadRootTimer_ = java.util.Collections.unmodifiableList(auxThreadRootTimer_); bitField0_ = (bitField0_ & ~0x00004000); } result.auxThreadRootTimer_ = auxThreadRootTimer_; } else { result.auxThreadRootTimer_ = auxThreadRootTimerBuilder_.build(); } if (asyncTimerBuilder_ == null) { if (((bitField0_ & 0x00008000) == 0x00008000)) { asyncTimer_ = java.util.Collections.unmodifiableList(asyncTimer_); bitField0_ = (bitField0_ & ~0x00008000); } result.asyncTimer_ = asyncTimer_; } else { result.asyncTimer_ = asyncTimerBuilder_.build(); } if (oldMainThreadStatsBuilder_ == null) { result.oldMainThreadStats_ = oldMainThreadStats_; } else { result.oldMainThreadStats_ = oldMainThreadStatsBuilder_.build(); } if (oldAuxThreadStatsBuilder_ == null) { result.oldAuxThreadStats_ = oldAuxThreadStats_; } else { result.oldAuxThreadStats_ = oldAuxThreadStatsBuilder_.build(); } if (mainThreadStatsBuilder_ == null) { result.mainThreadStats_ = mainThreadStats_; } else { result.mainThreadStats_ = mainThreadStatsBuilder_.build(); } if (auxThreadStatsBuilder_ == null) { result.auxThreadStats_ = auxThreadStats_; } else { result.auxThreadStats_ = auxThreadStatsBuilder_.build(); } result.entryCount_ = entryCount_; result.entryLimitExceeded_ = entryLimitExceeded_; result.queryCount_ = queryCount_; result.queryLimitExceeded_ = queryLimitExceeded_; result.mainThreadProfileSampleCount_ = mainThreadProfileSampleCount_; result.mainThreadProfileSampleLimitExceeded_ = mainThreadProfileSampleLimitExceeded_; result.auxThreadProfileSampleCount_ = auxThreadProfileSampleCount_; result.auxThreadProfileSampleLimitExceeded_ = auxThreadProfileSampleLimitExceeded_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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.getAsync() != false) { setAsync(other.getAsync()); } 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_ & ~0x00000400); } else { ensureAttributeIsMutable(); attribute_.addAll(other.attribute_); } onChanged(); } } else { if (!other.attribute_.isEmpty()) { if (attributeBuilder_.isEmpty()) { attributeBuilder_.dispose(); attributeBuilder_ = null; attribute_ = other.attribute_; bitField0_ = (bitField0_ & ~0x00000400); attributeBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttributeFieldBuilder() : null; } else { attributeBuilder_.addAllMessages(other.attribute_); } } } if (detailEntryBuilder_ == null) { if (!other.detailEntry_.isEmpty()) { if (detailEntry_.isEmpty()) { detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000800); } else { ensureDetailEntryIsMutable(); detailEntry_.addAll(other.detailEntry_); } onChanged(); } } else { if (!other.detailEntry_.isEmpty()) { if (detailEntryBuilder_.isEmpty()) { detailEntryBuilder_.dispose(); detailEntryBuilder_ = null; detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000800); detailEntryBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDetailEntryFieldBuilder() : null; } else { detailEntryBuilder_.addAllMessages(other.detailEntry_); } } } if (other.hasError()) { mergeError(other.getError()); } if (other.hasMainThreadRootTimer()) { mergeMainThreadRootTimer(other.getMainThreadRootTimer()); } if (auxThreadRootTimerBuilder_ == null) { if (!other.auxThreadRootTimer_.isEmpty()) { if (auxThreadRootTimer_.isEmpty()) { auxThreadRootTimer_ = other.auxThreadRootTimer_; bitField0_ = (bitField0_ & ~0x00004000); } else { ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.addAll(other.auxThreadRootTimer_); } onChanged(); } } else { if (!other.auxThreadRootTimer_.isEmpty()) { if (auxThreadRootTimerBuilder_.isEmpty()) { auxThreadRootTimerBuilder_.dispose(); auxThreadRootTimerBuilder_ = null; auxThreadRootTimer_ = other.auxThreadRootTimer_; bitField0_ = (bitField0_ & ~0x00004000); auxThreadRootTimerBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAuxThreadRootTimerFieldBuilder() : null; } else { auxThreadRootTimerBuilder_.addAllMessages(other.auxThreadRootTimer_); } } } if (asyncTimerBuilder_ == null) { if (!other.asyncTimer_.isEmpty()) { if (asyncTimer_.isEmpty()) { asyncTimer_ = other.asyncTimer_; bitField0_ = (bitField0_ & ~0x00008000); } else { ensureAsyncTimerIsMutable(); asyncTimer_.addAll(other.asyncTimer_); } onChanged(); } } else { if (!other.asyncTimer_.isEmpty()) { if (asyncTimerBuilder_.isEmpty()) { asyncTimerBuilder_.dispose(); asyncTimerBuilder_ = null; asyncTimer_ = other.asyncTimer_; bitField0_ = (bitField0_ & ~0x00008000); asyncTimerBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAsyncTimerFieldBuilder() : null; } else { asyncTimerBuilder_.addAllMessages(other.asyncTimer_); } } } if (other.hasOldMainThreadStats()) { mergeOldMainThreadStats(other.getOldMainThreadStats()); } if (other.hasOldAuxThreadStats()) { mergeOldAuxThreadStats(other.getOldAuxThreadStats()); } if (other.hasMainThreadStats()) { mergeMainThreadStats(other.getMainThreadStats()); } if (other.hasAuxThreadStats()) { mergeAuxThreadStats(other.getAuxThreadStats()); } if (other.getEntryCount() != 0) { setEntryCount(other.getEntryCount()); } if (other.getEntryLimitExceeded() != false) { setEntryLimitExceeded(other.getEntryLimitExceeded()); } if (other.getQueryCount() != 0) { setQueryCount(other.getQueryCount()); } if (other.getQueryLimitExceeded() != false) { setQueryLimitExceeded(other.getQueryLimitExceeded()); } if (other.getMainThreadProfileSampleCount() != 0L) { setMainThreadProfileSampleCount(other.getMainThreadProfileSampleCount()); } if (other.getMainThreadProfileSampleLimitExceeded() != false) { setMainThreadProfileSampleLimitExceeded(other.getMainThreadProfileSampleLimitExceeded()); } if (other.getAuxThreadProfileSampleCount() != 0L) { setAuxThreadProfileSampleCount(other.getAuxThreadProfileSampleCount()); } if (other.getAuxThreadProfileSampleLimitExceeded() != false) { setAuxThreadProfileSampleLimitExceeded(other.getAuxThreadProfileSampleLimitExceeded()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Header parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean partial_ ; /** * bool partial = 1; */ public boolean getPartial() { return partial_; } /** * bool partial = 1; */ public Builder setPartial(boolean value) { partial_ = value; onChanged(); return this; } /** * bool partial = 1; */ public Builder clearPartial() { partial_ = false; onChanged(); return this; } private boolean slow_ ; /** * bool slow = 2; */ public boolean getSlow() { return slow_; } /** * bool slow = 2; */ public Builder setSlow(boolean value) { slow_ = value; onChanged(); return this; } /** * bool slow = 2; */ public Builder clearSlow() { slow_ = false; onChanged(); return this; } private boolean async_ ; /** * bool async = 3; */ public boolean getAsync() { return async_; } /** * bool async = 3; */ public Builder setAsync(boolean value) { async_ = value; onChanged(); return this; } /** * bool async = 3; */ public Builder clearAsync() { async_ = false; onChanged(); return this; } private long startTime_ ; /** * int64 start_time = 4; */ public long getStartTime() { return startTime_; } /** * int64 start_time = 4; */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * int64 start_time = 4; */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } private long captureTime_ ; /** * int64 capture_time = 5; */ public long getCaptureTime() { return captureTime_; } /** * int64 capture_time = 5; */ public Builder setCaptureTime(long value) { captureTime_ = value; onChanged(); return this; } /** * int64 capture_time = 5; */ public Builder clearCaptureTime() { captureTime_ = 0L; onChanged(); return this; } private long durationNanos_ ; /** * int64 duration_nanos = 6; */ public long getDurationNanos() { return durationNanos_; } /** * int64 duration_nanos = 6; */ public Builder setDurationNanos(long value) { durationNanos_ = value; onChanged(); return this; } /** * int64 duration_nanos = 6; */ public Builder clearDurationNanos() { durationNanos_ = 0L; onChanged(); return this; } private java.lang.Object transactionType_ = ""; /** * string transaction_type = 7; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string transaction_type = 7; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionTypeBytes() { java.lang.Object ref = transactionType_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionType_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string transaction_type = 7; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * string transaction_type = 7; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * string transaction_type = 7; */ public Builder setTransactionTypeBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionType_ = value; onChanged(); return this; } private java.lang.Object transactionName_ = ""; /** * string transaction_name = 8; */ public java.lang.String getTransactionName() { java.lang.Object ref = transactionName_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); transactionName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string transaction_name = 8; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionNameBytes() { java.lang.Object ref = transactionName_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); transactionName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string transaction_name = 8; */ public Builder setTransactionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionName_ = value; onChanged(); return this; } /** * string transaction_name = 8; */ public Builder clearTransactionName() { transactionName_ = getDefaultInstance().getTransactionName(); onChanged(); return this; } /** * string transaction_name = 8; */ public Builder setTransactionNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); transactionName_ = value; onChanged(); return this; } private java.lang.Object headline_ = ""; /** * string headline = 9; */ public java.lang.String getHeadline() { java.lang.Object ref = headline_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headline_ = s; return s; } else { return (java.lang.String) ref; } } /** * string headline = 9; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeadlineBytes() { java.lang.Object ref = headline_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headline_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string headline = 9; */ public Builder setHeadline( java.lang.String value) { if (value == null) { throw new NullPointerException(); } headline_ = value; onChanged(); return this; } /** * string headline = 9; */ public Builder clearHeadline() { headline_ = getDefaultInstance().getHeadline(); onChanged(); return this; } /** * string headline = 9; */ public Builder setHeadlineBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headline_ = value; onChanged(); return this; } private java.lang.Object user_ = ""; /** * string user = 10; */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user = 10; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string user = 10; */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** * string user = 10; */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** * string user = 10; */ public Builder setUserBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { if (!((bitField0_ & 0x00000400) == 0x00000400)) { attribute_ = new java.util.ArrayList(attribute_); bitField0_ |= 0x00000400; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.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_ & ~0x00000400); 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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_ & 0x00000400) == 0x00000400), getParentForChildren(), isClean()); attribute_ = null; } return attributeBuilder_; } private java.util.List detailEntry_ = java.util.Collections.emptyList(); private void ensureDetailEntryIsMutable() { if (!((bitField0_ & 0x00000800) == 0x00000800)) { detailEntry_ = new java.util.ArrayList(detailEntry_); bitField0_ |= 0x00000800; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.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_ & ~0x00000800); 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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_ & 0x00000800) == 0x00000800), getParentForChildren(), isClean()); detailEntry_ = null; } return detailEntryBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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_; /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** * .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(); } } /** * .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; } /** * .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; } /** * .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; } /** * .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; } /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder getErrorBuilder() { onChanged(); return getErrorFieldBuilder().getBuilder(); } /** * .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_; } } /** * .org_glowroot_wire_api_model.Trace.Error error = 13; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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 mainThreadRootTimer_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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> mainThreadRootTimerBuilder_; /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public boolean hasMainThreadRootTimer() { return mainThreadRootTimerBuilder_ != null || mainThreadRootTimer_ != null; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getMainThreadRootTimer() { if (mainThreadRootTimerBuilder_ == null) { return mainThreadRootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : mainThreadRootTimer_; } else { return mainThreadRootTimerBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public Builder setMainThreadRootTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (mainThreadRootTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mainThreadRootTimer_ = value; onChanged(); } else { mainThreadRootTimerBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public Builder setMainThreadRootTimer( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (mainThreadRootTimerBuilder_ == null) { mainThreadRootTimer_ = builderForValue.build(); onChanged(); } else { mainThreadRootTimerBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public Builder mergeMainThreadRootTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (mainThreadRootTimerBuilder_ == null) { if (mainThreadRootTimer_ != null) { mainThreadRootTimer_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.newBuilder(mainThreadRootTimer_).mergeFrom(value).buildPartial(); } else { mainThreadRootTimer_ = value; } onChanged(); } else { mainThreadRootTimerBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public Builder clearMainThreadRootTimer() { if (mainThreadRootTimerBuilder_ == null) { mainThreadRootTimer_ = null; onChanged(); } else { mainThreadRootTimer_ = null; mainThreadRootTimerBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder getMainThreadRootTimerBuilder() { onChanged(); return getMainThreadRootTimerFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getMainThreadRootTimerOrBuilder() { if (mainThreadRootTimerBuilder_ != null) { return mainThreadRootTimerBuilder_.getMessageOrBuilder(); } else { return mainThreadRootTimer_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance() : mainThreadRootTimer_; } } /** * .org_glowroot_wire_api_model.Trace.Timer main_thread_root_timer = 14; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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> getMainThreadRootTimerFieldBuilder() { if (mainThreadRootTimerBuilder_ == null) { mainThreadRootTimerBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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>( getMainThreadRootTimer(), getParentForChildren(), isClean()); mainThreadRootTimer_ = null; } return mainThreadRootTimerBuilder_; } private java.util.List auxThreadRootTimer_ = java.util.Collections.emptyList(); private void ensureAuxThreadRootTimerIsMutable() { if (!((bitField0_ & 0x00004000) == 0x00004000)) { auxThreadRootTimer_ = new java.util.ArrayList(auxThreadRootTimer_); bitField0_ |= 0x00004000; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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> auxThreadRootTimerBuilder_; /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public java.util.List getAuxThreadRootTimerList() { if (auxThreadRootTimerBuilder_ == null) { return java.util.Collections.unmodifiableList(auxThreadRootTimer_); } else { return auxThreadRootTimerBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public int getAuxThreadRootTimerCount() { if (auxThreadRootTimerBuilder_ == null) { return auxThreadRootTimer_.size(); } else { return auxThreadRootTimerBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAuxThreadRootTimer(int index) { if (auxThreadRootTimerBuilder_ == null) { return auxThreadRootTimer_.get(index); } else { return auxThreadRootTimerBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder setAuxThreadRootTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (auxThreadRootTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.set(index, value); onChanged(); } else { auxThreadRootTimerBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder setAuxThreadRootTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (auxThreadRootTimerBuilder_ == null) { ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.set(index, builderForValue.build()); onChanged(); } else { auxThreadRootTimerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder addAuxThreadRootTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (auxThreadRootTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.add(value); onChanged(); } else { auxThreadRootTimerBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder addAuxThreadRootTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (auxThreadRootTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.add(index, value); onChanged(); } else { auxThreadRootTimerBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder addAuxThreadRootTimer( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (auxThreadRootTimerBuilder_ == null) { ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.add(builderForValue.build()); onChanged(); } else { auxThreadRootTimerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder addAuxThreadRootTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (auxThreadRootTimerBuilder_ == null) { ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.add(index, builderForValue.build()); onChanged(); } else { auxThreadRootTimerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder addAllAuxThreadRootTimer( java.lang.Iterable values) { if (auxThreadRootTimerBuilder_ == null) { ensureAuxThreadRootTimerIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, auxThreadRootTimer_); onChanged(); } else { auxThreadRootTimerBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder clearAuxThreadRootTimer() { if (auxThreadRootTimerBuilder_ == null) { auxThreadRootTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00004000); onChanged(); } else { auxThreadRootTimerBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public Builder removeAuxThreadRootTimer(int index) { if (auxThreadRootTimerBuilder_ == null) { ensureAuxThreadRootTimerIsMutable(); auxThreadRootTimer_.remove(index); onChanged(); } else { auxThreadRootTimerBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder getAuxThreadRootTimerBuilder( int index) { return getAuxThreadRootTimerFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAuxThreadRootTimerOrBuilder( int index) { if (auxThreadRootTimerBuilder_ == null) { return auxThreadRootTimer_.get(index); } else { return auxThreadRootTimerBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public java.util.List getAuxThreadRootTimerOrBuilderList() { if (auxThreadRootTimerBuilder_ != null) { return auxThreadRootTimerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(auxThreadRootTimer_); } } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addAuxThreadRootTimerBuilder() { return getAuxThreadRootTimerFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addAuxThreadRootTimerBuilder( int index) { return getAuxThreadRootTimerFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Trace.Timer aux_thread_root_timer = 15; */ public java.util.List getAuxThreadRootTimerBuilderList() { return getAuxThreadRootTimerFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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> getAuxThreadRootTimerFieldBuilder() { if (auxThreadRootTimerBuilder_ == null) { auxThreadRootTimerBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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>( auxThreadRootTimer_, ((bitField0_ & 0x00004000) == 0x00004000), getParentForChildren(), isClean()); auxThreadRootTimer_ = null; } return auxThreadRootTimerBuilder_; } private java.util.List asyncTimer_ = java.util.Collections.emptyList(); private void ensureAsyncTimerIsMutable() { if (!((bitField0_ & 0x00008000) == 0x00008000)) { asyncTimer_ = new java.util.ArrayList(asyncTimer_); bitField0_ |= 0x00008000; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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> asyncTimerBuilder_; /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public java.util.List getAsyncTimerList() { if (asyncTimerBuilder_ == null) { return java.util.Collections.unmodifiableList(asyncTimer_); } else { return asyncTimerBuilder_.getMessageList(); } } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public int getAsyncTimerCount() { if (asyncTimerBuilder_ == null) { return asyncTimer_.size(); } else { return asyncTimerBuilder_.getCount(); } } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getAsyncTimer(int index) { if (asyncTimerBuilder_ == null) { return asyncTimer_.get(index); } else { return asyncTimerBuilder_.getMessage(index); } } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder setAsyncTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (asyncTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAsyncTimerIsMutable(); asyncTimer_.set(index, value); onChanged(); } else { asyncTimerBuilder_.setMessage(index, value); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder setAsyncTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (asyncTimerBuilder_ == null) { ensureAsyncTimerIsMutable(); asyncTimer_.set(index, builderForValue.build()); onChanged(); } else { asyncTimerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder addAsyncTimer(org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (asyncTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAsyncTimerIsMutable(); asyncTimer_.add(value); onChanged(); } else { asyncTimerBuilder_.addMessage(value); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder addAsyncTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer value) { if (asyncTimerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAsyncTimerIsMutable(); asyncTimer_.add(index, value); onChanged(); } else { asyncTimerBuilder_.addMessage(index, value); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder addAsyncTimer( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (asyncTimerBuilder_ == null) { ensureAsyncTimerIsMutable(); asyncTimer_.add(builderForValue.build()); onChanged(); } else { asyncTimerBuilder_.addMessage(builderForValue.build()); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder addAsyncTimer( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder builderForValue) { if (asyncTimerBuilder_ == null) { ensureAsyncTimerIsMutable(); asyncTimer_.add(index, builderForValue.build()); onChanged(); } else { asyncTimerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder addAllAsyncTimer( java.lang.Iterable values) { if (asyncTimerBuilder_ == null) { ensureAsyncTimerIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, asyncTimer_); onChanged(); } else { asyncTimerBuilder_.addAllMessages(values); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder clearAsyncTimer() { if (asyncTimerBuilder_ == null) { asyncTimer_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00008000); onChanged(); } else { asyncTimerBuilder_.clear(); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public Builder removeAsyncTimer(int index) { if (asyncTimerBuilder_ == null) { ensureAsyncTimerIsMutable(); asyncTimer_.remove(index); onChanged(); } else { asyncTimerBuilder_.remove(index); } return this; } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder getAsyncTimerBuilder( int index) { return getAsyncTimerFieldBuilder().getBuilder(index); } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.TimerOrBuilder getAsyncTimerOrBuilder( int index) { if (asyncTimerBuilder_ == null) { return asyncTimer_.get(index); } else { return asyncTimerBuilder_.getMessageOrBuilder(index); } } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public java.util.List getAsyncTimerOrBuilderList() { if (asyncTimerBuilder_ != null) { return asyncTimerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(asyncTimer_); } } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addAsyncTimerBuilder() { return getAsyncTimerFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.Builder addAsyncTimerBuilder( int index) { return getAsyncTimerFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer.getDefaultInstance()); } /** *
         * async timers have no child timers
         * 
* * repeated .org_glowroot_wire_api_model.Trace.Timer async_timer = 16; */ public java.util.List getAsyncTimerBuilderList() { return getAsyncTimerFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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> getAsyncTimerFieldBuilder() { if (asyncTimerBuilder_ == null) { asyncTimerBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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>( asyncTimer_, ((bitField0_ & 0x00008000) == 0x00008000), getParentForChildren(), isClean()); asyncTimer_ = null; } return asyncTimerBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats oldMainThreadStats_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder> oldMainThreadStatsBuilder_; /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public boolean hasOldMainThreadStats() { return oldMainThreadStatsBuilder_ != null || oldMainThreadStats_ != null; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldMainThreadStats() { if (oldMainThreadStatsBuilder_ == null) { return oldMainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldMainThreadStats_; } else { return oldMainThreadStatsBuilder_.getMessage(); } } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public Builder setOldMainThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats value) { if (oldMainThreadStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } oldMainThreadStats_ = value; onChanged(); } else { oldMainThreadStatsBuilder_.setMessage(value); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public Builder setOldMainThreadStats( org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder builderForValue) { if (oldMainThreadStatsBuilder_ == null) { oldMainThreadStats_ = builderForValue.build(); onChanged(); } else { oldMainThreadStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public Builder mergeOldMainThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats value) { if (oldMainThreadStatsBuilder_ == null) { if (oldMainThreadStats_ != null) { oldMainThreadStats_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.newBuilder(oldMainThreadStats_).mergeFrom(value).buildPartial(); } else { oldMainThreadStats_ = value; } onChanged(); } else { oldMainThreadStatsBuilder_.mergeFrom(value); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public Builder clearOldMainThreadStats() { if (oldMainThreadStatsBuilder_ == null) { oldMainThreadStats_ = null; onChanged(); } else { oldMainThreadStats_ = null; oldMainThreadStatsBuilder_ = null; } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder getOldMainThreadStatsBuilder() { onChanged(); return getOldMainThreadStatsFieldBuilder().getBuilder(); } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldMainThreadStatsOrBuilder() { if (oldMainThreadStatsBuilder_ != null) { return oldMainThreadStatsBuilder_.getMessageOrBuilder(); } else { return oldMainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldMainThreadStats_; } } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_main_thread_stats = 17; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder> getOldMainThreadStatsFieldBuilder() { if (oldMainThreadStatsBuilder_ == null) { oldMainThreadStatsBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder>( getOldMainThreadStats(), getParentForChildren(), isClean()); oldMainThreadStats_ = null; } return oldMainThreadStatsBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats oldAuxThreadStats_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder> oldAuxThreadStatsBuilder_; /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public boolean hasOldAuxThreadStats() { return oldAuxThreadStatsBuilder_ != null || oldAuxThreadStats_ != null; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getOldAuxThreadStats() { if (oldAuxThreadStatsBuilder_ == null) { return oldAuxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldAuxThreadStats_; } else { return oldAuxThreadStatsBuilder_.getMessage(); } } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public Builder setOldAuxThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats value) { if (oldAuxThreadStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } oldAuxThreadStats_ = value; onChanged(); } else { oldAuxThreadStatsBuilder_.setMessage(value); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public Builder setOldAuxThreadStats( org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder builderForValue) { if (oldAuxThreadStatsBuilder_ == null) { oldAuxThreadStats_ = builderForValue.build(); onChanged(); } else { oldAuxThreadStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public Builder mergeOldAuxThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats value) { if (oldAuxThreadStatsBuilder_ == null) { if (oldAuxThreadStats_ != null) { oldAuxThreadStats_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.newBuilder(oldAuxThreadStats_).mergeFrom(value).buildPartial(); } else { oldAuxThreadStats_ = value; } onChanged(); } else { oldAuxThreadStatsBuilder_.mergeFrom(value); } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public Builder clearOldAuxThreadStats() { if (oldAuxThreadStatsBuilder_ == null) { oldAuxThreadStats_ = null; onChanged(); } else { oldAuxThreadStats_ = null; oldAuxThreadStatsBuilder_ = null; } return this; } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder getOldAuxThreadStatsBuilder() { onChanged(); return getOldAuxThreadStatsFieldBuilder().getBuilder(); } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder getOldAuxThreadStatsOrBuilder() { if (oldAuxThreadStatsBuilder_ != null) { return oldAuxThreadStatsBuilder_.getMessageOrBuilder(); } else { return oldAuxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance() : oldAuxThreadStats_; } } /** *
         * deprecated in 0.10.9
         * 
* * .org_glowroot_wire_api_model.Trace.OldThreadStats old_aux_thread_stats = 18; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder> getOldAuxThreadStatsFieldBuilder() { if (oldAuxThreadStatsBuilder_ == null) { oldAuxThreadStatsBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder>( getOldAuxThreadStats(), getParentForChildren(), isClean()); oldAuxThreadStats_ = null; } return oldAuxThreadStatsBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats mainThreadStats_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder> mainThreadStatsBuilder_; /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public boolean hasMainThreadStats() { return mainThreadStatsBuilder_ != null || mainThreadStats_ != null; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getMainThreadStats() { if (mainThreadStatsBuilder_ == null) { return mainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : mainThreadStats_; } else { return mainThreadStatsBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public Builder setMainThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats value) { if (mainThreadStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mainThreadStats_ = value; onChanged(); } else { mainThreadStatsBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public Builder setMainThreadStats( org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder builderForValue) { if (mainThreadStatsBuilder_ == null) { mainThreadStats_ = builderForValue.build(); onChanged(); } else { mainThreadStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public Builder mergeMainThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats value) { if (mainThreadStatsBuilder_ == null) { if (mainThreadStats_ != null) { mainThreadStats_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.newBuilder(mainThreadStats_).mergeFrom(value).buildPartial(); } else { mainThreadStats_ = value; } onChanged(); } else { mainThreadStatsBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public Builder clearMainThreadStats() { if (mainThreadStatsBuilder_ == null) { mainThreadStats_ = null; onChanged(); } else { mainThreadStats_ = null; mainThreadStatsBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder getMainThreadStatsBuilder() { onChanged(); return getMainThreadStatsFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getMainThreadStatsOrBuilder() { if (mainThreadStatsBuilder_ != null) { return mainThreadStatsBuilder_.getMessageOrBuilder(); } else { return mainThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : mainThreadStats_; } } /** * .org_glowroot_wire_api_model.Trace.ThreadStats main_thread_stats = 27; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder> getMainThreadStatsFieldBuilder() { if (mainThreadStatsBuilder_ == null) { mainThreadStatsBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder>( getMainThreadStats(), getParentForChildren(), isClean()); mainThreadStats_ = null; } return mainThreadStatsBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats auxThreadStats_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder> auxThreadStatsBuilder_; /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public boolean hasAuxThreadStats() { return auxThreadStatsBuilder_ != null || auxThreadStats_ != null; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getAuxThreadStats() { if (auxThreadStatsBuilder_ == null) { return auxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : auxThreadStats_; } else { return auxThreadStatsBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public Builder setAuxThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats value) { if (auxThreadStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } auxThreadStats_ = value; onChanged(); } else { auxThreadStatsBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public Builder setAuxThreadStats( org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder builderForValue) { if (auxThreadStatsBuilder_ == null) { auxThreadStats_ = builderForValue.build(); onChanged(); } else { auxThreadStatsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public Builder mergeAuxThreadStats(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats value) { if (auxThreadStatsBuilder_ == null) { if (auxThreadStats_ != null) { auxThreadStats_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.newBuilder(auxThreadStats_).mergeFrom(value).buildPartial(); } else { auxThreadStats_ = value; } onChanged(); } else { auxThreadStatsBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public Builder clearAuxThreadStats() { if (auxThreadStatsBuilder_ == null) { auxThreadStats_ = null; onChanged(); } else { auxThreadStats_ = null; auxThreadStatsBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder getAuxThreadStatsBuilder() { onChanged(); return getAuxThreadStatsFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder getAuxThreadStatsOrBuilder() { if (auxThreadStatsBuilder_ != null) { return auxThreadStatsBuilder_.getMessageOrBuilder(); } else { return auxThreadStats_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance() : auxThreadStats_; } } /** * .org_glowroot_wire_api_model.Trace.ThreadStats aux_thread_stats = 28; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder> getAuxThreadStatsFieldBuilder() { if (auxThreadStatsBuilder_ == null) { auxThreadStatsBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder>( getAuxThreadStats(), getParentForChildren(), isClean()); auxThreadStats_ = null; } return auxThreadStatsBuilder_; } private int entryCount_ ; /** * int32 entry_count = 19; */ public int getEntryCount() { return entryCount_; } /** * int32 entry_count = 19; */ public Builder setEntryCount(int value) { entryCount_ = value; onChanged(); return this; } /** * int32 entry_count = 19; */ public Builder clearEntryCount() { entryCount_ = 0; onChanged(); return this; } private boolean entryLimitExceeded_ ; /** * bool entry_limit_exceeded = 20; */ public boolean getEntryLimitExceeded() { return entryLimitExceeded_; } /** * bool entry_limit_exceeded = 20; */ public Builder setEntryLimitExceeded(boolean value) { entryLimitExceeded_ = value; onChanged(); return this; } /** * bool entry_limit_exceeded = 20; */ public Builder clearEntryLimitExceeded() { entryLimitExceeded_ = false; onChanged(); return this; } private int queryCount_ ; /** * int32 query_count = 25; */ public int getQueryCount() { return queryCount_; } /** * int32 query_count = 25; */ public Builder setQueryCount(int value) { queryCount_ = value; onChanged(); return this; } /** * int32 query_count = 25; */ public Builder clearQueryCount() { queryCount_ = 0; onChanged(); return this; } private boolean queryLimitExceeded_ ; /** * bool query_limit_exceeded = 26; */ public boolean getQueryLimitExceeded() { return queryLimitExceeded_; } /** * bool query_limit_exceeded = 26; */ public Builder setQueryLimitExceeded(boolean value) { queryLimitExceeded_ = value; onChanged(); return this; } /** * bool query_limit_exceeded = 26; */ public Builder clearQueryLimitExceeded() { queryLimitExceeded_ = false; onChanged(); return this; } private long mainThreadProfileSampleCount_ ; /** * int64 main_thread_profile_sample_count = 21; */ public long getMainThreadProfileSampleCount() { return mainThreadProfileSampleCount_; } /** * int64 main_thread_profile_sample_count = 21; */ public Builder setMainThreadProfileSampleCount(long value) { mainThreadProfileSampleCount_ = value; onChanged(); return this; } /** * int64 main_thread_profile_sample_count = 21; */ public Builder clearMainThreadProfileSampleCount() { mainThreadProfileSampleCount_ = 0L; onChanged(); return this; } private boolean mainThreadProfileSampleLimitExceeded_ ; /** * bool main_thread_profile_sample_limit_exceeded = 22; */ public boolean getMainThreadProfileSampleLimitExceeded() { return mainThreadProfileSampleLimitExceeded_; } /** * bool main_thread_profile_sample_limit_exceeded = 22; */ public Builder setMainThreadProfileSampleLimitExceeded(boolean value) { mainThreadProfileSampleLimitExceeded_ = value; onChanged(); return this; } /** * bool main_thread_profile_sample_limit_exceeded = 22; */ public Builder clearMainThreadProfileSampleLimitExceeded() { mainThreadProfileSampleLimitExceeded_ = false; onChanged(); return this; } private long auxThreadProfileSampleCount_ ; /** * int64 aux_thread_profile_sample_count = 23; */ public long getAuxThreadProfileSampleCount() { return auxThreadProfileSampleCount_; } /** * int64 aux_thread_profile_sample_count = 23; */ public Builder setAuxThreadProfileSampleCount(long value) { auxThreadProfileSampleCount_ = value; onChanged(); return this; } /** * int64 aux_thread_profile_sample_count = 23; */ public Builder clearAuxThreadProfileSampleCount() { auxThreadProfileSampleCount_ = 0L; onChanged(); return this; } private boolean auxThreadProfileSampleLimitExceeded_ ; /** * bool aux_thread_profile_sample_limit_exceeded = 24; */ public boolean getAuxThreadProfileSampleLimitExceeded() { return auxThreadProfileSampleLimitExceeded_; } /** * bool aux_thread_profile_sample_limit_exceeded = 24; */ public Builder setAuxThreadProfileSampleLimitExceeded(boolean value) { auxThreadProfileSampleLimitExceeded_ = value; onChanged(); return this; } /** * bool aux_thread_profile_sample_limit_exceeded = 24; */ public Builder clearAuxThreadProfileSampleLimitExceeded() { auxThreadProfileSampleLimitExceeded_ = false; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser
PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser
() { public Header parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Header(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser
getParserForType() { return PARSER; } public org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string name = 1; */ java.lang.String getName(); /** * string name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes(); /** * repeated string value = 2; */ java.util.List getValueList(); /** * repeated string value = 2; */ int getValueCount(); /** * repeated string value = 2; */ java.lang.String getValue(int index); /** * repeated string value = 2; */ org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Attribute) AttributeOrBuilder { private static final long serialVersionUID = 0L; // Use Attribute.newBuilder() to construct. private Attribute(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Attribute() { name_ = ""; value_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Attribute( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } value_.add(s); break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = value_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList value_; /** * repeated string value = 2; */ public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } for (int i = 0; i < value_.size(); i++) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } { int dataSize = 0; for (int i = 0; i < value_.size(); i++) { dataSize += computeStringSizeNoTag(value_.getRaw(i)); } size += dataSize; size += 1 * getValueList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && getValueList() .equals(other.getValueList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; value_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.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 clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Attribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 1; */ public Builder setNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList value_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { value_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(value_); bitField0_ |= 0x00000002; } } /** * repeated string value = 2; */ public org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); return this; } /** * repeated string value = 2; */ public Builder clearValue() { value_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string value = 2; */ public Builder addValueBytes( org.glowroot.agent.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public Attribute parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Attribute(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string name = 1; */ java.lang.String getName(); /** * string name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes(); /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ java.util.List getValueList(); /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index); /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ int getValueCount(); /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ java.util.List getValueOrBuilderList(); /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.DetailEntry) DetailEntryOrBuilder { private static final long serialVersionUID = 0L; // Use DetailEntry.newBuilder() to construct. private DetailEntry(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DetailEntry( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 18: { 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { value_ = java.util.Collections.unmodifiableList(value_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { childEntry_ = java.util.Collections.unmodifiableList(childEntry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private java.util.List value_; /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public java.util.List getValueList() { return value_; } /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public java.util.List getValueOrBuilderList() { return value_; } /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public int getValueCount() { return value_.size(); } /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index) { return value_.get(index); } /** *
       * one of these two (or neither for an empty value)
       * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } 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)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } for (int i = 0; i < value_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, value_.get(i)); } for (int i = 0; i < childEntry_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, childEntry_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && getValueList() .equals(other.getValueList()); result = result && getChildEntryList() .equals(other.getChildEntryList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); if (getValueCount() > 0) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValueList().hashCode(); } if (getChildEntryCount() > 0) { hash = (37 * hash) + CHILD_ENTRY_FIELD_NUMBER; hash = (53 * hash) + getChildEntryList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { 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.it.harness.shaded.com.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 clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChildEntryFieldBuilder() : null; } else { childEntryBuilder_.addAllMessages(other.childEntry_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 1; */ public Builder setNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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_; /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public java.util.List getValueList() { if (valueBuilder_ == null) { return java.util.Collections.unmodifiableList(value_); } else { return valueBuilder_.getMessageList(); } } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public int getValueCount() { if (valueBuilder_ == null) { return value_.size(); } else { return valueBuilder_.getCount(); } } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue getValue(int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessage(index); } } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public Builder addAllValue( java.lang.Iterable values) { if (valueBuilder_ == null) { ensureValueIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); onChanged(); } else { valueBuilder_.addAllMessages(values); } return this; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public Builder clearValue() { if (valueBuilder_ == null) { value_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { valueBuilder_.clear(); } return this; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public Builder removeValue(int index) { if (valueBuilder_ == null) { ensureValueIsMutable(); value_.remove(index); onChanged(); } else { valueBuilder_.remove(index); } return this; } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder getValueBuilder( int index) { return getValueFieldBuilder().getBuilder(index); } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValueOrBuilder getValueOrBuilder( int index) { if (valueBuilder_ == null) { return value_.get(index); } else { return valueBuilder_.getMessageOrBuilder(index); } } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public java.util.List getValueOrBuilderList() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(value_); } } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.Builder addValueBuilder() { return getValueFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue.getDefaultInstance()); } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ 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()); } /** *
         * one of these two (or neither for an empty value)
         * 
* * repeated .org_glowroot_wire_api_model.Trace.DetailValue value = 2; */ public java.util.List getValueBuilderList() { return getValueFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public DetailEntry parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new DetailEntry(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string string = 1; */ java.lang.String getString(); /** * string string = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getStringBytes(); /** * double double = 2; */ double getDouble(); /** * int64 long = 3; */ long getLong(); /** * bool boolean = 4; */ boolean getBoolean(); 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.DetailValue) DetailValueOrBuilder { private static final long serialVersionUID = 0L; // Use DetailValue.newBuilder() to construct. private DetailValue(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DetailValue() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DetailValue( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.Internal.EnumLite { STRING(1), DOUBLE(2), LONG(3), BOOLEAN(4), VAL_NOT_SET(0); private final int value; private ValCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ValCase valueOf(int value) { return forNumber(value); } public static ValCase forNumber(int value) { switch (value) { case 1: return STRING; case 2: return DOUBLE; case 3: return LONG; case 4: return BOOLEAN; case 0: return VAL_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public ValCase getValCase() { return ValCase.forNumber( valCase_); } public static final int STRING_FIELD_NUMBER = 1; /** * string string = 1; */ public java.lang.String getString() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 1) { val_ = s; } return s; } } /** * string string = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 1) { val_ = b; } return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int DOUBLE_FIELD_NUMBER = 2; /** * double double = 2; */ public double getDouble() { if (valCase_ == 2) { return (java.lang.Double) val_; } return 0D; } public static final int LONG_FIELD_NUMBER = 3; /** * int64 long = 3; */ public long getLong() { if (valCase_ == 3) { return (java.lang.Long) val_; } return 0L; } public static final int BOOLEAN_FIELD_NUMBER = 4; /** * bool boolean = 4; */ public boolean getBoolean() { 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.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (valCase_ == 1) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (valCase_ == 1) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, val_); } if (valCase_ == 2) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeDoubleSize( 2, (double)((java.lang.Double) val_)); } if (valCase_ == 3) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size( 3, (long)((java.lang.Long) val_)); } if (valCase_ == 4) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize( 4, (boolean)((java.lang.Boolean) val_)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue) obj; boolean result = true; result = result && getValCase().equals( other.getValCase()); if (!result) return false; switch (valCase_) { case 1: result = result && getString() .equals(other.getString()); break; case 2: result = result && ( java.lang.Double.doubleToLongBits(getDouble()) == java.lang.Double.doubleToLongBits( other.getDouble())); break; case 3: result = result && (getLong() == other.getLong()); break; case 4: result = result && (getBoolean() == other.getBoolean()); break; case 0: default: } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (valCase_) { case 1: hash = (37 * hash) + STRING_FIELD_NUMBER; hash = (53 * hash) + getString().hashCode(); break; case 2: hash = (37 * hash) + DOUBLE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getDouble())); break; case 3: hash = (37 * hash) + LONG_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getLong()); break; case 4: hash = (37 * hash) + BOOLEAN_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getBoolean()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); valCase_ = 0; val_ = null; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.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 clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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 STRING: { valCase_ = 1; val_ = other.val_; onChanged(); break; } case DOUBLE: { setDouble(other.getDouble()); break; } case LONG: { setLong(other.getLong()); break; } case BOOLEAN: { setBoolean(other.getBoolean()); break; } case VAL_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int valCase_ = 0; private java.lang.Object val_; public ValCase getValCase() { return ValCase.forNumber( valCase_); } public Builder clearVal() { valCase_ = 0; val_ = null; onChanged(); return this; } /** * string string = 1; */ public java.lang.String getString() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (valCase_ == 1) { val_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string string = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getStringBytes() { java.lang.Object ref = ""; if (valCase_ == 1) { ref = val_; } if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (valCase_ == 1) { val_ = b; } return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string string = 1; */ public Builder setString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } valCase_ = 1; val_ = value; onChanged(); return this; } /** * string string = 1; */ public Builder clearString() { if (valCase_ == 1) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * string string = 1; */ public Builder setStringBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valCase_ = 1; val_ = value; onChanged(); return this; } /** * double double = 2; */ public double getDouble() { if (valCase_ == 2) { return (java.lang.Double) val_; } return 0D; } /** * double double = 2; */ public Builder setDouble(double value) { valCase_ = 2; val_ = value; onChanged(); return this; } /** * double double = 2; */ public Builder clearDouble() { if (valCase_ == 2) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * int64 long = 3; */ public long getLong() { if (valCase_ == 3) { return (java.lang.Long) val_; } return 0L; } /** * int64 long = 3; */ public Builder setLong(long value) { valCase_ = 3; val_ = value; onChanged(); return this; } /** * int64 long = 3; */ public Builder clearLong() { if (valCase_ == 3) { valCase_ = 0; val_ = null; onChanged(); } return this; } /** * bool boolean = 4; */ public boolean getBoolean() { if (valCase_ == 4) { return (java.lang.Boolean) val_; } return false; } /** * bool boolean = 4; */ public Builder setBoolean(boolean value) { valCase_ = 4; val_ = value; onChanged(); return this; } /** * bool boolean = 4; */ public Builder clearBoolean() { if (valCase_ == 4) { valCase_ = 0; val_ = null; onChanged(); } return this; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public DetailValue parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new DetailValue(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string message = 1; */ java.lang.String getMessage(); /** * string message = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes(); /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ boolean hasException(); /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ org.glowroot.wire.api.model.Proto.Throwable getException(); /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getExceptionOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Error} */ public static final class Error extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Error) ErrorOrBuilder { private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Error() { message_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Error( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 18: { org.glowroot.wire.api.model.Proto.Throwable.Builder subBuilder = null; if (exception_ != null) { subBuilder = exception_.toBuilder(); } exception_ = input.readMessage(org.glowroot.wire.api.model.Proto.Throwable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(exception_); exception_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_; /** * 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** * string message = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int EXCEPTION_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.Proto.Throwable exception_; /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public boolean hasException() { return exception_ != null; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public org.glowroot.wire.api.model.Proto.Throwable getException() { return exception_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : exception_; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public org.glowroot.wire.api.model.Proto.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.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getMessageBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_); } if (exception_ != null) { output.writeMessage(2, getException()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_); } if (exception_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getException()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Error)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.Error other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Error) obj; boolean result = true; result = result && getMessage() .equals(other.getMessage()); result = result && (hasException() == other.hasException()); if (hasException()) { result = result && getException() .equals(other.getException()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (hasException()) { hash = (37 * hash) + EXCEPTION_FIELD_NUMBER; hash = (53 * hash) + getException().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); message_ = ""; if (exceptionBuilder_ == null) { exception_ = null; } else { exception_ = null; exceptionBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.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 clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Error parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object message_ = ""; /** * string message = 1; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string message = 1; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 1; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 1; */ public Builder setMessageBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.Throwable exception_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder> exceptionBuilder_; /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public boolean hasException() { return exceptionBuilder_ != null || exception_ != null; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public org.glowroot.wire.api.model.Proto.Throwable getException() { if (exceptionBuilder_ == null) { return exception_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : exception_; } else { return exceptionBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public Builder setException(org.glowroot.wire.api.model.Proto.Throwable value) { if (exceptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } exception_ = value; onChanged(); } else { exceptionBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public Builder setException( org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (exceptionBuilder_ == null) { exception_ = builderForValue.build(); onChanged(); } else { exceptionBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public Builder mergeException(org.glowroot.wire.api.model.Proto.Throwable value) { if (exceptionBuilder_ == null) { if (exception_ != null) { exception_ = org.glowroot.wire.api.model.Proto.Throwable.newBuilder(exception_).mergeFrom(value).buildPartial(); } else { exception_ = value; } onChanged(); } else { exceptionBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public Builder clearException() { if (exceptionBuilder_ == null) { exception_ = null; onChanged(); } else { exception_ = null; exceptionBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder getExceptionBuilder() { onChanged(); return getExceptionFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getExceptionOrBuilder() { if (exceptionBuilder_ != null) { return exceptionBuilder_.getMessageOrBuilder(); } else { return exception_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : exception_; } } /** * .org_glowroot_wire_api_model.Throwable exception = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { exceptionBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder>( getException(), getParentForChildren(), isClean()); exception_ = null; } return exceptionBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public Error parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Error(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimerOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Timer) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string name = 1; */ java.lang.String getName(); /** * string name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes(); /** * bool extended = 2; */ boolean getExtended(); /** * int64 total_nanos = 3; */ long getTotalNanos(); /** * int64 count = 4; */ long getCount(); /** *
       * whether timer was active at the time of a partial trace capture
       * 
* * bool active = 5; */ 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Timer) TimerOrBuilder { private static final long serialVersionUID = 0L; // Use Timer.newBuilder() to construct. private Timer(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Timer( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); name_ = s; break; } case 16: { 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.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { childTimer_ = java.util.Collections.unmodifiableList(childTimer_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int EXTENDED_FIELD_NUMBER = 2; private boolean extended_; /** * bool extended = 2; */ public boolean getExtended() { return extended_; } public static final int TOTAL_NANOS_FIELD_NUMBER = 3; private long totalNanos_; /** * int64 total_nanos = 3; */ public long getTotalNanos() { return totalNanos_; } public static final int COUNT_FIELD_NUMBER = 4; private long count_; /** * int64 count = 4; */ public long getCount() { return count_; } public static final int ACTIVE_FIELD_NUMBER = 5; private boolean active_; /** *
       * whether timer was active at the time of a partial trace capture
       * 
* * bool active = 5; */ 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.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (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)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (extended_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(2, extended_); } if (totalNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(3, totalNanos_); } if (count_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(4, count_); } if (active_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(5, active_); } for (int i = 0; i < childTimer_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(6, childTimer_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer) obj; boolean result = true; result = result && getName() .equals(other.getName()); result = result && (getExtended() == other.getExtended()); result = result && (getTotalNanos() == other.getTotalNanos()); result = result && (getCount() == other.getCount()); result = result && (getActive() == other.getActive()); result = result && getChildTimerList() .equals(other.getChildTimerList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + EXTENDED_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getExtended()); hash = (37 * hash) + TOTAL_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTotalNanos()); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getCount()); hash = (37 * hash) + ACTIVE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getActive()); if (getChildTimerCount() > 0) { hash = (37 * hash) + CHILD_TIMER_FIELD_NUMBER; hash = (53 * hash) + getChildTimerList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { 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.it.harness.shaded.com.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 clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getChildTimerFieldBuilder() : null; } else { childTimerBuilder_.addAllMessages(other.childTimer_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * string name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } name_ = value; onChanged(); return this; } /** * string name = 1; */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 1; */ public Builder setNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; onChanged(); return this; } private boolean extended_ ; /** * bool extended = 2; */ public boolean getExtended() { return extended_; } /** * bool extended = 2; */ public Builder setExtended(boolean value) { extended_ = value; onChanged(); return this; } /** * bool extended = 2; */ public Builder clearExtended() { extended_ = false; onChanged(); return this; } private long totalNanos_ ; /** * int64 total_nanos = 3; */ public long getTotalNanos() { return totalNanos_; } /** * int64 total_nanos = 3; */ public Builder setTotalNanos(long value) { totalNanos_ = value; onChanged(); return this; } /** * int64 total_nanos = 3; */ public Builder clearTotalNanos() { totalNanos_ = 0L; onChanged(); return this; } private long count_ ; /** * int64 count = 4; */ public long getCount() { return count_; } /** * int64 count = 4; */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** * int64 count = 4; */ public Builder clearCount() { count_ = 0L; onChanged(); return this; } private boolean active_ ; /** *
         * whether timer was active at the time of a partial trace capture
         * 
* * bool active = 5; */ public boolean getActive() { return active_; } /** *
         * whether timer was active at the time of a partial trace capture
         * 
* * bool active = 5; */ public Builder setActive(boolean value) { active_ = value; onChanged(); return this; } /** *
         * whether timer was active at the time of a partial trace capture
         * 
* * bool active = 5; */ 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public Timer parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Timer(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Timer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OldThreadStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.OldThreadStats) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ boolean hasTotalCpuNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalCpuNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalCpuNanosOrBuilder(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ boolean hasTotalBlockedNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalBlockedNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalBlockedNanosOrBuilder(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ boolean hasTotalWaitedNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalWaitedNanos(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalWaitedNanosOrBuilder(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ boolean hasTotalAllocatedBytes(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalAllocatedBytes(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalAllocatedBytesOrBuilder(); } /** *
     * deprecated in 0.10.9
     * 
* * Protobuf type {@code org_glowroot_wire_api_model.Trace.OldThreadStats} */ public static final class OldThreadStats extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.OldThreadStats) OldThreadStatsOrBuilder { private static final long serialVersionUID = 0L; // Use OldThreadStats.newBuilder() to construct. private OldThreadStats(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OldThreadStats() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OldThreadStats( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null; if (totalCpuNanos_ != null) { subBuilder = totalCpuNanos_.toBuilder(); } totalCpuNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalCpuNanos_); totalCpuNanos_ = subBuilder.buildPartial(); } break; } case 18: { org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null; if (totalBlockedNanos_ != null) { subBuilder = totalBlockedNanos_.toBuilder(); } totalBlockedNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalBlockedNanos_); totalBlockedNanos_ = subBuilder.buildPartial(); } break; } case 26: { org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null; if (totalWaitedNanos_ != null) { subBuilder = totalWaitedNanos_.toBuilder(); } totalWaitedNanos_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalWaitedNanos_); totalWaitedNanos_ = subBuilder.buildPartial(); } break; } case 34: { org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null; if (totalAllocatedBytes_ != null) { subBuilder = totalAllocatedBytes_.toBuilder(); } totalAllocatedBytes_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalAllocatedBytes_); totalAllocatedBytes_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder.class); } public static final int TOTAL_CPU_NANOS_FIELD_NUMBER = 1; private org.glowroot.wire.api.model.Proto.OptionalInt64 totalCpuNanos_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public boolean hasTotalCpuNanos() { return totalCpuNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalCpuNanos() { return totalCpuNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalCpuNanos_; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalCpuNanosOrBuilder() { return getTotalCpuNanos(); } public static final int TOTAL_BLOCKED_NANOS_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.Proto.OptionalInt64 totalBlockedNanos_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public boolean hasTotalBlockedNanos() { return totalBlockedNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalBlockedNanos() { return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalBlockedNanos_; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalBlockedNanosOrBuilder() { return getTotalBlockedNanos(); } public static final int TOTAL_WAITED_NANOS_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.Proto.OptionalInt64 totalWaitedNanos_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public boolean hasTotalWaitedNanos() { return totalWaitedNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalWaitedNanos() { return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalWaitedNanos_; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalWaitedNanosOrBuilder() { return getTotalWaitedNanos(); } public static final int TOTAL_ALLOCATED_BYTES_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.Proto.OptionalInt64 totalAllocatedBytes_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public boolean hasTotalAllocatedBytes() { return totalAllocatedBytes_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalAllocatedBytes() { return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalAllocatedBytes_; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalAllocatedBytesOrBuilder() { return getTotalAllocatedBytes(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (totalCpuNanos_ != null) { output.writeMessage(1, getTotalCpuNanos()); } if (totalBlockedNanos_ != null) { output.writeMessage(2, getTotalBlockedNanos()); } if (totalWaitedNanos_ != null) { output.writeMessage(3, getTotalWaitedNanos()); } if (totalAllocatedBytes_ != null) { output.writeMessage(4, getTotalAllocatedBytes()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (totalCpuNanos_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTotalCpuNanos()); } if (totalBlockedNanos_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTotalBlockedNanos()); } if (totalWaitedNanos_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTotalWaitedNanos()); } if (totalAllocatedBytes_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTotalAllocatedBytes()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats) obj; boolean result = true; result = result && (hasTotalCpuNanos() == other.hasTotalCpuNanos()); if (hasTotalCpuNanos()) { result = result && getTotalCpuNanos() .equals(other.getTotalCpuNanos()); } result = result && (hasTotalBlockedNanos() == other.hasTotalBlockedNanos()); if (hasTotalBlockedNanos()) { result = result && getTotalBlockedNanos() .equals(other.getTotalBlockedNanos()); } result = result && (hasTotalWaitedNanos() == other.hasTotalWaitedNanos()); if (hasTotalWaitedNanos()) { result = result && getTotalWaitedNanos() .equals(other.getTotalWaitedNanos()); } result = result && (hasTotalAllocatedBytes() == other.hasTotalAllocatedBytes()); if (hasTotalAllocatedBytes()) { result = result && getTotalAllocatedBytes() .equals(other.getTotalAllocatedBytes()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasTotalCpuNanos()) { hash = (37 * hash) + TOTAL_CPU_NANOS_FIELD_NUMBER; hash = (53 * hash) + getTotalCpuNanos().hashCode(); } if (hasTotalBlockedNanos()) { hash = (37 * hash) + TOTAL_BLOCKED_NANOS_FIELD_NUMBER; hash = (53 * hash) + getTotalBlockedNanos().hashCode(); } if (hasTotalWaitedNanos()) { hash = (37 * hash) + TOTAL_WAITED_NANOS_FIELD_NUMBER; hash = (53 * hash) + getTotalWaitedNanos().hashCode(); } if (hasTotalAllocatedBytes()) { hash = (37 * hash) + TOTAL_ALLOCATED_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTotalAllocatedBytes().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
       * deprecated in 0.10.9
       * 
* * Protobuf type {@code org_glowroot_wire_api_model.Trace.OldThreadStats} */ public static final class Builder extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Trace.OldThreadStats) org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStatsOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (totalCpuNanosBuilder_ == null) { totalCpuNanos_ = null; } else { totalCpuNanos_ = null; totalCpuNanosBuilder_ = null; } if (totalBlockedNanosBuilder_ == null) { totalBlockedNanos_ = null; } else { totalBlockedNanos_ = null; totalBlockedNanosBuilder_ = null; } if (totalWaitedNanosBuilder_ == null) { totalWaitedNanos_ = null; } else { totalWaitedNanos_ = null; totalWaitedNanosBuilder_ = null; } if (totalAllocatedBytesBuilder_ == null) { totalAllocatedBytes_ = null; } else { totalAllocatedBytes_ = null; totalAllocatedBytesBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats(this); if (totalCpuNanosBuilder_ == null) { result.totalCpuNanos_ = totalCpuNanos_; } else { result.totalCpuNanos_ = totalCpuNanosBuilder_.build(); } if (totalBlockedNanosBuilder_ == null) { result.totalBlockedNanos_ = totalBlockedNanos_; } else { result.totalBlockedNanos_ = totalBlockedNanosBuilder_.build(); } if (totalWaitedNanosBuilder_ == null) { result.totalWaitedNanos_ = totalWaitedNanos_; } else { result.totalWaitedNanos_ = totalWaitedNanosBuilder_.build(); } if (totalAllocatedBytesBuilder_ == null) { result.totalAllocatedBytes_ = totalAllocatedBytes_; } else { result.totalAllocatedBytes_ = totalAllocatedBytesBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats.getDefaultInstance()) return this; if (other.hasTotalCpuNanos()) { mergeTotalCpuNanos(other.getTotalCpuNanos()); } if (other.hasTotalBlockedNanos()) { mergeTotalBlockedNanos(other.getTotalBlockedNanos()); } if (other.hasTotalWaitedNanos()) { mergeTotalWaitedNanos(other.getTotalWaitedNanos()); } if (other.hasTotalAllocatedBytes()) { mergeTotalAllocatedBytes(other.getTotalAllocatedBytes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.glowroot.wire.api.model.Proto.OptionalInt64 totalCpuNanos_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalCpuNanosBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public boolean hasTotalCpuNanos() { return totalCpuNanosBuilder_ != null || totalCpuNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalCpuNanos() { if (totalCpuNanosBuilder_ == null) { return totalCpuNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalCpuNanos_; } else { return totalCpuNanosBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public Builder setTotalCpuNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalCpuNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalCpuNanos_ = value; onChanged(); } else { totalCpuNanosBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public Builder setTotalCpuNanos( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (totalCpuNanosBuilder_ == null) { totalCpuNanos_ = builderForValue.build(); onChanged(); } else { totalCpuNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public Builder mergeTotalCpuNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalCpuNanosBuilder_ == null) { if (totalCpuNanos_ != null) { totalCpuNanos_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalCpuNanos_).mergeFrom(value).buildPartial(); } else { totalCpuNanos_ = value; } onChanged(); } else { totalCpuNanosBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public Builder clearTotalCpuNanos() { if (totalCpuNanosBuilder_ == null) { totalCpuNanos_ = null; onChanged(); } else { totalCpuNanos_ = null; totalCpuNanosBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalCpuNanosBuilder() { onChanged(); return getTotalCpuNanosFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalCpuNanosOrBuilder() { if (totalCpuNanosBuilder_ != null) { return totalCpuNanosBuilder_.getMessageOrBuilder(); } else { return totalCpuNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalCpuNanos_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_cpu_nanos = 1; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> getTotalCpuNanosFieldBuilder() { if (totalCpuNanosBuilder_ == null) { totalCpuNanosBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>( getTotalCpuNanos(), getParentForChildren(), isClean()); totalCpuNanos_ = null; } return totalCpuNanosBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt64 totalBlockedNanos_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalBlockedNanosBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public boolean hasTotalBlockedNanos() { return totalBlockedNanosBuilder_ != null || totalBlockedNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalBlockedNanos() { if (totalBlockedNanosBuilder_ == null) { return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalBlockedNanos_; } else { return totalBlockedNanosBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public Builder setTotalBlockedNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalBlockedNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalBlockedNanos_ = value; onChanged(); } else { totalBlockedNanosBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public Builder setTotalBlockedNanos( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (totalBlockedNanosBuilder_ == null) { totalBlockedNanos_ = builderForValue.build(); onChanged(); } else { totalBlockedNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public Builder mergeTotalBlockedNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalBlockedNanosBuilder_ == null) { if (totalBlockedNanos_ != null) { totalBlockedNanos_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalBlockedNanos_).mergeFrom(value).buildPartial(); } else { totalBlockedNanos_ = value; } onChanged(); } else { totalBlockedNanosBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public Builder clearTotalBlockedNanos() { if (totalBlockedNanosBuilder_ == null) { totalBlockedNanos_ = null; onChanged(); } else { totalBlockedNanos_ = null; totalBlockedNanosBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalBlockedNanosBuilder() { onChanged(); return getTotalBlockedNanosFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalBlockedNanosOrBuilder() { if (totalBlockedNanosBuilder_ != null) { return totalBlockedNanosBuilder_.getMessageOrBuilder(); } else { return totalBlockedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalBlockedNanos_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_blocked_nanos = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> getTotalBlockedNanosFieldBuilder() { if (totalBlockedNanosBuilder_ == null) { totalBlockedNanosBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>( getTotalBlockedNanos(), getParentForChildren(), isClean()); totalBlockedNanos_ = null; } return totalBlockedNanosBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt64 totalWaitedNanos_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalWaitedNanosBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public boolean hasTotalWaitedNanos() { return totalWaitedNanosBuilder_ != null || totalWaitedNanos_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalWaitedNanos() { if (totalWaitedNanosBuilder_ == null) { return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalWaitedNanos_; } else { return totalWaitedNanosBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public Builder setTotalWaitedNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalWaitedNanosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalWaitedNanos_ = value; onChanged(); } else { totalWaitedNanosBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public Builder setTotalWaitedNanos( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (totalWaitedNanosBuilder_ == null) { totalWaitedNanos_ = builderForValue.build(); onChanged(); } else { totalWaitedNanosBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public Builder mergeTotalWaitedNanos(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalWaitedNanosBuilder_ == null) { if (totalWaitedNanos_ != null) { totalWaitedNanos_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalWaitedNanos_).mergeFrom(value).buildPartial(); } else { totalWaitedNanos_ = value; } onChanged(); } else { totalWaitedNanosBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public Builder clearTotalWaitedNanos() { if (totalWaitedNanosBuilder_ == null) { totalWaitedNanos_ = null; onChanged(); } else { totalWaitedNanos_ = null; totalWaitedNanosBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalWaitedNanosBuilder() { onChanged(); return getTotalWaitedNanosFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalWaitedNanosOrBuilder() { if (totalWaitedNanosBuilder_ != null) { return totalWaitedNanosBuilder_.getMessageOrBuilder(); } else { return totalWaitedNanos_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalWaitedNanos_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_waited_nanos = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> getTotalWaitedNanosFieldBuilder() { if (totalWaitedNanosBuilder_ == null) { totalWaitedNanosBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>( getTotalWaitedNanos(), getParentForChildren(), isClean()); totalWaitedNanos_ = null; } return totalWaitedNanosBuilder_; } private org.glowroot.wire.api.model.Proto.OptionalInt64 totalAllocatedBytes_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalAllocatedBytesBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public boolean hasTotalAllocatedBytes() { return totalAllocatedBytesBuilder_ != null || totalAllocatedBytes_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalAllocatedBytes() { if (totalAllocatedBytesBuilder_ == null) { return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalAllocatedBytes_; } else { return totalAllocatedBytesBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public Builder setTotalAllocatedBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalAllocatedBytesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalAllocatedBytes_ = value; onChanged(); } else { totalAllocatedBytesBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public Builder setTotalAllocatedBytes( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (totalAllocatedBytesBuilder_ == null) { totalAllocatedBytes_ = builderForValue.build(); onChanged(); } else { totalAllocatedBytesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public Builder mergeTotalAllocatedBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalAllocatedBytesBuilder_ == null) { if (totalAllocatedBytes_ != null) { totalAllocatedBytes_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalAllocatedBytes_).mergeFrom(value).buildPartial(); } else { totalAllocatedBytes_ = value; } onChanged(); } else { totalAllocatedBytesBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public Builder clearTotalAllocatedBytes() { if (totalAllocatedBytesBuilder_ == null) { totalAllocatedBytes_ = null; onChanged(); } else { totalAllocatedBytes_ = null; totalAllocatedBytesBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalAllocatedBytesBuilder() { onChanged(); return getTotalAllocatedBytesFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalAllocatedBytesOrBuilder() { if (totalAllocatedBytesBuilder_ != null) { return totalAllocatedBytesBuilder_.getMessageOrBuilder(); } else { return totalAllocatedBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalAllocatedBytes_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_allocated_bytes = 4; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> getTotalAllocatedBytesFieldBuilder() { if (totalAllocatedBytesBuilder_ == null) { totalAllocatedBytesBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>( getTotalAllocatedBytes(), getParentForChildren(), isClean()); totalAllocatedBytes_ = null; } return totalAllocatedBytesBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.OldThreadStats) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.OldThreadStats) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public OldThreadStats parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new OldThreadStats(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.OldThreadStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ThreadStatsOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.ThreadStats) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** *
       * -1 means N/A
       * 
* * sint64 total_cpu_nanos = 1; */ long getTotalCpuNanos(); /** *
       * -1 means N/A
       * 
* * sint64 total_blocked_nanos = 2; */ long getTotalBlockedNanos(); /** *
       * -1 means N/A
       * 
* * sint64 total_waited_nanos = 3; */ long getTotalWaitedNanos(); /** *
       * -1 means N/A
       * 
* * sint64 total_allocated_bytes = 4; */ long getTotalAllocatedBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.ThreadStats} */ public static final class ThreadStats extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.ThreadStats) ThreadStatsOrBuilder { private static final long serialVersionUID = 0L; // Use ThreadStats.newBuilder() to construct. private ThreadStats(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ThreadStats() { totalCpuNanos_ = 0L; totalBlockedNanos_ = 0L; totalWaitedNanos_ = 0L; totalAllocatedBytes_ = 0L; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ThreadStats( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { totalCpuNanos_ = input.readSInt64(); break; } case 16: { totalBlockedNanos_ = input.readSInt64(); break; } case 24: { totalWaitedNanos_ = input.readSInt64(); break; } case 32: { totalAllocatedBytes_ = input.readSInt64(); break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder.class); } public static final int TOTAL_CPU_NANOS_FIELD_NUMBER = 1; private long totalCpuNanos_; /** *
       * -1 means N/A
       * 
* * sint64 total_cpu_nanos = 1; */ public long getTotalCpuNanos() { return totalCpuNanos_; } public static final int TOTAL_BLOCKED_NANOS_FIELD_NUMBER = 2; private long totalBlockedNanos_; /** *
       * -1 means N/A
       * 
* * sint64 total_blocked_nanos = 2; */ public long getTotalBlockedNanos() { return totalBlockedNanos_; } public static final int TOTAL_WAITED_NANOS_FIELD_NUMBER = 3; private long totalWaitedNanos_; /** *
       * -1 means N/A
       * 
* * sint64 total_waited_nanos = 3; */ public long getTotalWaitedNanos() { return totalWaitedNanos_; } public static final int TOTAL_ALLOCATED_BYTES_FIELD_NUMBER = 4; private long totalAllocatedBytes_; /** *
       * -1 means N/A
       * 
* * sint64 total_allocated_bytes = 4; */ public long getTotalAllocatedBytes() { return totalAllocatedBytes_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (totalCpuNanos_ != 0L) { output.writeSInt64(1, totalCpuNanos_); } if (totalBlockedNanos_ != 0L) { output.writeSInt64(2, totalBlockedNanos_); } if (totalWaitedNanos_ != 0L) { output.writeSInt64(3, totalWaitedNanos_); } if (totalAllocatedBytes_ != 0L) { output.writeSInt64(4, totalAllocatedBytes_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (totalCpuNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeSInt64Size(1, totalCpuNanos_); } if (totalBlockedNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeSInt64Size(2, totalBlockedNanos_); } if (totalWaitedNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeSInt64Size(3, totalWaitedNanos_); } if (totalAllocatedBytes_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeSInt64Size(4, totalAllocatedBytes_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats) obj; boolean result = true; result = result && (getTotalCpuNanos() == other.getTotalCpuNanos()); result = result && (getTotalBlockedNanos() == other.getTotalBlockedNanos()); result = result && (getTotalWaitedNanos() == other.getTotalWaitedNanos()); result = result && (getTotalAllocatedBytes() == other.getTotalAllocatedBytes()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TOTAL_CPU_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTotalCpuNanos()); hash = (37 * hash) + TOTAL_BLOCKED_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTotalBlockedNanos()); hash = (37 * hash) + TOTAL_WAITED_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTotalWaitedNanos()); hash = (37 * hash) + TOTAL_ALLOCATED_BYTES_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTotalAllocatedBytes()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.ThreadStats} */ public static final class Builder extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Trace.ThreadStats) org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStatsOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); totalCpuNanos_ = 0L; totalBlockedNanos_ = 0L; totalWaitedNanos_ = 0L; totalAllocatedBytes_ = 0L; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats(this); result.totalCpuNanos_ = totalCpuNanos_; result.totalBlockedNanos_ = totalBlockedNanos_; result.totalWaitedNanos_ = totalWaitedNanos_; result.totalAllocatedBytes_ = totalAllocatedBytes_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats.getDefaultInstance()) return this; if (other.getTotalCpuNanos() != 0L) { setTotalCpuNanos(other.getTotalCpuNanos()); } if (other.getTotalBlockedNanos() != 0L) { setTotalBlockedNanos(other.getTotalBlockedNanos()); } if (other.getTotalWaitedNanos() != 0L) { setTotalWaitedNanos(other.getTotalWaitedNanos()); } if (other.getTotalAllocatedBytes() != 0L) { setTotalAllocatedBytes(other.getTotalAllocatedBytes()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long totalCpuNanos_ ; /** *
         * -1 means N/A
         * 
* * sint64 total_cpu_nanos = 1; */ public long getTotalCpuNanos() { return totalCpuNanos_; } /** *
         * -1 means N/A
         * 
* * sint64 total_cpu_nanos = 1; */ public Builder setTotalCpuNanos(long value) { totalCpuNanos_ = value; onChanged(); return this; } /** *
         * -1 means N/A
         * 
* * sint64 total_cpu_nanos = 1; */ public Builder clearTotalCpuNanos() { totalCpuNanos_ = 0L; onChanged(); return this; } private long totalBlockedNanos_ ; /** *
         * -1 means N/A
         * 
* * sint64 total_blocked_nanos = 2; */ public long getTotalBlockedNanos() { return totalBlockedNanos_; } /** *
         * -1 means N/A
         * 
* * sint64 total_blocked_nanos = 2; */ public Builder setTotalBlockedNanos(long value) { totalBlockedNanos_ = value; onChanged(); return this; } /** *
         * -1 means N/A
         * 
* * sint64 total_blocked_nanos = 2; */ public Builder clearTotalBlockedNanos() { totalBlockedNanos_ = 0L; onChanged(); return this; } private long totalWaitedNanos_ ; /** *
         * -1 means N/A
         * 
* * sint64 total_waited_nanos = 3; */ public long getTotalWaitedNanos() { return totalWaitedNanos_; } /** *
         * -1 means N/A
         * 
* * sint64 total_waited_nanos = 3; */ public Builder setTotalWaitedNanos(long value) { totalWaitedNanos_ = value; onChanged(); return this; } /** *
         * -1 means N/A
         * 
* * sint64 total_waited_nanos = 3; */ public Builder clearTotalWaitedNanos() { totalWaitedNanos_ = 0L; onChanged(); return this; } private long totalAllocatedBytes_ ; /** *
         * -1 means N/A
         * 
* * sint64 total_allocated_bytes = 4; */ public long getTotalAllocatedBytes() { return totalAllocatedBytes_; } /** *
         * -1 means N/A
         * 
* * sint64 total_allocated_bytes = 4; */ public Builder setTotalAllocatedBytes(long value) { totalAllocatedBytes_ = value; onChanged(); return this; } /** *
         * -1 means N/A
         * 
* * sint64 total_allocated_bytes = 4; */ public Builder clearTotalAllocatedBytes() { totalAllocatedBytes_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.ThreadStats) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.ThreadStats) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public ThreadStats parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new ThreadStats(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.ThreadStats getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EntryOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.Entry) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int32 depth = 1; */ int getDepth(); /** *
       * start time relative to trace start
       * 
* * int64 start_offset_nanos = 2; */ long getStartOffsetNanos(); /** * int64 duration_nanos = 3; */ long getDurationNanos(); /** *
       * whether entry was active at the time of a partial trace capture
       * 
* * bool active = 4; */ boolean getActive(); /** *
       * message is empty for trace entries added using addErrorEntry()
       * 
* * string message = 5; */ java.lang.String getMessage(); /** *
       * message is empty for trace entries added using addErrorEntry()
       * 
* * string message = 5; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes(); /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ boolean hasQueryEntryMessage(); /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getQueryEntryMessage(); /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder getQueryEntryMessageOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ java.util.List getDetailEntryList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry getDetailEntry(int index); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ int getDetailEntryCount(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ java.util.List getDetailEntryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntryOrBuilder getDetailEntryOrBuilder( int index); /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ java.util.List getLocationStackTraceElementList(); /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ org.glowroot.wire.api.model.Proto.StackTraceElement getLocationStackTraceElement(int index); /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ int getLocationStackTraceElementCount(); /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ java.util.List getLocationStackTraceElementOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index); /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ boolean hasError(); /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError(); /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.Entry} */ public static final class Entry extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.Entry) EntryOrBuilder { private static final long serialVersionUID = 0L; // Use Entry.newBuilder() to construct. private Entry(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Entry() { depth_ = 0; startOffsetNanos_ = 0L; durationNanos_ = 0L; active_ = false; message_ = ""; detailEntry_ = java.util.Collections.emptyList(); locationStackTraceElement_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Entry( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { depth_ = input.readInt32(); break; } case 16: { startOffsetNanos_ = input.readInt64(); break; } case 24: { durationNanos_ = input.readInt64(); break; } case 32: { active_ = input.readBool(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { detailEntry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } detailEntry_.add( input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.DetailEntry.parser(), extensionRegistry)); break; } case 58: { if (!((mutable_bitField0_ & 0x00000080) == 0x00000080)) { locationStackTraceElement_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000080; } locationStackTraceElement_.add( input.readMessage(org.glowroot.wire.api.model.Proto.StackTraceElement.parser(), extensionRegistry)); break; } case 66: { 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 74: { org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder subBuilder = null; if (queryEntryMessage_ != null) { subBuilder = queryEntryMessage_.toBuilder(); } queryEntryMessage_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryEntryMessage_); queryEntryMessage_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); } if (((mutable_bitField0_ & 0x00000080) == 0x00000080)) { locationStackTraceElement_ = java.util.Collections.unmodifiableList(locationStackTraceElement_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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 DEPTH_FIELD_NUMBER = 1; private int depth_; /** * int32 depth = 1; */ public int getDepth() { return depth_; } public static final int START_OFFSET_NANOS_FIELD_NUMBER = 2; private long startOffsetNanos_; /** *
       * start time relative to trace start
       * 
* * int64 start_offset_nanos = 2; */ public long getStartOffsetNanos() { return startOffsetNanos_; } public static final int DURATION_NANOS_FIELD_NUMBER = 3; private long durationNanos_; /** * int64 duration_nanos = 3; */ public long getDurationNanos() { return durationNanos_; } public static final int ACTIVE_FIELD_NUMBER = 4; private boolean active_; /** *
       * whether entry was active at the time of a partial trace capture
       * 
* * bool active = 4; */ public boolean getActive() { return active_; } public static final int MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object message_; /** *
       * message is empty for trace entries added using addErrorEntry()
       * 
* * string message = 5; */ 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.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** *
       * message is empty for trace entries added using addErrorEntry()
       * 
* * string message = 5; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int QUERY_ENTRY_MESSAGE_FIELD_NUMBER = 9; private org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage queryEntryMessage_; /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public boolean hasQueryEntryMessage() { return queryEntryMessage_ != null; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getQueryEntryMessage() { return queryEntryMessage_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.getDefaultInstance() : queryEntryMessage_; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder getQueryEntryMessageOrBuilder() { return getQueryEntryMessage(); } public static final int DETAIL_ENTRY_FIELD_NUMBER = 6; private java.util.List detailEntry_; /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ public java.util.List getDetailEntryList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ public java.util.List getDetailEntryOrBuilderList() { return detailEntry_; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ public int getDetailEntryCount() { return detailEntry_.size(); } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ 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 = 6; */ 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 = 7; private java.util.List locationStackTraceElement_; /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public java.util.List getLocationStackTraceElementList() { return locationStackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public java.util.List getLocationStackTraceElementOrBuilderList() { return locationStackTraceElement_; } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public int getLocationStackTraceElementCount() { return locationStackTraceElement_.size(); } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElement getLocationStackTraceElement(int index) { return locationStackTraceElement_.get(index); } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index) { return locationStackTraceElement_.get(index); } public static final int ERROR_FIELD_NUMBER = 8; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_; /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public boolean hasError() { return error_ != null; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error getError() { return error_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.getDefaultInstance() : error_; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.ErrorOrBuilder getErrorOrBuilder() { return getError(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (depth_ != 0) { output.writeInt32(1, depth_); } if (startOffsetNanos_ != 0L) { output.writeInt64(2, startOffsetNanos_); } if (durationNanos_ != 0L) { output.writeInt64(3, durationNanos_); } if (active_ != false) { output.writeBool(4, active_); } if (!getMessageBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, message_); } for (int i = 0; i < detailEntry_.size(); i++) { output.writeMessage(6, detailEntry_.get(i)); } for (int i = 0; i < locationStackTraceElement_.size(); i++) { output.writeMessage(7, locationStackTraceElement_.get(i)); } if (error_ != null) { output.writeMessage(8, getError()); } if (queryEntryMessage_ != null) { output.writeMessage(9, getQueryEntryMessage()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (depth_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(1, depth_); } if (startOffsetNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(2, startOffsetNanos_); } if (durationNanos_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(3, durationNanos_); } if (active_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(4, active_); } if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(5, message_); } for (int i = 0; i < detailEntry_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(6, detailEntry_.get(i)); } for (int i = 0; i < locationStackTraceElement_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(7, locationStackTraceElement_.get(i)); } if (error_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(8, getError()); } if (queryEntryMessage_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(9, getQueryEntryMessage()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) obj; boolean result = true; result = result && (getDepth() == other.getDepth()); result = result && (getStartOffsetNanos() == other.getStartOffsetNanos()); result = result && (getDurationNanos() == other.getDurationNanos()); result = result && (getActive() == other.getActive()); result = result && getMessage() .equals(other.getMessage()); result = result && (hasQueryEntryMessage() == other.hasQueryEntryMessage()); if (hasQueryEntryMessage()) { result = result && getQueryEntryMessage() .equals(other.getQueryEntryMessage()); } result = result && getDetailEntryList() .equals(other.getDetailEntryList()); result = result && getLocationStackTraceElementList() .equals(other.getLocationStackTraceElementList()); result = result && (hasError() == other.hasError()); if (hasError()) { result = result && getError() .equals(other.getError()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + DEPTH_FIELD_NUMBER; hash = (53 * hash) + getDepth(); hash = (37 * hash) + START_OFFSET_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getStartOffsetNanos()); hash = (37 * hash) + DURATION_NANOS_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getDurationNanos()); hash = (37 * hash) + ACTIVE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getActive()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (hasQueryEntryMessage()) { hash = (37 * hash) + QUERY_ENTRY_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getQueryEntryMessage().hashCode(); } if (getDetailEntryCount() > 0) { hash = (37 * hash) + DETAIL_ENTRY_FIELD_NUMBER; hash = (53 * hash) + getDetailEntryList().hashCode(); } if (getLocationStackTraceElementCount() > 0) { hash = (37 * hash) + LOCATION_STACK_TRACE_ELEMENT_FIELD_NUMBER; hash = (53 * hash) + getLocationStackTraceElementList().hashCode(); } if (hasError()) { hash = (37 * hash) + ERROR_FIELD_NUMBER; hash = (53 * hash) + getError().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDetailEntryFieldBuilder(); getLocationStackTraceElementFieldBuilder(); } } public Builder clear() { super.clear(); depth_ = 0; startOffsetNanos_ = 0L; durationNanos_ = 0L; active_ = false; message_ = ""; if (queryEntryMessageBuilder_ == null) { queryEntryMessage_ = null; } else { queryEntryMessage_ = null; queryEntryMessageBuilder_ = null; } if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { detailEntryBuilder_.clear(); } if (locationStackTraceElementBuilder_ == null) { locationStackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { locationStackTraceElementBuilder_.clear(); } if (errorBuilder_ == null) { error_ = null; } else { error_ = null; errorBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.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.depth_ = depth_; result.startOffsetNanos_ = startOffsetNanos_; result.durationNanos_ = durationNanos_; result.active_ = active_; result.message_ = message_; if (queryEntryMessageBuilder_ == null) { result.queryEntryMessage_ = queryEntryMessage_; } else { result.queryEntryMessage_ = queryEntryMessageBuilder_.build(); } if (detailEntryBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { detailEntry_ = java.util.Collections.unmodifiableList(detailEntry_); bitField0_ = (bitField0_ & ~0x00000040); } result.detailEntry_ = detailEntry_; } else { result.detailEntry_ = detailEntryBuilder_.build(); } if (locationStackTraceElementBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { locationStackTraceElement_ = java.util.Collections.unmodifiableList(locationStackTraceElement_); bitField0_ = (bitField0_ & ~0x00000080); } result.locationStackTraceElement_ = locationStackTraceElement_; } else { result.locationStackTraceElement_ = locationStackTraceElementBuilder_.build(); } if (errorBuilder_ == null) { result.error_ = error_; } else { result.error_ = errorBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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.getDepth() != 0) { setDepth(other.getDepth()); } 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 (other.hasQueryEntryMessage()) { mergeQueryEntryMessage(other.getQueryEntryMessage()); } if (detailEntryBuilder_ == null) { if (!other.detailEntry_.isEmpty()) { if (detailEntry_.isEmpty()) { detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureDetailEntryIsMutable(); detailEntry_.addAll(other.detailEntry_); } onChanged(); } } else { if (!other.detailEntry_.isEmpty()) { if (detailEntryBuilder_.isEmpty()) { detailEntryBuilder_.dispose(); detailEntryBuilder_ = null; detailEntry_ = other.detailEntry_; bitField0_ = (bitField0_ & ~0x00000040); detailEntryBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDetailEntryFieldBuilder() : null; } else { detailEntryBuilder_.addAllMessages(other.detailEntry_); } } } if (locationStackTraceElementBuilder_ == null) { if (!other.locationStackTraceElement_.isEmpty()) { if (locationStackTraceElement_.isEmpty()) { locationStackTraceElement_ = other.locationStackTraceElement_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureLocationStackTraceElementIsMutable(); locationStackTraceElement_.addAll(other.locationStackTraceElement_); } onChanged(); } } else { if (!other.locationStackTraceElement_.isEmpty()) { if (locationStackTraceElementBuilder_.isEmpty()) { locationStackTraceElementBuilder_.dispose(); locationStackTraceElementBuilder_ = null; locationStackTraceElement_ = other.locationStackTraceElement_; bitField0_ = (bitField0_ & ~0x00000080); locationStackTraceElementBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationStackTraceElementFieldBuilder() : null; } else { locationStackTraceElementBuilder_.addAllMessages(other.locationStackTraceElement_); } } } if (other.hasError()) { mergeError(other.getError()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int depth_ ; /** * int32 depth = 1; */ public int getDepth() { return depth_; } /** * int32 depth = 1; */ public Builder setDepth(int value) { depth_ = value; onChanged(); return this; } /** * int32 depth = 1; */ public Builder clearDepth() { depth_ = 0; onChanged(); return this; } private long startOffsetNanos_ ; /** *
         * start time relative to trace start
         * 
* * int64 start_offset_nanos = 2; */ public long getStartOffsetNanos() { return startOffsetNanos_; } /** *
         * start time relative to trace start
         * 
* * int64 start_offset_nanos = 2; */ public Builder setStartOffsetNanos(long value) { startOffsetNanos_ = value; onChanged(); return this; } /** *
         * start time relative to trace start
         * 
* * int64 start_offset_nanos = 2; */ public Builder clearStartOffsetNanos() { startOffsetNanos_ = 0L; onChanged(); return this; } private long durationNanos_ ; /** * int64 duration_nanos = 3; */ public long getDurationNanos() { return durationNanos_; } /** * int64 duration_nanos = 3; */ public Builder setDurationNanos(long value) { durationNanos_ = value; onChanged(); return this; } /** * int64 duration_nanos = 3; */ public Builder clearDurationNanos() { durationNanos_ = 0L; onChanged(); return this; } private boolean active_ ; /** *
         * whether entry was active at the time of a partial trace capture
         * 
* * bool active = 4; */ public boolean getActive() { return active_; } /** *
         * whether entry was active at the time of a partial trace capture
         * 
* * bool active = 4; */ public Builder setActive(boolean value) { active_ = value; onChanged(); return this; } /** *
         * whether entry was active at the time of a partial trace capture
         * 
* * bool active = 4; */ public Builder clearActive() { active_ = false; onChanged(); return this; } private java.lang.Object message_ = ""; /** *
         * message is empty for trace entries added using addErrorEntry()
         * 
* * string message = 5; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * message is empty for trace entries added using addErrorEntry()
         * 
* * string message = 5; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
         * message is empty for trace entries added using addErrorEntry()
         * 
* * string message = 5; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** *
         * message is empty for trace entries added using addErrorEntry()
         * 
* * string message = 5; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** *
         * message is empty for trace entries added using addErrorEntry()
         * 
* * string message = 5; */ public Builder setMessageBytes( org.glowroot.agent.it.harness.shaded.com.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.QueryEntryMessage queryEntryMessage_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder> queryEntryMessageBuilder_; /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public boolean hasQueryEntryMessage() { return queryEntryMessageBuilder_ != null || queryEntryMessage_ != null; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getQueryEntryMessage() { if (queryEntryMessageBuilder_ == null) { return queryEntryMessage_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.getDefaultInstance() : queryEntryMessage_; } else { return queryEntryMessageBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public Builder setQueryEntryMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage value) { if (queryEntryMessageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryEntryMessage_ = value; onChanged(); } else { queryEntryMessageBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public Builder setQueryEntryMessage( org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder builderForValue) { if (queryEntryMessageBuilder_ == null) { queryEntryMessage_ = builderForValue.build(); onChanged(); } else { queryEntryMessageBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public Builder mergeQueryEntryMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage value) { if (queryEntryMessageBuilder_ == null) { if (queryEntryMessage_ != null) { queryEntryMessage_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.newBuilder(queryEntryMessage_).mergeFrom(value).buildPartial(); } else { queryEntryMessage_ = value; } onChanged(); } else { queryEntryMessageBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public Builder clearQueryEntryMessage() { if (queryEntryMessageBuilder_ == null) { queryEntryMessage_ = null; onChanged(); } else { queryEntryMessage_ = null; queryEntryMessageBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder getQueryEntryMessageBuilder() { onChanged(); return getQueryEntryMessageFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder getQueryEntryMessageOrBuilder() { if (queryEntryMessageBuilder_ != null) { return queryEntryMessageBuilder_.getMessageOrBuilder(); } else { return queryEntryMessage_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.getDefaultInstance() : queryEntryMessage_; } } /** * .org_glowroot_wire_api_model.Trace.QueryEntryMessage query_entry_message = 9; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder> getQueryEntryMessageFieldBuilder() { if (queryEntryMessageBuilder_ == null) { queryEntryMessageBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder>( getQueryEntryMessage(), getParentForChildren(), isClean()); queryEntryMessage_ = null; } return queryEntryMessageBuilder_; } private java.util.List detailEntry_ = java.util.Collections.emptyList(); private void ensureDetailEntryIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { detailEntry_ = new java.util.ArrayList(detailEntry_); bitField0_ |= 0x00000040; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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 = 6; */ 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 = 6; */ public int getDetailEntryCount() { if (detailEntryBuilder_ == null) { return detailEntry_.size(); } else { return detailEntryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ public Builder addAllDetailEntry( java.lang.Iterable values) { if (detailEntryBuilder_ == null) { ensureDetailEntryIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, detailEntry_); onChanged(); } else { detailEntryBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ public Builder clearDetailEntry() { if (detailEntryBuilder_ == null) { detailEntry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { detailEntryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Trace.DetailEntry detail_entry = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ 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 = 6; */ public java.util.List getDetailEntryBuilderList() { return getDetailEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); detailEntry_ = null; } return detailEntryBuilder_; } private java.util.List locationStackTraceElement_ = java.util.Collections.emptyList(); private void ensureLocationStackTraceElementIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { locationStackTraceElement_ = new java.util.ArrayList(locationStackTraceElement_); bitField0_ |= 0x00000080; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder> locationStackTraceElementBuilder_; /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public java.util.List getLocationStackTraceElementList() { if (locationStackTraceElementBuilder_ == null) { return java.util.Collections.unmodifiableList(locationStackTraceElement_); } else { return locationStackTraceElementBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public int getLocationStackTraceElementCount() { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.size(); } else { return locationStackTraceElementBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElement getLocationStackTraceElement(int index) { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.get(index); } else { return locationStackTraceElementBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public Builder setLocationStackTraceElement( int index, org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder setLocationStackTraceElement( int index, org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder addLocationStackTraceElement(org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder addLocationStackTraceElement( int index, org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder addLocationStackTraceElement( org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder addLocationStackTraceElement( int index, org.glowroot.wire.api.model.Proto.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.StackTraceElement location_stack_trace_element = 7; */ public Builder addAllLocationStackTraceElement( java.lang.Iterable values) { if (locationStackTraceElementBuilder_ == null) { ensureLocationStackTraceElementIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, locationStackTraceElement_); onChanged(); } else { locationStackTraceElementBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public Builder clearLocationStackTraceElement() { if (locationStackTraceElementBuilder_ == null) { locationStackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { locationStackTraceElementBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ 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.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder getLocationStackTraceElementBuilder( int index) { return getLocationStackTraceElementFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getLocationStackTraceElementOrBuilder( int index) { if (locationStackTraceElementBuilder_ == null) { return locationStackTraceElement_.get(index); } else { return locationStackTraceElementBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public java.util.List getLocationStackTraceElementOrBuilderList() { if (locationStackTraceElementBuilder_ != null) { return locationStackTraceElementBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locationStackTraceElement_); } } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder addLocationStackTraceElementBuilder() { return getLocationStackTraceElementFieldBuilder().addBuilder( org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder addLocationStackTraceElementBuilder( int index) { return getLocationStackTraceElementFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.StackTraceElement location_stack_trace_element = 7; */ public java.util.List getLocationStackTraceElementBuilderList() { return getLocationStackTraceElementFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder> getLocationStackTraceElementFieldBuilder() { if (locationStackTraceElementBuilder_ == null) { locationStackTraceElementBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder>( locationStackTraceElement_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); locationStackTraceElement_ = null; } return locationStackTraceElementBuilder_; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Error error_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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_; /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ 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(); } } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ 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; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ 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; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ 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; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public Builder clearError() { if (errorBuilder_ == null) { error_ = null; onChanged(); } else { error_ = null; errorBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Error.Builder getErrorBuilder() { onChanged(); return getErrorFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ 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_; } } /** * .org_glowroot_wire_api_model.Trace.Error error = 8; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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_; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public Entry parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Entry(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueryEntryMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.QueryEntryMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int32 shared_query_text_index = 1; */ int getSharedQueryTextIndex(); /** * string prefix = 2; */ java.lang.String getPrefix(); /** * string prefix = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getPrefixBytes(); /** * string suffix = 3; */ java.lang.String getSuffix(); /** * string suffix = 3; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getSuffixBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.QueryEntryMessage} */ public static final class QueryEntryMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.QueryEntryMessage) QueryEntryMessageOrBuilder { private static final long serialVersionUID = 0L; // Use QueryEntryMessage.newBuilder() to construct. private QueryEntryMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private QueryEntryMessage() { sharedQueryTextIndex_ = 0; prefix_ = ""; suffix_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private QueryEntryMessage( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { sharedQueryTextIndex_ = input.readInt32(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); prefix_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); suffix_ = s; break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder.class); } public static final int SHARED_QUERY_TEXT_INDEX_FIELD_NUMBER = 1; private int sharedQueryTextIndex_; /** * int32 shared_query_text_index = 1; */ public int getSharedQueryTextIndex() { return sharedQueryTextIndex_; } public static final int PREFIX_FIELD_NUMBER = 2; private volatile java.lang.Object prefix_; /** * string prefix = 2; */ public java.lang.String getPrefix() { java.lang.Object ref = prefix_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); prefix_ = s; return s; } } /** * string prefix = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getPrefixBytes() { java.lang.Object ref = prefix_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); prefix_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int SUFFIX_FIELD_NUMBER = 3; private volatile java.lang.Object suffix_; /** * string suffix = 3; */ public java.lang.String getSuffix() { java.lang.Object ref = suffix_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suffix_ = s; return s; } } /** * string suffix = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getSuffixBytes() { java.lang.Object ref = suffix_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); suffix_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (sharedQueryTextIndex_ != 0) { output.writeInt32(1, sharedQueryTextIndex_); } if (!getPrefixBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, prefix_); } if (!getSuffixBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, suffix_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sharedQueryTextIndex_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(1, sharedQueryTextIndex_); } if (!getPrefixBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, prefix_); } if (!getSuffixBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, suffix_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage) obj; boolean result = true; result = result && (getSharedQueryTextIndex() == other.getSharedQueryTextIndex()); result = result && getPrefix() .equals(other.getPrefix()); result = result && getSuffix() .equals(other.getSuffix()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SHARED_QUERY_TEXT_INDEX_FIELD_NUMBER; hash = (53 * hash) + getSharedQueryTextIndex(); hash = (37 * hash) + PREFIX_FIELD_NUMBER; hash = (53 * hash) + getPrefix().hashCode(); hash = (37 * hash) + SUFFIX_FIELD_NUMBER; hash = (53 * hash) + getSuffix().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.QueryEntryMessage} */ public static final class Builder extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Trace.QueryEntryMessage) org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); sharedQueryTextIndex_ = 0; prefix_ = ""; suffix_ = ""; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage(this); result.sharedQueryTextIndex_ = sharedQueryTextIndex_; result.prefix_ = prefix_; result.suffix_ = suffix_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage.getDefaultInstance()) return this; if (other.getSharedQueryTextIndex() != 0) { setSharedQueryTextIndex(other.getSharedQueryTextIndex()); } if (!other.getPrefix().isEmpty()) { prefix_ = other.prefix_; onChanged(); } if (!other.getSuffix().isEmpty()) { suffix_ = other.suffix_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int sharedQueryTextIndex_ ; /** * int32 shared_query_text_index = 1; */ public int getSharedQueryTextIndex() { return sharedQueryTextIndex_; } /** * int32 shared_query_text_index = 1; */ public Builder setSharedQueryTextIndex(int value) { sharedQueryTextIndex_ = value; onChanged(); return this; } /** * int32 shared_query_text_index = 1; */ public Builder clearSharedQueryTextIndex() { sharedQueryTextIndex_ = 0; onChanged(); return this; } private java.lang.Object prefix_ = ""; /** * string prefix = 2; */ public java.lang.String getPrefix() { java.lang.Object ref = prefix_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); prefix_ = s; return s; } else { return (java.lang.String) ref; } } /** * string prefix = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getPrefixBytes() { java.lang.Object ref = prefix_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); prefix_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string prefix = 2; */ public Builder setPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } prefix_ = value; onChanged(); return this; } /** * string prefix = 2; */ public Builder clearPrefix() { prefix_ = getDefaultInstance().getPrefix(); onChanged(); return this; } /** * string prefix = 2; */ public Builder setPrefixBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); prefix_ = value; onChanged(); return this; } private java.lang.Object suffix_ = ""; /** * string suffix = 3; */ public java.lang.String getSuffix() { java.lang.Object ref = suffix_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); suffix_ = s; return s; } else { return (java.lang.String) ref; } } /** * string suffix = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getSuffixBytes() { java.lang.Object ref = suffix_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); suffix_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string suffix = 3; */ public Builder setSuffix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } suffix_ = value; onChanged(); return this; } /** * string suffix = 3; */ public Builder clearSuffix() { suffix_ = getDefaultInstance().getSuffix(); onChanged(); return this; } /** * string suffix = 3; */ public Builder setSuffixBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); suffix_ = value; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.QueryEntryMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.QueryEntryMessage) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public QueryEntryMessage parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new QueryEntryMessage(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.QueryEntryMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SharedQueryTextOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Trace.SharedQueryText) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string full_text = 1; */ java.lang.String getFullText(); /** * string full_text = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextBytes(); /** *
       * sent instead of full_text when full_text_sha1 sent recently
       * 
* * string truncated_text = 2; */ java.lang.String getTruncatedText(); /** *
       * sent instead of full_text when full_text_sha1 sent recently
       * 
* * string truncated_text = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedTextBytes(); /** *
       * (truncated to 120 characters)
       * 
* * string truncated_end_text = 3; */ java.lang.String getTruncatedEndText(); /** *
       * (truncated to 120 characters)
       * 
* * string truncated_end_text = 3; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedEndTextBytes(); /** *
       * (truncated to 120 characters)
       * 
* * string full_text_sha1 = 4; */ java.lang.String getFullTextSha1(); /** *
       * (truncated to 120 characters)
       * 
* * string full_text_sha1 = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextSha1Bytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.SharedQueryText} */ public static final class SharedQueryText extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Trace.SharedQueryText) SharedQueryTextOrBuilder { private static final long serialVersionUID = 0L; // Use SharedQueryText.newBuilder() to construct. private SharedQueryText(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SharedQueryText() { fullText_ = ""; truncatedText_ = ""; truncatedEndText_ = ""; fullTextSha1_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SharedQueryText( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { java.lang.String s = input.readStringRequireUtf8(); fullText_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); truncatedText_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); truncatedEndText_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); fullTextSha1_ = s; break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder.class); } public static final int FULL_TEXT_FIELD_NUMBER = 1; private volatile java.lang.Object fullText_; /** * string full_text = 1; */ public java.lang.String getFullText() { java.lang.Object ref = fullText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullText_ = s; return s; } } /** * string full_text = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextBytes() { java.lang.Object ref = fullText_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRUNCATED_TEXT_FIELD_NUMBER = 2; private volatile java.lang.Object truncatedText_; /** *
       * sent instead of full_text when full_text_sha1 sent recently
       * 
* * string truncated_text = 2; */ public java.lang.String getTruncatedText() { java.lang.Object ref = truncatedText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); truncatedText_ = s; return s; } } /** *
       * sent instead of full_text when full_text_sha1 sent recently
       * 
* * string truncated_text = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedTextBytes() { java.lang.Object ref = truncatedText_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); truncatedText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRUNCATED_END_TEXT_FIELD_NUMBER = 3; private volatile java.lang.Object truncatedEndText_; /** *
       * (truncated to 120 characters)
       * 
* * string truncated_end_text = 3; */ public java.lang.String getTruncatedEndText() { java.lang.Object ref = truncatedEndText_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); truncatedEndText_ = s; return s; } } /** *
       * (truncated to 120 characters)
       * 
* * string truncated_end_text = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedEndTextBytes() { java.lang.Object ref = truncatedEndText_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); truncatedEndText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int FULL_TEXT_SHA1_FIELD_NUMBER = 4; private volatile java.lang.Object fullTextSha1_; /** *
       * (truncated to 120 characters)
       * 
* * string full_text_sha1 = 4; */ public java.lang.String getFullTextSha1() { java.lang.Object ref = fullTextSha1_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullTextSha1_ = s; return s; } } /** *
       * (truncated to 120 characters)
       * 
* * string full_text_sha1 = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextSha1Bytes() { java.lang.Object ref = fullTextSha1_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullTextSha1_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getFullTextBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fullText_); } if (!getTruncatedTextBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, truncatedText_); } if (!getTruncatedEndTextBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, truncatedEndText_); } if (!getFullTextSha1Bytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fullTextSha1_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getFullTextBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fullText_); } if (!getTruncatedTextBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, truncatedText_); } if (!getTruncatedEndTextBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, truncatedEndText_); } if (!getFullTextSha1Bytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fullTextSha1_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText other = (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) obj; boolean result = true; result = result && getFullText() .equals(other.getFullText()); result = result && getTruncatedText() .equals(other.getTruncatedText()); result = result && getTruncatedEndText() .equals(other.getTruncatedEndText()); result = result && getFullTextSha1() .equals(other.getFullTextSha1()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + FULL_TEXT_FIELD_NUMBER; hash = (53 * hash) + getFullText().hashCode(); hash = (37 * hash) + TRUNCATED_TEXT_FIELD_NUMBER; hash = (53 * hash) + getTruncatedText().hashCode(); hash = (37 * hash) + TRUNCATED_END_TEXT_FIELD_NUMBER; hash = (53 * hash) + getTruncatedEndText().hashCode(); hash = (37 * hash) + FULL_TEXT_SHA1_FIELD_NUMBER; hash = (53 * hash) + getFullTextSha1().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.Trace.SharedQueryText} */ public static final class Builder extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Trace.SharedQueryText) org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.class, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder.class); } // Construct using org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); fullText_ = ""; truncatedText_ = ""; truncatedEndText_ = ""; fullTextSha1_ = ""; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.TraceOuterClass.internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getDefaultInstanceForType() { return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText build() { org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText buildPartial() { org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText result = new org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText(this); result.fullText_ = fullText_; result.truncatedText_ = truncatedText_; result.truncatedEndText_ = truncatedEndText_; result.fullTextSha1_ = fullTextSha1_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) { return mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText other) { if (other == org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance()) return this; if (!other.getFullText().isEmpty()) { fullText_ = other.fullText_; onChanged(); } if (!other.getTruncatedText().isEmpty()) { truncatedText_ = other.truncatedText_; onChanged(); } if (!other.getTruncatedEndText().isEmpty()) { truncatedEndText_ = other.truncatedEndText_; onChanged(); } if (!other.getFullTextSha1().isEmpty()) { fullTextSha1_ = other.fullTextSha1_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object fullText_ = ""; /** * string full_text = 1; */ public java.lang.String getFullText() { java.lang.Object ref = fullText_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullText_ = s; return s; } else { return (java.lang.String) ref; } } /** * string full_text = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextBytes() { java.lang.Object ref = fullText_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string full_text = 1; */ public Builder setFullText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fullText_ = value; onChanged(); return this; } /** * string full_text = 1; */ public Builder clearFullText() { fullText_ = getDefaultInstance().getFullText(); onChanged(); return this; } /** * string full_text = 1; */ public Builder setFullTextBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullText_ = value; onChanged(); return this; } private java.lang.Object truncatedText_ = ""; /** *
         * sent instead of full_text when full_text_sha1 sent recently
         * 
* * string truncated_text = 2; */ public java.lang.String getTruncatedText() { java.lang.Object ref = truncatedText_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); truncatedText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * sent instead of full_text when full_text_sha1 sent recently
         * 
* * string truncated_text = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedTextBytes() { java.lang.Object ref = truncatedText_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); truncatedText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
         * sent instead of full_text when full_text_sha1 sent recently
         * 
* * string truncated_text = 2; */ public Builder setTruncatedText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } truncatedText_ = value; onChanged(); return this; } /** *
         * sent instead of full_text when full_text_sha1 sent recently
         * 
* * string truncated_text = 2; */ public Builder clearTruncatedText() { truncatedText_ = getDefaultInstance().getTruncatedText(); onChanged(); return this; } /** *
         * sent instead of full_text when full_text_sha1 sent recently
         * 
* * string truncated_text = 2; */ public Builder setTruncatedTextBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); truncatedText_ = value; onChanged(); return this; } private java.lang.Object truncatedEndText_ = ""; /** *
         * (truncated to 120 characters)
         * 
* * string truncated_end_text = 3; */ public java.lang.String getTruncatedEndText() { java.lang.Object ref = truncatedEndText_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); truncatedEndText_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * (truncated to 120 characters)
         * 
* * string truncated_end_text = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTruncatedEndTextBytes() { java.lang.Object ref = truncatedEndText_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); truncatedEndText_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
         * (truncated to 120 characters)
         * 
* * string truncated_end_text = 3; */ public Builder setTruncatedEndText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } truncatedEndText_ = value; onChanged(); return this; } /** *
         * (truncated to 120 characters)
         * 
* * string truncated_end_text = 3; */ public Builder clearTruncatedEndText() { truncatedEndText_ = getDefaultInstance().getTruncatedEndText(); onChanged(); return this; } /** *
         * (truncated to 120 characters)
         * 
* * string truncated_end_text = 3; */ public Builder setTruncatedEndTextBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); truncatedEndText_ = value; onChanged(); return this; } private java.lang.Object fullTextSha1_ = ""; /** *
         * (truncated to 120 characters)
         * 
* * string full_text_sha1 = 4; */ public java.lang.String getFullTextSha1() { java.lang.Object ref = fullTextSha1_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fullTextSha1_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * (truncated to 120 characters)
         * 
* * string full_text_sha1 = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFullTextSha1Bytes() { java.lang.Object ref = fullTextSha1_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fullTextSha1_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
         * (truncated to 120 characters)
         * 
* * string full_text_sha1 = 4; */ public Builder setFullTextSha1( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fullTextSha1_ = value; onChanged(); return this; } /** *
         * (truncated to 120 characters)
         * 
* * string full_text_sha1 = 4; */ public Builder clearFullTextSha1() { fullTextSha1_ = getDefaultInstance().getFullTextSha1(); onChanged(); return this; } /** *
         * (truncated to 120 characters)
         * 
* * string full_text_sha1 = 4; */ public Builder setFullTextSha1Bytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fullTextSha1_ = value; onChanged(); return this; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Trace.SharedQueryText) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Trace.SharedQueryText) private static final org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText(); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getDefaultInstance() { return DEFAULT_INSTANCE; } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public SharedQueryText parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new SharedQueryText(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * this is a uuid
     * 
* * string id = 1; */ public java.lang.String getId() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** *
     * this is a uuid
     * 
* * string id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int HEADER_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.TraceOuterClass.Trace.Header header_; /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ public boolean hasHeader() { return header_ != null; } /** * .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_; } /** * .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_; /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public java.util.List getEntryList() { return entry_; } /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public int getEntryCount() { return entry_.size(); } /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index) { return entry_.get(index); } /** *
     * entry ordering is pre-order depth-first
     * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } public static final int QUERY_FIELD_NUMBER = 9; private java.util.List query_; /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public java.util.List getQueryList() { return query_; } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public java.util.List getQueryOrBuilderList() { return query_; } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public int getQueryCount() { return query_.size(); } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) { return query_.get(index); } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index) { return query_.get(index); } public static final int MAIN_THREAD_PROFILE_FIELD_NUMBER = 4; private org.glowroot.wire.api.model.ProfileOuterClass.Profile mainThreadProfile_; /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public boolean hasMainThreadProfile() { return mainThreadProfile_ != null; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() { return mainThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() { return getMainThreadProfile(); } public static final int AUX_THREAD_PROFILE_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.ProfileOuterClass.Profile auxThreadProfile_; /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public boolean hasAuxThreadProfile() { return auxThreadProfile_ != null; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() { return auxThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() { return getAuxThreadProfile(); } public static final int UPDATE_FIELD_NUMBER = 6; private boolean update_; /** *
     * optimization so the central collector does not need to check for prior partial
     * 
* * bool update = 6; */ public boolean getUpdate() { return update_; } public static final int SHARED_QUERY_TEXT_FIELD_NUMBER = 8; private java.util.List sharedQueryText_; /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public java.util.List getSharedQueryTextList() { return sharedQueryText_; } /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public java.util.List getSharedQueryTextOrBuilderList() { return sharedQueryText_; } /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public int getSharedQueryTextCount() { return sharedQueryText_.size(); } /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText(int index) { return sharedQueryText_.get(index); } /** *
     * trace in common case where this is not an update
     * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder( int index) { return sharedQueryText_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (header_ != null) { output.writeMessage(2, getHeader()); } for (int i = 0; i < entry_.size(); i++) { output.writeMessage(3, entry_.get(i)); } if (mainThreadProfile_ != null) { output.writeMessage(4, getMainThreadProfile()); } if (auxThreadProfile_ != null) { output.writeMessage(5, getAuxThreadProfile()); } if (update_ != false) { output.writeBool(6, update_); } for (int i = 0; i < sharedQueryText_.size(); i++) { output.writeMessage(8, sharedQueryText_.get(i)); } for (int i = 0; i < query_.size(); i++) { output.writeMessage(9, query_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (header_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getHeader()); } for (int i = 0; i < entry_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, entry_.get(i)); } if (mainThreadProfile_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(4, getMainThreadProfile()); } if (auxThreadProfile_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(5, getAuxThreadProfile()); } if (update_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(6, update_); } for (int i = 0; i < sharedQueryText_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(8, sharedQueryText_.get(i)); } for (int i = 0; i < query_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(9, query_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.glowroot.wire.api.model.TraceOuterClass.Trace)) { return super.equals(obj); } org.glowroot.wire.api.model.TraceOuterClass.Trace other = (org.glowroot.wire.api.model.TraceOuterClass.Trace) obj; boolean result = true; result = result && getId() .equals(other.getId()); result = result && (hasHeader() == other.hasHeader()); if (hasHeader()) { result = result && getHeader() .equals(other.getHeader()); } result = result && getEntryList() .equals(other.getEntryList()); result = result && getQueryList() .equals(other.getQueryList()); result = result && (hasMainThreadProfile() == other.hasMainThreadProfile()); if (hasMainThreadProfile()) { result = result && getMainThreadProfile() .equals(other.getMainThreadProfile()); } result = result && (hasAuxThreadProfile() == other.hasAuxThreadProfile()); if (hasAuxThreadProfile()) { result = result && getAuxThreadProfile() .equals(other.getAuxThreadProfile()); } result = result && (getUpdate() == other.getUpdate()); result = result && getSharedQueryTextList() .equals(other.getSharedQueryTextList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); if (hasHeader()) { hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); } if (getEntryCount() > 0) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntryList().hashCode(); } if (getQueryCount() > 0) { hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQueryList().hashCode(); } if (hasMainThreadProfile()) { hash = (37 * hash) + MAIN_THREAD_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getMainThreadProfile().hashCode(); } if (hasAuxThreadProfile()) { hash = (37 * hash) + AUX_THREAD_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getAuxThreadProfile().hashCode(); } hash = (37 * hash) + UPDATE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getUpdate()); if (getSharedQueryTextCount() > 0) { hash = (37 * hash) + SHARED_QUERY_TEXT_FIELD_NUMBER; hash = (53 * hash) + getSharedQueryTextList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( java.nio.ByteBuffer data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( java.nio.ByteBuffer data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom(byte[] data) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( byte[] data, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseDelimitedFrom( java.io.InputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.glowroot.wire.api.model.TraceOuterClass.Trace parseFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntryFieldBuilder(); getQueryFieldBuilder(); getSharedQueryTextFieldBuilder(); } } 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 (queryBuilder_ == null) { query_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { queryBuilder_.clear(); } if (mainThreadProfileBuilder_ == null) { mainThreadProfile_ = null; } else { mainThreadProfile_ = null; mainThreadProfileBuilder_ = null; } if (auxThreadProfileBuilder_ == null) { auxThreadProfile_ = null; } else { auxThreadProfile_ = null; auxThreadProfileBuilder_ = null; } update_ = false; if (sharedQueryTextBuilder_ == null) { sharedQueryText_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); } else { sharedQueryTextBuilder_.clear(); } return this; } public org.glowroot.agent.it.harness.shaded.com.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 (queryBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { query_ = java.util.Collections.unmodifiableList(query_); bitField0_ = (bitField0_ & ~0x00000008); } result.query_ = query_; } else { result.query_ = queryBuilder_.build(); } if (mainThreadProfileBuilder_ == null) { result.mainThreadProfile_ = mainThreadProfile_; } else { result.mainThreadProfile_ = mainThreadProfileBuilder_.build(); } if (auxThreadProfileBuilder_ == null) { result.auxThreadProfile_ = auxThreadProfile_; } else { result.auxThreadProfile_ = auxThreadProfileBuilder_.build(); } result.update_ = update_; if (sharedQueryTextBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080)) { sharedQueryText_ = java.util.Collections.unmodifiableList(sharedQueryText_); bitField0_ = (bitField0_ & ~0x00000080); } result.sharedQueryText_ = sharedQueryText_; } else { result.sharedQueryText_ = sharedQueryTextBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(org.glowroot.agent.it.harness.shaded.com.google.protobuf.Message other) { if (other instanceof org.glowroot.wire.api.model.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } if (queryBuilder_ == null) { if (!other.query_.isEmpty()) { if (query_.isEmpty()) { query_ = other.query_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureQueryIsMutable(); query_.addAll(other.query_); } onChanged(); } } else { if (!other.query_.isEmpty()) { if (queryBuilder_.isEmpty()) { queryBuilder_.dispose(); queryBuilder_ = null; query_ = other.query_; bitField0_ = (bitField0_ & ~0x00000008); queryBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueryFieldBuilder() : null; } else { queryBuilder_.addAllMessages(other.query_); } } } if (other.hasMainThreadProfile()) { mergeMainThreadProfile(other.getMainThreadProfile()); } if (other.hasAuxThreadProfile()) { mergeAuxThreadProfile(other.getAuxThreadProfile()); } if (other.getUpdate() != false) { setUpdate(other.getUpdate()); } if (sharedQueryTextBuilder_ == null) { if (!other.sharedQueryText_.isEmpty()) { if (sharedQueryText_.isEmpty()) { sharedQueryText_ = other.sharedQueryText_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureSharedQueryTextIsMutable(); sharedQueryText_.addAll(other.sharedQueryText_); } onChanged(); } } else { if (!other.sharedQueryText_.isEmpty()) { if (sharedQueryTextBuilder_.isEmpty()) { sharedQueryTextBuilder_.dispose(); sharedQueryTextBuilder_ = null; sharedQueryText_ = other.sharedQueryText_; bitField0_ = (bitField0_ & ~0x00000080); sharedQueryTextBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSharedQueryTextFieldBuilder() : null; } else { sharedQueryTextBuilder_.addAllMessages(other.sharedQueryText_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.glowroot.wire.api.model.TraceOuterClass.Trace parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.glowroot.wire.api.model.TraceOuterClass.Trace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object id_ = ""; /** *
       * this is a uuid
       * 
* * string id = 1; */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString bs = (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * this is a uuid
       * 
* * string id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString b = org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
       * this is a uuid
       * 
* * string id = 1; */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** *
       * this is a uuid
       * 
* * string id = 1; */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * this is a uuid
       * 
* * string id = 1; */ public Builder setIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.TraceOuterClass.Trace.Header header_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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_; /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ public boolean hasHeader() { return headerBuilder_ != null || header_ != null; } /** * .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(); } } /** * .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; } /** * .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; } /** * .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; } /** * .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; } /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder getHeaderBuilder() { onChanged(); return getHeaderFieldBuilder().getBuilder(); } /** * .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_; } } /** * .org_glowroot_wire_api_model.Trace.Header header = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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_; /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { entryBuilder_.clear(); } return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()); } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ 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()); } /** *
       * entry ordering is pre-order depth-first
       * 
* * repeated .org_glowroot_wire_api_model.Trace.Entry entry = 3; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< 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 java.util.List query_ = java.util.Collections.emptyList(); private void ensureQueryIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { query_ = new java.util.ArrayList(query_); bitField0_ |= 0x00000008; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder> queryBuilder_; /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public java.util.List getQueryList() { if (queryBuilder_ == null) { return java.util.Collections.unmodifiableList(query_); } else { return queryBuilder_.getMessageList(); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public int getQueryCount() { if (queryBuilder_ == null) { return query_.size(); } else { return queryBuilder_.getCount(); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) { if (queryBuilder_ == null) { return query_.get(index); } else { return queryBuilder_.getMessage(index); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder setQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.set(index, value); onChanged(); } else { queryBuilder_.setMessage(index, value); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder setQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.set(index, builderForValue.build()); onChanged(); } else { queryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder addQuery(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.add(value); onChanged(); } else { queryBuilder_.addMessage(value); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder addQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.add(index, value); onChanged(); } else { queryBuilder_.addMessage(index, value); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder addQuery( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.add(builderForValue.build()); onChanged(); } else { queryBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder addQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.add(index, builderForValue.build()); onChanged(); } else { queryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder addAllQuery( java.lang.Iterable values) { if (queryBuilder_ == null) { ensureQueryIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, query_); onChanged(); } else { queryBuilder_.addAllMessages(values); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder clearQuery() { if (queryBuilder_ == null) { query_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { queryBuilder_.clear(); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public Builder removeQuery(int index) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.remove(index); onChanged(); } else { queryBuilder_.remove(index); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder getQueryBuilder( int index) { return getQueryFieldBuilder().getBuilder(index); } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index) { if (queryBuilder_ == null) { return query_.get(index); } else { return queryBuilder_.getMessageOrBuilder(index); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public java.util.List getQueryOrBuilderList() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(query_); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder() { return getQueryFieldBuilder().addBuilder( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance()); } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder( int index) { return getQueryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance()); } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 9; */ public java.util.List getQueryBuilderList() { return getQueryFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { queryBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder>( query_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } private org.glowroot.wire.api.model.ProfileOuterClass.Profile mainThreadProfile_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> mainThreadProfileBuilder_; /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public boolean hasMainThreadProfile() { return mainThreadProfileBuilder_ != null || mainThreadProfile_ != null; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() { if (mainThreadProfileBuilder_ == null) { return mainThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_; } else { return mainThreadProfileBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public Builder setMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (mainThreadProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mainThreadProfile_ = value; onChanged(); } else { mainThreadProfileBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public Builder setMainThreadProfile( org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) { if (mainThreadProfileBuilder_ == null) { mainThreadProfile_ = builderForValue.build(); onChanged(); } else { mainThreadProfileBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public Builder mergeMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (mainThreadProfileBuilder_ == null) { if (mainThreadProfile_ != null) { mainThreadProfile_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder(mainThreadProfile_).mergeFrom(value).buildPartial(); } else { mainThreadProfile_ = value; } onChanged(); } else { mainThreadProfileBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public Builder clearMainThreadProfile() { if (mainThreadProfileBuilder_ == null) { mainThreadProfile_ = null; onChanged(); } else { mainThreadProfile_ = null; mainThreadProfileBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getMainThreadProfileBuilder() { onChanged(); return getMainThreadProfileFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() { if (mainThreadProfileBuilder_ != null) { return mainThreadProfileBuilder_.getMessageOrBuilder(); } else { return mainThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : mainThreadProfile_; } } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 4; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> getMainThreadProfileFieldBuilder() { if (mainThreadProfileBuilder_ == null) { mainThreadProfileBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>( getMainThreadProfile(), getParentForChildren(), isClean()); mainThreadProfile_ = null; } return mainThreadProfileBuilder_; } private org.glowroot.wire.api.model.ProfileOuterClass.Profile auxThreadProfile_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> auxThreadProfileBuilder_; /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public boolean hasAuxThreadProfile() { return auxThreadProfileBuilder_ != null || auxThreadProfile_ != null; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() { if (auxThreadProfileBuilder_ == null) { return auxThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_; } else { return auxThreadProfileBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public Builder setAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (auxThreadProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } auxThreadProfile_ = value; onChanged(); } else { auxThreadProfileBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public Builder setAuxThreadProfile( org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) { if (auxThreadProfileBuilder_ == null) { auxThreadProfile_ = builderForValue.build(); onChanged(); } else { auxThreadProfileBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public Builder mergeAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (auxThreadProfileBuilder_ == null) { if (auxThreadProfile_ != null) { auxThreadProfile_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder(auxThreadProfile_).mergeFrom(value).buildPartial(); } else { auxThreadProfile_ = value; } onChanged(); } else { auxThreadProfileBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public Builder clearAuxThreadProfile() { if (auxThreadProfileBuilder_ == null) { auxThreadProfile_ = null; onChanged(); } else { auxThreadProfile_ = null; auxThreadProfileBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getAuxThreadProfileBuilder() { onChanged(); return getAuxThreadProfileFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() { if (auxThreadProfileBuilder_ != null) { return auxThreadProfileBuilder_.getMessageOrBuilder(); } else { return auxThreadProfile_ == null ? org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance() : auxThreadProfile_; } } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 5; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder> getAuxThreadProfileFieldBuilder() { if (auxThreadProfileBuilder_ == null) { auxThreadProfileBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.ProfileOuterClass.Profile, org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder, org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder>( getAuxThreadProfile(), getParentForChildren(), isClean()); auxThreadProfile_ = null; } return auxThreadProfileBuilder_; } private boolean update_ ; /** *
       * optimization so the central collector does not need to check for prior partial
       * 
* * bool update = 6; */ public boolean getUpdate() { return update_; } /** *
       * optimization so the central collector does not need to check for prior partial
       * 
* * bool update = 6; */ public Builder setUpdate(boolean value) { update_ = value; onChanged(); return this; } /** *
       * optimization so the central collector does not need to check for prior partial
       * 
* * bool update = 6; */ public Builder clearUpdate() { update_ = false; onChanged(); return this; } private java.util.List sharedQueryText_ = java.util.Collections.emptyList(); private void ensureSharedQueryTextIsMutable() { if (!((bitField0_ & 0x00000080) == 0x00000080)) { sharedQueryText_ = new java.util.ArrayList(sharedQueryText_); bitField0_ |= 0x00000080; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder> sharedQueryTextBuilder_; /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public java.util.List getSharedQueryTextList() { if (sharedQueryTextBuilder_ == null) { return java.util.Collections.unmodifiableList(sharedQueryText_); } else { return sharedQueryTextBuilder_.getMessageList(); } } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public int getSharedQueryTextCount() { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.size(); } else { return sharedQueryTextBuilder_.getCount(); } } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText(int index) { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.get(index); } else { return sharedQueryTextBuilder_.getMessage(index); } } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder setSharedQueryText( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.set(index, value); onChanged(); } else { sharedQueryTextBuilder_.setMessage(index, value); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder setSharedQueryText( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.set(index, builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder addSharedQueryText(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.add(value); onChanged(); } else { sharedQueryTextBuilder_.addMessage(value); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder addSharedQueryText( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.add(index, value); onChanged(); } else { sharedQueryTextBuilder_.addMessage(index, value); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder addSharedQueryText( org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.add(builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder addSharedQueryText( int index, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.add(index, builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder addAllSharedQueryText( java.lang.Iterable values) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sharedQueryText_); onChanged(); } else { sharedQueryTextBuilder_.addAllMessages(values); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder clearSharedQueryText() { if (sharedQueryTextBuilder_ == null) { sharedQueryText_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { sharedQueryTextBuilder_.clear(); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public Builder removeSharedQueryText(int index) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.remove(index); onChanged(); } else { sharedQueryTextBuilder_.remove(index); } return this; } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder getSharedQueryTextBuilder( int index) { return getSharedQueryTextFieldBuilder().getBuilder(index); } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder( int index) { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.get(index); } else { return sharedQueryTextBuilder_.getMessageOrBuilder(index); } } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public java.util.List getSharedQueryTextOrBuilderList() { if (sharedQueryTextBuilder_ != null) { return sharedQueryTextBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sharedQueryText_); } } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder addSharedQueryTextBuilder() { return getSharedQueryTextFieldBuilder().addBuilder( org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance()); } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder addSharedQueryTextBuilder( int index) { return getSharedQueryTextFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance()); } /** *
       * trace in common case where this is not an update
       * 
* * repeated .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 8; */ public java.util.List getSharedQueryTextBuilderList() { return getSharedQueryTextFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder> getSharedQueryTextFieldBuilder() { if (sharedQueryTextBuilder_ == null) { sharedQueryTextBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder, org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder>( sharedQueryText_, ((bitField0_ & 0x00000080) == 0x00000080), getParentForChildren(), isClean()); sharedQueryText_ = null; } return sharedQueryTextBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.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.it.harness.shaded.com.google.protobuf.Parser PARSER = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractParser() { public Trace parsePartialFrom( org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedInputStream input, org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException { return new Trace(input, extensionRegistry); } }; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Parser getParserForType() { return PARSER; } public org.glowroot.wire.api.model.TraceOuterClass.Trace getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Header_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Attribute_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Attribute_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_DetailEntry_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_DetailValue_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Error_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Error_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Timer_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_fieldAccessorTable; public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\013Trace.proto\022\033org_glowroot_wire_api_mod" + "el\032\017Aggregate.proto\032\rProfile.proto\032\014Comm" + "on.proto\"\214\031\n\005Trace\022\n\n\002id\030\001 \001(\t\0229\n\006header" + "\030\002 \001(\0132).org_glowroot_wire_api_model.Tra" + "ce.Header\0227\n\005entry\030\003 \003(\0132(.org_glowroot_" + "wire_api_model.Trace.Entry\022;\n\005query\030\t \003(" + "\0132,.org_glowroot_wire_api_model.Aggregat" + "e.Query\022A\n\023main_thread_profile\030\004 \001(\0132$.o" + "rg_glowroot_wire_api_model.Profile\022@\n\022au" + "x_thread_profile\030\005 \001(\0132$.org_glowroot_wi" + "re_api_model.Profile\022\016\n\006update\030\006 \001(\010\022M\n\021" + "shared_query_text\030\010 \003(\01322.org_glowroot_w" + "ire_api_model.Trace.SharedQueryText\032\264\t\n\006" + "Header\022\017\n\007partial\030\001 \001(\010\022\014\n\004slow\030\002 \001(\010\022\r\n" + "\005async\030\003 \001(\010\022\022\n\nstart_time\030\004 \001(\003\022\024\n\014capt" + "ure_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_wir" + "e_api_model.Trace.Attribute\022D\n\014detail_en" + "try\030\014 \003(\0132..org_glowroot_wire_api_model." + "Trace.DetailEntry\0227\n\005error\030\r \001(\0132(.org_g" + "lowroot_wire_api_model.Trace.Error\022H\n\026ma" + "in_thread_root_timer\030\016 \001(\0132(.org_glowroo" + "t_wire_api_model.Trace.Timer\022G\n\025aux_thre" + "ad_root_timer\030\017 \003(\0132(.org_glowroot_wire_" + "api_model.Trace.Timer\022=\n\013async_timer\030\020 \003" + "(\0132(.org_glowroot_wire_api_model.Trace.T" + "imer\022P\n\025old_main_thread_stats\030\021 \001(\01321.or" + "g_glowroot_wire_api_model.Trace.OldThrea" + "dStats\022O\n\024old_aux_thread_stats\030\022 \001(\01321.o" + "rg_glowroot_wire_api_model.Trace.OldThre" + "adStats\022I\n\021main_thread_stats\030\033 \001(\0132..org" + "_glowroot_wire_api_model.Trace.ThreadSta" + "ts\022H\n\020aux_thread_stats\030\034 \001(\0132..org_glowr" + "oot_wire_api_model.Trace.ThreadStats\022\023\n\013" + "entry_count\030\023 \001(\005\022\034\n\024entry_limit_exceede" + "d\030\024 \001(\010\022\023\n\013query_count\030\031 \001(\005\022\034\n\024query_li" + "mit_exceeded\030\032 \001(\010\022(\n main_thread_profil" + "e_sample_count\030\025 \001(\003\0221\n)main_thread_prof" + "ile_sample_limit_exceeded\030\026 \001(\010\022\'\n\037aux_t" + "hread_profile_sample_count\030\027 \001(\003\0220\n(aux_" + "thread_profile_sample_limit_exceeded\030\030 \001" + "(\010\032(\n\tAttribute\022\014\n\004name\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\005va" + "lue\030\002 \003(\0132..org_glowroot_wire_api_model." + "Trace.DetailValue\022C\n\013child_entry\030\003 \003(\0132." + ".org_glowroot_wire_api_model.Trace.Detai" + "lEntry\032[\n\013DetailValue\022\020\n\006string\030\001 \001(\tH\000\022" + "\020\n\006double\030\002 \001(\001H\000\022\016\n\004long\030\003 \001(\003H\000\022\021\n\007boo" + "lean\030\004 \001(\010H\000B\005\n\003val\032S\n\005Error\022\017\n\007message\030" + "\001 \001(\t\0229\n\texception\030\002 \001(\0132&.org_glowroot_" + "wire_api_model.Throwable\032\232\001\n\005Timer\022\014\n\004na" + "me\030\001 \001(\t\022\020\n\010extended\030\002 \001(\010\022\023\n\013total_nano" + "s\030\003 \001(\003\022\r\n\005count\030\004 \001(\003\022\016\n\006active\030\005 \001(\010\022=" + "\n\013child_timer\030\006 \003(\0132(.org_glowroot_wire_" + "api_model.Trace.Timer\032\261\002\n\016OldThreadStats" + "\022C\n\017total_cpu_nanos\030\001 \001(\0132*.org_glowroot" + "_wire_api_model.OptionalInt64\022G\n\023total_b" + "locked_nanos\030\002 \001(\0132*.org_glowroot_wire_a" + "pi_model.OptionalInt64\022F\n\022total_waited_n" + "anos\030\003 \001(\0132*.org_glowroot_wire_api_model" + ".OptionalInt64\022I\n\025total_allocated_bytes\030" + "\004 \001(\0132*.org_glowroot_wire_api_model.Opti" + "onalInt64\032~\n\013ThreadStats\022\027\n\017total_cpu_na" + "nos\030\001 \001(\022\022\033\n\023total_blocked_nanos\030\002 \001(\022\022\032" + "\n\022total_waited_nanos\030\003 \001(\022\022\035\n\025total_allo" + "cated_bytes\030\004 \001(\022\032\223\003\n\005Entry\022\r\n\005depth\030\001 \001" + "(\005\022\032\n\022start_offset_nanos\030\002 \001(\003\022\026\n\016durati" + "on_nanos\030\003 \001(\003\022\016\n\006active\030\004 \001(\010\022\017\n\007messag" + "e\030\005 \001(\t\022Q\n\023query_entry_message\030\t \001(\01324.o" + "rg_glowroot_wire_api_model.Trace.QueryEn" + "tryMessage\022D\n\014detail_entry\030\006 \003(\0132..org_g" + "lowroot_wire_api_model.Trace.DetailEntry" + "\022T\n\034location_stack_trace_element\030\007 \003(\0132." + ".org_glowroot_wire_api_model.StackTraceE" + "lement\0227\n\005error\030\010 \001(\0132(.org_glowroot_wir" + "e_api_model.Trace.Error\032T\n\021QueryEntryMes" + "sage\022\037\n\027shared_query_text_index\030\001 \001(\005\022\016\n" + "\006prefix\030\002 \001(\t\022\016\n\006suffix\030\003 \001(\t\032p\n\017SharedQ" + "ueryText\022\021\n\tfull_text\030\001 \001(\t\022\026\n\016truncated" + "_text\030\002 \001(\t\022\032\n\022truncated_end_text\030\003 \001(\t\022" + "\026\n\016full_text_sha1\030\004 \001(\tB\035\n\033org.glowroot." + "wire.api.modelb\006proto3" }; org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry assignDescriptors( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor[] { org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(), org.glowroot.wire.api.model.ProfileOuterClass.getDescriptor(), org.glowroot.wire.api.model.Proto.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_descriptor, new java.lang.String[] { "Id", "Header", "Entry", "Query", "MainThreadProfile", "AuxThreadProfile", "Update", "SharedQueryText", }); 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Header_descriptor, new java.lang.String[] { "Partial", "Slow", "Async", "StartTime", "CaptureTime", "DurationNanos", "TransactionType", "TransactionName", "Headline", "User", "Attribute", "DetailEntry", "Error", "MainThreadRootTimer", "AuxThreadRootTimer", "AsyncTimer", "OldMainThreadStats", "OldAuxThreadStats", "MainThreadStats", "AuxThreadStats", "EntryCount", "EntryLimitExceeded", "QueryCount", "QueryLimitExceeded", "MainThreadProfileSampleCount", "MainThreadProfileSampleLimitExceeded", "AuxThreadProfileSampleCount", "AuxThreadProfileSampleLimitExceeded", }); 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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_DetailValue_descriptor, new java.lang.String[] { "String", "Double", "Long", "Boolean", "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.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_Timer_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(5); internal_static_org_glowroot_wire_api_model_Trace_Timer_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.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_OldThreadStats_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(6); internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_OldThreadStats_descriptor, new java.lang.String[] { "TotalCpuNanos", "TotalBlockedNanos", "TotalWaitedNanos", "TotalAllocatedBytes", }); internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(7); internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_ThreadStats_descriptor, new java.lang.String[] { "TotalCpuNanos", "TotalBlockedNanos", "TotalWaitedNanos", "TotalAllocatedBytes", }); internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(8); internal_static_org_glowroot_wire_api_model_Trace_Entry_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_Entry_descriptor, new java.lang.String[] { "Depth", "StartOffsetNanos", "DurationNanos", "Active", "Message", "QueryEntryMessage", "DetailEntry", "LocationStackTraceElement", "Error", }); internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(9); internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_QueryEntryMessage_descriptor, new java.lang.String[] { "SharedQueryTextIndex", "Prefix", "Suffix", }); internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor = internal_static_org_glowroot_wire_api_model_Trace_descriptor.getNestedTypes().get(10); internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Trace_SharedQueryText_descriptor, new java.lang.String[] { "FullText", "TruncatedText", "TruncatedEndText", "FullTextSha1", }); org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(); org.glowroot.wire.api.model.ProfileOuterClass.getDescriptor(); org.glowroot.wire.api.model.Proto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy