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

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

package org.glowroot.wire.api.model;

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

    /**
     * string className = 1;
     */
    java.lang.String getClassName();
    /**
     * string className = 1;
     */
    org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
        getClassNameBytes();

    /**
     * string message = 2;
     */
    java.lang.String getMessage();
    /**
     * string message = 2;
     */
    org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString
        getMessageBytes();

    /**
     * 
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ java.util.List getStackTraceElementList(); /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ org.glowroot.wire.api.model.Proto.StackTraceElement getStackTraceElement(int index); /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ int getStackTraceElementCount(); /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ java.util.List getStackTraceElementOrBuilderList(); /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index); /** *
     * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
     * 
* * int32 frames_in_common_with_enclosing = 4; */ int getFramesInCommonWithEnclosing(); /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ boolean hasCause(); /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ org.glowroot.wire.api.model.Proto.Throwable getCause(); /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getCauseOrBuilder(); /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ java.util.List getSuppressedList(); /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ org.glowroot.wire.api.model.Proto.Throwable getSuppressed(int index); /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ int getSuppressedCount(); /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ java.util.List getSuppressedOrBuilderList(); /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getSuppressedOrBuilder( int index); } /** * Protobuf type {@code org_glowroot_wire_api_model.Throwable} */ public static final class Throwable extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Throwable) ThrowableOrBuilder { private static final long serialVersionUID = 0L; // Use Throwable.newBuilder() to construct. private Throwable(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Throwable() { className_ = ""; message_ = ""; stackTraceElement_ = java.util.Collections.emptyList(); framesInCommonWithEnclosing_ = 0; suppressed_ = java.util.Collections.emptyList(); } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Throwable( 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(); className_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stackTraceElement_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } stackTraceElement_.add( input.readMessage(org.glowroot.wire.api.model.Proto.StackTraceElement.parser(), extensionRegistry)); break; } case 32: { framesInCommonWithEnclosing_ = input.readInt32(); break; } case 42: { org.glowroot.wire.api.model.Proto.Throwable.Builder subBuilder = null; if (cause_ != null) { subBuilder = cause_.toBuilder(); } cause_ = input.readMessage(org.glowroot.wire.api.model.Proto.Throwable.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cause_); cause_ = subBuilder.buildPartial(); } break; } case 50: { if (!((mutable_bitField0_ & 0x00000020) == 0x00000020)) { suppressed_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000020; } suppressed_.add( input.readMessage(org.glowroot.wire.api.model.Proto.Throwable.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)) { stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_); } if (((mutable_bitField0_ & 0x00000020) == 0x00000020)) { suppressed_ = java.util.Collections.unmodifiableList(suppressed_); } 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.Proto.internal_static_org_glowroot_wire_api_model_Throwable_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_Throwable_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.Throwable.class, org.glowroot.wire.api.model.Proto.Throwable.Builder.class); } private int bitField0_; public static final int CLASSNAME_FIELD_NUMBER = 1; private volatile java.lang.Object className_; /** * string className = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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(); className_ = s; return s; } } /** * string className = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; 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); className_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; */ 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 = 2; */ 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 STACK_TRACE_ELEMENT_FIELD_NUMBER = 3; private java.util.List stackTraceElement_; /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public java.util.List getStackTraceElementList() { return stackTraceElement_; } /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public java.util.List getStackTraceElementOrBuilderList() { return stackTraceElement_; } /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public int getStackTraceElementCount() { return stackTraceElement_.size(); } /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElement getStackTraceElement(int index) { return stackTraceElement_.get(index); } /** *
     * for inner "cause" throwable, stack trace only includes frames not in common with the
     * enclosing throwable
     * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index) { return stackTraceElement_.get(index); } public static final int FRAMES_IN_COMMON_WITH_ENCLOSING_FIELD_NUMBER = 4; private int framesInCommonWithEnclosing_; /** *
     * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
     * 
* * int32 frames_in_common_with_enclosing = 4; */ public int getFramesInCommonWithEnclosing() { return framesInCommonWithEnclosing_; } public static final int CAUSE_FIELD_NUMBER = 5; private org.glowroot.wire.api.model.Proto.Throwable cause_; /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public boolean hasCause() { return cause_ != null; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public org.glowroot.wire.api.model.Proto.Throwable getCause() { return cause_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : cause_; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getCauseOrBuilder() { return getCause(); } public static final int SUPPRESSED_FIELD_NUMBER = 6; private java.util.List suppressed_; /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public java.util.List getSuppressedList() { return suppressed_; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public java.util.List getSuppressedOrBuilderList() { return suppressed_; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public int getSuppressedCount() { return suppressed_.size(); } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.Throwable getSuppressed(int index) { return suppressed_.get(index); } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getSuppressedOrBuilder( int index) { return suppressed_.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 (!getClassNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_); } if (!getMessageBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } for (int i = 0; i < stackTraceElement_.size(); i++) { output.writeMessage(3, stackTraceElement_.get(i)); } if (framesInCommonWithEnclosing_ != 0) { output.writeInt32(4, framesInCommonWithEnclosing_); } if (cause_ != null) { output.writeMessage(5, getCause()); } for (int i = 0; i < suppressed_.size(); i++) { output.writeMessage(6, suppressed_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClassNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_); } if (!getMessageBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } for (int i = 0; i < stackTraceElement_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(3, stackTraceElement_.get(i)); } if (framesInCommonWithEnclosing_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(4, framesInCommonWithEnclosing_); } if (cause_ != null) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(5, getCause()); } for (int i = 0; i < suppressed_.size(); i++) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(6, suppressed_.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.Proto.Throwable)) { return super.equals(obj); } org.glowroot.wire.api.model.Proto.Throwable other = (org.glowroot.wire.api.model.Proto.Throwable) obj; boolean result = true; result = result && getClassName() .equals(other.getClassName()); result = result && getMessage() .equals(other.getMessage()); result = result && getStackTraceElementList() .equals(other.getStackTraceElementList()); result = result && (getFramesInCommonWithEnclosing() == other.getFramesInCommonWithEnclosing()); result = result && (hasCause() == other.hasCause()); if (hasCause()) { result = result && getCause() .equals(other.getCause()); } result = result && getSuppressedList() .equals(other.getSuppressedList()); 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) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); if (getStackTraceElementCount() > 0) { hash = (37 * hash) + STACK_TRACE_ELEMENT_FIELD_NUMBER; hash = (53 * hash) + getStackTraceElementList().hashCode(); } hash = (37 * hash) + FRAMES_IN_COMMON_WITH_ENCLOSING_FIELD_NUMBER; hash = (53 * hash) + getFramesInCommonWithEnclosing(); if (hasCause()) { hash = (37 * hash) + CAUSE_FIELD_NUMBER; hash = (53 * hash) + getCause().hashCode(); } if (getSuppressedCount() > 0) { hash = (37 * hash) + SUPPRESSED_FIELD_NUMBER; hash = (53 * hash) + getSuppressedList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable 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.Proto.Throwable prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.Throwable} */ 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.Throwable) org.glowroot.wire.api.model.Proto.ThrowableOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_Throwable_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_Throwable_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.Throwable.class, org.glowroot.wire.api.model.Proto.Throwable.Builder.class); } // Construct using org.glowroot.wire.api.model.Proto.Throwable.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) { getStackTraceElementFieldBuilder(); getSuppressedFieldBuilder(); } } public Builder clear() { super.clear(); className_ = ""; message_ = ""; if (stackTraceElementBuilder_ == null) { stackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { stackTraceElementBuilder_.clear(); } framesInCommonWithEnclosing_ = 0; if (causeBuilder_ == null) { cause_ = null; } else { cause_ = null; causeBuilder_ = null; } if (suppressedBuilder_ == null) { suppressed_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); } else { suppressedBuilder_.clear(); } return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_Throwable_descriptor; } public org.glowroot.wire.api.model.Proto.Throwable getDefaultInstanceForType() { return org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance(); } public org.glowroot.wire.api.model.Proto.Throwable build() { org.glowroot.wire.api.model.Proto.Throwable result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.Proto.Throwable buildPartial() { org.glowroot.wire.api.model.Proto.Throwable result = new org.glowroot.wire.api.model.Proto.Throwable(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.className_ = className_; result.message_ = message_; if (stackTraceElementBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { stackTraceElement_ = java.util.Collections.unmodifiableList(stackTraceElement_); bitField0_ = (bitField0_ & ~0x00000004); } result.stackTraceElement_ = stackTraceElement_; } else { result.stackTraceElement_ = stackTraceElementBuilder_.build(); } result.framesInCommonWithEnclosing_ = framesInCommonWithEnclosing_; if (causeBuilder_ == null) { result.cause_ = cause_; } else { result.cause_ = causeBuilder_.build(); } if (suppressedBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020)) { suppressed_ = java.util.Collections.unmodifiableList(suppressed_); bitField0_ = (bitField0_ & ~0x00000020); } result.suppressed_ = suppressed_; } else { result.suppressed_ = suppressedBuilder_.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.Proto.Throwable) { return mergeFrom((org.glowroot.wire.api.model.Proto.Throwable)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.Proto.Throwable other) { if (other == org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance()) return this; if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (stackTraceElementBuilder_ == null) { if (!other.stackTraceElement_.isEmpty()) { if (stackTraceElement_.isEmpty()) { stackTraceElement_ = other.stackTraceElement_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureStackTraceElementIsMutable(); stackTraceElement_.addAll(other.stackTraceElement_); } onChanged(); } } else { if (!other.stackTraceElement_.isEmpty()) { if (stackTraceElementBuilder_.isEmpty()) { stackTraceElementBuilder_.dispose(); stackTraceElementBuilder_ = null; stackTraceElement_ = other.stackTraceElement_; bitField0_ = (bitField0_ & ~0x00000004); stackTraceElementBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStackTraceElementFieldBuilder() : null; } else { stackTraceElementBuilder_.addAllMessages(other.stackTraceElement_); } } } if (other.getFramesInCommonWithEnclosing() != 0) { setFramesInCommonWithEnclosing(other.getFramesInCommonWithEnclosing()); } if (other.hasCause()) { mergeCause(other.getCause()); } if (suppressedBuilder_ == null) { if (!other.suppressed_.isEmpty()) { if (suppressed_.isEmpty()) { suppressed_ = other.suppressed_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureSuppressedIsMutable(); suppressed_.addAll(other.suppressed_); } onChanged(); } } else { if (!other.suppressed_.isEmpty()) { if (suppressedBuilder_.isEmpty()) { suppressedBuilder_.dispose(); suppressedBuilder_ = null; suppressed_ = other.suppressed_; bitField0_ = (bitField0_ & ~0x00000020); suppressedBuilder_ = org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSuppressedFieldBuilder() : null; } else { suppressedBuilder_.addAllMessages(other.suppressed_); } } } 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.Proto.Throwable 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.Proto.Throwable) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object className_ = ""; /** * string className = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; 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(); className_ = s; return s; } else { return (java.lang.String) ref; } } /** * string className = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; 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); className_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string className = 1; */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; onChanged(); return this; } /** * string className = 1; */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * string className = 1; */ public Builder setClassNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); className_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; */ 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 = 2; */ 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 = 2; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; */ 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 java.util.List stackTraceElement_ = java.util.Collections.emptyList(); private void ensureStackTraceElementIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { stackTraceElement_ = new java.util.ArrayList(stackTraceElement_); bitField0_ |= 0x00000004; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder> stackTraceElementBuilder_; /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public java.util.List getStackTraceElementList() { if (stackTraceElementBuilder_ == null) { return java.util.Collections.unmodifiableList(stackTraceElement_); } else { return stackTraceElementBuilder_.getMessageList(); } } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public int getStackTraceElementCount() { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.size(); } else { return stackTraceElementBuilder_.getCount(); } } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElement getStackTraceElement(int index) { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.get(index); } else { return stackTraceElementBuilder_.getMessage(index); } } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder setStackTraceElement( int index, org.glowroot.wire.api.model.Proto.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.set(index, value); onChanged(); } else { stackTraceElementBuilder_.setMessage(index, value); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder setStackTraceElement( int index, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.set(index, builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder addStackTraceElement(org.glowroot.wire.api.model.Proto.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.add(value); onChanged(); } else { stackTraceElementBuilder_.addMessage(value); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder addStackTraceElement( int index, org.glowroot.wire.api.model.Proto.StackTraceElement value) { if (stackTraceElementBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStackTraceElementIsMutable(); stackTraceElement_.add(index, value); onChanged(); } else { stackTraceElementBuilder_.addMessage(index, value); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder addStackTraceElement( org.glowroot.wire.api.model.Proto.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.add(builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder addStackTraceElement( int index, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder builderForValue) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.add(index, builderForValue.build()); onChanged(); } else { stackTraceElementBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder addAllStackTraceElement( java.lang.Iterable values) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, stackTraceElement_); onChanged(); } else { stackTraceElementBuilder_.addAllMessages(values); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder clearStackTraceElement() { if (stackTraceElementBuilder_ == null) { stackTraceElement_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { stackTraceElementBuilder_.clear(); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public Builder removeStackTraceElement(int index) { if (stackTraceElementBuilder_ == null) { ensureStackTraceElementIsMutable(); stackTraceElement_.remove(index); onChanged(); } else { stackTraceElementBuilder_.remove(index); } return this; } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder getStackTraceElementBuilder( int index) { return getStackTraceElementFieldBuilder().getBuilder(index); } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder getStackTraceElementOrBuilder( int index) { if (stackTraceElementBuilder_ == null) { return stackTraceElement_.get(index); } else { return stackTraceElementBuilder_.getMessageOrBuilder(index); } } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public java.util.List getStackTraceElementOrBuilderList() { if (stackTraceElementBuilder_ != null) { return stackTraceElementBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stackTraceElement_); } } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder addStackTraceElementBuilder() { return getStackTraceElementFieldBuilder().addBuilder( org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance()); } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public org.glowroot.wire.api.model.Proto.StackTraceElement.Builder addStackTraceElementBuilder( int index) { return getStackTraceElementFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance()); } /** *
       * for inner "cause" throwable, stack trace only includes frames not in common with the
       * enclosing throwable
       * 
