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

org.glowroot.wire.api.model.CollectorServiceOuterClass 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: CollectorService.proto

package org.glowroot.wire.api.model;

public final class CollectorServiceOuterClass {
  private CollectorServiceOuterClass() {}
  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 InitMessageOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage)
      org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder {

    /**
     * string agent_id = 1;
     */
    java.lang.String getAgentId();
    /**
     * string agent_id = 1;
     */
    org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
        getAgentIdBytes();

    /**
     * 
     * deprecated in 0.10.0, now rollup is incorporated into agent_id
     * 
* * string v09_agent_rollup_id = 4; */ java.lang.String getV09AgentRollupId(); /** *
     * deprecated in 0.10.0, now rollup is incorporated into agent_id
     * 
* * string v09_agent_rollup_id = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getV09AgentRollupIdBytes(); /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ boolean hasEnvironment(); /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment getEnvironment(); /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder getEnvironmentOrBuilder(); /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ boolean hasAgentConfig(); /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig(); /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder(); /** * bool overwrite_existing_agent_config = 5; */ boolean getOverwriteExistingAgentConfig(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitMessage} */ public static final class InitMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage) InitMessageOrBuilder { private static final long serialVersionUID = 0L; // Use InitMessage.newBuilder() to construct. private InitMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InitMessage() { agentId_ = ""; v09AgentRollupId_ = ""; overwriteExistingAgentConfig_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InitMessage( 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(); agentId_ = s; break; } case 18: { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder subBuilder = null; if (environment_ != null) { subBuilder = environment_.toBuilder(); } environment_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(environment_); environment_ = subBuilder.buildPartial(); } break; } case 26: { org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder subBuilder = null; if (agentConfig_ != null) { subBuilder = agentConfig_.toBuilder(); } agentConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(agentConfig_); agentConfig_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); v09AgentRollupId_ = s; break; } case 40: { overwriteExistingAgentConfig_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Builder.class); } public interface EnvironmentOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage.Environment) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ boolean hasHostInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo getHostInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder getHostInfoOrBuilder(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ boolean hasProcessInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo getProcessInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder getProcessInfoOrBuilder(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ boolean hasJavaInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo getJavaInfo(); /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder getJavaInfoOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitMessage.Environment} */ public static final class Environment extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage.Environment) EnvironmentOrBuilder { private static final long serialVersionUID = 0L; // Use Environment.newBuilder() to construct. private Environment(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Environment() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Environment( 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder subBuilder = null; if (hostInfo_ != null) { subBuilder = hostInfo_.toBuilder(); } hostInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hostInfo_); hostInfo_ = subBuilder.buildPartial(); } break; } case 18: { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder subBuilder = null; if (processInfo_ != null) { subBuilder = processInfo_.toBuilder(); } processInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(processInfo_); processInfo_ = subBuilder.buildPartial(); } break; } case 26: { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder subBuilder = null; if (javaInfo_ != null) { subBuilder = javaInfo_.toBuilder(); } javaInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(javaInfo_); javaInfo_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder.class); } public interface HostInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage.Environment.HostInfo) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string host_name = 1; */ java.lang.String getHostName(); /** * string host_name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHostNameBytes(); /** * int32 available_processors = 2; */ int getAvailableProcessors(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ boolean hasTotalPhysicalMemoryBytes(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes(); /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder(); /** * string os_name = 4; */ java.lang.String getOsName(); /** * string os_name = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsNameBytes(); /** * string os_version = 5; */ java.lang.String getOsVersion(); /** * string os_version = 5; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsVersionBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitMessage.Environment.HostInfo} */ public static final class HostInfo extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage.Environment.HostInfo) HostInfoOrBuilder { private static final long serialVersionUID = 0L; // Use HostInfo.newBuilder() to construct. private HostInfo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HostInfo() { hostName_ = ""; availableProcessors_ = 0; osName_ = ""; osVersion_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HostInfo( 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(); hostName_ = s; break; } case 16: { availableProcessors_ = input.readInt32(); break; } case 26: { org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null; if (totalPhysicalMemoryBytes_ != null) { subBuilder = totalPhysicalMemoryBytes_.toBuilder(); } totalPhysicalMemoryBytes_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalPhysicalMemoryBytes_); totalPhysicalMemoryBytes_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); osName_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); osVersion_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder.class); } public static final int HOST_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object hostName_; /** * string host_name = 1; */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; 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(); hostName_ = s; return s; } } /** * string host_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; 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); hostName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int AVAILABLE_PROCESSORS_FIELD_NUMBER = 2; private int availableProcessors_; /** * int32 available_processors = 2; */ public int getAvailableProcessors() { return availableProcessors_; } public static final int TOTAL_PHYSICAL_MEMORY_BYTES_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.Proto.OptionalInt64 totalPhysicalMemoryBytes_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public boolean hasTotalPhysicalMemoryBytes() { return totalPhysicalMemoryBytes_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes() { return totalPhysicalMemoryBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder() { return getTotalPhysicalMemoryBytes(); } public static final int OS_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object osName_; /** * string os_name = 4; */ public java.lang.String getOsName() { java.lang.Object ref = osName_; 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(); osName_ = s; return s; } } /** * string os_name = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsNameBytes() { java.lang.Object ref = osName_; 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); osName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int OS_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object osVersion_; /** * string os_version = 5; */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; 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(); osVersion_ = s; return s; } } /** * string os_version = 5; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; 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); osVersion_ = 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 (!getHostNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } if (availableProcessors_ != 0) { output.writeInt32(2, availableProcessors_); } if (totalPhysicalMemoryBytes_ != null) { output.writeMessage(3, getTotalPhysicalMemoryBytes()); } if (!getOsNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, osName_); } if (!getOsVersionBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, osVersion_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getHostNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, hostName_); } if (availableProcessors_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(2, availableProcessors_); } if (totalPhysicalMemoryBytes_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTotalPhysicalMemoryBytes()); } if (!getOsNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, osName_); } if (!getOsVersionBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(5, osVersion_); } 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo) obj; boolean result = true; result = result && getHostName() .equals(other.getHostName()); result = result && (getAvailableProcessors() == other.getAvailableProcessors()); result = result && (hasTotalPhysicalMemoryBytes() == other.hasTotalPhysicalMemoryBytes()); if (hasTotalPhysicalMemoryBytes()) { result = result && getTotalPhysicalMemoryBytes() .equals(other.getTotalPhysicalMemoryBytes()); } result = result && getOsName() .equals(other.getOsName()); result = result && getOsVersion() .equals(other.getOsVersion()); 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) + HOST_NAME_FIELD_NUMBER; hash = (53 * hash) + getHostName().hashCode(); hash = (37 * hash) + AVAILABLE_PROCESSORS_FIELD_NUMBER; hash = (53 * hash) + getAvailableProcessors(); if (hasTotalPhysicalMemoryBytes()) { hash = (37 * hash) + TOTAL_PHYSICAL_MEMORY_BYTES_FIELD_NUMBER; hash = (53 * hash) + getTotalPhysicalMemoryBytes().hashCode(); } hash = (37 * hash) + OS_NAME_FIELD_NUMBER; hash = (53 * hash) + getOsName().hashCode(); hash = (37 * hash) + OS_VERSION_FIELD_NUMBER; hash = (53 * hash) + getOsVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.InitMessage.Environment.HostInfo} */ 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.InitMessage.Environment.HostInfo) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.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(); hostName_ = ""; availableProcessors_ = 0; if (totalPhysicalMemoryBytesBuilder_ == null) { totalPhysicalMemoryBytes_ = null; } else { totalPhysicalMemoryBytes_ = null; totalPhysicalMemoryBytesBuilder_ = null; } osName_ = ""; osVersion_ = ""; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo(this); result.hostName_ = hostName_; result.availableProcessors_ = availableProcessors_; if (totalPhysicalMemoryBytesBuilder_ == null) { result.totalPhysicalMemoryBytes_ = totalPhysicalMemoryBytes_; } else { result.totalPhysicalMemoryBytes_ = totalPhysicalMemoryBytesBuilder_.build(); } result.osName_ = osName_; result.osVersion_ = osVersion_; 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.getDefaultInstance()) return this; if (!other.getHostName().isEmpty()) { hostName_ = other.hostName_; onChanged(); } if (other.getAvailableProcessors() != 0) { setAvailableProcessors(other.getAvailableProcessors()); } if (other.hasTotalPhysicalMemoryBytes()) { mergeTotalPhysicalMemoryBytes(other.getTotalPhysicalMemoryBytes()); } if (!other.getOsName().isEmpty()) { osName_ = other.osName_; onChanged(); } if (!other.getOsVersion().isEmpty()) { osVersion_ = other.osVersion_; 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object hostName_ = ""; /** * string host_name = 1; */ public java.lang.String getHostName() { java.lang.Object ref = hostName_; 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(); hostName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string host_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHostNameBytes() { java.lang.Object ref = hostName_; 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); hostName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string host_name = 1; */ public Builder setHostName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } hostName_ = value; onChanged(); return this; } /** * string host_name = 1; */ public Builder clearHostName() { hostName_ = getDefaultInstance().getHostName(); onChanged(); return this; } /** * string host_name = 1; */ public Builder setHostNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); hostName_ = value; onChanged(); return this; } private int availableProcessors_ ; /** * int32 available_processors = 2; */ public int getAvailableProcessors() { return availableProcessors_; } /** * int32 available_processors = 2; */ public Builder setAvailableProcessors(int value) { availableProcessors_ = value; onChanged(); return this; } /** * int32 available_processors = 2; */ public Builder clearAvailableProcessors() { availableProcessors_ = 0; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.OptionalInt64 totalPhysicalMemoryBytes_ = 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> totalPhysicalMemoryBytesBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public boolean hasTotalPhysicalMemoryBytes() { return totalPhysicalMemoryBytesBuilder_ != null || totalPhysicalMemoryBytes_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes() { if (totalPhysicalMemoryBytesBuilder_ == null) { return totalPhysicalMemoryBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_; } else { return totalPhysicalMemoryBytesBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public Builder setTotalPhysicalMemoryBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalPhysicalMemoryBytesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalPhysicalMemoryBytes_ = value; onChanged(); } else { totalPhysicalMemoryBytesBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public Builder setTotalPhysicalMemoryBytes( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (totalPhysicalMemoryBytesBuilder_ == null) { totalPhysicalMemoryBytes_ = builderForValue.build(); onChanged(); } else { totalPhysicalMemoryBytesBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public Builder mergeTotalPhysicalMemoryBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (totalPhysicalMemoryBytesBuilder_ == null) { if (totalPhysicalMemoryBytes_ != null) { totalPhysicalMemoryBytes_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalPhysicalMemoryBytes_).mergeFrom(value).buildPartial(); } else { totalPhysicalMemoryBytes_ = value; } onChanged(); } else { totalPhysicalMemoryBytesBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public Builder clearTotalPhysicalMemoryBytes() { if (totalPhysicalMemoryBytesBuilder_ == null) { totalPhysicalMemoryBytes_ = null; onChanged(); } else { totalPhysicalMemoryBytes_ = null; totalPhysicalMemoryBytesBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalPhysicalMemoryBytesBuilder() { onChanged(); return getTotalPhysicalMemoryBytesFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder() { if (totalPhysicalMemoryBytesBuilder_ != null) { return totalPhysicalMemoryBytesBuilder_.getMessageOrBuilder(); } else { return totalPhysicalMemoryBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 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> getTotalPhysicalMemoryBytesFieldBuilder() { if (totalPhysicalMemoryBytesBuilder_ == null) { totalPhysicalMemoryBytesBuilder_ = 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>( getTotalPhysicalMemoryBytes(), getParentForChildren(), isClean()); totalPhysicalMemoryBytes_ = null; } return totalPhysicalMemoryBytesBuilder_; } private java.lang.Object osName_ = ""; /** * string os_name = 4; */ public java.lang.String getOsName() { java.lang.Object ref = osName_; 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(); osName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string os_name = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsNameBytes() { java.lang.Object ref = osName_; 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); osName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string os_name = 4; */ public Builder setOsName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } osName_ = value; onChanged(); return this; } /** * string os_name = 4; */ public Builder clearOsName() { osName_ = getDefaultInstance().getOsName(); onChanged(); return this; } /** * string os_name = 4; */ public Builder setOsNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); osName_ = value; onChanged(); return this; } private java.lang.Object osVersion_ = ""; /** * string os_version = 5; */ public java.lang.String getOsVersion() { java.lang.Object ref = osVersion_; 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(); osVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string os_version = 5; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOsVersionBytes() { java.lang.Object ref = osVersion_; 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); osVersion_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string os_version = 5; */ public Builder setOsVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } osVersion_ = value; onChanged(); return this; } /** * string os_version = 5; */ public Builder clearOsVersion() { osVersion_ = getDefaultInstance().getOsVersion(); onChanged(); return this; } /** * string os_version = 5; */ public Builder setOsVersionBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); osVersion_ = 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.InitMessage.Environment.HostInfo) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage.Environment.HostInfo) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo 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 HostInfo 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 HostInfo(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.CollectorServiceOuterClass.InitMessage.Environment.HostInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProcessInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ boolean hasProcessId(); /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId(); /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder(); /** * int64 start_time = 2; */ long getStartTime(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo} */ public static final class ProcessInfo extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo) ProcessInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ProcessInfo.newBuilder() to construct. private ProcessInfo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProcessInfo() { startTime_ = 0L; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProcessInfo( 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 (processId_ != null) { subBuilder = processId_.toBuilder(); } processId_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(processId_); processId_ = subBuilder.buildPartial(); } break; } case 16: { startTime_ = input.readInt64(); break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder.class); } public static final int PROCESS_ID_FIELD_NUMBER = 1; private org.glowroot.wire.api.model.Proto.OptionalInt64 processId_; /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public boolean hasProcessId() { return processId_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId() { return processId_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder() { return getProcessId(); } public static final int START_TIME_FIELD_NUMBER = 2; private long startTime_; /** * int64 start_time = 2; */ public long getStartTime() { return startTime_; } 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 (processId_ != null) { output.writeMessage(1, getProcessId()); } if (startTime_ != 0L) { output.writeInt64(2, startTime_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (processId_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getProcessId()); } if (startTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(2, startTime_); } 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo) obj; boolean result = true; result = result && (hasProcessId() == other.hasProcessId()); if (hasProcessId()) { result = result && getProcessId() .equals(other.getProcessId()); } result = result && (getStartTime() == other.getStartTime()); 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 (hasProcessId()) { hash = (37 * hash) + PROCESS_ID_FIELD_NUMBER; hash = (53 * hash) + getProcessId().hashCode(); } hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getStartTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.InitMessage.Environment.ProcessInfo} */ 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.InitMessage.Environment.ProcessInfo) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.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 (processIdBuilder_ == null) { processId_ = null; } else { processId_ = null; processIdBuilder_ = null; } startTime_ = 0L; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo(this); if (processIdBuilder_ == null) { result.processId_ = processId_; } else { result.processId_ = processIdBuilder_.build(); } result.startTime_ = startTime_; 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.getDefaultInstance()) return this; if (other.hasProcessId()) { mergeProcessId(other.getProcessId()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.glowroot.wire.api.model.Proto.OptionalInt64 processId_ = 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> processIdBuilder_; /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public boolean hasProcessId() { return processIdBuilder_ != null || processId_ != null; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId() { if (processIdBuilder_ == null) { return processId_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_; } else { return processIdBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public Builder setProcessId(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (processIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } processId_ = value; onChanged(); } else { processIdBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public Builder setProcessId( org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) { if (processIdBuilder_ == null) { processId_ = builderForValue.build(); onChanged(); } else { processIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public Builder mergeProcessId(org.glowroot.wire.api.model.Proto.OptionalInt64 value) { if (processIdBuilder_ == null) { if (processId_ != null) { processId_ = org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(processId_).mergeFrom(value).buildPartial(); } else { processId_ = value; } onChanged(); } else { processIdBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public Builder clearProcessId() { if (processIdBuilder_ == null) { processId_ = null; onChanged(); } else { processId_ = null; processIdBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getProcessIdBuilder() { onChanged(); return getProcessIdFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 1; */ public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder() { if (processIdBuilder_ != null) { return processIdBuilder_.getMessageOrBuilder(); } else { return processId_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_; } } /** * .org_glowroot_wire_api_model.OptionalInt64 process_id = 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> getProcessIdFieldBuilder() { if (processIdBuilder_ == null) { processIdBuilder_ = 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>( getProcessId(), getParentForChildren(), isClean()); processId_ = null; } return processIdBuilder_; } private long startTime_ ; /** * int64 start_time = 2; */ public long getStartTime() { return startTime_; } /** * int64 start_time = 2; */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * int64 start_time = 2; */ public Builder clearStartTime() { startTime_ = 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.InitMessage.Environment.ProcessInfo) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo 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 ProcessInfo 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 ProcessInfo(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.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JavaInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string version = 1; */ java.lang.String getVersion(); /** * string version = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVersionBytes(); /** * string vm = 2; */ java.lang.String getVm(); /** * string vm = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVmBytes(); /** * repeated string arg = 3; */ java.util.List getArgList(); /** * repeated string arg = 3; */ int getArgCount(); /** * repeated string arg = 3; */ java.lang.String getArg(int index); /** * repeated string arg = 3; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getArgBytes(int index); /** * string heap_dump_default_dir = 4; */ java.lang.String getHeapDumpDefaultDir(); /** * string heap_dump_default_dir = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeapDumpDefaultDirBytes(); /** * string glowroot_agent_version = 15; */ java.lang.String getGlowrootAgentVersion(); /** * string glowroot_agent_version = 15; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootAgentVersionBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo} */ public static final class JavaInfo extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo) JavaInfoOrBuilder { private static final long serialVersionUID = 0L; // Use JavaInfo.newBuilder() to construct. private JavaInfo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JavaInfo() { version_ = ""; vm_ = ""; arg_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; heapDumpDefaultDir_ = ""; glowrootAgentVersion_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JavaInfo( 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(); version_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); vm_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { arg_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } arg_.add(s); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); heapDumpDefaultDir_ = s; break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); glowrootAgentVersion_ = 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_ & 0x00000004) == 0x00000004)) { arg_ = arg_.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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder.class); } private int bitField0_; public static final int VERSION_FIELD_NUMBER = 1; private volatile java.lang.Object version_; /** * string version = 1; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; } } /** * string version = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int VM_FIELD_NUMBER = 2; private volatile java.lang.Object vm_; /** * string vm = 2; */ public java.lang.String getVm() { java.lang.Object ref = vm_; 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(); vm_ = s; return s; } } /** * string vm = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVmBytes() { java.lang.Object ref = vm_; 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); vm_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int ARG_FIELD_NUMBER = 3; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList arg_; /** * repeated string arg = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList getArgList() { return arg_; } /** * repeated string arg = 3; */ public int getArgCount() { return arg_.size(); } /** * repeated string arg = 3; */ public java.lang.String getArg(int index) { return arg_.get(index); } /** * repeated string arg = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getArgBytes(int index) { return arg_.getByteString(index); } public static final int HEAP_DUMP_DEFAULT_DIR_FIELD_NUMBER = 4; private volatile java.lang.Object heapDumpDefaultDir_; /** * string heap_dump_default_dir = 4; */ public java.lang.String getHeapDumpDefaultDir() { java.lang.Object ref = heapDumpDefaultDir_; 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(); heapDumpDefaultDir_ = s; return s; } } /** * string heap_dump_default_dir = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeapDumpDefaultDirBytes() { java.lang.Object ref = heapDumpDefaultDir_; 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); heapDumpDefaultDir_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int GLOWROOT_AGENT_VERSION_FIELD_NUMBER = 15; private volatile java.lang.Object glowrootAgentVersion_; /** * string glowroot_agent_version = 15; */ public java.lang.String getGlowrootAgentVersion() { java.lang.Object ref = glowrootAgentVersion_; 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(); glowrootAgentVersion_ = s; return s; } } /** * string glowroot_agent_version = 15; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootAgentVersionBytes() { java.lang.Object ref = glowrootAgentVersion_; 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); glowrootAgentVersion_ = 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 (!getVersionBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, version_); } if (!getVmBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vm_); } for (int i = 0; i < arg_.size(); i++) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, arg_.getRaw(i)); } if (!getHeapDumpDefaultDirBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, heapDumpDefaultDir_); } if (!getGlowrootAgentVersionBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 15, glowrootAgentVersion_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getVersionBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, version_); } if (!getVmBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vm_); } { int dataSize = 0; for (int i = 0; i < arg_.size(); i++) { dataSize += computeStringSizeNoTag(arg_.getRaw(i)); } size += dataSize; size += 1 * getArgList().size(); } if (!getHeapDumpDefaultDirBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, heapDumpDefaultDir_); } if (!getGlowrootAgentVersionBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(15, glowrootAgentVersion_); } 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo) obj; boolean result = true; result = result && getVersion() .equals(other.getVersion()); result = result && getVm() .equals(other.getVm()); result = result && getArgList() .equals(other.getArgList()); result = result && getHeapDumpDefaultDir() .equals(other.getHeapDumpDefaultDir()); result = result && getGlowrootAgentVersion() .equals(other.getGlowrootAgentVersion()); 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) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion().hashCode(); hash = (37 * hash) + VM_FIELD_NUMBER; hash = (53 * hash) + getVm().hashCode(); if (getArgCount() > 0) { hash = (37 * hash) + ARG_FIELD_NUMBER; hash = (53 * hash) + getArgList().hashCode(); } hash = (37 * hash) + HEAP_DUMP_DEFAULT_DIR_FIELD_NUMBER; hash = (53 * hash) + getHeapDumpDefaultDir().hashCode(); hash = (37 * hash) + GLOWROOT_AGENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getGlowrootAgentVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.InitMessage.Environment.JavaInfo} */ 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.InitMessage.Environment.JavaInfo) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.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(); version_ = ""; vm_ = ""; arg_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); heapDumpDefaultDir_ = ""; glowrootAgentVersion_ = ""; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.version_ = version_; result.vm_ = vm_; if (((bitField0_ & 0x00000004) == 0x00000004)) { arg_ = arg_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.arg_ = arg_; result.heapDumpDefaultDir_ = heapDumpDefaultDir_; result.glowrootAgentVersion_ = glowrootAgentVersion_; 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.getDefaultInstance()) return this; if (!other.getVersion().isEmpty()) { version_ = other.version_; onChanged(); } if (!other.getVm().isEmpty()) { vm_ = other.vm_; onChanged(); } if (!other.arg_.isEmpty()) { if (arg_.isEmpty()) { arg_ = other.arg_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureArgIsMutable(); arg_.addAll(other.arg_); } onChanged(); } if (!other.getHeapDumpDefaultDir().isEmpty()) { heapDumpDefaultDir_ = other.heapDumpDefaultDir_; onChanged(); } if (!other.getGlowrootAgentVersion().isEmpty()) { glowrootAgentVersion_ = other.glowrootAgentVersion_; 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object version_ = ""; /** * string version = 1; */ public java.lang.String getVersion() { java.lang.Object ref = version_; 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(); version_ = s; return s; } else { return (java.lang.String) ref; } } /** * string version = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; 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); version_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string version = 1; */ public Builder setVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } version_ = value; onChanged(); return this; } /** * string version = 1; */ public Builder clearVersion() { version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** * string version = 1; */ public Builder setVersionBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); version_ = value; onChanged(); return this; } private java.lang.Object vm_ = ""; /** * string vm = 2; */ public java.lang.String getVm() { java.lang.Object ref = vm_; 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(); vm_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vm = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getVmBytes() { java.lang.Object ref = vm_; 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); vm_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string vm = 2; */ public Builder setVm( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vm_ = value; onChanged(); return this; } /** * string vm = 2; */ public Builder clearVm() { vm_ = getDefaultInstance().getVm(); onChanged(); return this; } /** * string vm = 2; */ public Builder setVmBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vm_ = value; onChanged(); return this; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList arg_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { arg_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(arg_); bitField0_ |= 0x00000004; } } /** * repeated string arg = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList getArgList() { return arg_.getUnmodifiableView(); } /** * repeated string arg = 3; */ public int getArgCount() { return arg_.size(); } /** * repeated string arg = 3; */ public java.lang.String getArg(int index) { return arg_.get(index); } /** * repeated string arg = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getArgBytes(int index) { return arg_.getByteString(index); } /** * repeated string arg = 3; */ public Builder setArg( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureArgIsMutable(); arg_.set(index, value); onChanged(); return this; } /** * repeated string arg = 3; */ public Builder addArg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureArgIsMutable(); arg_.add(value); onChanged(); return this; } /** * repeated string arg = 3; */ public Builder addAllArg( java.lang.Iterable values) { ensureArgIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, arg_); onChanged(); return this; } /** * repeated string arg = 3; */ public Builder clearArg() { arg_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string arg = 3; */ public Builder addArgBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureArgIsMutable(); arg_.add(value); onChanged(); return this; } private java.lang.Object heapDumpDefaultDir_ = ""; /** * string heap_dump_default_dir = 4; */ public java.lang.String getHeapDumpDefaultDir() { java.lang.Object ref = heapDumpDefaultDir_; 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(); heapDumpDefaultDir_ = s; return s; } else { return (java.lang.String) ref; } } /** * string heap_dump_default_dir = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getHeapDumpDefaultDirBytes() { java.lang.Object ref = heapDumpDefaultDir_; 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); heapDumpDefaultDir_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string heap_dump_default_dir = 4; */ public Builder setHeapDumpDefaultDir( java.lang.String value) { if (value == null) { throw new NullPointerException(); } heapDumpDefaultDir_ = value; onChanged(); return this; } /** * string heap_dump_default_dir = 4; */ public Builder clearHeapDumpDefaultDir() { heapDumpDefaultDir_ = getDefaultInstance().getHeapDumpDefaultDir(); onChanged(); return this; } /** * string heap_dump_default_dir = 4; */ public Builder setHeapDumpDefaultDirBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); heapDumpDefaultDir_ = value; onChanged(); return this; } private java.lang.Object glowrootAgentVersion_ = ""; /** * string glowroot_agent_version = 15; */ public java.lang.String getGlowrootAgentVersion() { java.lang.Object ref = glowrootAgentVersion_; 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(); glowrootAgentVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string glowroot_agent_version = 15; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootAgentVersionBytes() { java.lang.Object ref = glowrootAgentVersion_; 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); glowrootAgentVersion_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string glowroot_agent_version = 15; */ public Builder setGlowrootAgentVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } glowrootAgentVersion_ = value; onChanged(); return this; } /** * string glowroot_agent_version = 15; */ public Builder clearGlowrootAgentVersion() { glowrootAgentVersion_ = getDefaultInstance().getGlowrootAgentVersion(); onChanged(); return this; } /** * string glowroot_agent_version = 15; */ public Builder setGlowrootAgentVersionBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); glowrootAgentVersion_ = 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.InitMessage.Environment.JavaInfo) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo 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 JavaInfo 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 JavaInfo(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.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int HOST_INFO_FIELD_NUMBER = 1; private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo hostInfo_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public boolean hasHostInfo() { return hostInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo getHostInfo() { return hostInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.getDefaultInstance() : hostInfo_; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder getHostInfoOrBuilder() { return getHostInfo(); } public static final int PROCESS_INFO_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo processInfo_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public boolean hasProcessInfo() { return processInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo getProcessInfo() { return processInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.getDefaultInstance() : processInfo_; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder getProcessInfoOrBuilder() { return getProcessInfo(); } public static final int JAVA_INFO_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo javaInfo_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public boolean hasJavaInfo() { return javaInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo getJavaInfo() { return javaInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.getDefaultInstance() : javaInfo_; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder getJavaInfoOrBuilder() { return getJavaInfo(); } 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 (hostInfo_ != null) { output.writeMessage(1, getHostInfo()); } if (processInfo_ != null) { output.writeMessage(2, getProcessInfo()); } if (javaInfo_ != null) { output.writeMessage(3, getJavaInfo()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (hostInfo_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getHostInfo()); } if (processInfo_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getProcessInfo()); } if (javaInfo_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, getJavaInfo()); } 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.CollectorServiceOuterClass.InitMessage.Environment)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment) obj; boolean result = true; result = result && (hasHostInfo() == other.hasHostInfo()); if (hasHostInfo()) { result = result && getHostInfo() .equals(other.getHostInfo()); } result = result && (hasProcessInfo() == other.hasProcessInfo()); if (hasProcessInfo()) { result = result && getProcessInfo() .equals(other.getProcessInfo()); } result = result && (hasJavaInfo() == other.hasJavaInfo()); if (hasJavaInfo()) { result = result && getJavaInfo() .equals(other.getJavaInfo()); } 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 (hasHostInfo()) { hash = (37 * hash) + HOST_INFO_FIELD_NUMBER; hash = (53 * hash) + getHostInfo().hashCode(); } if (hasProcessInfo()) { hash = (37 * hash) + PROCESS_INFO_FIELD_NUMBER; hash = (53 * hash) + getProcessInfo().hashCode(); } if (hasJavaInfo()) { hash = (37 * hash) + JAVA_INFO_FIELD_NUMBER; hash = (53 * hash) + getJavaInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment 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.InitMessage.Environment} */ 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.InitMessage.Environment) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.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 (hostInfoBuilder_ == null) { hostInfo_ = null; } else { hostInfo_ = null; hostInfoBuilder_ = null; } if (processInfoBuilder_ == null) { processInfo_ = null; } else { processInfo_ = null; processInfoBuilder_ = null; } if (javaInfoBuilder_ == null) { javaInfo_ = null; } else { javaInfo_ = null; javaInfoBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment(this); if (hostInfoBuilder_ == null) { result.hostInfo_ = hostInfo_; } else { result.hostInfo_ = hostInfoBuilder_.build(); } if (processInfoBuilder_ == null) { result.processInfo_ = processInfo_; } else { result.processInfo_ = processInfoBuilder_.build(); } if (javaInfoBuilder_ == null) { result.javaInfo_ = javaInfo_; } else { result.javaInfo_ = javaInfoBuilder_.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.CollectorServiceOuterClass.InitMessage.Environment) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.getDefaultInstance()) return this; if (other.hasHostInfo()) { mergeHostInfo(other.getHostInfo()); } if (other.hasProcessInfo()) { mergeProcessInfo(other.getProcessInfo()); } if (other.hasJavaInfo()) { mergeJavaInfo(other.getJavaInfo()); } 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.CollectorServiceOuterClass.InitMessage.Environment 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.CollectorServiceOuterClass.InitMessage.Environment) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo hostInfo_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder> hostInfoBuilder_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public boolean hasHostInfo() { return hostInfoBuilder_ != null || hostInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo getHostInfo() { if (hostInfoBuilder_ == null) { return hostInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.getDefaultInstance() : hostInfo_; } else { return hostInfoBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public Builder setHostInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo value) { if (hostInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hostInfo_ = value; onChanged(); } else { hostInfoBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public Builder setHostInfo( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder builderForValue) { if (hostInfoBuilder_ == null) { hostInfo_ = builderForValue.build(); onChanged(); } else { hostInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public Builder mergeHostInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo value) { if (hostInfoBuilder_ == null) { if (hostInfo_ != null) { hostInfo_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.newBuilder(hostInfo_).mergeFrom(value).buildPartial(); } else { hostInfo_ = value; } onChanged(); } else { hostInfoBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public Builder clearHostInfo() { if (hostInfoBuilder_ == null) { hostInfo_ = null; onChanged(); } else { hostInfo_ = null; hostInfoBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder getHostInfoBuilder() { onChanged(); return getHostInfoFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder getHostInfoOrBuilder() { if (hostInfoBuilder_ != null) { return hostInfoBuilder_.getMessageOrBuilder(); } else { return hostInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.getDefaultInstance() : hostInfo_; } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.HostInfo host_info = 1; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder> getHostInfoFieldBuilder() { if (hostInfoBuilder_ == null) { hostInfoBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.HostInfoOrBuilder>( getHostInfo(), getParentForChildren(), isClean()); hostInfo_ = null; } return hostInfoBuilder_; } private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo processInfo_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder> processInfoBuilder_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public boolean hasProcessInfo() { return processInfoBuilder_ != null || processInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo getProcessInfo() { if (processInfoBuilder_ == null) { return processInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.getDefaultInstance() : processInfo_; } else { return processInfoBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public Builder setProcessInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo value) { if (processInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } processInfo_ = value; onChanged(); } else { processInfoBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public Builder setProcessInfo( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder builderForValue) { if (processInfoBuilder_ == null) { processInfo_ = builderForValue.build(); onChanged(); } else { processInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public Builder mergeProcessInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo value) { if (processInfoBuilder_ == null) { if (processInfo_ != null) { processInfo_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.newBuilder(processInfo_).mergeFrom(value).buildPartial(); } else { processInfo_ = value; } onChanged(); } else { processInfoBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public Builder clearProcessInfo() { if (processInfoBuilder_ == null) { processInfo_ = null; onChanged(); } else { processInfo_ = null; processInfoBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder getProcessInfoBuilder() { onChanged(); return getProcessInfoFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder getProcessInfoOrBuilder() { if (processInfoBuilder_ != null) { return processInfoBuilder_.getMessageOrBuilder(); } else { return processInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.getDefaultInstance() : processInfo_; } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.ProcessInfo process_info = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder> getProcessInfoFieldBuilder() { if (processInfoBuilder_ == null) { processInfoBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.ProcessInfoOrBuilder>( getProcessInfo(), getParentForChildren(), isClean()); processInfo_ = null; } return processInfoBuilder_; } private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo javaInfo_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder> javaInfoBuilder_; /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public boolean hasJavaInfo() { return javaInfoBuilder_ != null || javaInfo_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo getJavaInfo() { if (javaInfoBuilder_ == null) { return javaInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.getDefaultInstance() : javaInfo_; } else { return javaInfoBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public Builder setJavaInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo value) { if (javaInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } javaInfo_ = value; onChanged(); } else { javaInfoBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public Builder setJavaInfo( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder builderForValue) { if (javaInfoBuilder_ == null) { javaInfo_ = builderForValue.build(); onChanged(); } else { javaInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public Builder mergeJavaInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo value) { if (javaInfoBuilder_ == null) { if (javaInfo_ != null) { javaInfo_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.newBuilder(javaInfo_).mergeFrom(value).buildPartial(); } else { javaInfo_ = value; } onChanged(); } else { javaInfoBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public Builder clearJavaInfo() { if (javaInfoBuilder_ == null) { javaInfo_ = null; onChanged(); } else { javaInfo_ = null; javaInfoBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder getJavaInfoBuilder() { onChanged(); return getJavaInfoFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder getJavaInfoOrBuilder() { if (javaInfoBuilder_ != null) { return javaInfoBuilder_.getMessageOrBuilder(); } else { return javaInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.getDefaultInstance() : javaInfo_; } } /** * .org_glowroot_wire_api_model.InitMessage.Environment.JavaInfo java_info = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder> getJavaInfoFieldBuilder() { if (javaInfoBuilder_ == null) { javaInfoBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.JavaInfoOrBuilder>( getJavaInfo(), getParentForChildren(), isClean()); javaInfo_ = null; } return javaInfoBuilder_; } 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.InitMessage.Environment) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage.Environment) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment 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 Environment 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 Environment(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.CollectorServiceOuterClass.InitMessage.Environment getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int V09_AGENT_ROLLUP_ID_FIELD_NUMBER = 4; private volatile java.lang.Object v09AgentRollupId_; /** *
     * deprecated in 0.10.0, now rollup is incorporated into agent_id
     * 
* * string v09_agent_rollup_id = 4; */ public java.lang.String getV09AgentRollupId() { java.lang.Object ref = v09AgentRollupId_; 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(); v09AgentRollupId_ = s; return s; } } /** *
     * deprecated in 0.10.0, now rollup is incorporated into agent_id
     * 
* * string v09_agent_rollup_id = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getV09AgentRollupIdBytes() { java.lang.Object ref = v09AgentRollupId_; 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); v09AgentRollupId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int ENVIRONMENT_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment environment_; /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public boolean hasEnvironment() { return environment_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment getEnvironment() { return environment_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.getDefaultInstance() : environment_; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder getEnvironmentOrBuilder() { return getEnvironment(); } public static final int AGENT_CONFIG_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_; /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public boolean hasAgentConfig() { return agentConfig_ != null; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() { return getAgentConfig(); } public static final int OVERWRITE_EXISTING_AGENT_CONFIG_FIELD_NUMBER = 5; private boolean overwriteExistingAgentConfig_; /** * bool overwrite_existing_agent_config = 5; */ public boolean getOverwriteExistingAgentConfig() { return overwriteExistingAgentConfig_; } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (environment_ != null) { output.writeMessage(2, getEnvironment()); } if (agentConfig_ != null) { output.writeMessage(3, getAgentConfig()); } if (!getV09AgentRollupIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, v09AgentRollupId_); } if (overwriteExistingAgentConfig_ != false) { output.writeBool(5, overwriteExistingAgentConfig_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (environment_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEnvironment()); } if (agentConfig_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAgentConfig()); } if (!getV09AgentRollupIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, v09AgentRollupId_); } if (overwriteExistingAgentConfig_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(5, overwriteExistingAgentConfig_); } 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.CollectorServiceOuterClass.InitMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && getV09AgentRollupId() .equals(other.getV09AgentRollupId()); result = result && (hasEnvironment() == other.hasEnvironment()); if (hasEnvironment()) { result = result && getEnvironment() .equals(other.getEnvironment()); } result = result && (hasAgentConfig() == other.hasAgentConfig()); if (hasAgentConfig()) { result = result && getAgentConfig() .equals(other.getAgentConfig()); } result = result && (getOverwriteExistingAgentConfig() == other.getOverwriteExistingAgentConfig()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); hash = (37 * hash) + V09_AGENT_ROLLUP_ID_FIELD_NUMBER; hash = (53 * hash) + getV09AgentRollupId().hashCode(); if (hasEnvironment()) { hash = (37 * hash) + ENVIRONMENT_FIELD_NUMBER; hash = (53 * hash) + getEnvironment().hashCode(); } if (hasAgentConfig()) { hash = (37 * hash) + AGENT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAgentConfig().hashCode(); } hash = (37 * hash) + OVERWRITE_EXISTING_AGENT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getOverwriteExistingAgentConfig()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage 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.InitMessage} */ 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.InitMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.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(); agentId_ = ""; v09AgentRollupId_ = ""; if (environmentBuilder_ == null) { environment_ = null; } else { environment_ = null; environmentBuilder_ = null; } if (agentConfigBuilder_ == null) { agentConfig_ = null; } else { agentConfig_ = null; agentConfigBuilder_ = null; } overwriteExistingAgentConfig_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage(this); result.agentId_ = agentId_; result.v09AgentRollupId_ = v09AgentRollupId_; if (environmentBuilder_ == null) { result.environment_ = environment_; } else { result.environment_ = environmentBuilder_.build(); } if (agentConfigBuilder_ == null) { result.agentConfig_ = agentConfig_; } else { result.agentConfig_ = agentConfigBuilder_.build(); } result.overwriteExistingAgentConfig_ = overwriteExistingAgentConfig_; 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.CollectorServiceOuterClass.InitMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (!other.getV09AgentRollupId().isEmpty()) { v09AgentRollupId_ = other.v09AgentRollupId_; onChanged(); } if (other.hasEnvironment()) { mergeEnvironment(other.getEnvironment()); } if (other.hasAgentConfig()) { mergeAgentConfig(other.getAgentConfig()); } if (other.getOverwriteExistingAgentConfig() != false) { setOverwriteExistingAgentConfig(other.getOverwriteExistingAgentConfig()); } 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.CollectorServiceOuterClass.InitMessage 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.CollectorServiceOuterClass.InitMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private java.lang.Object v09AgentRollupId_ = ""; /** *
       * deprecated in 0.10.0, now rollup is incorporated into agent_id
       * 
* * string v09_agent_rollup_id = 4; */ public java.lang.String getV09AgentRollupId() { java.lang.Object ref = v09AgentRollupId_; 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(); v09AgentRollupId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * deprecated in 0.10.0, now rollup is incorporated into agent_id
       * 
* * string v09_agent_rollup_id = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getV09AgentRollupIdBytes() { java.lang.Object ref = v09AgentRollupId_; 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); v09AgentRollupId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** *
       * deprecated in 0.10.0, now rollup is incorporated into agent_id
       * 
* * string v09_agent_rollup_id = 4; */ public Builder setV09AgentRollupId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } v09AgentRollupId_ = value; onChanged(); return this; } /** *
       * deprecated in 0.10.0, now rollup is incorporated into agent_id
       * 
* * string v09_agent_rollup_id = 4; */ public Builder clearV09AgentRollupId() { v09AgentRollupId_ = getDefaultInstance().getV09AgentRollupId(); onChanged(); return this; } /** *
       * deprecated in 0.10.0, now rollup is incorporated into agent_id
       * 
* * string v09_agent_rollup_id = 4; */ public Builder setV09AgentRollupIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); v09AgentRollupId_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment environment_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder> environmentBuilder_; /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public boolean hasEnvironment() { return environmentBuilder_ != null || environment_ != null; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment getEnvironment() { if (environmentBuilder_ == null) { return environment_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.getDefaultInstance() : environment_; } else { return environmentBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public Builder setEnvironment(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment value) { if (environmentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } environment_ = value; onChanged(); } else { environmentBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public Builder setEnvironment( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder builderForValue) { if (environmentBuilder_ == null) { environment_ = builderForValue.build(); onChanged(); } else { environmentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public Builder mergeEnvironment(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment value) { if (environmentBuilder_ == null) { if (environment_ != null) { environment_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.newBuilder(environment_).mergeFrom(value).buildPartial(); } else { environment_ = value; } onChanged(); } else { environmentBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public Builder clearEnvironment() { if (environmentBuilder_ == null) { environment_ = null; onChanged(); } else { environment_ = null; environmentBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder getEnvironmentBuilder() { onChanged(); return getEnvironmentFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder getEnvironmentOrBuilder() { if (environmentBuilder_ != null) { return environmentBuilder_.getMessageOrBuilder(); } else { return environment_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.getDefaultInstance() : environment_; } } /** * .org_glowroot_wire_api_model.InitMessage.Environment environment = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder> getEnvironmentFieldBuilder() { if (environmentBuilder_ == null) { environmentBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Environment.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.EnvironmentOrBuilder>( getEnvironment(), getParentForChildren(), isClean()); environment_ = null; } return environmentBuilder_; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> agentConfigBuilder_; /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public boolean hasAgentConfig() { return agentConfigBuilder_ != null || agentConfig_ != null; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() { if (agentConfigBuilder_ == null) { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } else { return agentConfigBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public Builder setAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) { if (agentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } agentConfig_ = value; onChanged(); } else { agentConfigBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public Builder setAgentConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder builderForValue) { if (agentConfigBuilder_ == null) { agentConfig_ = builderForValue.build(); onChanged(); } else { agentConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public Builder mergeAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) { if (agentConfigBuilder_ == null) { if (agentConfig_ != null) { agentConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.newBuilder(agentConfig_).mergeFrom(value).buildPartial(); } else { agentConfig_ = value; } onChanged(); } else { agentConfigBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public Builder clearAgentConfig() { if (agentConfigBuilder_ == null) { agentConfig_ = null; onChanged(); } else { agentConfig_ = null; agentConfigBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder getAgentConfigBuilder() { onChanged(); return getAgentConfigFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() { if (agentConfigBuilder_ != null) { return agentConfigBuilder_.getMessageOrBuilder(); } else { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> getAgentConfigFieldBuilder() { if (agentConfigBuilder_ == null) { agentConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>( getAgentConfig(), getParentForChildren(), isClean()); agentConfig_ = null; } return agentConfigBuilder_; } private boolean overwriteExistingAgentConfig_ ; /** * bool overwrite_existing_agent_config = 5; */ public boolean getOverwriteExistingAgentConfig() { return overwriteExistingAgentConfig_; } /** * bool overwrite_existing_agent_config = 5; */ public Builder setOverwriteExistingAgentConfig(boolean value) { overwriteExistingAgentConfig_ = value; onChanged(); return this; } /** * bool overwrite_existing_agent_config = 5; */ public Builder clearOverwriteExistingAgentConfig() { overwriteExistingAgentConfig_ = 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.InitMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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 InitMessage 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 InitMessage(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.CollectorServiceOuterClass.InitMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitResponse) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ boolean hasAgentConfig(); /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig(); /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder(); /** * string glowroot_central_version = 2; */ java.lang.String getGlowrootCentralVersion(); /** * string glowroot_central_version = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootCentralVersionBytes(); } /** * Protobuf type {@code org_glowroot_wire_api_model.InitResponse} */ public static final class InitResponse extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitResponse) InitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use InitResponse.newBuilder() to construct. private InitResponse(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InitResponse() { glowrootCentralVersion_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InitResponse( 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.AgentConfigOuterClass.AgentConfig.Builder subBuilder = null; if (agentConfig_ != null) { subBuilder = agentConfig_.toBuilder(); } agentConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(agentConfig_); agentConfig_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); glowrootCentralVersion_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.Builder.class); } public static final int AGENT_CONFIG_FIELD_NUMBER = 1; private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_; /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public boolean hasAgentConfig() { return agentConfig_ != null; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() { return getAgentConfig(); } public static final int GLOWROOT_CENTRAL_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object glowrootCentralVersion_; /** * string glowroot_central_version = 2; */ public java.lang.String getGlowrootCentralVersion() { java.lang.Object ref = glowrootCentralVersion_; 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(); glowrootCentralVersion_ = s; return s; } } /** * string glowroot_central_version = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootCentralVersionBytes() { java.lang.Object ref = glowrootCentralVersion_; 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); glowrootCentralVersion_ = 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 (agentConfig_ != null) { output.writeMessage(1, getAgentConfig()); } if (!getGlowrootCentralVersionBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, glowrootCentralVersion_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (agentConfig_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAgentConfig()); } if (!getGlowrootCentralVersionBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, glowrootCentralVersion_); } 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.CollectorServiceOuterClass.InitResponse)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse) obj; boolean result = true; result = result && (hasAgentConfig() == other.hasAgentConfig()); if (hasAgentConfig()) { result = result && getAgentConfig() .equals(other.getAgentConfig()); } result = result && getGlowrootCentralVersion() .equals(other.getGlowrootCentralVersion()); 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 (hasAgentConfig()) { hash = (37 * hash) + AGENT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAgentConfig().hashCode(); } hash = (37 * hash) + GLOWROOT_CENTRAL_VERSION_FIELD_NUMBER; hash = (53 * hash) + getGlowrootCentralVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse 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.InitResponse} */ 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.InitResponse) org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponseOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.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 (agentConfigBuilder_ == null) { agentConfig_ = null; } else { agentConfig_ = null; agentConfigBuilder_ = null; } glowrootCentralVersion_ = ""; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse(this); if (agentConfigBuilder_ == null) { result.agentConfig_ = agentConfig_; } else { result.agentConfig_ = agentConfigBuilder_.build(); } result.glowrootCentralVersion_ = glowrootCentralVersion_; 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.CollectorServiceOuterClass.InitResponse) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.getDefaultInstance()) return this; if (other.hasAgentConfig()) { mergeAgentConfig(other.getAgentConfig()); } if (!other.getGlowrootCentralVersion().isEmpty()) { glowrootCentralVersion_ = other.glowrootCentralVersion_; 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.CollectorServiceOuterClass.InitResponse 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.CollectorServiceOuterClass.InitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> agentConfigBuilder_; /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public boolean hasAgentConfig() { return agentConfigBuilder_ != null || agentConfig_ != null; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() { if (agentConfigBuilder_ == null) { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } else { return agentConfigBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public Builder setAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) { if (agentConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } agentConfig_ = value; onChanged(); } else { agentConfigBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public Builder setAgentConfig( org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder builderForValue) { if (agentConfigBuilder_ == null) { agentConfig_ = builderForValue.build(); onChanged(); } else { agentConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public Builder mergeAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) { if (agentConfigBuilder_ == null) { if (agentConfig_ != null) { agentConfig_ = org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.newBuilder(agentConfig_).mergeFrom(value).buildPartial(); } else { agentConfig_ = value; } onChanged(); } else { agentConfigBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public Builder clearAgentConfig() { if (agentConfigBuilder_ == null) { agentConfig_ = null; onChanged(); } else { agentConfig_ = null; agentConfigBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder getAgentConfigBuilder() { onChanged(); return getAgentConfigFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() { if (agentConfigBuilder_ != null) { return agentConfigBuilder_.getMessageOrBuilder(); } else { return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_; } } /** * .org_glowroot_wire_api_model.AgentConfig agent_config = 1; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> getAgentConfigFieldBuilder() { if (agentConfigBuilder_ == null) { agentConfigBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>( getAgentConfig(), getParentForChildren(), isClean()); agentConfig_ = null; } return agentConfigBuilder_; } private java.lang.Object glowrootCentralVersion_ = ""; /** * string glowroot_central_version = 2; */ public java.lang.String getGlowrootCentralVersion() { java.lang.Object ref = glowrootCentralVersion_; 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(); glowrootCentralVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string glowroot_central_version = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGlowrootCentralVersionBytes() { java.lang.Object ref = glowrootCentralVersion_; 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); glowrootCentralVersion_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string glowroot_central_version = 2; */ public Builder setGlowrootCentralVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } glowrootCentralVersion_ = value; onChanged(); return this; } /** * string glowroot_central_version = 2; */ public Builder clearGlowrootCentralVersion() { glowrootCentralVersion_ = getDefaultInstance().getGlowrootCentralVersion(); onChanged(); return this; } /** * string glowroot_central_version = 2; */ public Builder setGlowrootCentralVersionBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); glowrootCentralVersion_ = 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.InitResponse) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitResponse) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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 InitResponse 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 InitResponse(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.CollectorServiceOuterClass.InitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OldAggregateMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OldAggregateMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * int64 capture_time = 2; */ long getCaptureTime(); /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ java.util.List getAggregatesByTypeList(); /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType getAggregatesByType(int index); /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ int getAggregatesByTypeCount(); /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ java.util.List getAggregatesByTypeOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder( int index); /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ java.util.List getOldSharedQueryTextList(); /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ int getOldSharedQueryTextCount(); /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ java.lang.String getOldSharedQueryText(int index); /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOldSharedQueryTextBytes(int index); /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ java.util.List getSharedQueryTextList(); /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText(int index); /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ int getSharedQueryTextCount(); /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ java.util.List getSharedQueryTextOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder( int index); } /** *
   * deprecated in 0.9.5, replaced by AggregateStreamMessage
   * 
* * Protobuf type {@code org_glowroot_wire_api_model.OldAggregateMessage} */ public static final class OldAggregateMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OldAggregateMessage) OldAggregateMessageOrBuilder { private static final long serialVersionUID = 0L; // Use OldAggregateMessage.newBuilder() to construct. private OldAggregateMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OldAggregateMessage() { agentId_ = ""; captureTime_ = 0L; aggregatesByType_ = java.util.Collections.emptyList(); oldSharedQueryText_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; 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 OldAggregateMessage( 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(); agentId_ = s; break; } case 16: { captureTime_ = input.readInt64(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { aggregatesByType_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } aggregatesByType_.add( input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.parser(), extensionRegistry)); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { oldSharedQueryText_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } oldSharedQueryText_.add(s); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { sharedQueryText_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } sharedQueryText_.add( input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.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)) { aggregatesByType_ = java.util.Collections.unmodifiableList(aggregatesByType_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { oldSharedQueryText_ = oldSharedQueryText_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { sharedQueryText_ = java.util.Collections.unmodifiableList(sharedQueryText_); } 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldAggregateMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.Builder.class); } private int bitField0_; public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int CAPTURE_TIME_FIELD_NUMBER = 2; private long captureTime_; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } public static final int AGGREGATES_BY_TYPE_FIELD_NUMBER = 3; private java.util.List aggregatesByType_; /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public java.util.List getAggregatesByTypeList() { return aggregatesByType_; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public java.util.List getAggregatesByTypeOrBuilderList() { return aggregatesByType_; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public int getAggregatesByTypeCount() { return aggregatesByType_.size(); } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType getAggregatesByType(int index) { return aggregatesByType_.get(index); } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder( int index) { return aggregatesByType_.get(index); } public static final int OLD_SHARED_QUERY_TEXT_FIELD_NUMBER = 4; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList oldSharedQueryText_; /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList getOldSharedQueryTextList() { return oldSharedQueryText_; } /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ public int getOldSharedQueryTextCount() { return oldSharedQueryText_.size(); } /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ public java.lang.String getOldSharedQueryText(int index) { return oldSharedQueryText_.get(index); } /** *
     * deprecated in 0.9.3, replaced by shared_query_text
     * 
* * repeated string old_shared_query_text = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOldSharedQueryTextBytes(int index) { return oldSharedQueryText_.getByteString(index); } public static final int SHARED_QUERY_TEXT_FIELD_NUMBER = 5; private java.util.List sharedQueryText_; /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public java.util.List getSharedQueryTextList() { return sharedQueryText_; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public java.util.List getSharedQueryTextOrBuilderList() { return sharedQueryText_; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public int getSharedQueryTextCount() { return sharedQueryText_.size(); } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText(int index) { return sharedQueryText_.get(index); } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (captureTime_ != 0L) { output.writeInt64(2, captureTime_); } for (int i = 0; i < aggregatesByType_.size(); i++) { output.writeMessage(3, aggregatesByType_.get(i)); } for (int i = 0; i < oldSharedQueryText_.size(); i++) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, oldSharedQueryText_.getRaw(i)); } for (int i = 0; i < sharedQueryText_.size(); i++) { output.writeMessage(5, sharedQueryText_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (captureTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(2, captureTime_); } for (int i = 0; i < aggregatesByType_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, aggregatesByType_.get(i)); } { int dataSize = 0; for (int i = 0; i < oldSharedQueryText_.size(); i++) { dataSize += computeStringSizeNoTag(oldSharedQueryText_.getRaw(i)); } size += dataSize; size += 1 * getOldSharedQueryTextList().size(); } for (int i = 0; i < sharedQueryText_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(5, sharedQueryText_.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.CollectorServiceOuterClass.OldAggregateMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && (getCaptureTime() == other.getCaptureTime()); result = result && getAggregatesByTypeList() .equals(other.getAggregatesByTypeList()); result = result && getOldSharedQueryTextList() .equals(other.getOldSharedQueryTextList()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); hash = (37 * hash) + CAPTURE_TIME_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getCaptureTime()); if (getAggregatesByTypeCount() > 0) { hash = (37 * hash) + AGGREGATES_BY_TYPE_FIELD_NUMBER; hash = (53 * hash) + getAggregatesByTypeList().hashCode(); } if (getOldSharedQueryTextCount() > 0) { hash = (37 * hash) + OLD_SHARED_QUERY_TEXT_FIELD_NUMBER; hash = (53 * hash) + getOldSharedQueryTextList().hashCode(); } 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage 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.9.5, replaced by AggregateStreamMessage
     * 
* * Protobuf type {@code org_glowroot_wire_api_model.OldAggregateMessage} */ 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.OldAggregateMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldAggregateMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.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) { getAggregatesByTypeFieldBuilder(); getSharedQueryTextFieldBuilder(); } } public Builder clear() { super.clear(); agentId_ = ""; captureTime_ = 0L; if (aggregatesByTypeBuilder_ == null) { aggregatesByType_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { aggregatesByTypeBuilder_.clear(); } oldSharedQueryText_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); if (sharedQueryTextBuilder_ == null) { sharedQueryText_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { sharedQueryTextBuilder_.clear(); } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.agentId_ = agentId_; result.captureTime_ = captureTime_; if (aggregatesByTypeBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { aggregatesByType_ = java.util.Collections.unmodifiableList(aggregatesByType_); bitField0_ = (bitField0_ & ~0x00000004); } result.aggregatesByType_ = aggregatesByType_; } else { result.aggregatesByType_ = aggregatesByTypeBuilder_.build(); } if (((bitField0_ & 0x00000008) == 0x00000008)) { oldSharedQueryText_ = oldSharedQueryText_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.oldSharedQueryText_ = oldSharedQueryText_; if (sharedQueryTextBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { sharedQueryText_ = java.util.Collections.unmodifiableList(sharedQueryText_); bitField0_ = (bitField0_ & ~0x00000010); } 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.CollectorServiceOuterClass.OldAggregateMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (other.getCaptureTime() != 0L) { setCaptureTime(other.getCaptureTime()); } if (aggregatesByTypeBuilder_ == null) { if (!other.aggregatesByType_.isEmpty()) { if (aggregatesByType_.isEmpty()) { aggregatesByType_ = other.aggregatesByType_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureAggregatesByTypeIsMutable(); aggregatesByType_.addAll(other.aggregatesByType_); } onChanged(); } } else { if (!other.aggregatesByType_.isEmpty()) { if (aggregatesByTypeBuilder_.isEmpty()) { aggregatesByTypeBuilder_.dispose(); aggregatesByTypeBuilder_ = null; aggregatesByType_ = other.aggregatesByType_; bitField0_ = (bitField0_ & ~0x00000004); aggregatesByTypeBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAggregatesByTypeFieldBuilder() : null; } else { aggregatesByTypeBuilder_.addAllMessages(other.aggregatesByType_); } } } if (!other.oldSharedQueryText_.isEmpty()) { if (oldSharedQueryText_.isEmpty()) { oldSharedQueryText_ = other.oldSharedQueryText_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureOldSharedQueryTextIsMutable(); oldSharedQueryText_.addAll(other.oldSharedQueryText_); } onChanged(); } if (sharedQueryTextBuilder_ == null) { if (!other.sharedQueryText_.isEmpty()) { if (sharedQueryText_.isEmpty()) { sharedQueryText_ = other.sharedQueryText_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureSharedQueryTextIsMutable(); sharedQueryText_.addAll(other.sharedQueryText_); } onChanged(); } } else { if (!other.sharedQueryText_.isEmpty()) { if (sharedQueryTextBuilder_.isEmpty()) { sharedQueryTextBuilder_.dispose(); sharedQueryTextBuilder_ = null; sharedQueryText_ = other.sharedQueryText_; bitField0_ = (bitField0_ & ~0x00000010); 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.CollectorServiceOuterClass.OldAggregateMessage 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.CollectorServiceOuterClass.OldAggregateMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private long captureTime_ ; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } /** * int64 capture_time = 2; */ public Builder setCaptureTime(long value) { captureTime_ = value; onChanged(); return this; } /** * int64 capture_time = 2; */ public Builder clearCaptureTime() { captureTime_ = 0L; onChanged(); return this; } private java.util.List aggregatesByType_ = java.util.Collections.emptyList(); private void ensureAggregatesByTypeIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { aggregatesByType_ = new java.util.ArrayList(aggregatesByType_); bitField0_ |= 0x00000004; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder> aggregatesByTypeBuilder_; /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public java.util.List getAggregatesByTypeList() { if (aggregatesByTypeBuilder_ == null) { return java.util.Collections.unmodifiableList(aggregatesByType_); } else { return aggregatesByTypeBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public int getAggregatesByTypeCount() { if (aggregatesByTypeBuilder_ == null) { return aggregatesByType_.size(); } else { return aggregatesByTypeBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType getAggregatesByType(int index) { if (aggregatesByTypeBuilder_ == null) { return aggregatesByType_.get(index); } else { return aggregatesByTypeBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder setAggregatesByType( int index, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType value) { if (aggregatesByTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAggregatesByTypeIsMutable(); aggregatesByType_.set(index, value); onChanged(); } else { aggregatesByTypeBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder setAggregatesByType( int index, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder builderForValue) { if (aggregatesByTypeBuilder_ == null) { ensureAggregatesByTypeIsMutable(); aggregatesByType_.set(index, builderForValue.build()); onChanged(); } else { aggregatesByTypeBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder addAggregatesByType(org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType value) { if (aggregatesByTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAggregatesByTypeIsMutable(); aggregatesByType_.add(value); onChanged(); } else { aggregatesByTypeBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder addAggregatesByType( int index, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType value) { if (aggregatesByTypeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAggregatesByTypeIsMutable(); aggregatesByType_.add(index, value); onChanged(); } else { aggregatesByTypeBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder addAggregatesByType( org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder builderForValue) { if (aggregatesByTypeBuilder_ == null) { ensureAggregatesByTypeIsMutable(); aggregatesByType_.add(builderForValue.build()); onChanged(); } else { aggregatesByTypeBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder addAggregatesByType( int index, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder builderForValue) { if (aggregatesByTypeBuilder_ == null) { ensureAggregatesByTypeIsMutable(); aggregatesByType_.add(index, builderForValue.build()); onChanged(); } else { aggregatesByTypeBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder addAllAggregatesByType( java.lang.Iterable values) { if (aggregatesByTypeBuilder_ == null) { ensureAggregatesByTypeIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, aggregatesByType_); onChanged(); } else { aggregatesByTypeBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder clearAggregatesByType() { if (aggregatesByTypeBuilder_ == null) { aggregatesByType_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { aggregatesByTypeBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public Builder removeAggregatesByType(int index) { if (aggregatesByTypeBuilder_ == null) { ensureAggregatesByTypeIsMutable(); aggregatesByType_.remove(index); onChanged(); } else { aggregatesByTypeBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder getAggregatesByTypeBuilder( int index) { return getAggregatesByTypeFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder( int index) { if (aggregatesByTypeBuilder_ == null) { return aggregatesByType_.get(index); } else { return aggregatesByTypeBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public java.util.List getAggregatesByTypeOrBuilderList() { if (aggregatesByTypeBuilder_ != null) { return aggregatesByTypeBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(aggregatesByType_); } } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder addAggregatesByTypeBuilder() { return getAggregatesByTypeFieldBuilder().addBuilder( org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder addAggregatesByTypeBuilder( int index) { return getAggregatesByTypeFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.OldAggregatesByType aggregates_by_type = 3; */ public java.util.List getAggregatesByTypeBuilderList() { return getAggregatesByTypeFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder> getAggregatesByTypeFieldBuilder() { if (aggregatesByTypeBuilder_ == null) { aggregatesByTypeBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OldAggregatesByTypeOrBuilder>( aggregatesByType_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); aggregatesByType_ = null; } return aggregatesByTypeBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringList oldSharedQueryText_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureOldSharedQueryTextIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { oldSharedQueryText_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList(oldSharedQueryText_); bitField0_ |= 0x00000008; } } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolStringList getOldSharedQueryTextList() { return oldSharedQueryText_.getUnmodifiableView(); } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public int getOldSharedQueryTextCount() { return oldSharedQueryText_.size(); } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public java.lang.String getOldSharedQueryText(int index) { return oldSharedQueryText_.get(index); } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getOldSharedQueryTextBytes(int index) { return oldSharedQueryText_.getByteString(index); } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public Builder setOldSharedQueryText( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOldSharedQueryTextIsMutable(); oldSharedQueryText_.set(index, value); onChanged(); return this; } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public Builder addOldSharedQueryText( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureOldSharedQueryTextIsMutable(); oldSharedQueryText_.add(value); onChanged(); return this; } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public Builder addAllOldSharedQueryText( java.lang.Iterable values) { ensureOldSharedQueryTextIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, oldSharedQueryText_); onChanged(); return this; } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public Builder clearOldSharedQueryText() { oldSharedQueryText_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * deprecated in 0.9.3, replaced by shared_query_text
       * 
* * repeated string old_shared_query_text = 4; */ public Builder addOldSharedQueryTextBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureOldSharedQueryTextIsMutable(); oldSharedQueryText_.add(value); onChanged(); return this; } private java.util.List sharedQueryText_ = java.util.Collections.emptyList(); private void ensureSharedQueryTextIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { sharedQueryText_ = new java.util.ArrayList(sharedQueryText_); bitField0_ |= 0x00000010; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder> sharedQueryTextBuilder_; /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public java.util.List getSharedQueryTextList() { if (sharedQueryTextBuilder_ == null) { return java.util.Collections.unmodifiableList(sharedQueryText_); } else { return sharedQueryTextBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public int getSharedQueryTextCount() { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.size(); } else { return sharedQueryTextBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText(int index) { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.get(index); } else { return sharedQueryTextBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder setSharedQueryText( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.set(index, value); onChanged(); } else { sharedQueryTextBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder setSharedQueryText( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.set(index, builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder addSharedQueryText(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.add(value); onChanged(); } else { sharedQueryTextBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder addSharedQueryText( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSharedQueryTextIsMutable(); sharedQueryText_.add(index, value); onChanged(); } else { sharedQueryTextBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder addSharedQueryText( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.add(builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder addSharedQueryText( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.add(index, builderForValue.build()); onChanged(); } else { sharedQueryTextBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ 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; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder clearSharedQueryText() { if (sharedQueryTextBuilder_ == null) { sharedQueryText_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { sharedQueryTextBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public Builder removeSharedQueryText(int index) { if (sharedQueryTextBuilder_ == null) { ensureSharedQueryTextIsMutable(); sharedQueryText_.remove(index); onChanged(); } else { sharedQueryTextBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder getSharedQueryTextBuilder( int index) { return getSharedQueryTextFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder( int index) { if (sharedQueryTextBuilder_ == null) { return sharedQueryText_.get(index); } else { return sharedQueryTextBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public java.util.List getSharedQueryTextOrBuilderList() { if (sharedQueryTextBuilder_ != null) { return sharedQueryTextBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(sharedQueryText_); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder addSharedQueryTextBuilder() { return getSharedQueryTextFieldBuilder().addBuilder( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder addSharedQueryTextBuilder( int index) { return getSharedQueryTextFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 5; */ public java.util.List getSharedQueryTextBuilderList() { return getSharedQueryTextFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder> getSharedQueryTextFieldBuilder() { if (sharedQueryTextBuilder_ == null) { sharedQueryTextBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder>( sharedQueryText_, ((bitField0_ & 0x00000010) == 0x00000010), 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.OldAggregateMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OldAggregateMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.OldAggregateMessage 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 OldAggregateMessage 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 OldAggregateMessage(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.CollectorServiceOuterClass.OldAggregateMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateStreamMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateStreamMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ boolean hasStreamHeader(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader getStreamHeader(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder getStreamHeaderOrBuilder(); /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ boolean hasSharedQueryText(); /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText(); /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ boolean hasOverallAggregate(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate getOverallAggregate(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder getOverallAggregateOrBuilder(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ boolean hasTransactionAggregate(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate getTransactionAggregate(); /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(); public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.MessageCase getMessageCase(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage} */ public static final class AggregateStreamMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateStreamMessage) AggregateStreamMessageOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateStreamMessage.newBuilder() to construct. private AggregateStreamMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateStreamMessage() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateStreamMessage( 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder subBuilder = null; if (messageCase_ == 1) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 1; break; } case 18: { org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder subBuilder = null; if (messageCase_ == 2) { subBuilder = ((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 2; break; } case 26: { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder subBuilder = null; if (messageCase_ == 3) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 3; break; } case 34: { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder subBuilder = null; if (messageCase_ == 4) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 4; 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.Builder.class); } public interface AggregateStreamHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * int64 capture_time = 2; */ long getCaptureTime(); /** * bool post_v09 = 3; */ boolean getPostV09(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader} */ public static final class AggregateStreamHeader extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader) AggregateStreamHeaderOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateStreamHeader.newBuilder() to construct. private AggregateStreamHeader(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateStreamHeader() { agentId_ = ""; captureTime_ = 0L; postV09_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateStreamHeader( 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(); agentId_ = s; break; } case 16: { captureTime_ = input.readInt64(); break; } case 24: { postV09_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder.class); } public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int CAPTURE_TIME_FIELD_NUMBER = 2; private long captureTime_; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } public static final int POST_V09_FIELD_NUMBER = 3; private boolean postV09_; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (captureTime_ != 0L) { output.writeInt64(2, captureTime_); } if (postV09_ != false) { output.writeBool(3, postV09_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (captureTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(2, captureTime_); } if (postV09_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(3, postV09_); } 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && (getCaptureTime() == other.getCaptureTime()); result = result && (getPostV09() == other.getPostV09()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); 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) + POST_V09_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getPostV09()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.AggregateStreamMessage.AggregateStreamHeader} */ 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.AggregateStreamMessage.AggregateStreamHeader) org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.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(); agentId_ = ""; captureTime_ = 0L; postV09_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader(this); result.agentId_ = agentId_; result.captureTime_ = captureTime_; result.postV09_ = postV09_; 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (other.getCaptureTime() != 0L) { setCaptureTime(other.getCaptureTime()); } if (other.getPostV09() != false) { setPostV09(other.getPostV09()); } 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private long captureTime_ ; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } /** * int64 capture_time = 2; */ public Builder setCaptureTime(long value) { captureTime_ = value; onChanged(); return this; } /** * int64 capture_time = 2; */ public Builder clearCaptureTime() { captureTime_ = 0L; onChanged(); return this; } private boolean postV09_ ; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } /** * bool post_v09 = 3; */ public Builder setPostV09(boolean value) { postV09_ = value; onChanged(); return this; } /** * bool post_v09 = 3; */ public Builder clearPostV09() { postV09_ = 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.AggregateStreamMessage.AggregateStreamHeader) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader 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 AggregateStreamHeader 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 AggregateStreamHeader(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.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OverallAggregateOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string transaction_type = 1; */ java.lang.String getTransactionType(); /** * string transaction_type = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionTypeBytes(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ boolean hasAggregate(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate} */ public static final class OverallAggregate extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate) OverallAggregateOrBuilder { private static final long serialVersionUID = 0L; // Use OverallAggregate.newBuilder() to construct. private OverallAggregate(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OverallAggregate() { transactionType_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OverallAggregate( 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(); transactionType_ = s; break; } case 18: { org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder subBuilder = null; if (aggregate_ != null) { subBuilder = aggregate_.toBuilder(); } aggregate_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(aggregate_); aggregate_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder.class); } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object transactionType_; /** * string transaction_type = 1; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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 = 1; */ 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 AGGREGATE_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_; /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public boolean hasAggregate() { return aggregate_ != null; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() { return getAggregate(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getTransactionTypeBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionType_); } if (aggregate_ != null) { output.writeMessage(2, getAggregate()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionType_); } if (aggregate_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAggregate()); } 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) obj; boolean result = true; result = result && getTransactionType() .equals(other.getTransactionType()); result = result && (hasAggregate() == other.hasAggregate()); if (hasAggregate()) { result = result && getAggregate() .equals(other.getAggregate()); } 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) + TRANSACTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + getTransactionType().hashCode(); if (hasAggregate()) { hash = (37 * hash) + AGGREGATE_FIELD_NUMBER; hash = (53 * hash) + getAggregate().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate} */ 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.AggregateStreamMessage.OverallAggregate) org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.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(); transactionType_ = ""; if (aggregateBuilder_ == null) { aggregate_ = null; } else { aggregate_ = null; aggregateBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate(this); result.transactionType_ = transactionType_; if (aggregateBuilder_ == null) { result.aggregate_ = aggregate_; } else { result.aggregate_ = aggregateBuilder_.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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance()) return this; if (!other.getTransactionType().isEmpty()) { transactionType_ = other.transactionType_; onChanged(); } if (other.hasAggregate()) { mergeAggregate(other.getAggregate()); } 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object transactionType_ = ""; /** * string transaction_type = 1; */ 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 = 1; */ 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 = 1; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * string transaction_type = 1; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * string transaction_type = 1; */ 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 org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> aggregateBuilder_; /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public boolean hasAggregate() { return aggregateBuilder_ != null || aggregate_ != null; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() { if (aggregateBuilder_ == null) { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } else { return aggregateBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public Builder setAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) { if (aggregateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aggregate_ = value; onChanged(); } else { aggregateBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public Builder setAggregate( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder builderForValue) { if (aggregateBuilder_ == null) { aggregate_ = builderForValue.build(); onChanged(); } else { aggregateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public Builder mergeAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) { if (aggregateBuilder_ == null) { if (aggregate_ != null) { aggregate_ = org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder(aggregate_).mergeFrom(value).buildPartial(); } else { aggregate_ = value; } onChanged(); } else { aggregateBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public Builder clearAggregate() { if (aggregateBuilder_ == null) { aggregate_ = null; onChanged(); } else { aggregate_ = null; aggregateBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder getAggregateBuilder() { onChanged(); return getAggregateFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() { if (aggregateBuilder_ != null) { return aggregateBuilder_.getMessageOrBuilder(); } else { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> getAggregateFieldBuilder() { if (aggregateBuilder_ == null) { aggregateBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>( getAggregate(), getParentForChildren(), isClean()); aggregate_ = null; } return aggregateBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.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.AggregateStreamMessage.OverallAggregate) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate 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 OverallAggregate 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 OverallAggregate(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.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TransactionAggregateOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string transaction_type = 1; */ java.lang.String getTransactionType(); /** * string transaction_type = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionTypeBytes(); /** * string transaction_name = 2; */ java.lang.String getTransactionName(); /** * string transaction_name = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTransactionNameBytes(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ boolean hasAggregate(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate(); /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate} */ public static final class TransactionAggregate extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate) TransactionAggregateOrBuilder { private static final long serialVersionUID = 0L; // Use TransactionAggregate.newBuilder() to construct. private TransactionAggregate(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TransactionAggregate() { transactionType_ = ""; transactionName_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TransactionAggregate( 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(); transactionType_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); transactionName_ = s; break; } case 26: { org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder subBuilder = null; if (aggregate_ != null) { subBuilder = aggregate_.toBuilder(); } aggregate_ = input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(aggregate_); aggregate_ = subBuilder.buildPartial(); } break; } } } } catch (org.glowroot.agent.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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder.class); } public static final int TRANSACTION_TYPE_FIELD_NUMBER = 1; private volatile java.lang.Object transactionType_; /** * string transaction_type = 1; */ public java.lang.String getTransactionType() { java.lang.Object ref = transactionType_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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 = 1; */ 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 = 2; private volatile java.lang.Object transactionName_; /** * string transaction_name = 2; */ public java.lang.String getTransactionName() { java.lang.Object ref = transactionName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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 = 2; */ 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 AGGREGATE_FIELD_NUMBER = 3; private org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_; /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public boolean hasAggregate() { return aggregate_ != null; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() { return getAggregate(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getTransactionTypeBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, transactionName_); } if (aggregate_ != null) { output.writeMessage(3, getAggregate()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTransactionTypeBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, transactionType_); } if (!getTransactionNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, transactionName_); } if (aggregate_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAggregate()); } 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) obj; boolean result = true; result = result && getTransactionType() .equals(other.getTransactionType()); result = result && getTransactionName() .equals(other.getTransactionName()); result = result && (hasAggregate() == other.hasAggregate()); if (hasAggregate()) { result = result && getAggregate() .equals(other.getAggregate()); } 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) + TRANSACTION_TYPE_FIELD_NUMBER; hash = (53 * hash) + getTransactionType().hashCode(); hash = (37 * hash) + TRANSACTION_NAME_FIELD_NUMBER; hash = (53 * hash) + getTransactionName().hashCode(); if (hasAggregate()) { hash = (37 * hash) + AGGREGATE_FIELD_NUMBER; hash = (53 * hash) + getAggregate().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate} */ 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.AggregateStreamMessage.TransactionAggregate) org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.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(); transactionType_ = ""; transactionName_ = ""; if (aggregateBuilder_ == null) { aggregate_ = null; } else { aggregate_ = null; aggregateBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate(this); result.transactionType_ = transactionType_; result.transactionName_ = transactionName_; if (aggregateBuilder_ == null) { result.aggregate_ = aggregate_; } else { result.aggregate_ = aggregateBuilder_.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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance()) return this; if (!other.getTransactionType().isEmpty()) { transactionType_ = other.transactionType_; onChanged(); } if (!other.getTransactionName().isEmpty()) { transactionName_ = other.transactionName_; onChanged(); } if (other.hasAggregate()) { mergeAggregate(other.getAggregate()); } 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object transactionType_ = ""; /** * string transaction_type = 1; */ 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 = 1; */ 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 = 1; */ public Builder setTransactionType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionType_ = value; onChanged(); return this; } /** * string transaction_type = 1; */ public Builder clearTransactionType() { transactionType_ = getDefaultInstance().getTransactionType(); onChanged(); return this; } /** * string transaction_type = 1; */ 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 = 2; */ 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 = 2; */ 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 = 2; */ public Builder setTransactionName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } transactionName_ = value; onChanged(); return this; } /** * string transaction_name = 2; */ public Builder clearTransactionName() { transactionName_ = getDefaultInstance().getTransactionName(); onChanged(); return this; } /** * string transaction_name = 2; */ 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 org.glowroot.wire.api.model.AggregateOuterClass.Aggregate aggregate_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> aggregateBuilder_; /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public boolean hasAggregate() { return aggregateBuilder_ != null || aggregate_ != null; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate getAggregate() { if (aggregateBuilder_ == null) { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } else { return aggregateBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public Builder setAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) { if (aggregateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } aggregate_ = value; onChanged(); } else { aggregateBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public Builder setAggregate( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder builderForValue) { if (aggregateBuilder_ == null) { aggregate_ = builderForValue.build(); onChanged(); } else { aggregateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public Builder mergeAggregate(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate value) { if (aggregateBuilder_ == null) { if (aggregate_ != null) { aggregate_ = org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.newBuilder(aggregate_).mergeFrom(value).buildPartial(); } else { aggregate_ = value; } onChanged(); } else { aggregateBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public Builder clearAggregate() { if (aggregateBuilder_ == null) { aggregate_ = null; onChanged(); } else { aggregate_ = null; aggregateBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder getAggregateBuilder() { onChanged(); return getAggregateFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ public org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder getAggregateOrBuilder() { if (aggregateBuilder_ != null) { return aggregateBuilder_.getMessageOrBuilder(); } else { return aggregate_ == null ? org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.getDefaultInstance() : aggregate_; } } /** * .org_glowroot_wire_api_model.Aggregate aggregate = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder> getAggregateFieldBuilder() { if (aggregateBuilder_ == null) { aggregateBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregateOrBuilder>( getAggregate(), getParentForChildren(), isClean()); aggregate_ = null; } return aggregateBuilder_; } public final Builder setUnknownFields( final org.glowroot.agent.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.AggregateStreamMessage.TransactionAggregate) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate 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 TransactionAggregate 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 TransactionAggregate(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.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int messageCase_ = 0; private java.lang.Object message_; public enum MessageCase implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLite { STREAM_HEADER(1), SHARED_QUERY_TEXT(2), OVERALL_AGGREGATE(3), TRANSACTION_AGGREGATE(4), MESSAGE_NOT_SET(0); private final int value; private MessageCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MessageCase valueOf(int value) { return forNumber(value); } public static MessageCase forNumber(int value) { switch (value) { case 1: return STREAM_HEADER; case 2: return SHARED_QUERY_TEXT; case 3: return OVERALL_AGGREGATE; case 4: return TRANSACTION_AGGREGATE; case 0: return MESSAGE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public static final int STREAM_HEADER_FIELD_NUMBER = 1; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public boolean hasStreamHeader() { return messageCase_ == 1; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader getStreamHeader() { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder getStreamHeaderOrBuilder() { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } public static final int SHARED_QUERY_TEXT_FIELD_NUMBER = 2; /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public boolean hasSharedQueryText() { return messageCase_ == 2; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText() { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_; } return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder() { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_; } return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } public static final int OVERALL_AGGREGATE_FIELD_NUMBER = 3; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public boolean hasOverallAggregate() { return messageCase_ == 3; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate getOverallAggregate() { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder getOverallAggregateOrBuilder() { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } public static final int TRANSACTION_AGGREGATE_FIELD_NUMBER = 4; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public boolean hasTransactionAggregate() { return messageCase_ == 4; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate getTransactionAggregate() { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder() { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } 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 (messageCase_ == 1) { output.writeMessage(1, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_); } if (messageCase_ == 2) { output.writeMessage(2, (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_); } if (messageCase_ == 3) { output.writeMessage(3, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_); } if (messageCase_ == 4) { output.writeMessage(4, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (messageCase_ == 1) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_); } if (messageCase_ == 2) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_); } if (messageCase_ == 3) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_); } if (messageCase_ == 4) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(4, (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_); } 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.CollectorServiceOuterClass.AggregateStreamMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage) obj; boolean result = true; result = result && getMessageCase().equals( other.getMessageCase()); if (!result) return false; switch (messageCase_) { case 1: result = result && getStreamHeader() .equals(other.getStreamHeader()); break; case 2: result = result && getSharedQueryText() .equals(other.getSharedQueryText()); break; case 3: result = result && getOverallAggregate() .equals(other.getOverallAggregate()); break; case 4: result = result && getTransactionAggregate() .equals(other.getTransactionAggregate()); 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 (messageCase_) { case 1: hash = (37 * hash) + STREAM_HEADER_FIELD_NUMBER; hash = (53 * hash) + getStreamHeader().hashCode(); break; case 2: hash = (37 * hash) + SHARED_QUERY_TEXT_FIELD_NUMBER; hash = (53 * hash) + getSharedQueryText().hashCode(); break; case 3: hash = (37 * hash) + OVERALL_AGGREGATE_FIELD_NUMBER; hash = (53 * hash) + getOverallAggregate().hashCode(); break; case 4: hash = (37 * hash) + TRANSACTION_AGGREGATE_FIELD_NUMBER; hash = (53 * hash) + getTransactionAggregate().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage 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.AggregateStreamMessage} */ 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.AggregateStreamMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.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(); messageCase_ = 0; message_ = null; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage(this); if (messageCase_ == 1) { if (streamHeaderBuilder_ == null) { result.message_ = message_; } else { result.message_ = streamHeaderBuilder_.build(); } } if (messageCase_ == 2) { if (sharedQueryTextBuilder_ == null) { result.message_ = message_; } else { result.message_ = sharedQueryTextBuilder_.build(); } } if (messageCase_ == 3) { if (overallAggregateBuilder_ == null) { result.message_ = message_; } else { result.message_ = overallAggregateBuilder_.build(); } } if (messageCase_ == 4) { if (transactionAggregateBuilder_ == null) { result.message_ = message_; } else { result.message_ = transactionAggregateBuilder_.build(); } } result.messageCase_ = messageCase_; 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.CollectorServiceOuterClass.AggregateStreamMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.getDefaultInstance()) return this; switch (other.getMessageCase()) { case STREAM_HEADER: { mergeStreamHeader(other.getStreamHeader()); break; } case SHARED_QUERY_TEXT: { mergeSharedQueryText(other.getSharedQueryText()); break; } case OVERALL_AGGREGATE: { mergeOverallAggregate(other.getOverallAggregate()); break; } case TRANSACTION_AGGREGATE: { mergeTransactionAggregate(other.getTransactionAggregate()); break; } case MESSAGE_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.CollectorServiceOuterClass.AggregateStreamMessage 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.CollectorServiceOuterClass.AggregateStreamMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int messageCase_ = 0; private java.lang.Object message_; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public Builder clearMessage() { messageCase_ = 0; message_ = null; onChanged(); return this; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder> streamHeaderBuilder_; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public boolean hasStreamHeader() { return messageCase_ == 1; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader getStreamHeader() { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } else { if (messageCase_ == 1) { return streamHeaderBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public Builder setStreamHeader(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader value) { if (streamHeaderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { streamHeaderBuilder_.setMessage(value); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public Builder setStreamHeader( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder builderForValue) { if (streamHeaderBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { streamHeaderBuilder_.setMessage(builderForValue.build()); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public Builder mergeStreamHeader(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader value) { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 1) { streamHeaderBuilder_.mergeFrom(value); } streamHeaderBuilder_.setMessage(value); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public Builder clearStreamHeader() { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; } streamHeaderBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder getStreamHeaderBuilder() { return getStreamHeaderFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder getStreamHeaderOrBuilder() { if ((messageCase_ == 1) && (streamHeaderBuilder_ != null)) { return streamHeaderBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.AggregateStreamHeader stream_header = 1; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder> getStreamHeaderFieldBuilder() { if (streamHeaderBuilder_ == null) { if (!(messageCase_ == 1)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.getDefaultInstance(); } streamHeaderBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeaderOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.AggregateStreamHeader) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 1; onChanged();; return streamHeaderBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder> sharedQueryTextBuilder_; /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public boolean hasSharedQueryText() { return messageCase_ == 2; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText getSharedQueryText() { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_; } return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } else { if (messageCase_ == 2) { return sharedQueryTextBuilder_.getMessage(); } return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public Builder setSharedQueryText(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { sharedQueryTextBuilder_.setMessage(value); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public Builder setSharedQueryText( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { sharedQueryTextBuilder_.setMessage(builderForValue.build()); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public Builder mergeSharedQueryText(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2 && message_ != org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.newBuilder((org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 2) { sharedQueryTextBuilder_.mergeFrom(value); } sharedQueryTextBuilder_.setMessage(value); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public Builder clearSharedQueryText() { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; } sharedQueryTextBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder getSharedQueryTextBuilder() { return getSharedQueryTextFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder() { if ((messageCase_ == 2) && (sharedQueryTextBuilder_ != null)) { return sharedQueryTextBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_; } return org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Aggregate.SharedQueryText shared_query_text = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder> getSharedQueryTextFieldBuilder() { if (sharedQueryTextBuilder_ == null) { if (!(messageCase_ == 2)) { message_ = org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.getDefaultInstance(); } sharedQueryTextBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText.Builder, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryTextOrBuilder>( (org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.SharedQueryText) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 2; onChanged();; return sharedQueryTextBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder> overallAggregateBuilder_; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public boolean hasOverallAggregate() { return messageCase_ == 3; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate getOverallAggregate() { if (overallAggregateBuilder_ == null) { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } else { if (messageCase_ == 3) { return overallAggregateBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public Builder setOverallAggregate(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate value) { if (overallAggregateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { overallAggregateBuilder_.setMessage(value); } messageCase_ = 3; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public Builder setOverallAggregate( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder builderForValue) { if (overallAggregateBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { overallAggregateBuilder_.setMessage(builderForValue.build()); } messageCase_ = 3; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public Builder mergeOverallAggregate(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate value) { if (overallAggregateBuilder_ == null) { if (messageCase_ == 3 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 3) { overallAggregateBuilder_.mergeFrom(value); } overallAggregateBuilder_.setMessage(value); } messageCase_ = 3; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public Builder clearOverallAggregate() { if (overallAggregateBuilder_ == null) { if (messageCase_ == 3) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 3) { messageCase_ = 0; message_ = null; } overallAggregateBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder getOverallAggregateBuilder() { return getOverallAggregateFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder getOverallAggregateOrBuilder() { if ((messageCase_ == 3) && (overallAggregateBuilder_ != null)) { return overallAggregateBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.OverallAggregate overall_aggregate = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder> getOverallAggregateFieldBuilder() { if (overallAggregateBuilder_ == null) { if (!(messageCase_ == 3)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.getDefaultInstance(); } overallAggregateBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregateOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.OverallAggregate) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 3; onChanged();; return overallAggregateBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder> transactionAggregateBuilder_; /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public boolean hasTransactionAggregate() { return messageCase_ == 4; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate getTransactionAggregate() { if (transactionAggregateBuilder_ == null) { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } else { if (messageCase_ == 4) { return transactionAggregateBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public Builder setTransactionAggregate(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate value) { if (transactionAggregateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { transactionAggregateBuilder_.setMessage(value); } messageCase_ = 4; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public Builder setTransactionAggregate( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder builderForValue) { if (transactionAggregateBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { transactionAggregateBuilder_.setMessage(builderForValue.build()); } messageCase_ = 4; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public Builder mergeTransactionAggregate(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate value) { if (transactionAggregateBuilder_ == null) { if (messageCase_ == 4 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 4) { transactionAggregateBuilder_.mergeFrom(value); } transactionAggregateBuilder_.setMessage(value); } messageCase_ = 4; return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public Builder clearTransactionAggregate() { if (transactionAggregateBuilder_ == null) { if (messageCase_ == 4) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 4) { messageCase_ = 0; message_ = null; } transactionAggregateBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder getTransactionAggregateBuilder() { return getTransactionAggregateFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder() { if ((messageCase_ == 4) && (transactionAggregateBuilder_ != null)) { return transactionAggregateBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.AggregateStreamMessage.TransactionAggregate transaction_aggregate = 4; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder> getTransactionAggregateFieldBuilder() { if (transactionAggregateBuilder_ == null) { if (!(messageCase_ == 4)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.getDefaultInstance(); } transactionAggregateBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregateOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage.TransactionAggregate) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 4; onChanged();; return transactionAggregateBuilder_; } 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.AggregateStreamMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateStreamMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateStreamMessage 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 AggregateStreamMessage 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 AggregateStreamMessage(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.CollectorServiceOuterClass.AggregateStreamMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateResponseMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateResponseMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int32 next_delay_millis = 1; */ int getNextDelayMillis(); } /** * Protobuf type {@code org_glowroot_wire_api_model.AggregateResponseMessage} */ public static final class AggregateResponseMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateResponseMessage) AggregateResponseMessageOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateResponseMessage.newBuilder() to construct. private AggregateResponseMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateResponseMessage() { nextDelayMillis_ = 0; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateResponseMessage( 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: { nextDelayMillis_ = input.readInt32(); 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.Builder.class); } public static final int NEXT_DELAY_MILLIS_FIELD_NUMBER = 1; private int nextDelayMillis_; /** * int32 next_delay_millis = 1; */ public int getNextDelayMillis() { return nextDelayMillis_; } 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 (nextDelayMillis_ != 0) { output.writeInt32(1, nextDelayMillis_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (nextDelayMillis_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(1, nextDelayMillis_); } 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.CollectorServiceOuterClass.AggregateResponseMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage) obj; boolean result = true; result = result && (getNextDelayMillis() == other.getNextDelayMillis()); 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) + NEXT_DELAY_MILLIS_FIELD_NUMBER; hash = (53 * hash) + getNextDelayMillis(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage 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.AggregateResponseMessage} */ 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.AggregateResponseMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.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(); nextDelayMillis_ = 0; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage(this); result.nextDelayMillis_ = nextDelayMillis_; 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.CollectorServiceOuterClass.AggregateResponseMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage.getDefaultInstance()) return this; if (other.getNextDelayMillis() != 0) { setNextDelayMillis(other.getNextDelayMillis()); } 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.CollectorServiceOuterClass.AggregateResponseMessage 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.CollectorServiceOuterClass.AggregateResponseMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int nextDelayMillis_ ; /** * int32 next_delay_millis = 1; */ public int getNextDelayMillis() { return nextDelayMillis_; } /** * int32 next_delay_millis = 1; */ public Builder setNextDelayMillis(int value) { nextDelayMillis_ = value; onChanged(); return this; } /** * int32 next_delay_millis = 1; */ public Builder clearNextDelayMillis() { nextDelayMillis_ = 0; 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.AggregateResponseMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateResponseMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateResponseMessage 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 AggregateResponseMessage 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 AggregateResponseMessage(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.CollectorServiceOuterClass.AggregateResponseMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GaugeValueMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.GaugeValueMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ java.util.List getGaugeValueList(); /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue getGaugeValue(int index); /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ int getGaugeValueCount(); /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ java.util.List getGaugeValueOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder getGaugeValueOrBuilder( int index); /** * bool post_v09 = 3; */ boolean getPostV09(); } /** * Protobuf type {@code org_glowroot_wire_api_model.GaugeValueMessage} */ public static final class GaugeValueMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.GaugeValueMessage) GaugeValueMessageOrBuilder { private static final long serialVersionUID = 0L; // Use GaugeValueMessage.newBuilder() to construct. private GaugeValueMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GaugeValueMessage() { agentId_ = ""; gaugeValue_ = java.util.Collections.emptyList(); postV09_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GaugeValueMessage( 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(); agentId_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { gaugeValue_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } gaugeValue_.add( input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.parser(), extensionRegistry)); break; } case 24: { postV09_ = 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 { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { gaugeValue_ = java.util.Collections.unmodifiableList(gaugeValue_); } 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.Builder.class); } public interface GaugeValueOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string gauge_name = 1; */ java.lang.String getGaugeName(); /** * string gauge_name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGaugeNameBytes(); /** * int64 capture_time = 2; */ long getCaptureTime(); /** *
       * for counter gauges, value is the "average delta per second" of the counter, and weight is the
       * number of nanoseconds over which this average delta was calculated
       * for non-counter gauges, value is just the gauge value, and weight is 1
       * 
* * double value = 3; */ double getValue(); /** * int64 weight = 4; */ long getWeight(); } /** * Protobuf type {@code org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue} */ public static final class GaugeValue extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue) GaugeValueOrBuilder { private static final long serialVersionUID = 0L; // Use GaugeValue.newBuilder() to construct. private GaugeValue(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GaugeValue() { gaugeName_ = ""; captureTime_ = 0L; value_ = 0D; weight_ = 0L; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GaugeValue( 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(); gaugeName_ = s; break; } case 16: { captureTime_ = input.readInt64(); break; } case 25: { value_ = input.readDouble(); break; } case 32: { weight_ = input.readInt64(); break; } } } } catch (org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.glowroot.agent.it.harness.shaded.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder.class); } public static final int GAUGE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object gaugeName_; /** * string gauge_name = 1; */ public java.lang.String getGaugeName() { java.lang.Object ref = gaugeName_; 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(); gaugeName_ = s; return s; } } /** * string gauge_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGaugeNameBytes() { java.lang.Object ref = gaugeName_; 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); gaugeName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int CAPTURE_TIME_FIELD_NUMBER = 2; private long captureTime_; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } public static final int VALUE_FIELD_NUMBER = 3; private double value_; /** *
       * for counter gauges, value is the "average delta per second" of the counter, and weight is the
       * number of nanoseconds over which this average delta was calculated
       * for non-counter gauges, value is just the gauge value, and weight is 1
       * 
* * double value = 3; */ public double getValue() { return value_; } public static final int WEIGHT_FIELD_NUMBER = 4; private long weight_; /** * int64 weight = 4; */ public long getWeight() { return weight_; } 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 (!getGaugeNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, gaugeName_); } if (captureTime_ != 0L) { output.writeInt64(2, captureTime_); } if (value_ != 0D) { output.writeDouble(3, value_); } if (weight_ != 0L) { output.writeInt64(4, weight_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getGaugeNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, gaugeName_); } if (captureTime_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(2, captureTime_); } if (value_ != 0D) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeDoubleSize(3, value_); } if (weight_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(4, weight_); } 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue) obj; boolean result = true; result = result && getGaugeName() .equals(other.getGaugeName()); result = result && (getCaptureTime() == other.getCaptureTime()); result = result && ( java.lang.Double.doubleToLongBits(getValue()) == java.lang.Double.doubleToLongBits( other.getValue())); result = result && (getWeight() == other.getWeight()); 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) + GAUGE_NAME_FIELD_NUMBER; hash = (53 * hash) + getGaugeName().hashCode(); 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) + VALUE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getValue())); hash = (37 * hash) + WEIGHT_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getWeight()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.GaugeValueMessage.GaugeValue} */ 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.GaugeValueMessage.GaugeValue) org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.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(); gaugeName_ = ""; captureTime_ = 0L; value_ = 0D; weight_ = 0L; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue(this); result.gaugeName_ = gaugeName_; result.captureTime_ = captureTime_; result.value_ = value_; result.weight_ = weight_; 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.getDefaultInstance()) return this; if (!other.getGaugeName().isEmpty()) { gaugeName_ = other.gaugeName_; onChanged(); } if (other.getCaptureTime() != 0L) { setCaptureTime(other.getCaptureTime()); } if (other.getValue() != 0D) { setValue(other.getValue()); } if (other.getWeight() != 0L) { setWeight(other.getWeight()); } 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object gaugeName_ = ""; /** * string gauge_name = 1; */ public java.lang.String getGaugeName() { java.lang.Object ref = gaugeName_; 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(); gaugeName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string gauge_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getGaugeNameBytes() { java.lang.Object ref = gaugeName_; 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); gaugeName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string gauge_name = 1; */ public Builder setGaugeName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gaugeName_ = value; onChanged(); return this; } /** * string gauge_name = 1; */ public Builder clearGaugeName() { gaugeName_ = getDefaultInstance().getGaugeName(); onChanged(); return this; } /** * string gauge_name = 1; */ public Builder setGaugeNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gaugeName_ = value; onChanged(); return this; } private long captureTime_ ; /** * int64 capture_time = 2; */ public long getCaptureTime() { return captureTime_; } /** * int64 capture_time = 2; */ public Builder setCaptureTime(long value) { captureTime_ = value; onChanged(); return this; } /** * int64 capture_time = 2; */ public Builder clearCaptureTime() { captureTime_ = 0L; onChanged(); return this; } private double value_ ; /** *
         * for counter gauges, value is the "average delta per second" of the counter, and weight is the
         * number of nanoseconds over which this average delta was calculated
         * for non-counter gauges, value is just the gauge value, and weight is 1
         * 
* * double value = 3; */ public double getValue() { return value_; } /** *
         * for counter gauges, value is the "average delta per second" of the counter, and weight is the
         * number of nanoseconds over which this average delta was calculated
         * for non-counter gauges, value is just the gauge value, and weight is 1
         * 
* * double value = 3; */ public Builder setValue(double value) { value_ = value; onChanged(); return this; } /** *
         * for counter gauges, value is the "average delta per second" of the counter, and weight is the
         * number of nanoseconds over which this average delta was calculated
         * for non-counter gauges, value is just the gauge value, and weight is 1
         * 
* * double value = 3; */ public Builder clearValue() { value_ = 0D; onChanged(); return this; } private long weight_ ; /** * int64 weight = 4; */ public long getWeight() { return weight_; } /** * int64 weight = 4; */ public Builder setWeight(long value) { weight_ = value; onChanged(); return this; } /** * int64 weight = 4; */ public Builder clearWeight() { weight_ = 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.GaugeValueMessage.GaugeValue) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue 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 GaugeValue 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 GaugeValue(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.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int GAUGE_VALUE_FIELD_NUMBER = 2; private java.util.List gaugeValue_; /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public java.util.List getGaugeValueList() { return gaugeValue_; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public java.util.List getGaugeValueOrBuilderList() { return gaugeValue_; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public int getGaugeValueCount() { return gaugeValue_.size(); } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue getGaugeValue(int index) { return gaugeValue_.get(index); } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder getGaugeValueOrBuilder( int index) { return gaugeValue_.get(index); } public static final int POST_V09_FIELD_NUMBER = 3; private boolean postV09_; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } for (int i = 0; i < gaugeValue_.size(); i++) { output.writeMessage(2, gaugeValue_.get(i)); } if (postV09_ != false) { output.writeBool(3, postV09_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } for (int i = 0; i < gaugeValue_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, gaugeValue_.get(i)); } if (postV09_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(3, postV09_); } 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.CollectorServiceOuterClass.GaugeValueMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && getGaugeValueList() .equals(other.getGaugeValueList()); result = result && (getPostV09() == other.getPostV09()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); if (getGaugeValueCount() > 0) { hash = (37 * hash) + GAUGE_VALUE_FIELD_NUMBER; hash = (53 * hash) + getGaugeValueList().hashCode(); } hash = (37 * hash) + POST_V09_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getPostV09()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage 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.GaugeValueMessage} */ 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.GaugeValueMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.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) { getGaugeValueFieldBuilder(); } } public Builder clear() { super.clear(); agentId_ = ""; if (gaugeValueBuilder_ == null) { gaugeValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { gaugeValueBuilder_.clear(); } postV09_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.agentId_ = agentId_; if (gaugeValueBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { gaugeValue_ = java.util.Collections.unmodifiableList(gaugeValue_); bitField0_ = (bitField0_ & ~0x00000002); } result.gaugeValue_ = gaugeValue_; } else { result.gaugeValue_ = gaugeValueBuilder_.build(); } result.postV09_ = postV09_; 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.CollectorServiceOuterClass.GaugeValueMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (gaugeValueBuilder_ == null) { if (!other.gaugeValue_.isEmpty()) { if (gaugeValue_.isEmpty()) { gaugeValue_ = other.gaugeValue_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureGaugeValueIsMutable(); gaugeValue_.addAll(other.gaugeValue_); } onChanged(); } } else { if (!other.gaugeValue_.isEmpty()) { if (gaugeValueBuilder_.isEmpty()) { gaugeValueBuilder_.dispose(); gaugeValueBuilder_ = null; gaugeValue_ = other.gaugeValue_; bitField0_ = (bitField0_ & ~0x00000002); gaugeValueBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGaugeValueFieldBuilder() : null; } else { gaugeValueBuilder_.addAllMessages(other.gaugeValue_); } } } if (other.getPostV09() != false) { setPostV09(other.getPostV09()); } 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.CollectorServiceOuterClass.GaugeValueMessage 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.CollectorServiceOuterClass.GaugeValueMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private java.util.List gaugeValue_ = java.util.Collections.emptyList(); private void ensureGaugeValueIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { gaugeValue_ = new java.util.ArrayList(gaugeValue_); bitField0_ |= 0x00000002; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder> gaugeValueBuilder_; /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public java.util.List getGaugeValueList() { if (gaugeValueBuilder_ == null) { return java.util.Collections.unmodifiableList(gaugeValue_); } else { return gaugeValueBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public int getGaugeValueCount() { if (gaugeValueBuilder_ == null) { return gaugeValue_.size(); } else { return gaugeValueBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue getGaugeValue(int index) { if (gaugeValueBuilder_ == null) { return gaugeValue_.get(index); } else { return gaugeValueBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder setGaugeValue( int index, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue value) { if (gaugeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeValueIsMutable(); gaugeValue_.set(index, value); onChanged(); } else { gaugeValueBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder setGaugeValue( int index, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder builderForValue) { if (gaugeValueBuilder_ == null) { ensureGaugeValueIsMutable(); gaugeValue_.set(index, builderForValue.build()); onChanged(); } else { gaugeValueBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder addGaugeValue(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue value) { if (gaugeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeValueIsMutable(); gaugeValue_.add(value); onChanged(); } else { gaugeValueBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder addGaugeValue( int index, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue value) { if (gaugeValueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGaugeValueIsMutable(); gaugeValue_.add(index, value); onChanged(); } else { gaugeValueBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder addGaugeValue( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder builderForValue) { if (gaugeValueBuilder_ == null) { ensureGaugeValueIsMutable(); gaugeValue_.add(builderForValue.build()); onChanged(); } else { gaugeValueBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder addGaugeValue( int index, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder builderForValue) { if (gaugeValueBuilder_ == null) { ensureGaugeValueIsMutable(); gaugeValue_.add(index, builderForValue.build()); onChanged(); } else { gaugeValueBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder addAllGaugeValue( java.lang.Iterable values) { if (gaugeValueBuilder_ == null) { ensureGaugeValueIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, gaugeValue_); onChanged(); } else { gaugeValueBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder clearGaugeValue() { if (gaugeValueBuilder_ == null) { gaugeValue_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { gaugeValueBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public Builder removeGaugeValue(int index) { if (gaugeValueBuilder_ == null) { ensureGaugeValueIsMutable(); gaugeValue_.remove(index); onChanged(); } else { gaugeValueBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder getGaugeValueBuilder( int index) { return getGaugeValueFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder getGaugeValueOrBuilder( int index) { if (gaugeValueBuilder_ == null) { return gaugeValue_.get(index); } else { return gaugeValueBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public java.util.List getGaugeValueOrBuilderList() { if (gaugeValueBuilder_ != null) { return gaugeValueBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(gaugeValue_); } } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder addGaugeValueBuilder() { return getGaugeValueFieldBuilder().addBuilder( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder addGaugeValueBuilder( int index) { return getGaugeValueFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.GaugeValueMessage.GaugeValue gauge_value = 2; */ public java.util.List getGaugeValueBuilderList() { return getGaugeValueFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder> getGaugeValueFieldBuilder() { if (gaugeValueBuilder_ == null) { gaugeValueBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.GaugeValueOrBuilder>( gaugeValue_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); gaugeValue_ = null; } return gaugeValueBuilder_; } private boolean postV09_ ; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } /** * bool post_v09 = 3; */ public Builder setPostV09(boolean value) { postV09_ = value; onChanged(); return this; } /** * bool post_v09 = 3; */ public Builder clearPostV09() { postV09_ = 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.GaugeValueMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.GaugeValueMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage 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 GaugeValueMessage 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 GaugeValueMessage(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.CollectorServiceOuterClass.GaugeValueMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GaugeValueResponseMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.GaugeValueResponseMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * bool resend_init = 1; */ boolean getResendInit(); } /** * Protobuf type {@code org_glowroot_wire_api_model.GaugeValueResponseMessage} */ public static final class GaugeValueResponseMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.GaugeValueResponseMessage) GaugeValueResponseMessageOrBuilder { private static final long serialVersionUID = 0L; // Use GaugeValueResponseMessage.newBuilder() to construct. private GaugeValueResponseMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GaugeValueResponseMessage() { resendInit_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GaugeValueResponseMessage( 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: { resendInit_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.Builder.class); } public static final int RESEND_INIT_FIELD_NUMBER = 1; private boolean resendInit_; /** * bool resend_init = 1; */ public boolean getResendInit() { return resendInit_; } 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 (resendInit_ != false) { output.writeBool(1, resendInit_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (resendInit_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(1, resendInit_); } 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.CollectorServiceOuterClass.GaugeValueResponseMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage) obj; boolean result = true; result = result && (getResendInit() == other.getResendInit()); 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) + RESEND_INIT_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getResendInit()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.GaugeValueResponseMessage} */ 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.GaugeValueResponseMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.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(); resendInit_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage(this); result.resendInit_ = resendInit_; 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.CollectorServiceOuterClass.GaugeValueResponseMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage.getDefaultInstance()) return this; if (other.getResendInit() != false) { setResendInit(other.getResendInit()); } 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.CollectorServiceOuterClass.GaugeValueResponseMessage 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.CollectorServiceOuterClass.GaugeValueResponseMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean resendInit_ ; /** * bool resend_init = 1; */ public boolean getResendInit() { return resendInit_; } /** * bool resend_init = 1; */ public Builder setResendInit(boolean value) { resendInit_ = value; onChanged(); return this; } /** * bool resend_init = 1; */ public Builder clearResendInit() { resendInit_ = 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.GaugeValueResponseMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.GaugeValueResponseMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueResponseMessage 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 GaugeValueResponseMessage 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 GaugeValueResponseMessage(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.CollectorServiceOuterClass.GaugeValueResponseMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OldTraceMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OldTraceMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * .org_glowroot_wire_api_model.Trace trace = 2; */ boolean hasTrace(); /** * .org_glowroot_wire_api_model.Trace trace = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace(); /** * .org_glowroot_wire_api_model.Trace trace = 2; */ org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.OldTraceMessage} */ public static final class OldTraceMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OldTraceMessage) OldTraceMessageOrBuilder { private static final long serialVersionUID = 0L; // Use OldTraceMessage.newBuilder() to construct. private OldTraceMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OldTraceMessage() { agentId_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OldTraceMessage( 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(); agentId_ = s; break; } case 18: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder subBuilder = null; if (trace_ != null) { subBuilder = trace_.toBuilder(); } trace_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(trace_); trace_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldTraceMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.Builder.class); } public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRACE_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.TraceOuterClass.Trace trace_; /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public boolean hasTrace() { return trace_ != null; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() { return trace_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() { return getTrace(); } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (trace_ != null) { output.writeMessage(2, getTrace()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (trace_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTrace()); } 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.CollectorServiceOuterClass.OldTraceMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && (hasTrace() == other.hasTrace()); if (hasTrace()) { result = result && getTrace() .equals(other.getTrace()); } 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); if (hasTrace()) { hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTrace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage 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.OldTraceMessage} */ 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.OldTraceMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldTraceMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.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(); agentId_ = ""; if (traceBuilder_ == null) { trace_ = null; } else { trace_ = null; traceBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage(this); result.agentId_ = agentId_; if (traceBuilder_ == null) { result.trace_ = trace_; } else { result.trace_ = traceBuilder_.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.CollectorServiceOuterClass.OldTraceMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (other.hasTrace()) { mergeTrace(other.getTrace()); } 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.CollectorServiceOuterClass.OldTraceMessage 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.CollectorServiceOuterClass.OldTraceMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.TraceOuterClass.Trace trace_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder> traceBuilder_; /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public boolean hasTrace() { return traceBuilder_ != null || trace_ != null; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() { if (traceBuilder_ == null) { return trace_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_; } else { return traceBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public Builder setTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } trace_ = value; onChanged(); } else { traceBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public Builder setTrace( org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder builderForValue) { if (traceBuilder_ == null) { trace_ = builderForValue.build(); onChanged(); } else { traceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public Builder mergeTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) { if (traceBuilder_ == null) { if (trace_ != null) { trace_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.newBuilder(trace_).mergeFrom(value).buildPartial(); } else { trace_ = value; } onChanged(); } else { traceBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public Builder clearTrace() { if (traceBuilder_ == null) { trace_ = null; onChanged(); } else { trace_ = null; traceBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder getTraceBuilder() { onChanged(); return getTraceFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() { if (traceBuilder_ != null) { return traceBuilder_.getMessageOrBuilder(); } else { return trace_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_; } } /** * .org_glowroot_wire_api_model.Trace trace = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { traceBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder>( getTrace(), getParentForChildren(), isClean()); trace_ = null; } return traceBuilder_; } 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.OldTraceMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OldTraceMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.OldTraceMessage 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 OldTraceMessage 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 OldTraceMessage(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.CollectorServiceOuterClass.OldTraceMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TraceStreamMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TraceStreamMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ boolean hasStreamHeader(); /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader getStreamHeader(); /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder getStreamHeaderOrBuilder(); /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ boolean hasSharedQueryText(); /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText(); /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder(); /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ boolean hasTrace(); /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace(); /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder(); /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ boolean hasEntry(); /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry(); /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ boolean hasQueries(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries getQueries(); /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder getQueriesOrBuilder(); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ boolean hasMainThreadProfile(); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile(); /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ boolean hasAuxThreadProfile(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile(); /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder(); /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ boolean hasHeader(); /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader(); /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder(); /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ boolean hasStreamCounts(); /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts getStreamCounts(); /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder getStreamCountsOrBuilder(); public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.MessageCase getMessageCase(); } /** * Protobuf type {@code org_glowroot_wire_api_model.TraceStreamMessage} */ public static final class TraceStreamMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TraceStreamMessage) TraceStreamMessageOrBuilder { private static final long serialVersionUID = 0L; // Use TraceStreamMessage.newBuilder() to construct. private TraceStreamMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TraceStreamMessage() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TraceStreamMessage( 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder subBuilder = null; if (messageCase_ == 1) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 1; break; } case 18: { org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder subBuilder = null; if (messageCase_ == 2) { subBuilder = ((org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 2; break; } case 26: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder subBuilder = null; if (messageCase_ == 3) { subBuilder = ((org.glowroot.wire.api.model.TraceOuterClass.Trace) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 3; break; } case 34: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder subBuilder = null; if (messageCase_ == 4) { subBuilder = ((org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 4; break; } case 42: { org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder subBuilder = null; if (messageCase_ == 5) { subBuilder = ((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 5; break; } case 50: { org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder subBuilder = null; if (messageCase_ == 6) { subBuilder = ((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.ProfileOuterClass.Profile.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 6; break; } case 58: { org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder subBuilder = null; if (messageCase_ == 7) { subBuilder = ((org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 7; break; } case 66: { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder subBuilder = null; if (messageCase_ == 8) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 8; break; } case 74: { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder subBuilder = null; if (messageCase_ == 9) { subBuilder = ((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_).toBuilder(); } message_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_); message_ = subBuilder.buildPartial(); } messageCase_ = 9; 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Builder.class); } public interface TraceStreamHeaderOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * string trace_id = 2; */ java.lang.String getTraceId(); /** * string trace_id = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTraceIdBytes(); /** * bool update = 3; */ boolean getUpdate(); /** * bool post_v09 = 4; */ boolean getPostV09(); } /** * Protobuf type {@code org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader} */ public static final class TraceStreamHeader extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader) TraceStreamHeaderOrBuilder { private static final long serialVersionUID = 0L; // Use TraceStreamHeader.newBuilder() to construct. private TraceStreamHeader(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TraceStreamHeader() { agentId_ = ""; traceId_ = ""; update_ = false; postV09_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TraceStreamHeader( 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(); agentId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); traceId_ = s; break; } case 24: { update_ = input.readBool(); break; } case 32: { postV09_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder.class); } public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRACE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object traceId_; /** * string trace_id = 2; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; 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(); traceId_ = s; return s; } } /** * string trace_id = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; 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); traceId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int UPDATE_FIELD_NUMBER = 3; private boolean update_; /** * bool update = 3; */ public boolean getUpdate() { return update_; } public static final int POST_V09_FIELD_NUMBER = 4; private boolean postV09_; /** * bool post_v09 = 4; */ public boolean getPostV09() { return postV09_; } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (!getTraceIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, traceId_); } if (update_ != false) { output.writeBool(3, update_); } if (postV09_ != false) { output.writeBool(4, postV09_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (!getTraceIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, traceId_); } if (update_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(3, update_); } if (postV09_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(4, postV09_); } 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && getTraceId() .equals(other.getTraceId()); result = result && (getUpdate() == other.getUpdate()); result = result && (getPostV09() == other.getPostV09()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; hash = (53 * hash) + getTraceId().hashCode(); hash = (37 * hash) + UPDATE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getUpdate()); hash = (37 * hash) + POST_V09_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getPostV09()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.TraceStreamMessage.TraceStreamHeader} */ 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.TraceStreamMessage.TraceStreamHeader) org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.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(); agentId_ = ""; traceId_ = ""; update_ = false; postV09_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader(this); result.agentId_ = agentId_; result.traceId_ = traceId_; result.update_ = update_; result.postV09_ = postV09_; 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (!other.getTraceId().isEmpty()) { traceId_ = other.traceId_; onChanged(); } if (other.getUpdate() != false) { setUpdate(other.getUpdate()); } if (other.getPostV09() != false) { setPostV09(other.getPostV09()); } 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private java.lang.Object traceId_ = ""; /** * string trace_id = 2; */ public java.lang.String getTraceId() { java.lang.Object ref = traceId_; 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(); traceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string trace_id = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getTraceIdBytes() { java.lang.Object ref = traceId_; 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); traceId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string trace_id = 2; */ public Builder setTraceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } traceId_ = value; onChanged(); return this; } /** * string trace_id = 2; */ public Builder clearTraceId() { traceId_ = getDefaultInstance().getTraceId(); onChanged(); return this; } /** * string trace_id = 2; */ public Builder setTraceIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); traceId_ = value; onChanged(); return this; } private boolean update_ ; /** * bool update = 3; */ public boolean getUpdate() { return update_; } /** * bool update = 3; */ public Builder setUpdate(boolean value) { update_ = value; onChanged(); return this; } /** * bool update = 3; */ public Builder clearUpdate() { update_ = false; onChanged(); return this; } private boolean postV09_ ; /** * bool post_v09 = 4; */ public boolean getPostV09() { return postV09_; } /** * bool post_v09 = 4; */ public Builder setPostV09(boolean value) { postV09_ = value; onChanged(); return this; } /** * bool post_v09 = 4; */ public Builder clearPostV09() { postV09_ = 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.TraceStreamMessage.TraceStreamHeader) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader 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 TraceStreamHeader 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 TraceStreamHeader(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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface QueriesOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TraceStreamMessage.Queries) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ java.util.List getQueryList(); /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index); /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ int getQueryCount(); /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ java.util.List getQueryOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.TraceStreamMessage.Queries} */ public static final class Queries extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TraceStreamMessage.Queries) QueriesOrBuilder { private static final long serialVersionUID = 0L; // Use Queries.newBuilder() to construct. private Queries(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Queries() { query_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Queries( 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: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { query_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } 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_ & 0x00000001) == 0x00000001)) { 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder.class); } public static final int QUERY_FIELD_NUMBER = 1; private java.util.List query_; /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public java.util.List getQueryList() { return query_; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public java.util.List getQueryOrBuilderList() { return query_; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public int getQueryCount() { return query_.size(); } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) { return query_.get(index); } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index) { return query_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < query_.size(); i++) { output.writeMessage(1, query_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < query_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, 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.CollectorServiceOuterClass.TraceStreamMessage.Queries)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) obj; boolean result = true; result = result && getQueryList() .equals(other.getQueryList()); 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 (getQueryCount() > 0) { hash = (37 * hash) + QUERY_FIELD_NUMBER; hash = (53 * hash) + getQueryList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.TraceStreamMessage.Queries} */ 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.TraceStreamMessage.Queries) org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.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) { getQueryFieldBuilder(); } } public Builder clear() { super.clear(); if (queryBuilder_ == null) { query_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { queryBuilder_.clear(); } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries(this); int from_bitField0_ = bitField0_; if (queryBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { query_ = java.util.Collections.unmodifiableList(query_); bitField0_ = (bitField0_ & ~0x00000001); } result.query_ = query_; } else { result.query_ = queryBuilder_.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.CollectorServiceOuterClass.TraceStreamMessage.Queries) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance()) return this; if (queryBuilder_ == null) { if (!other.query_.isEmpty()) { if (query_.isEmpty()) { query_ = other.query_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureQueryIsMutable(); query_.addAll(other.query_); } onChanged(); } } else { if (!other.query_.isEmpty()) { if (queryBuilder_.isEmpty()) { queryBuilder_.dispose(); queryBuilder_ = null; query_ = other.query_; bitField0_ = (bitField0_ & ~0x00000001); queryBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getQueryFieldBuilder() : null; } else { queryBuilder_.addAllMessages(other.query_); } } } 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.CollectorServiceOuterClass.TraceStreamMessage.Queries 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.CollectorServiceOuterClass.TraceStreamMessage.Queries) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List query_ = java.util.Collections.emptyList(); private void ensureQueryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { query_ = new java.util.ArrayList(query_); bitField0_ |= 0x00000001; } } 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_; /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public java.util.List getQueryList() { if (queryBuilder_ == null) { return java.util.Collections.unmodifiableList(query_); } else { return queryBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public int getQueryCount() { if (queryBuilder_ == null) { return query_.size(); } else { return queryBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query getQuery(int index) { if (queryBuilder_ == null) { return query_.get(index); } else { return queryBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder setQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.set(index, value); onChanged(); } else { queryBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder setQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.set(index, builderForValue.build()); onChanged(); } else { queryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder addQuery(org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.add(value); onChanged(); } else { queryBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder addQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query value) { if (queryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureQueryIsMutable(); query_.add(index, value); onChanged(); } else { queryBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder addQuery( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.add(builderForValue.build()); onChanged(); } else { queryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder addQuery( int index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder builderForValue) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.add(index, builderForValue.build()); onChanged(); } else { queryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ 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; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder clearQuery() { if (queryBuilder_ == null) { query_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { queryBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public Builder removeQuery(int index) { if (queryBuilder_ == null) { ensureQueryIsMutable(); query_.remove(index); onChanged(); } else { queryBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder getQueryBuilder( int index) { return getQueryFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.QueryOrBuilder getQueryOrBuilder( int index) { if (queryBuilder_ == null) { return query_.get(index); } else { return queryBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public java.util.List getQueryOrBuilderList() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(query_); } } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder() { return getQueryFieldBuilder().addBuilder( org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ public org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.Builder addQueryBuilder( int index) { return getQueryFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.AggregateOuterClass.Aggregate.Query.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Aggregate.Query query = 1; */ 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_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; } 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.TraceStreamMessage.Queries) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TraceStreamMessage.Queries) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries 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 Queries 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 Queries(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.CollectorServiceOuterClass.TraceStreamMessage.Queries getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TraceStreamCountsOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int32 entry_count = 2; */ int getEntryCount(); /** * int32 shared_query_text_count = 1; */ int getSharedQueryTextCount(); } /** * Protobuf type {@code org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts} */ public static final class TraceStreamCounts extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts) TraceStreamCountsOrBuilder { private static final long serialVersionUID = 0L; // Use TraceStreamCounts.newBuilder() to construct. private TraceStreamCounts(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TraceStreamCounts() { entryCount_ = 0; sharedQueryTextCount_ = 0; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TraceStreamCounts( 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: { sharedQueryTextCount_ = input.readInt32(); break; } case 16: { entryCount_ = input.readInt32(); 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder.class); } public static final int ENTRY_COUNT_FIELD_NUMBER = 2; private int entryCount_; /** * int32 entry_count = 2; */ public int getEntryCount() { return entryCount_; } public static final int SHARED_QUERY_TEXT_COUNT_FIELD_NUMBER = 1; private int sharedQueryTextCount_; /** * int32 shared_query_text_count = 1; */ public int getSharedQueryTextCount() { return sharedQueryTextCount_; } 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 (sharedQueryTextCount_ != 0) { output.writeInt32(1, sharedQueryTextCount_); } if (entryCount_ != 0) { output.writeInt32(2, entryCount_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (sharedQueryTextCount_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(1, sharedQueryTextCount_); } if (entryCount_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(2, entryCount_); } 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) obj; boolean result = true; result = result && (getEntryCount() == other.getEntryCount()); result = result && (getSharedQueryTextCount() == other.getSharedQueryTextCount()); 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) + ENTRY_COUNT_FIELD_NUMBER; hash = (53 * hash) + getEntryCount(); hash = (37 * hash) + SHARED_QUERY_TEXT_COUNT_FIELD_NUMBER; hash = (53 * hash) + getSharedQueryTextCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.TraceStreamMessage.TraceStreamCounts} */ 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.TraceStreamMessage.TraceStreamCounts) org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.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(); entryCount_ = 0; sharedQueryTextCount_ = 0; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts(this); result.entryCount_ = entryCount_; result.sharedQueryTextCount_ = sharedQueryTextCount_; 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance()) return this; if (other.getEntryCount() != 0) { setEntryCount(other.getEntryCount()); } if (other.getSharedQueryTextCount() != 0) { setSharedQueryTextCount(other.getSharedQueryTextCount()); } 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int entryCount_ ; /** * int32 entry_count = 2; */ public int getEntryCount() { return entryCount_; } /** * int32 entry_count = 2; */ public Builder setEntryCount(int value) { entryCount_ = value; onChanged(); return this; } /** * int32 entry_count = 2; */ public Builder clearEntryCount() { entryCount_ = 0; onChanged(); return this; } private int sharedQueryTextCount_ ; /** * int32 shared_query_text_count = 1; */ public int getSharedQueryTextCount() { return sharedQueryTextCount_; } /** * int32 shared_query_text_count = 1; */ public Builder setSharedQueryTextCount(int value) { sharedQueryTextCount_ = value; onChanged(); return this; } /** * int32 shared_query_text_count = 1; */ public Builder clearSharedQueryTextCount() { sharedQueryTextCount_ = 0; 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.TraceStreamMessage.TraceStreamCounts) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts 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 TraceStreamCounts 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 TraceStreamCounts(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.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int messageCase_ = 0; private java.lang.Object message_; public enum MessageCase implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLite { STREAM_HEADER(1), SHARED_QUERY_TEXT(2), TRACE(3), ENTRY(4), QUERIES(9), MAIN_THREAD_PROFILE(5), AUX_THREAD_PROFILE(6), HEADER(7), STREAM_COUNTS(8), MESSAGE_NOT_SET(0); private final int value; private MessageCase(int value) { this.value = value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MessageCase valueOf(int value) { return forNumber(value); } public static MessageCase forNumber(int value) { switch (value) { case 1: return STREAM_HEADER; case 2: return SHARED_QUERY_TEXT; case 3: return TRACE; case 4: return ENTRY; case 9: return QUERIES; case 5: return MAIN_THREAD_PROFILE; case 6: return AUX_THREAD_PROFILE; case 7: return HEADER; case 8: return STREAM_COUNTS; case 0: return MESSAGE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public static final int STREAM_HEADER_FIELD_NUMBER = 1; /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public boolean hasStreamHeader() { return messageCase_ == 1; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader getStreamHeader() { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder getStreamHeaderOrBuilder() { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } public static final int SHARED_QUERY_TEXT_FIELD_NUMBER = 2; /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public boolean hasSharedQueryText() { return messageCase_ == 2; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText() { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder() { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } public static final int TRACE_FIELD_NUMBER = 3; /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public boolean hasTrace() { return messageCase_ == 3; } /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } /** *
     * deprecated in 0.9.13
     * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } public static final int ENTRY_FIELD_NUMBER = 4; /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public boolean hasEntry() { return messageCase_ == 4; } /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry() { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } /** *
     * entry ordering is pre-order depth-first
     * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder() { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } public static final int QUERIES_FIELD_NUMBER = 9; /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public boolean hasQueries() { return messageCase_ == 9; } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries getQueries() { if (messageCase_ == 9) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } /** *
     * there are typically multiple "root" nodes (with depth=0)
     * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder getQueriesOrBuilder() { if (messageCase_ == 9) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } public static final int MAIN_THREAD_PROFILE_FIELD_NUMBER = 5; /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public boolean hasMainThreadProfile() { return messageCase_ == 5; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() { if (messageCase_ == 5) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() { if (messageCase_ == 5) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } public static final int AUX_THREAD_PROFILE_FIELD_NUMBER = 6; /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public boolean hasAuxThreadProfile() { return messageCase_ == 6; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() { if (messageCase_ == 6) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() { if (messageCase_ == 6) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } public static final int HEADER_FIELD_NUMBER = 7; /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public boolean hasHeader() { return messageCase_ == 7; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader() { if (messageCase_ == 7) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder() { if (messageCase_ == 7) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } public static final int STREAM_COUNTS_FIELD_NUMBER = 8; /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public boolean hasStreamCounts() { return messageCase_ == 8; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts getStreamCounts() { if (messageCase_ == 8) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder getStreamCountsOrBuilder() { if (messageCase_ == 8) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } 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 (messageCase_ == 1) { output.writeMessage(1, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_); } if (messageCase_ == 2) { output.writeMessage(2, (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_); } if (messageCase_ == 3) { output.writeMessage(3, (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_); } if (messageCase_ == 4) { output.writeMessage(4, (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_); } if (messageCase_ == 5) { output.writeMessage(5, (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); } if (messageCase_ == 6) { output.writeMessage(6, (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); } if (messageCase_ == 7) { output.writeMessage(7, (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_); } if (messageCase_ == 8) { output.writeMessage(8, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_); } if (messageCase_ == 9) { output.writeMessage(9, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (messageCase_ == 1) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(1, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_); } if (messageCase_ == 2) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_); } if (messageCase_ == 3) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_); } if (messageCase_ == 4) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(4, (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_); } if (messageCase_ == 5) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(5, (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); } if (messageCase_ == 6) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(6, (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_); } if (messageCase_ == 7) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(7, (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_); } if (messageCase_ == 8) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(8, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_); } if (messageCase_ == 9) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(9, (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_); } 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.CollectorServiceOuterClass.TraceStreamMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage) obj; boolean result = true; result = result && getMessageCase().equals( other.getMessageCase()); if (!result) return false; switch (messageCase_) { case 1: result = result && getStreamHeader() .equals(other.getStreamHeader()); break; case 2: result = result && getSharedQueryText() .equals(other.getSharedQueryText()); break; case 3: result = result && getTrace() .equals(other.getTrace()); break; case 4: result = result && getEntry() .equals(other.getEntry()); break; case 9: result = result && getQueries() .equals(other.getQueries()); break; case 5: result = result && getMainThreadProfile() .equals(other.getMainThreadProfile()); break; case 6: result = result && getAuxThreadProfile() .equals(other.getAuxThreadProfile()); break; case 7: result = result && getHeader() .equals(other.getHeader()); break; case 8: result = result && getStreamCounts() .equals(other.getStreamCounts()); 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 (messageCase_) { case 1: hash = (37 * hash) + STREAM_HEADER_FIELD_NUMBER; hash = (53 * hash) + getStreamHeader().hashCode(); break; case 2: hash = (37 * hash) + SHARED_QUERY_TEXT_FIELD_NUMBER; hash = (53 * hash) + getSharedQueryText().hashCode(); break; case 3: hash = (37 * hash) + TRACE_FIELD_NUMBER; hash = (53 * hash) + getTrace().hashCode(); break; case 4: hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntry().hashCode(); break; case 9: hash = (37 * hash) + QUERIES_FIELD_NUMBER; hash = (53 * hash) + getQueries().hashCode(); break; case 5: hash = (37 * hash) + MAIN_THREAD_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getMainThreadProfile().hashCode(); break; case 6: hash = (37 * hash) + AUX_THREAD_PROFILE_FIELD_NUMBER; hash = (53 * hash) + getAuxThreadProfile().hashCode(); break; case 7: hash = (37 * hash) + HEADER_FIELD_NUMBER; hash = (53 * hash) + getHeader().hashCode(); break; case 8: hash = (37 * hash) + STREAM_COUNTS_FIELD_NUMBER; hash = (53 * hash) + getStreamCounts().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage 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.TraceStreamMessage} */ 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.TraceStreamMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.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(); messageCase_ = 0; message_ = null; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage(this); if (messageCase_ == 1) { if (streamHeaderBuilder_ == null) { result.message_ = message_; } else { result.message_ = streamHeaderBuilder_.build(); } } if (messageCase_ == 2) { if (sharedQueryTextBuilder_ == null) { result.message_ = message_; } else { result.message_ = sharedQueryTextBuilder_.build(); } } if (messageCase_ == 3) { if (traceBuilder_ == null) { result.message_ = message_; } else { result.message_ = traceBuilder_.build(); } } if (messageCase_ == 4) { if (entryBuilder_ == null) { result.message_ = message_; } else { result.message_ = entryBuilder_.build(); } } if (messageCase_ == 9) { if (queriesBuilder_ == null) { result.message_ = message_; } else { result.message_ = queriesBuilder_.build(); } } if (messageCase_ == 5) { if (mainThreadProfileBuilder_ == null) { result.message_ = message_; } else { result.message_ = mainThreadProfileBuilder_.build(); } } if (messageCase_ == 6) { if (auxThreadProfileBuilder_ == null) { result.message_ = message_; } else { result.message_ = auxThreadProfileBuilder_.build(); } } if (messageCase_ == 7) { if (headerBuilder_ == null) { result.message_ = message_; } else { result.message_ = headerBuilder_.build(); } } if (messageCase_ == 8) { if (streamCountsBuilder_ == null) { result.message_ = message_; } else { result.message_ = streamCountsBuilder_.build(); } } result.messageCase_ = messageCase_; 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.CollectorServiceOuterClass.TraceStreamMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.getDefaultInstance()) return this; switch (other.getMessageCase()) { case STREAM_HEADER: { mergeStreamHeader(other.getStreamHeader()); break; } case SHARED_QUERY_TEXT: { mergeSharedQueryText(other.getSharedQueryText()); break; } case TRACE: { mergeTrace(other.getTrace()); break; } case ENTRY: { mergeEntry(other.getEntry()); break; } case QUERIES: { mergeQueries(other.getQueries()); break; } case MAIN_THREAD_PROFILE: { mergeMainThreadProfile(other.getMainThreadProfile()); break; } case AUX_THREAD_PROFILE: { mergeAuxThreadProfile(other.getAuxThreadProfile()); break; } case HEADER: { mergeHeader(other.getHeader()); break; } case STREAM_COUNTS: { mergeStreamCounts(other.getStreamCounts()); break; } case MESSAGE_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.CollectorServiceOuterClass.TraceStreamMessage 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.CollectorServiceOuterClass.TraceStreamMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int messageCase_ = 0; private java.lang.Object message_; public MessageCase getMessageCase() { return MessageCase.forNumber( messageCase_); } public Builder clearMessage() { messageCase_ = 0; message_ = null; onChanged(); return this; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder> streamHeaderBuilder_; /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public boolean hasStreamHeader() { return messageCase_ == 1; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader getStreamHeader() { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } else { if (messageCase_ == 1) { return streamHeaderBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public Builder setStreamHeader(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader value) { if (streamHeaderBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { streamHeaderBuilder_.setMessage(value); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public Builder setStreamHeader( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder builderForValue) { if (streamHeaderBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { streamHeaderBuilder_.setMessage(builderForValue.build()); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public Builder mergeStreamHeader(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader value) { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 1) { streamHeaderBuilder_.mergeFrom(value); } streamHeaderBuilder_.setMessage(value); } messageCase_ = 1; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public Builder clearStreamHeader() { if (streamHeaderBuilder_ == null) { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 1) { messageCase_ = 0; message_ = null; } streamHeaderBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder getStreamHeaderBuilder() { return getStreamHeaderFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder getStreamHeaderOrBuilder() { if ((messageCase_ == 1) && (streamHeaderBuilder_ != null)) { return streamHeaderBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 1) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamHeader stream_header = 1; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder> getStreamHeaderFieldBuilder() { if (streamHeaderBuilder_ == null) { if (!(messageCase_ == 1)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.getDefaultInstance(); } streamHeaderBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeaderOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamHeader) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 1; onChanged();; return streamHeaderBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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_; /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public boolean hasSharedQueryText() { return messageCase_ == 2; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText getSharedQueryText() { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } else { if (messageCase_ == 2) { return sharedQueryTextBuilder_.getMessage(); } return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public Builder setSharedQueryText(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { sharedQueryTextBuilder_.setMessage(value); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public Builder setSharedQueryText( org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder builderForValue) { if (sharedQueryTextBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { sharedQueryTextBuilder_.setMessage(builderForValue.build()); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public Builder mergeSharedQueryText(org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText value) { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2 && message_ != org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.newBuilder((org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 2) { sharedQueryTextBuilder_.mergeFrom(value); } sharedQueryTextBuilder_.setMessage(value); } messageCase_ = 2; return this; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public Builder clearSharedQueryText() { if (sharedQueryTextBuilder_ == null) { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 2) { messageCase_ = 0; message_ = null; } sharedQueryTextBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.Builder getSharedQueryTextBuilder() { return getSharedQueryTextFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryTextOrBuilder getSharedQueryTextOrBuilder() { if ((messageCase_ == 2) && (sharedQueryTextBuilder_ != null)) { return sharedQueryTextBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 2) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Trace.SharedQueryText shared_query_text = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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) { if (!(messageCase_ == 2)) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText.getDefaultInstance(); } sharedQueryTextBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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>( (org.glowroot.wire.api.model.TraceOuterClass.Trace.SharedQueryText) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 2; onChanged();; return sharedQueryTextBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder> traceBuilder_; /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public boolean hasTrace() { return messageCase_ == 3; } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() { if (traceBuilder_ == null) { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } else { if (messageCase_ == 3) { return traceBuilder_.getMessage(); } return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public Builder setTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) { if (traceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { traceBuilder_.setMessage(value); } messageCase_ = 3; return this; } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public Builder setTrace( org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder builderForValue) { if (traceBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { traceBuilder_.setMessage(builderForValue.build()); } messageCase_ = 3; return this; } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public Builder mergeTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) { if (traceBuilder_ == null) { if (messageCase_ == 3 && message_ != org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.newBuilder((org.glowroot.wire.api.model.TraceOuterClass.Trace) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 3) { traceBuilder_.mergeFrom(value); } traceBuilder_.setMessage(value); } messageCase_ = 3; return this; } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public Builder clearTrace() { if (traceBuilder_ == null) { if (messageCase_ == 3) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 3) { messageCase_ = 0; message_ = null; } traceBuilder_.clear(); } return this; } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder getTraceBuilder() { return getTraceFieldBuilder().getBuilder(); } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() { if ((messageCase_ == 3) && (traceBuilder_ != null)) { return traceBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 3) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } } /** *
       * deprecated in 0.9.13
       * 
* * .org_glowroot_wire_api_model.Trace trace = 3; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder> getTraceFieldBuilder() { if (traceBuilder_ == null) { if (!(messageCase_ == 3)) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance(); } traceBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder>( (org.glowroot.wire.api.model.TraceOuterClass.Trace) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 3; onChanged();; return traceBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public boolean hasEntry() { return messageCase_ == 4; } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry getEntry() { if (entryBuilder_ == null) { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } else { if (messageCase_ == 4) { return entryBuilder_.getMessage(); } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public Builder setEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { entryBuilder_.setMessage(value); } messageCase_ = 4; return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public Builder setEntry( org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder builderForValue) { if (entryBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { entryBuilder_.setMessage(builderForValue.build()); } messageCase_ = 4; return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public Builder mergeEntry(org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry value) { if (entryBuilder_ == null) { if (messageCase_ == 4 && message_ != org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.newBuilder((org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 4) { entryBuilder_.mergeFrom(value); } entryBuilder_.setMessage(value); } messageCase_ = 4; return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public Builder clearEntry() { if (entryBuilder_ == null) { if (messageCase_ == 4) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 4) { messageCase_ = 0; message_ = null; } entryBuilder_.clear(); } return this; } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.Builder getEntryBuilder() { return getEntryFieldBuilder().getBuilder(); } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.EntryOrBuilder getEntryOrBuilder() { if ((messageCase_ == 4) && (entryBuilder_ != null)) { return entryBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 4) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } } /** *
       * entry ordering is pre-order depth-first
       * 
* * .org_glowroot_wire_api_model.Trace.Entry entry = 4; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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) { if (!(messageCase_ == 4)) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry.getDefaultInstance(); } entryBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< 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>( (org.glowroot.wire.api.model.TraceOuterClass.Trace.Entry) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 4; onChanged();; return entryBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder> queriesBuilder_; /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public boolean hasQueries() { return messageCase_ == 9; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries getQueries() { if (queriesBuilder_ == null) { if (messageCase_ == 9) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } else { if (messageCase_ == 9) { return queriesBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public Builder setQueries(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries value) { if (queriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { queriesBuilder_.setMessage(value); } messageCase_ = 9; return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public Builder setQueries( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder builderForValue) { if (queriesBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { queriesBuilder_.setMessage(builderForValue.build()); } messageCase_ = 9; return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public Builder mergeQueries(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries value) { if (queriesBuilder_ == null) { if (messageCase_ == 9 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 9) { queriesBuilder_.mergeFrom(value); } queriesBuilder_.setMessage(value); } messageCase_ = 9; return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public Builder clearQueries() { if (queriesBuilder_ == null) { if (messageCase_ == 9) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 9) { messageCase_ = 0; message_ = null; } queriesBuilder_.clear(); } return this; } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder getQueriesBuilder() { return getQueriesFieldBuilder().getBuilder(); } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder getQueriesOrBuilder() { if ((messageCase_ == 9) && (queriesBuilder_ != null)) { return queriesBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 9) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } } /** *
       * there are typically multiple "root" nodes (with depth=0)
       * 
* * .org_glowroot_wire_api_model.TraceStreamMessage.Queries queries = 9; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder> getQueriesFieldBuilder() { if (queriesBuilder_ == null) { if (!(messageCase_ == 9)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.getDefaultInstance(); } queriesBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.QueriesOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.Queries) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 9; onChanged();; return queriesBuilder_; } 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 = 5; */ public boolean hasMainThreadProfile() { return messageCase_ == 5; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getMainThreadProfile() { if (mainThreadProfileBuilder_ == null) { if (messageCase_ == 5) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } else { if (messageCase_ == 5) { return mainThreadProfileBuilder_.getMessage(); } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public Builder setMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (mainThreadProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { mainThreadProfileBuilder_.setMessage(value); } messageCase_ = 5; return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public Builder setMainThreadProfile( org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) { if (mainThreadProfileBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { mainThreadProfileBuilder_.setMessage(builderForValue.build()); } messageCase_ = 5; return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public Builder mergeMainThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (mainThreadProfileBuilder_ == null) { if (messageCase_ == 5 && message_ != org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 5) { mainThreadProfileBuilder_.mergeFrom(value); } mainThreadProfileBuilder_.setMessage(value); } messageCase_ = 5; return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public Builder clearMainThreadProfile() { if (mainThreadProfileBuilder_ == null) { if (messageCase_ == 5) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 5) { messageCase_ = 0; message_ = null; } mainThreadProfileBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getMainThreadProfileBuilder() { return getMainThreadProfileFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Profile main_thread_profile = 5; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getMainThreadProfileOrBuilder() { if ((messageCase_ == 5) && (mainThreadProfileBuilder_ != null)) { return mainThreadProfileBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 5) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Profile main_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> getMainThreadProfileFieldBuilder() { if (mainThreadProfileBuilder_ == null) { if (!(messageCase_ == 5)) { message_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } 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>( (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 5; onChanged();; return mainThreadProfileBuilder_; } 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 = 6; */ public boolean hasAuxThreadProfile() { return messageCase_ == 6; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile getAuxThreadProfile() { if (auxThreadProfileBuilder_ == null) { if (messageCase_ == 6) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } else { if (messageCase_ == 6) { return auxThreadProfileBuilder_.getMessage(); } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public Builder setAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (auxThreadProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { auxThreadProfileBuilder_.setMessage(value); } messageCase_ = 6; return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public Builder setAuxThreadProfile( org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder builderForValue) { if (auxThreadProfileBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { auxThreadProfileBuilder_.setMessage(builderForValue.build()); } messageCase_ = 6; return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public Builder mergeAuxThreadProfile(org.glowroot.wire.api.model.ProfileOuterClass.Profile value) { if (auxThreadProfileBuilder_ == null) { if (messageCase_ == 6 && message_ != org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.newBuilder((org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 6) { auxThreadProfileBuilder_.mergeFrom(value); } auxThreadProfileBuilder_.setMessage(value); } messageCase_ = 6; return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public Builder clearAuxThreadProfile() { if (auxThreadProfileBuilder_ == null) { if (messageCase_ == 6) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 6) { messageCase_ = 0; message_ = null; } auxThreadProfileBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public org.glowroot.wire.api.model.ProfileOuterClass.Profile.Builder getAuxThreadProfileBuilder() { return getAuxThreadProfileFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ public org.glowroot.wire.api.model.ProfileOuterClass.ProfileOrBuilder getAuxThreadProfileOrBuilder() { if ((messageCase_ == 6) && (auxThreadProfileBuilder_ != null)) { return auxThreadProfileBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 6) { return (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_; } return org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Profile aux_thread_profile = 6; */ 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) { if (!(messageCase_ == 6)) { message_ = org.glowroot.wire.api.model.ProfileOuterClass.Profile.getDefaultInstance(); } 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>( (org.glowroot.wire.api.model.ProfileOuterClass.Profile) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 6; onChanged();; return auxThreadProfileBuilder_; } 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 = 7; */ public boolean hasHeader() { return messageCase_ == 7; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header getHeader() { if (headerBuilder_ == null) { if (messageCase_ == 7) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } else { if (messageCase_ == 7) { return headerBuilder_.getMessage(); } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public Builder setHeader(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header value) { if (headerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { headerBuilder_.setMessage(value); } messageCase_ = 7; return this; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public Builder setHeader( org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder builderForValue) { if (headerBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { headerBuilder_.setMessage(builderForValue.build()); } messageCase_ = 7; return this; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public Builder mergeHeader(org.glowroot.wire.api.model.TraceOuterClass.Trace.Header value) { if (headerBuilder_ == null) { if (messageCase_ == 7 && message_ != org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.newBuilder((org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 7) { headerBuilder_.mergeFrom(value); } headerBuilder_.setMessage(value); } messageCase_ = 7; return this; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public Builder clearHeader() { if (headerBuilder_ == null) { if (messageCase_ == 7) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 7) { messageCase_ = 0; message_ = null; } headerBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.Builder getHeaderBuilder() { return getHeaderFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ public org.glowroot.wire.api.model.TraceOuterClass.Trace.HeaderOrBuilder getHeaderOrBuilder() { if ((messageCase_ == 7) && (headerBuilder_ != null)) { return headerBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 7) { return (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_; } return org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.Trace.Header header = 7; */ 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) { if (!(messageCase_ == 7)) { message_ = org.glowroot.wire.api.model.TraceOuterClass.Trace.Header.getDefaultInstance(); } 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>( (org.glowroot.wire.api.model.TraceOuterClass.Trace.Header) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 7; onChanged();; return headerBuilder_; } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder> streamCountsBuilder_; /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public boolean hasStreamCounts() { return messageCase_ == 8; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts getStreamCounts() { if (streamCountsBuilder_ == null) { if (messageCase_ == 8) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } else { if (messageCase_ == 8) { return streamCountsBuilder_.getMessage(); } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public Builder setStreamCounts(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts value) { if (streamCountsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); } else { streamCountsBuilder_.setMessage(value); } messageCase_ = 8; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public Builder setStreamCounts( org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder builderForValue) { if (streamCountsBuilder_ == null) { message_ = builderForValue.build(); onChanged(); } else { streamCountsBuilder_.setMessage(builderForValue.build()); } messageCase_ = 8; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public Builder mergeStreamCounts(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts value) { if (streamCountsBuilder_ == null) { if (messageCase_ == 8 && message_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance()) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.newBuilder((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_) .mergeFrom(value).buildPartial(); } else { message_ = value; } onChanged(); } else { if (messageCase_ == 8) { streamCountsBuilder_.mergeFrom(value); } streamCountsBuilder_.setMessage(value); } messageCase_ = 8; return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public Builder clearStreamCounts() { if (streamCountsBuilder_ == null) { if (messageCase_ == 8) { messageCase_ = 0; message_ = null; onChanged(); } } else { if (messageCase_ == 8) { messageCase_ = 0; message_ = null; } streamCountsBuilder_.clear(); } return this; } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder getStreamCountsBuilder() { return getStreamCountsFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder getStreamCountsOrBuilder() { if ((messageCase_ == 8) && (streamCountsBuilder_ != null)) { return streamCountsBuilder_.getMessageOrBuilder(); } else { if (messageCase_ == 8) { return (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_; } return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } } /** * .org_glowroot_wire_api_model.TraceStreamMessage.TraceStreamCounts stream_counts = 8; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder> getStreamCountsFieldBuilder() { if (streamCountsBuilder_ == null) { if (!(messageCase_ == 8)) { message_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.getDefaultInstance(); } streamCountsBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCountsOrBuilder>( (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage.TraceStreamCounts) message_, getParentForChildren(), isClean()); message_ = null; } messageCase_ = 8; onChanged();; return streamCountsBuilder_; } 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.TraceStreamMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TraceStreamMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceStreamMessage 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 TraceStreamMessage 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 TraceStreamMessage(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.CollectorServiceOuterClass.TraceStreamMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LogMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.LogMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string agent_id = 1; */ java.lang.String getAgentId(); /** * string agent_id = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes(); /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ boolean hasLogEvent(); /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent getLogEvent(); /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder getLogEventOrBuilder(); /** * bool post_v09 = 3; */ boolean getPostV09(); } /** * Protobuf type {@code org_glowroot_wire_api_model.LogMessage} */ public static final class LogMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.LogMessage) LogMessageOrBuilder { private static final long serialVersionUID = 0L; // Use LogMessage.newBuilder() to construct. private LogMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogMessage() { agentId_ = ""; postV09_ = false; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogMessage( 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(); agentId_ = s; break; } case 18: { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder subBuilder = null; if (logEvent_ != null) { subBuilder = logEvent_.toBuilder(); } logEvent_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(logEvent_); logEvent_ = subBuilder.buildPartial(); } break; } case 24: { postV09_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.Builder.class); } public interface LogEventOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.LogMessage.LogEvent) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int64 timestamp = 1; */ long getTimestamp(); /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ int getLevelValue(); /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level getLevel(); /** * string logger_name = 3; */ java.lang.String getLoggerName(); /** * string logger_name = 3; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getLoggerNameBytes(); /** * string message = 4; */ java.lang.String getMessage(); /** * string message = 4; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMessageBytes(); /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ boolean hasThrowable(); /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ org.glowroot.wire.api.model.Proto.Throwable getThrowable(); /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder(); } /** * Protobuf type {@code org_glowroot_wire_api_model.LogMessage.LogEvent} */ public static final class LogEvent extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.LogMessage.LogEvent) LogEventOrBuilder { private static final long serialVersionUID = 0L; // Use LogEvent.newBuilder() to construct. private LogEvent(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogEvent() { timestamp_ = 0L; level_ = 0; loggerName_ = ""; message_ = ""; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogEvent( 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: { timestamp_ = input.readInt64(); break; } case 16: { int rawValue = input.readEnum(); level_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); loggerName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 42: { org.glowroot.wire.api.model.Proto.Throwable.Builder subBuilder = null; if (throwable_ != null) { subBuilder = throwable_.toBuilder(); } throwable_ = input.readMessage(org.glowroot.wire.api.model.Proto.Throwable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(throwable_); throwable_ = 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder.class); } /** * Protobuf enum {@code org_glowroot_wire_api_model.LogMessage.LogEvent.Level} */ public enum Level implements org.glowroot.agent.it.harness.shaded.com.google.protobuf.ProtocolMessageEnum { /** *
         * TODO this seems unnecessary
         * 
* * NONE = 0; */ NONE(0), /** * TRACE = 1; */ TRACE(1), /** * DEBUG = 2; */ DEBUG(2), /** * INFO = 3; */ INFO(3), /** * WARN = 4; */ WARN(4), /** * ERROR = 5; */ ERROR(5), UNRECOGNIZED(-1), ; /** *
         * TODO this seems unnecessary
         * 
* * NONE = 0; */ public static final int NONE_VALUE = 0; /** * TRACE = 1; */ public static final int TRACE_VALUE = 1; /** * DEBUG = 2; */ public static final int DEBUG_VALUE = 2; /** * INFO = 3; */ public static final int INFO_VALUE = 3; /** * WARN = 4; */ public static final int WARN_VALUE = 4; /** * ERROR = 5; */ public static final int ERROR_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Level valueOf(int value) { return forNumber(value); } public static Level forNumber(int value) { switch (value) { case 0: return NONE; case 1: return TRACE; case 2: return DEBUG; case 3: return INFO; case 4: return WARN; case 5: return ERROR; default: return null; } } public static org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap< Level> internalValueMap = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.EnumLiteMap() { public Level findValueByNumber(int number) { return Level.forNumber(number); } }; public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDescriptor().getEnumTypes().get(0); } private static final Level[] VALUES = values(); public static Level valueOf( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Level(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.LogMessage.LogEvent.Level) } public static final int TIMESTAMP_FIELD_NUMBER = 1; private long timestamp_; /** * int64 timestamp = 1; */ public long getTimestamp() { return timestamp_; } public static final int LEVEL_FIELD_NUMBER = 2; private int level_; /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public int getLevelValue() { return level_; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level getLevel() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level result = org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.valueOf(level_); return result == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.UNRECOGNIZED : result; } public static final int LOGGER_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object loggerName_; /** * string logger_name = 3; */ public java.lang.String getLoggerName() { java.lang.Object ref = loggerName_; 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(); loggerName_ = s; return s; } } /** * string logger_name = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getLoggerNameBytes() { java.lang.Object ref = loggerName_; 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); loggerName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 4; private volatile java.lang.Object message_; /** * string message = 4; */ 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 = 4; */ 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 THROWABLE_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.Proto.Throwable throwable_; /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public boolean hasThrowable() { return throwable_ != null; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public org.glowroot.wire.api.model.Proto.Throwable getThrowable() { return throwable_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder() { return getThrowable(); } 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 (timestamp_ != 0L) { output.writeInt64(1, timestamp_); } if (level_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.NONE.getNumber()) { output.writeEnum(2, level_); } if (!getLoggerNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, loggerName_); } if (!getMessageBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, message_); } if (throwable_ != null) { output.writeMessage(5, getThrowable()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (timestamp_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(1, timestamp_); } if (level_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.NONE.getNumber()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeEnumSize(2, level_); } if (!getLoggerNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, loggerName_); } if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(4, message_); } if (throwable_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(5, getThrowable()); } 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.CollectorServiceOuterClass.LogMessage.LogEvent)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent) obj; boolean result = true; result = result && (getTimestamp() == other.getTimestamp()); result = result && level_ == other.level_; result = result && getLoggerName() .equals(other.getLoggerName()); result = result && getMessage() .equals(other.getMessage()); result = result && (hasThrowable() == other.hasThrowable()); if (hasThrowable()) { result = result && getThrowable() .equals(other.getThrowable()); } 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) + TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getTimestamp()); hash = (37 * hash) + LEVEL_FIELD_NUMBER; hash = (53 * hash) + level_; hash = (37 * hash) + LOGGER_NAME_FIELD_NUMBER; hash = (53 * hash) + getLoggerName().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (hasThrowable()) { hash = (37 * hash) + THROWABLE_FIELD_NUMBER; hash = (53 * hash) + getThrowable().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.LogMessage.LogEvent} */ 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.LogMessage.LogEvent) org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.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(); timestamp_ = 0L; level_ = 0; loggerName_ = ""; message_ = ""; if (throwableBuilder_ == null) { throwable_ = null; } else { throwable_ = null; throwableBuilder_ = null; } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent(this); result.timestamp_ = timestamp_; result.level_ = level_; result.loggerName_ = loggerName_; result.message_ = message_; if (throwableBuilder_ == null) { result.throwable_ = throwable_; } else { result.throwable_ = throwableBuilder_.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.CollectorServiceOuterClass.LogMessage.LogEvent) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDefaultInstance()) return this; if (other.getTimestamp() != 0L) { setTimestamp(other.getTimestamp()); } if (other.level_ != 0) { setLevelValue(other.getLevelValue()); } if (!other.getLoggerName().isEmpty()) { loggerName_ = other.loggerName_; onChanged(); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.hasThrowable()) { mergeThrowable(other.getThrowable()); } 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.CollectorServiceOuterClass.LogMessage.LogEvent 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.CollectorServiceOuterClass.LogMessage.LogEvent) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long timestamp_ ; /** * int64 timestamp = 1; */ public long getTimestamp() { return timestamp_; } /** * int64 timestamp = 1; */ public Builder setTimestamp(long value) { timestamp_ = value; onChanged(); return this; } /** * int64 timestamp = 1; */ public Builder clearTimestamp() { timestamp_ = 0L; onChanged(); return this; } private int level_ = 0; /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public int getLevelValue() { return level_; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public Builder setLevelValue(int value) { level_ = value; onChanged(); return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level getLevel() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level result = org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.valueOf(level_); return result == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level.UNRECOGNIZED : result; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public Builder setLevel(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Level value) { if (value == null) { throw new NullPointerException(); } level_ = value.getNumber(); onChanged(); return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent.Level level = 2; */ public Builder clearLevel() { level_ = 0; onChanged(); return this; } private java.lang.Object loggerName_ = ""; /** * string logger_name = 3; */ public java.lang.String getLoggerName() { java.lang.Object ref = loggerName_; 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(); loggerName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string logger_name = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getLoggerNameBytes() { java.lang.Object ref = loggerName_; 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); loggerName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string logger_name = 3; */ public Builder setLoggerName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } loggerName_ = value; onChanged(); return this; } /** * string logger_name = 3; */ public Builder clearLoggerName() { loggerName_ = getDefaultInstance().getLoggerName(); onChanged(); return this; } /** * string logger_name = 3; */ public Builder setLoggerNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); loggerName_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 4; */ 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 = 4; */ 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 = 4; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 4; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 4; */ 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 throwable_ = 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> throwableBuilder_; /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public boolean hasThrowable() { return throwableBuilder_ != null || throwable_ != null; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public org.glowroot.wire.api.model.Proto.Throwable getThrowable() { if (throwableBuilder_ == null) { return throwable_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_; } else { return throwableBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public Builder setThrowable(org.glowroot.wire.api.model.Proto.Throwable value) { if (throwableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } throwable_ = value; onChanged(); } else { throwableBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public Builder setThrowable( org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (throwableBuilder_ == null) { throwable_ = builderForValue.build(); onChanged(); } else { throwableBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public Builder mergeThrowable(org.glowroot.wire.api.model.Proto.Throwable value) { if (throwableBuilder_ == null) { if (throwable_ != null) { throwable_ = org.glowroot.wire.api.model.Proto.Throwable.newBuilder(throwable_).mergeFrom(value).buildPartial(); } else { throwable_ = value; } onChanged(); } else { throwableBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public Builder clearThrowable() { if (throwableBuilder_ == null) { throwable_ = null; onChanged(); } else { throwable_ = null; throwableBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder getThrowableBuilder() { onChanged(); return getThrowableFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder() { if (throwableBuilder_ != null) { return throwableBuilder_.getMessageOrBuilder(); } else { return throwable_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_; } } /** * .org_glowroot_wire_api_model.Throwable throwable = 5; */ 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> getThrowableFieldBuilder() { if (throwableBuilder_ == null) { throwableBuilder_ = 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>( getThrowable(), getParentForChildren(), isClean()); throwable_ = null; } return throwableBuilder_; } 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.LogMessage.LogEvent) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.LogMessage.LogEvent) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent 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 LogEvent 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 LogEvent(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.CollectorServiceOuterClass.LogMessage.LogEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int AGENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object agentId_; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int LOG_EVENT_FIELD_NUMBER = 2; private org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent logEvent_; /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public boolean hasLogEvent() { return logEvent_ != null; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent getLogEvent() { return logEvent_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDefaultInstance() : logEvent_; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder getLogEventOrBuilder() { return getLogEvent(); } public static final int POST_V09_FIELD_NUMBER = 3; private boolean postV09_; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } 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 (!getAgentIdBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_); } if (logEvent_ != null) { output.writeMessage(2, getLogEvent()); } if (postV09_ != false) { output.writeBool(3, postV09_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getAgentIdBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_); } if (logEvent_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getLogEvent()); } if (postV09_ != false) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeBoolSize(3, postV09_); } 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.CollectorServiceOuterClass.LogMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage) obj; boolean result = true; result = result && getAgentId() .equals(other.getAgentId()); result = result && (hasLogEvent() == other.hasLogEvent()); if (hasLogEvent()) { result = result && getLogEvent() .equals(other.getLogEvent()); } result = result && (getPostV09() == other.getPostV09()); 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) + AGENT_ID_FIELD_NUMBER; hash = (53 * hash) + getAgentId().hashCode(); if (hasLogEvent()) { hash = (37 * hash) + LOG_EVENT_FIELD_NUMBER; hash = (53 * hash) + getLogEvent().hashCode(); } hash = (37 * hash) + POST_V09_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashBoolean( getPostV09()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage 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.LogMessage} */ 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.LogMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.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(); agentId_ = ""; if (logEventBuilder_ == null) { logEvent_ = null; } else { logEvent_ = null; logEventBuilder_ = null; } postV09_ = false; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage(this); result.agentId_ = agentId_; if (logEventBuilder_ == null) { result.logEvent_ = logEvent_; } else { result.logEvent_ = logEventBuilder_.build(); } result.postV09_ = postV09_; 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.CollectorServiceOuterClass.LogMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.getDefaultInstance()) return this; if (!other.getAgentId().isEmpty()) { agentId_ = other.agentId_; onChanged(); } if (other.hasLogEvent()) { mergeLogEvent(other.getLogEvent()); } if (other.getPostV09() != false) { setPostV09(other.getPostV09()); } 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.CollectorServiceOuterClass.LogMessage 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.CollectorServiceOuterClass.LogMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object agentId_ = ""; /** * string agent_id = 1; */ public java.lang.String getAgentId() { java.lang.Object ref = agentId_; 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(); agentId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string agent_id = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getAgentIdBytes() { java.lang.Object ref = agentId_; 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); agentId_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string agent_id = 1; */ public Builder setAgentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } agentId_ = value; onChanged(); return this; } /** * string agent_id = 1; */ public Builder clearAgentId() { agentId_ = getDefaultInstance().getAgentId(); onChanged(); return this; } /** * string agent_id = 1; */ public Builder setAgentIdBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); agentId_ = value; onChanged(); return this; } private org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent logEvent_ = null; private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder> logEventBuilder_; /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public boolean hasLogEvent() { return logEventBuilder_ != null || logEvent_ != null; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent getLogEvent() { if (logEventBuilder_ == null) { return logEvent_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDefaultInstance() : logEvent_; } else { return logEventBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public Builder setLogEvent(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent value) { if (logEventBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logEvent_ = value; onChanged(); } else { logEventBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public Builder setLogEvent( org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder builderForValue) { if (logEventBuilder_ == null) { logEvent_ = builderForValue.build(); onChanged(); } else { logEventBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public Builder mergeLogEvent(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent value) { if (logEventBuilder_ == null) { if (logEvent_ != null) { logEvent_ = org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.newBuilder(logEvent_).mergeFrom(value).buildPartial(); } else { logEvent_ = value; } onChanged(); } else { logEventBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public Builder clearLogEvent() { if (logEventBuilder_ == null) { logEvent_ = null; onChanged(); } else { logEvent_ = null; logEventBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder getLogEventBuilder() { onChanged(); return getLogEventFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder getLogEventOrBuilder() { if (logEventBuilder_ != null) { return logEventBuilder_.getMessageOrBuilder(); } else { return logEvent_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.getDefaultInstance() : logEvent_; } } /** * .org_glowroot_wire_api_model.LogMessage.LogEvent log_event = 2; */ private org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder> getLogEventFieldBuilder() { if (logEventBuilder_ == null) { logEventBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.SingleFieldBuilderV3< org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.LogEventOrBuilder>( getLogEvent(), getParentForChildren(), isClean()); logEvent_ = null; } return logEventBuilder_; } private boolean postV09_ ; /** * bool post_v09 = 3; */ public boolean getPostV09() { return postV09_; } /** * bool post_v09 = 3; */ public Builder setPostV09(boolean value) { postV09_ = value; onChanged(); return this; } /** * bool post_v09 = 3; */ public Builder clearPostV09() { postV09_ = 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.LogMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.LogMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage 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 LogMessage 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 LogMessage(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.CollectorServiceOuterClass.LogMessage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface EmptyMessageOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.EmptyMessage) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code org_glowroot_wire_api_model.EmptyMessage} */ public static final class EmptyMessage extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.EmptyMessage) EmptyMessageOrBuilder { private static final long serialVersionUID = 0L; // Use EmptyMessage.newBuilder() to construct. private EmptyMessage(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EmptyMessage() { } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EmptyMessage( 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(); } 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; } } } } 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.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.Builder.class); } 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 { unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.CollectorServiceOuterClass.EmptyMessage)) { return super.equals(obj); } org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage other = (org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage) obj; boolean result = true; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage 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.EmptyMessage} */ 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.EmptyMessage) org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessageOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.Builder.class); } // Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.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(); return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage getDefaultInstanceForType() { return org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance(); } public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage build() { org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage buildPartial() { org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage(this); 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.CollectorServiceOuterClass.EmptyMessage) { return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage other) { if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()) return this; 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.CollectorServiceOuterClass.EmptyMessage 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.CollectorServiceOuterClass.EmptyMessage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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.EmptyMessage) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.EmptyMessage) private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage(); } public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage 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 EmptyMessage 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 EmptyMessage(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.CollectorServiceOuterClass.EmptyMessage 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_InitMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitMessage_Environment_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_InitResponse_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_OldAggregateMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_OldTraceMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_TraceStreamMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_LogMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_EmptyMessage_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\026CollectorService.proto\022\033org_glowroot_w" + "ire_api_model\032\021AgentConfig.proto\032\017Aggreg" + "ate.proto\032\013Trace.proto\032\rProfile.proto\032\014C" + "ommon.proto\"\210\007\n\013InitMessage\022\020\n\010agent_id\030" + "\001 \001(\t\022\033\n\023v09_agent_rollup_id\030\004 \001(\t\022I\n\013en" + "vironment\030\002 \001(\01324.org_glowroot_wire_api_" + "model.InitMessage.Environment\022>\n\014agent_c" + "onfig\030\003 \001(\0132(.org_glowroot_wire_api_mode" + "l.AgentConfig\022\'\n\037overwrite_existing_agen" + "t_config\030\005 \001(\010\032\225\005\n\013Environment\022P\n\thost_i" + "nfo\030\001 \001(\0132=.org_glowroot_wire_api_model." + "InitMessage.Environment.HostInfo\022V\n\014proc" + "ess_info\030\002 \001(\[email protected]_glowroot_wire_api_m" + "odel.InitMessage.Environment.ProcessInfo" + "\022P\n\tjava_info\030\003 \001(\0132=.org_glowroot_wire_" + "api_model.InitMessage.Environment.JavaIn" + "fo\032\261\001\n\010HostInfo\022\021\n\thost_name\030\001 \001(\t\022\034\n\024av" + "ailable_processors\030\002 \001(\005\022O\n\033total_physic" + "al_memory_bytes\030\003 \001(\0132*.org_glowroot_wir" + "e_api_model.OptionalInt64\022\017\n\007os_name\030\004 \001" + "(\t\022\022\n\nos_version\030\005 \001(\t\032a\n\013ProcessInfo\022>\n" + "\nprocess_id\030\001 \001(\0132*.org_glowroot_wire_ap" + "i_model.OptionalInt64\022\022\n\nstart_time\030\002 \001(" + "\003\032s\n\010JavaInfo\022\017\n\007version\030\001 \001(\t\022\n\n\002vm\030\002 \001" + "(\t\022\013\n\003arg\030\003 \003(\t\022\035\n\025heap_dump_default_dir" + "\030\004 \001(\t\022\036\n\026glowroot_agent_version\030\017 \001(\t\"p" + "\n\014InitResponse\022>\n\014agent_config\030\001 \001(\0132(.o" + "rg_glowroot_wire_api_model.AgentConfig\022 " + "\n\030glowroot_central_version\030\002 \001(\t\"\375\001\n\023Old" + "AggregateMessage\022\020\n\010agent_id\030\001 \001(\t\022\024\n\014ca" + "pture_time\030\002 \001(\003\022L\n\022aggregates_by_type\030\003" + " \003(\01320.org_glowroot_wire_api_model.OldAg" + "gregatesByType\022\035\n\025old_shared_query_text\030" + "\004 \003(\t\022Q\n\021shared_query_text\030\005 \003(\01326.org_g" + "lowroot_wire_api_model.Aggregate.SharedQ" + "ueryText\"\356\005\n\026AggregateStreamMessage\022b\n\rs" + "tream_header\030\001 \001(\0132I.org_glowroot_wire_a" + "pi_model.AggregateStreamMessage.Aggregat" + "eStreamHeaderH\000\022S\n\021shared_query_text\030\002 \001" + "(\01326.org_glowroot_wire_api_model.Aggrega" + "te.SharedQueryTextH\000\022a\n\021overall_aggregat" + "e\030\003 \001(\0132D.org_glowroot_wire_api_model.Ag" + "gregateStreamMessage.OverallAggregateH\000\022" + "i\n\025transaction_aggregate\030\004 \001(\0132H.org_glo" + "wroot_wire_api_model.AggregateStreamMess" + "age.TransactionAggregateH\000\032Q\n\025AggregateS" + "treamHeader\022\020\n\010agent_id\030\001 \001(\t\022\024\n\014capture" + "_time\030\002 \001(\003\022\020\n\010post_v09\030\003 \001(\010\032g\n\020Overall" + "Aggregate\022\030\n\020transaction_type\030\001 \001(\t\0229\n\ta" + "ggregate\030\002 \001(\0132&.org_glowroot_wire_api_m" + "odel.Aggregate\032\205\001\n\024TransactionAggregate\022" + "\030\n\020transaction_type\030\001 \001(\t\022\030\n\020transaction" + "_name\030\002 \001(\t\0229\n\taggregate\030\003 \001(\0132&.org_glo" + "wroot_wire_api_model.AggregateB\t\n\007messag" + "e\"5\n\030AggregateResponseMessage\022\031\n\021next_de" + "lay_millis\030\001 \001(\005\"\336\001\n\021GaugeValueMessage\022\020" + "\n\010agent_id\030\001 \001(\t\022N\n\013gauge_value\030\002 \003(\01329." + "org_glowroot_wire_api_model.GaugeValueMe" + "ssage.GaugeValue\022\020\n\010post_v09\030\003 \001(\010\032U\n\nGa" + "ugeValue\022\022\n\ngauge_name\030\001 \001(\t\022\024\n\014capture_" + "time\030\002 \001(\003\022\r\n\005value\030\003 \001(\001\022\016\n\006weight\030\004 \001(" + "\003\"0\n\031GaugeValueResponseMessage\022\023\n\013resend" + "_init\030\001 \001(\010\"V\n\017OldTraceMessage\022\020\n\010agent_" + "id\030\001 \001(\t\0221\n\005trace\030\002 \001(\0132\".org_glowroot_w" + "ire_api_model.Trace\"\230\007\n\022TraceStreamMessa" + "ge\022Z\n\rstream_header\030\001 \001(\0132A.org_glowroot" + "_wire_api_model.TraceStreamMessage.Trace" + "StreamHeaderH\000\022O\n\021shared_query_text\030\002 \001(" + "\01322.org_glowroot_wire_api_model.Trace.Sh" + "aredQueryTextH\000\0223\n\005trace\030\003 \001(\0132\".org_glo" + "wroot_wire_api_model.TraceH\000\0229\n\005entry\030\004 " + "\001(\0132(.org_glowroot_wire_api_model.Trace." + "EntryH\000\022J\n\007queries\030\t \001(\01327.org_glowroot_" + "wire_api_model.TraceStreamMessage.Querie" + "sH\000\022C\n\023main_thread_profile\030\005 \001(\0132$.org_g" + "lowroot_wire_api_model.ProfileH\000\022B\n\022aux_" + "thread_profile\030\006 \001(\0132$.org_glowroot_wire" + "_api_model.ProfileH\000\022;\n\006header\030\007 \001(\0132).o" + "rg_glowroot_wire_api_model.Trace.HeaderH" + "\000\022Z\n\rstream_counts\030\010 \001(\0132A.org_glowroot_" + "wire_api_model.TraceStreamMessage.TraceS" + "treamCountsH\000\032Y\n\021TraceStreamHeader\022\020\n\010ag" + "ent_id\030\001 \001(\t\022\020\n\010trace_id\030\002 \001(\t\022\016\n\006update" + "\030\003 \001(\010\022\020\n\010post_v09\030\004 \001(\010\032F\n\007Queries\022;\n\005q" + "uery\030\001 \003(\0132,.org_glowroot_wire_api_model" + ".Aggregate.Query\032I\n\021TraceStreamCounts\022\023\n" + "\013entry_count\030\002 \001(\005\022\037\n\027shared_query_text_" + "count\030\001 \001(\005B\t\n\007message\"\205\003\n\nLogMessage\022\020\n" + "\010agent_id\030\001 \001(\t\022C\n\tlog_event\030\002 \001(\01320.org" + "_glowroot_wire_api_model.LogMessage.LogE" + "vent\022\020\n\010post_v09\030\003 \001(\010\032\215\002\n\010LogEvent\022\021\n\tt" + "imestamp\030\001 \001(\003\022E\n\005level\030\002 \001(\01626.org_glow" + "root_wire_api_model.LogMessage.LogEvent." + "Level\022\023\n\013logger_name\030\003 \001(\t\022\017\n\007message\030\004 " + "\001(\t\0229\n\tthrowable\030\005 \001(\0132&.org_glowroot_wi" + "re_api_model.Throwable\"F\n\005Level\022\010\n\004NONE\020" + "\000\022\t\n\005TRACE\020\001\022\t\n\005DEBUG\020\002\022\010\n\004INFO\020\003\022\010\n\004WAR" + "N\020\004\022\t\n\005ERROR\020\005\"\016\n\014EmptyMessage2\263\006\n\020Colle" + "ctorService\022b\n\013collectInit\022(.org_glowroo" + "t_wire_api_model.InitMessage\032).org_glowr" + "oot_wire_api_model.InitResponse\022|\n\021colle" + "ctAggregates\0220.org_glowroot_wire_api_mod" + "el.OldAggregateMessage\0325.org_glowroot_wi" + "re_api_model.AggregateResponseMessage\022\206\001" + "\n\026collectAggregateStream\0223.org_glowroot_" + "wire_api_model.AggregateStreamMessage\0325." + "org_glowroot_wire_api_model.AggregateRes" + "ponseMessage(\001\022|\n\022collectGaugeValues\022..o" + "rg_glowroot_wire_api_model.GaugeValueMes" + "sage\0326.org_glowroot_wire_api_model.Gauge" + "ValueResponseMessage\022g\n\014collectTrace\022,.o" + "rg_glowroot_wire_api_model.OldTraceMessa" + "ge\032).org_glowroot_wire_api_model.EmptyMe" + "ssage\022r\n\022collectTraceStream\022/.org_glowro" + "ot_wire_api_model.TraceStreamMessage\032).o" + "rg_glowroot_wire_api_model.EmptyMessage(" + "\001\022Y\n\003log\022\'.org_glowroot_wire_api_model.L" + "ogMessage\032).org_glowroot_wire_api_model." + "EmptyMessageB\035\n\033org.glowroot.wire.api.mo" + "delb\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.AgentConfigOuterClass.getDescriptor(), org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(), org.glowroot.wire.api.model.TraceOuterClass.getDescriptor(), org.glowroot.wire.api.model.ProfileOuterClass.getDescriptor(), org.glowroot.wire.api.model.Proto.getDescriptor(), }, assigner); internal_static_org_glowroot_wire_api_model_InitMessage_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitMessage_descriptor, new java.lang.String[] { "AgentId", "V09AgentRollupId", "Environment", "AgentConfig", "OverwriteExistingAgentConfig", }); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor = internal_static_org_glowroot_wire_api_model_InitMessage_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor, new java.lang.String[] { "HostInfo", "ProcessInfo", "JavaInfo", }); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor = internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitMessage_Environment_HostInfo_descriptor, new java.lang.String[] { "HostName", "AvailableProcessors", "TotalPhysicalMemoryBytes", "OsName", "OsVersion", }); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor = internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor.getNestedTypes().get(1); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitMessage_Environment_ProcessInfo_descriptor, new java.lang.String[] { "ProcessId", "StartTime", }); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor = internal_static_org_glowroot_wire_api_model_InitMessage_Environment_descriptor.getNestedTypes().get(2); internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitMessage_Environment_JavaInfo_descriptor, new java.lang.String[] { "Version", "Vm", "Arg", "HeapDumpDefaultDir", "GlowrootAgentVersion", }); internal_static_org_glowroot_wire_api_model_InitResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_InitResponse_descriptor, new java.lang.String[] { "AgentConfig", "GlowrootCentralVersion", }); internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_org_glowroot_wire_api_model_OldAggregateMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_OldAggregateMessage_descriptor, new java.lang.String[] { "AgentId", "CaptureTime", "AggregatesByType", "OldSharedQueryText", "SharedQueryText", }); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor, new java.lang.String[] { "StreamHeader", "SharedQueryText", "OverallAggregate", "TransactionAggregate", "Message", }); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor = internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_AggregateStreamHeader_descriptor, new java.lang.String[] { "AgentId", "CaptureTime", "PostV09", }); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor = internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor.getNestedTypes().get(1); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_OverallAggregate_descriptor, new java.lang.String[] { "TransactionType", "Aggregate", }); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor = internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_descriptor.getNestedTypes().get(2); internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AggregateStreamMessage_TransactionAggregate_descriptor, new java.lang.String[] { "TransactionType", "TransactionName", "Aggregate", }); internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_AggregateResponseMessage_descriptor, new java.lang.String[] { "NextDelayMillis", }); internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor, new java.lang.String[] { "AgentId", "GaugeValue", "PostV09", }); internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor = internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_GaugeValueMessage_GaugeValue_descriptor, new java.lang.String[] { "GaugeName", "CaptureTime", "Value", "Weight", }); internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_GaugeValueResponseMessage_descriptor, new java.lang.String[] { "ResendInit", }); internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_org_glowroot_wire_api_model_OldTraceMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_OldTraceMessage_descriptor, new java.lang.String[] { "AgentId", "Trace", }); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor, new java.lang.String[] { "StreamHeader", "SharedQueryText", "Trace", "Entry", "Queries", "MainThreadProfile", "AuxThreadProfile", "Header", "StreamCounts", "Message", }); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor = internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamHeader_descriptor, new java.lang.String[] { "AgentId", "TraceId", "Update", "PostV09", }); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor = internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor.getNestedTypes().get(1); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_TraceStreamMessage_Queries_descriptor, new java.lang.String[] { "Query", }); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor = internal_static_org_glowroot_wire_api_model_TraceStreamMessage_descriptor.getNestedTypes().get(2); internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_TraceStreamMessage_TraceStreamCounts_descriptor, new java.lang.String[] { "EntryCount", "SharedQueryTextCount", }); internal_static_org_glowroot_wire_api_model_LogMessage_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_LogMessage_descriptor, new java.lang.String[] { "AgentId", "LogEvent", "PostV09", }); internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor = internal_static_org_glowroot_wire_api_model_LogMessage_descriptor.getNestedTypes().get(0); internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_LogMessage_LogEvent_descriptor, new java.lang.String[] { "Timestamp", "Level", "LoggerName", "Message", "Throwable", }); internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor, new java.lang.String[] { }); org.glowroot.wire.api.model.AgentConfigOuterClass.getDescriptor(); org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(); org.glowroot.wire.api.model.TraceOuterClass.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