* * repeated .org_glowroot_wire_api_model.StackTraceElement stack_trace_element = 3; */ public java.util.List getStackTraceElementBuilderList() { return getStackTraceElementFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder> getStackTraceElementFieldBuilder() { if (stackTraceElementBuilder_ == null) { stackTraceElementBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.StackTraceElement, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder, org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder>( stackTraceElement_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); stackTraceElement_ = null; } return stackTraceElementBuilder_; } private int framesInCommonWithEnclosing_ ; /** *
       * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
       * 
* * int32 frames_in_common_with_enclosing = 4; */ public int getFramesInCommonWithEnclosing() { return framesInCommonWithEnclosing_; } /** *
       * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
       * 
* * int32 frames_in_common_with_enclosing = 4; */ public Builder setFramesInCommonWithEnclosing(int value) { framesInCommonWithEnclosing_ = value; onChanged(); return this; } /** *
       * this is for printing '... 18 more' at end of inner "cause" instead of the entire stack trace
       * 
* * int32 frames_in_common_with_enclosing = 4; */ public Builder clearFramesInCommonWithEnclosing() { framesInCommonWithEnclosing_ = 0; onChanged(); return this; } private org.glowroot.wire.api.model.Proto.Throwable cause_ = 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> causeBuilder_; /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public boolean hasCause() { return causeBuilder_ != null || cause_ != null; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public org.glowroot.wire.api.model.Proto.Throwable getCause() { if (causeBuilder_ == null) { return cause_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : cause_; } else { return causeBuilder_.getMessage(); } } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public Builder setCause(org.glowroot.wire.api.model.Proto.Throwable value) { if (causeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cause_ = value; onChanged(); } else { causeBuilder_.setMessage(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public Builder setCause( org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (causeBuilder_ == null) { cause_ = builderForValue.build(); onChanged(); } else { causeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public Builder mergeCause(org.glowroot.wire.api.model.Proto.Throwable value) { if (causeBuilder_ == null) { if (cause_ != null) { cause_ = org.glowroot.wire.api.model.Proto.Throwable.newBuilder(cause_).mergeFrom(value).buildPartial(); } else { cause_ = value; } onChanged(); } else { causeBuilder_.mergeFrom(value); } return this; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public Builder clearCause() { if (causeBuilder_ == null) { cause_ = null; onChanged(); } else { cause_ = null; causeBuilder_ = null; } return this; } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder getCauseBuilder() { onChanged(); return getCauseFieldBuilder().getBuilder(); } /** * .org_glowroot_wire_api_model.Throwable cause = 5; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getCauseOrBuilder() { if (causeBuilder_ != null) { return causeBuilder_.getMessageOrBuilder(); } else { return cause_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : cause_; } } /** * .org_glowroot_wire_api_model.Throwable cause = 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> getCauseFieldBuilder() { if (causeBuilder_ == null) { causeBuilder_ = 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>( getCause(), getParentForChildren(), isClean()); cause_ = null; } return causeBuilder_; } private java.util.List suppressed_ = java.util.Collections.emptyList(); private void ensureSuppressedIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { suppressed_ = new java.util.ArrayList(suppressed_); bitField0_ |= 0x00000020; } } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder> suppressedBuilder_; /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public java.util.List getSuppressedList() { if (suppressedBuilder_ == null) { return java.util.Collections.unmodifiableList(suppressed_); } else { return suppressedBuilder_.getMessageList(); } } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public int getSuppressedCount() { if (suppressedBuilder_ == null) { return suppressed_.size(); } else { return suppressedBuilder_.getCount(); } } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.Throwable getSuppressed(int index) { if (suppressedBuilder_ == null) { return suppressed_.get(index); } else { return suppressedBuilder_.getMessage(index); } } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder setSuppressed( int index, org.glowroot.wire.api.model.Proto.Throwable value) { if (suppressedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSuppressedIsMutable(); suppressed_.set(index, value); onChanged(); } else { suppressedBuilder_.setMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder setSuppressed( int index, org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (suppressedBuilder_ == null) { ensureSuppressedIsMutable(); suppressed_.set(index, builderForValue.build()); onChanged(); } else { suppressedBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder addSuppressed(org.glowroot.wire.api.model.Proto.Throwable value) { if (suppressedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSuppressedIsMutable(); suppressed_.add(value); onChanged(); } else { suppressedBuilder_.addMessage(value); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder addSuppressed( int index, org.glowroot.wire.api.model.Proto.Throwable value) { if (suppressedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSuppressedIsMutable(); suppressed_.add(index, value); onChanged(); } else { suppressedBuilder_.addMessage(index, value); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder addSuppressed( org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (suppressedBuilder_ == null) { ensureSuppressedIsMutable(); suppressed_.add(builderForValue.build()); onChanged(); } else { suppressedBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder addSuppressed( int index, org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) { if (suppressedBuilder_ == null) { ensureSuppressedIsMutable(); suppressed_.add(index, builderForValue.build()); onChanged(); } else { suppressedBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder addAllSuppressed( java.lang.Iterable values) { if (suppressedBuilder_ == null) { ensureSuppressedIsMutable(); org.glowroot.agent.it.harness.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, suppressed_); onChanged(); } else { suppressedBuilder_.addAllMessages(values); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder clearSuppressed() { if (suppressedBuilder_ == null) { suppressed_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000020); onChanged(); } else { suppressedBuilder_.clear(); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public Builder removeSuppressed(int index) { if (suppressedBuilder_ == null) { ensureSuppressedIsMutable(); suppressed_.remove(index); onChanged(); } else { suppressedBuilder_.remove(index); } return this; } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder getSuppressedBuilder( int index) { return getSuppressedFieldBuilder().getBuilder(index); } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getSuppressedOrBuilder( int index) { if (suppressedBuilder_ == null) { return suppressed_.get(index); } else { return suppressedBuilder_.getMessageOrBuilder(index); } } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public java.util.List getSuppressedOrBuilderList() { if (suppressedBuilder_ != null) { return suppressedBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(suppressed_); } } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder addSuppressedBuilder() { return getSuppressedFieldBuilder().addBuilder( org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public org.glowroot.wire.api.model.Proto.Throwable.Builder addSuppressedBuilder( int index) { return getSuppressedFieldBuilder().addBuilder( index, org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance()); } /** * repeated .org_glowroot_wire_api_model.Throwable suppressed = 6; */ public java.util.List getSuppressedBuilderList() { return getSuppressedFieldBuilder().getBuilderList(); } private org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder> getSuppressedFieldBuilder() { if (suppressedBuilder_ == null) { suppressedBuilder_ = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.RepeatedFieldBuilderV3< org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder>( suppressed_, ((bitField0_ & 0x00000020) == 0x00000020), getParentForChildren(), isClean()); suppressed_ = null; } return suppressedBuilder_; } 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.Throwable) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Throwable) private static final org.glowroot.wire.api.model.Proto.Throwable DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.Proto.Throwable(); } public static org.glowroot.wire.api.model.Proto.Throwable 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 Throwable 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 Throwable(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.Proto.Throwable getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StackTraceElementOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.StackTraceElement) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * string class_name = 1; */ java.lang.String getClassName(); /** * string class_name = 1; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getClassNameBytes(); /** * string method_name = 2; */ java.lang.String getMethodName(); /** * string method_name = 2; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMethodNameBytes(); /** * string file_name = 3; */ java.lang.String getFileName(); /** * string file_name = 3; */ org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFileNameBytes(); /** *
     * sint since can be negative
     * 
* * sint32 line_number = 4; */ int getLineNumber(); } /** * Protobuf type {@code org_glowroot_wire_api_model.StackTraceElement} */ public static final class StackTraceElement extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.StackTraceElement) StackTraceElementOrBuilder { private static final long serialVersionUID = 0L; // Use StackTraceElement.newBuilder() to construct. private StackTraceElement(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StackTraceElement() { className_ = ""; methodName_ = ""; fileName_ = ""; lineNumber_ = 0; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StackTraceElement( 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(); className_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); methodName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); fileName_ = s; break; } case 32: { lineNumber_ = input.readSInt32(); 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.Proto.internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.StackTraceElement.class, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder.class); } public static final int CLASS_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object className_; /** * string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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(); className_ = s; return s; } } /** * string class_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; 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); className_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int METHOD_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object methodName_; /** * string method_name = 2; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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(); methodName_ = s; return s; } } /** * string method_name = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; 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); methodName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int FILE_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object fileName_; /** * string file_name = 3; */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { org.glowroot.agent.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(); fileName_ = s; return s; } } /** * string file_name = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; 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); fileName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } public static final int LINE_NUMBER_FIELD_NUMBER = 4; private int lineNumber_; /** *
     * sint since can be negative
     * 
* * sint32 line_number = 4; */ public int getLineNumber() { return lineNumber_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getClassNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_); } if (!getMethodNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, methodName_); } if (!getFileNameBytes().isEmpty()) { org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, fileName_); } if (lineNumber_ != 0) { output.writeSInt32(4, lineNumber_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClassNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_); } if (!getMethodNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, methodName_); } if (!getFileNameBytes().isEmpty()) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, fileName_); } if (lineNumber_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeSInt32Size(4, lineNumber_); } 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.Proto.StackTraceElement)) { return super.equals(obj); } org.glowroot.wire.api.model.Proto.StackTraceElement other = (org.glowroot.wire.api.model.Proto.StackTraceElement) obj; boolean result = true; result = result && getClassName() .equals(other.getClassName()); result = result && getMethodName() .equals(other.getMethodName()); result = result && getFileName() .equals(other.getFileName()); result = result && (getLineNumber() == other.getLineNumber()); 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) + CLASS_NAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); hash = (37 * hash) + METHOD_NAME_FIELD_NUMBER; hash = (53 * hash) + getMethodName().hashCode(); hash = (37 * hash) + FILE_NAME_FIELD_NUMBER; hash = (53 * hash) + getFileName().hashCode(); hash = (37 * hash) + LINE_NUMBER_FIELD_NUMBER; hash = (53 * hash) + getLineNumber(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement 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.Proto.StackTraceElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code org_glowroot_wire_api_model.StackTraceElement} */ 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.StackTraceElement) org.glowroot.wire.api.model.Proto.StackTraceElementOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.StackTraceElement.class, org.glowroot.wire.api.model.Proto.StackTraceElement.Builder.class); } // Construct using org.glowroot.wire.api.model.Proto.StackTraceElement.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(); className_ = ""; methodName_ = ""; fileName_ = ""; lineNumber_ = 0; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor; } public org.glowroot.wire.api.model.Proto.StackTraceElement getDefaultInstanceForType() { return org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance(); } public org.glowroot.wire.api.model.Proto.StackTraceElement build() { org.glowroot.wire.api.model.Proto.StackTraceElement result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.Proto.StackTraceElement buildPartial() { org.glowroot.wire.api.model.Proto.StackTraceElement result = new org.glowroot.wire.api.model.Proto.StackTraceElement(this); result.className_ = className_; result.methodName_ = methodName_; result.fileName_ = fileName_; result.lineNumber_ = lineNumber_; 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.Proto.StackTraceElement) { return mergeFrom((org.glowroot.wire.api.model.Proto.StackTraceElement)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.Proto.StackTraceElement other) { if (other == org.glowroot.wire.api.model.Proto.StackTraceElement.getDefaultInstance()) return this; if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (!other.getMethodName().isEmpty()) { methodName_ = other.methodName_; onChanged(); } if (!other.getFileName().isEmpty()) { fileName_ = other.fileName_; onChanged(); } if (other.getLineNumber() != 0) { setLineNumber(other.getLineNumber()); } 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.Proto.StackTraceElement 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.Proto.StackTraceElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object className_ = ""; /** * string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; 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(); className_ = s; return s; } else { return (java.lang.String) ref; } } /** * string class_name = 1; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; 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); className_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string class_name = 1; */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; onChanged(); return this; } /** * string class_name = 1; */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * string class_name = 1; */ public Builder setClassNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); className_ = value; onChanged(); return this; } private java.lang.Object methodName_ = ""; /** * string method_name = 2; */ public java.lang.String getMethodName() { java.lang.Object ref = methodName_; 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(); methodName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string method_name = 2; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getMethodNameBytes() { java.lang.Object ref = methodName_; 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); methodName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string method_name = 2; */ public Builder setMethodName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } methodName_ = value; onChanged(); return this; } /** * string method_name = 2; */ public Builder clearMethodName() { methodName_ = getDefaultInstance().getMethodName(); onChanged(); return this; } /** * string method_name = 2; */ public Builder setMethodNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); methodName_ = value; onChanged(); return this; } private java.lang.Object fileName_ = ""; /** * string file_name = 3; */ public java.lang.String getFileName() { java.lang.Object ref = fileName_; 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(); fileName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string file_name = 3; */ public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString getFileNameBytes() { java.lang.Object ref = fileName_; 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); fileName_ = b; return b; } else { return (org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString) ref; } } /** * string file_name = 3; */ public Builder setFileName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileName_ = value; onChanged(); return this; } /** * string file_name = 3; */ public Builder clearFileName() { fileName_ = getDefaultInstance().getFileName(); onChanged(); return this; } /** * string file_name = 3; */ public Builder setFileNameBytes( org.glowroot.agent.it.harness.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileName_ = value; onChanged(); return this; } private int lineNumber_ ; /** *
       * sint since can be negative
       * 
* * sint32 line_number = 4; */ public int getLineNumber() { return lineNumber_; } /** *
       * sint since can be negative
       * 
* * sint32 line_number = 4; */ public Builder setLineNumber(int value) { lineNumber_ = value; onChanged(); return this; } /** *
       * sint since can be negative
       * 
* * sint32 line_number = 4; */ public Builder clearLineNumber() { lineNumber_ = 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.StackTraceElement) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.StackTraceElement) private static final org.glowroot.wire.api.model.Proto.StackTraceElement DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.Proto.StackTraceElement(); } public static org.glowroot.wire.api.model.Proto.StackTraceElement 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 StackTraceElement 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 StackTraceElement(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.Proto.StackTraceElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionalInt64OrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OptionalInt64) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int64 value = 1; */ long getValue(); } /** * Protobuf type {@code org_glowroot_wire_api_model.OptionalInt64} */ public static final class OptionalInt64 extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OptionalInt64) OptionalInt64OrBuilder { private static final long serialVersionUID = 0L; // Use OptionalInt64.newBuilder() to construct. private OptionalInt64(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OptionalInt64() { value_ = 0L; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OptionalInt64( 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: { value_ = 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.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt64_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalInt64.class, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private long value_; /** * int64 value = 1; */ public long getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != 0L) { output.writeInt64(1, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (value_ != 0L) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(1, value_); } 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.Proto.OptionalInt64)) { return super.equals(obj); } org.glowroot.wire.api.model.Proto.OptionalInt64 other = (org.glowroot.wire.api.model.Proto.OptionalInt64) obj; boolean result = true; result = result && (getValue() == other.getValue()); 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) + VALUE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( getValue()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.Proto.OptionalInt64 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.OptionalInt64} */ 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.OptionalInt64) org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt64_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalInt64.class, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder.class); } // Construct using org.glowroot.wire.api.model.Proto.OptionalInt64.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(); value_ = 0L; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor; } public org.glowroot.wire.api.model.Proto.OptionalInt64 getDefaultInstanceForType() { return org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance(); } public org.glowroot.wire.api.model.Proto.OptionalInt64 build() { org.glowroot.wire.api.model.Proto.OptionalInt64 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.Proto.OptionalInt64 buildPartial() { org.glowroot.wire.api.model.Proto.OptionalInt64 result = new org.glowroot.wire.api.model.Proto.OptionalInt64(this); result.value_ = value_; 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.Proto.OptionalInt64) { return mergeFrom((org.glowroot.wire.api.model.Proto.OptionalInt64)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.Proto.OptionalInt64 other) { if (other == org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance()) return this; if (other.getValue() != 0L) { setValue(other.getValue()); } 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.Proto.OptionalInt64 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.Proto.OptionalInt64) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long value_ ; /** * int64 value = 1; */ public long getValue() { return value_; } /** * int64 value = 1; */ public Builder setValue(long value) { value_ = value; onChanged(); return this; } /** * int64 value = 1; */ public Builder clearValue() { value_ = 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.OptionalInt64) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OptionalInt64) private static final org.glowroot.wire.api.model.Proto.OptionalInt64 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.Proto.OptionalInt64(); } public static org.glowroot.wire.api.model.Proto.OptionalInt64 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 OptionalInt64 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 OptionalInt64(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.Proto.OptionalInt64 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionalInt32OrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OptionalInt32) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * int32 value = 1; */ int getValue(); } /** * Protobuf type {@code org_glowroot_wire_api_model.OptionalInt32} */ public static final class OptionalInt32 extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OptionalInt32) OptionalInt32OrBuilder { private static final long serialVersionUID = 0L; // Use OptionalInt32.newBuilder() to construct. private OptionalInt32(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OptionalInt32() { value_ = 0; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OptionalInt32( 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: { value_ = 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.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt32_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalInt32.class, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private int value_; /** * int32 value = 1; */ public int getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != 0) { output.writeInt32(1, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (value_ != 0) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(1, value_); } 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.Proto.OptionalInt32)) { return super.equals(obj); } org.glowroot.wire.api.model.Proto.OptionalInt32 other = (org.glowroot.wire.api.model.Proto.OptionalInt32) obj; boolean result = true; result = result && (getValue() == other.getValue()); 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) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.Proto.OptionalInt32 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.OptionalInt32} */ 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.OptionalInt32) org.glowroot.wire.api.model.Proto.OptionalInt32OrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt32_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalInt32.class, org.glowroot.wire.api.model.Proto.OptionalInt32.Builder.class); } // Construct using org.glowroot.wire.api.model.Proto.OptionalInt32.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(); value_ = 0; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor; } public org.glowroot.wire.api.model.Proto.OptionalInt32 getDefaultInstanceForType() { return org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance(); } public org.glowroot.wire.api.model.Proto.OptionalInt32 build() { org.glowroot.wire.api.model.Proto.OptionalInt32 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.Proto.OptionalInt32 buildPartial() { org.glowroot.wire.api.model.Proto.OptionalInt32 result = new org.glowroot.wire.api.model.Proto.OptionalInt32(this); result.value_ = value_; 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.Proto.OptionalInt32) { return mergeFrom((org.glowroot.wire.api.model.Proto.OptionalInt32)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.Proto.OptionalInt32 other) { if (other == org.glowroot.wire.api.model.Proto.OptionalInt32.getDefaultInstance()) return this; if (other.getValue() != 0) { setValue(other.getValue()); } 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.Proto.OptionalInt32 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.Proto.OptionalInt32) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int value_ ; /** * int32 value = 1; */ public int getValue() { return value_; } /** * int32 value = 1; */ public Builder setValue(int value) { value_ = value; onChanged(); return this; } /** * int32 value = 1; */ public Builder clearValue() { value_ = 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.OptionalInt32) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OptionalInt32) private static final org.glowroot.wire.api.model.Proto.OptionalInt32 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.Proto.OptionalInt32(); } public static org.glowroot.wire.api.model.Proto.OptionalInt32 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 OptionalInt32 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 OptionalInt32(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.Proto.OptionalInt32 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OptionalDoubleOrBuilder extends // @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.OptionalDouble) org.glowroot.agent.it.harness.shaded.com.google.protobuf.MessageOrBuilder { /** * double value = 1; */ double getValue(); } /** * Protobuf type {@code org_glowroot_wire_api_model.OptionalDouble} */ public static final class OptionalDouble extends org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.OptionalDouble) OptionalDoubleOrBuilder { private static final long serialVersionUID = 0L; // Use OptionalDouble.newBuilder() to construct. private OptionalDouble(org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OptionalDouble() { value_ = 0D; } @java.lang.Override public final org.glowroot.agent.it.harness.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OptionalDouble( 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 9: { value_ = input.readDouble(); 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.Proto.internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalDouble_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalDouble.class, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder.class); } public static final int VALUE_FIELD_NUMBER = 1; private double value_; /** * double value = 1; */ public double getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (value_ != 0D) { output.writeDouble(1, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (value_ != 0D) { size += org.glowroot.agent.it.harness.shaded.com.google.protobuf.CodedOutputStream .computeDoubleSize(1, value_); } 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.Proto.OptionalDouble)) { return super.equals(obj); } org.glowroot.wire.api.model.Proto.OptionalDouble other = (org.glowroot.wire.api.model.Proto.OptionalDouble) obj; boolean result = true; result = result && ( java.lang.Double.doubleToLongBits(getValue()) == java.lang.Double.doubleToLongBits( other.getValue())); 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) + VALUE_FIELD_NUMBER; hash = (53 * hash) + org.glowroot.agent.it.harness.shaded.com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getValue())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.glowroot.wire.api.model.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.Proto.OptionalDouble 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.OptionalDouble} */ 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.OptionalDouble) org.glowroot.wire.api.model.Proto.OptionalDoubleOrBuilder { public static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor; } protected org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalDouble_fieldAccessorTable .ensureFieldAccessorsInitialized( org.glowroot.wire.api.model.Proto.OptionalDouble.class, org.glowroot.wire.api.model.Proto.OptionalDouble.Builder.class); } // Construct using org.glowroot.wire.api.model.Proto.OptionalDouble.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(); value_ = 0D; return this; } public org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.glowroot.wire.api.model.Proto.internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor; } public org.glowroot.wire.api.model.Proto.OptionalDouble getDefaultInstanceForType() { return org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance(); } public org.glowroot.wire.api.model.Proto.OptionalDouble build() { org.glowroot.wire.api.model.Proto.OptionalDouble result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.glowroot.wire.api.model.Proto.OptionalDouble buildPartial() { org.glowroot.wire.api.model.Proto.OptionalDouble result = new org.glowroot.wire.api.model.Proto.OptionalDouble(this); result.value_ = value_; 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.Proto.OptionalDouble) { return mergeFrom((org.glowroot.wire.api.model.Proto.OptionalDouble)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.glowroot.wire.api.model.Proto.OptionalDouble other) { if (other == org.glowroot.wire.api.model.Proto.OptionalDouble.getDefaultInstance()) return this; if (other.getValue() != 0D) { setValue(other.getValue()); } 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.Proto.OptionalDouble 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.Proto.OptionalDouble) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private double value_ ; /** * double value = 1; */ public double getValue() { return value_; } /** * double value = 1; */ public Builder setValue(double value) { value_ = value; onChanged(); return this; } /** * double value = 1; */ public Builder clearValue() { value_ = 0D; 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.OptionalDouble) } // @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.OptionalDouble) private static final org.glowroot.wire.api.model.Proto.OptionalDouble DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.glowroot.wire.api.model.Proto.OptionalDouble(); } public static org.glowroot.wire.api.model.Proto.OptionalDouble 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 OptionalDouble 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 OptionalDouble(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.Proto.OptionalDouble 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_Throwable_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_Throwable_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_StackTraceElement_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_OptionalInt64_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_OptionalInt32_fieldAccessorTable; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.Descriptor internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor; private static final org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_glowroot_wire_api_model_OptionalDouble_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\014Common.proto\022\033org_glowroot_wire_api_mo" + "del\"\230\002\n\tThrowable\022\021\n\tclassName\030\001 \001(\t\022\017\n\007" + "message\030\002 \001(\t\022K\n\023stack_trace_element\030\003 \003" + "(\0132..org_glowroot_wire_api_model.StackTr" + "aceElement\022\'\n\037frames_in_common_with_encl" + "osing\030\004 \001(\005\0225\n\005cause\030\005 \001(\0132&.org_glowroo" + "t_wire_api_model.Throwable\022:\n\nsuppressed" + "\030\006 \003(\0132&.org_glowroot_wire_api_model.Thr" + "owable\"d\n\021StackTraceElement\022\022\n\nclass_nam" + "e\030\001 \001(\t\022\023\n\013method_name\030\002 \001(\t\022\021\n\tfile_nam" + "e\030\003 \001(\t\022\023\n\013line_number\030\004 \001(\021\"\036\n\rOptional" + "Int64\022\r\n\005value\030\001 \001(\003\"\036\n\rOptionalInt32\022\r\n" + "\005value\030\001 \001(\005\"\037\n\016OptionalDouble\022\r\n\005value\030" + "\001 \001(\001B$\n\033org.glowroot.wire.api.modelB\005Pr" + "otob\006proto3" }; org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public org.glowroot.agent.it.harness.shaded.com.google.protobuf.ExtensionRegistry assignDescriptors( org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new org.glowroot.agent.it.harness.shaded.com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_org_glowroot_wire_api_model_Throwable_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_glowroot_wire_api_model_Throwable_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_Throwable_descriptor, new java.lang.String[] { "ClassName", "Message", "StackTraceElement", "FramesInCommonWithEnclosing", "Cause", "Suppressed", }); internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_org_glowroot_wire_api_model_StackTraceElement_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_StackTraceElement_descriptor, new java.lang.String[] { "ClassName", "MethodName", "FileName", "LineNumber", }); internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_org_glowroot_wire_api_model_OptionalInt64_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_OptionalInt64_descriptor, new java.lang.String[] { "Value", }); internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_org_glowroot_wire_api_model_OptionalInt32_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_OptionalInt32_descriptor, new java.lang.String[] { "Value", }); internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_org_glowroot_wire_api_model_OptionalDouble_fieldAccessorTable = new org.glowroot.agent.it.harness.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_glowroot_wire_api_model_OptionalDouble_descriptor, new java.lang.String[] { "Value", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy