
org.glowroot.wire.api.model.CollectorServiceOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: CollectorService.proto
package org.glowroot.wire.api.model;
public final class CollectorServiceOuterClass {
private CollectorServiceOuterClass() {}
public static void registerAllExtensions(
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry registry) {
}
public interface HelloOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.Hello)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* repeated string secondary_rollup = 2;
*/
org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getSecondaryRollupList();
/**
* repeated string secondary_rollup = 2;
*/
int getSecondaryRollupCount();
/**
* repeated string secondary_rollup = 2;
*/
java.lang.String getSecondaryRollup(int index);
/**
* repeated string secondary_rollup = 2;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getSecondaryRollupBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Hello}
*/
public static final class Hello extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.Hello)
HelloOrBuilder {
// Use Hello.newBuilder() to construct.
private Hello(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private Hello() {
serverId_ = "";
secondaryRollup_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private Hello(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
secondaryRollup_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
secondaryRollup_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
secondaryRollup_ = secondaryRollup_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_Hello_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_Hello_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.Builder.class);
}
private int bitField0_;
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int SECONDARY_ROLLUP_FIELD_NUMBER = 2;
private org.glowroot.agent.shaded.google.protobuf.LazyStringList secondaryRollup_;
/**
* repeated string secondary_rollup = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getSecondaryRollupList() {
return secondaryRollup_;
}
/**
* repeated string secondary_rollup = 2;
*/
public int getSecondaryRollupCount() {
return secondaryRollup_.size();
}
/**
* repeated string secondary_rollup = 2;
*/
public java.lang.String getSecondaryRollup(int index) {
return secondaryRollup_.get(index);
}
/**
* repeated string secondary_rollup = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getSecondaryRollupBytes(int index) {
return secondaryRollup_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
for (int i = 0; i < secondaryRollup_.size(); i++) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, secondaryRollup_.getRaw(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
{
int dataSize = 0;
for (int i = 0; i < secondaryRollup_.size(); i++) {
dataSize += computeStringSizeNoTag(secondaryRollup_.getRaw(i));
}
size += dataSize;
size += 1 * getSecondaryRollupList().size();
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.Hello}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.Hello)
org.glowroot.wire.api.model.CollectorServiceOuterClass.HelloOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_Hello_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_Hello_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
serverId_ = "";
secondaryRollup_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_Hello_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.serverId_ = serverId_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
secondaryRollup_ = secondaryRollup_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.secondaryRollup_ = secondaryRollup_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (!other.secondaryRollup_.isEmpty()) {
if (secondaryRollup_.isEmpty()) {
secondaryRollup_ = other.secondaryRollup_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSecondaryRollupIsMutable();
secondaryRollup_.addAll(other.secondaryRollup_);
}
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private org.glowroot.agent.shaded.google.protobuf.LazyStringList secondaryRollup_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSecondaryRollupIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
secondaryRollup_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(secondaryRollup_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string secondary_rollup = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getSecondaryRollupList() {
return secondaryRollup_.getUnmodifiableView();
}
/**
* repeated string secondary_rollup = 2;
*/
public int getSecondaryRollupCount() {
return secondaryRollup_.size();
}
/**
* repeated string secondary_rollup = 2;
*/
public java.lang.String getSecondaryRollup(int index) {
return secondaryRollup_.get(index);
}
/**
* repeated string secondary_rollup = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getSecondaryRollupBytes(int index) {
return secondaryRollup_.getByteString(index);
}
/**
* repeated string secondary_rollup = 2;
*/
public Builder setSecondaryRollup(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSecondaryRollupIsMutable();
secondaryRollup_.set(index, value);
onChanged();
return this;
}
/**
* repeated string secondary_rollup = 2;
*/
public Builder addSecondaryRollup(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureSecondaryRollupIsMutable();
secondaryRollup_.add(value);
onChanged();
return this;
}
/**
* repeated string secondary_rollup = 2;
*/
public Builder addAllSecondaryRollup(
java.lang.Iterable values) {
ensureSecondaryRollupIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, secondaryRollup_);
onChanged();
return this;
}
/**
* repeated string secondary_rollup = 2;
*/
public Builder clearSecondaryRollup() {
secondaryRollup_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string secondary_rollup = 2;
*/
public Builder addSecondaryRollupBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureSecondaryRollupIsMutable();
secondaryRollup_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.Hello)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.Hello)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public Hello parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new Hello(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ConfigMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.ConfigMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* optional string config_json = 2;
*/
java.lang.String getConfigJson();
/**
* optional string config_json = 2;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getConfigJsonBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ConfigMessage}
*/
public static final class ConfigMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.ConfigMessage)
ConfigMessageOrBuilder {
// Use ConfigMessage.newBuilder() to construct.
private ConfigMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ConfigMessage() {
serverId_ = "";
configJson_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ConfigMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 18: {
String s = input.readStringRequireUtf8();
configJson_ = s;
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_ConfigMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.Builder.class);
}
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int CONFIG_JSON_FIELD_NUMBER = 2;
private volatile java.lang.Object configJson_;
/**
* optional string config_json = 2;
*/
public java.lang.String getConfigJson() {
java.lang.Object ref = configJson_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
configJson_ = s;
return s;
}
}
/**
* optional string config_json = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getConfigJsonBytes() {
java.lang.Object ref = configJson_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configJson_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
if (!getConfigJsonBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, configJson_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
if (!getConfigJsonBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, configJson_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ConfigMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.ConfigMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_ConfigMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
serverId_ = "";
configJson_ = "";
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage(this);
result.serverId_ = serverId_;
result.configJson_ = configJson_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (!other.getConfigJson().isEmpty()) {
configJson_ = other.configJson_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private java.lang.Object configJson_ = "";
/**
* optional string config_json = 2;
*/
public java.lang.String getConfigJson() {
java.lang.Object ref = configJson_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
configJson_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string config_json = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getConfigJsonBytes() {
java.lang.Object ref = configJson_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
configJson_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string config_json = 2;
*/
public Builder setConfigJson(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
configJson_ = value;
onChanged();
return this;
}
/**
* optional string config_json = 2;
*/
public Builder clearConfigJson() {
configJson_ = getDefaultInstance().getConfigJson();
onChanged();
return this;
}
/**
* optional string config_json = 2;
*/
public Builder setConfigJsonBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
configJson_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.ConfigMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.ConfigMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ConfigMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new ConfigMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface JvmInfoMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.JvmInfoMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.JvmInfoMessage}
*/
public static final class JvmInfoMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.JvmInfoMessage)
JvmInfoMessageOrBuilder {
// Use JvmInfoMessage.newBuilder() to construct.
private JvmInfoMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private JvmInfoMessage() {
serverId_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private JvmInfoMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_JvmInfoMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.Builder.class);
}
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.JvmInfoMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.JvmInfoMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_JvmInfoMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
serverId_ = "";
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage(this);
result.serverId_ = serverId_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.JvmInfoMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.JvmInfoMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public JvmInfoMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new JvmInfoMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.AggregateMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* optional int64 capture_time = 2;
*/
long getCaptureTime();
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
java.util.List
getOverallAggregateList();
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getOverallAggregate(int index);
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
int getOverallAggregateCount();
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder>
getOverallAggregateOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder getOverallAggregateOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
java.util.List
getTransactionAggregateList();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index);
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
int getTransactionAggregateCount();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AggregateMessage}
*/
public static final class AggregateMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.AggregateMessage)
AggregateMessageOrBuilder {
// Use AggregateMessage.newBuilder() to construct.
private AggregateMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private AggregateMessage() {
serverId_ = "";
captureTime_ = 0L;
overallAggregate_ = java.util.Collections.emptyList();
transactionAggregate_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private AggregateMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 16: {
captureTime_ = input.readInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
overallAggregate_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
overallAggregate_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
transactionAggregate_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
transactionAggregate_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
overallAggregate_ = java.util.Collections.unmodifiableList(overallAggregate_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
transactionAggregate_ = java.util.Collections.unmodifiableList(transactionAggregate_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.Builder.class);
}
private int bitField0_;
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int CAPTURE_TIME_FIELD_NUMBER = 2;
private long captureTime_;
/**
* optional int64 capture_time = 2;
*/
public long getCaptureTime() {
return captureTime_;
}
public static final int OVERALL_AGGREGATE_FIELD_NUMBER = 3;
private java.util.List overallAggregate_;
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public java.util.List getOverallAggregateList() {
return overallAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder>
getOverallAggregateOrBuilderList() {
return overallAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public int getOverallAggregateCount() {
return overallAggregate_.size();
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getOverallAggregate(int index) {
return overallAggregate_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder getOverallAggregateOrBuilder(
int index) {
return overallAggregate_.get(index);
}
public static final int TRANSACTION_AGGREGATE_FIELD_NUMBER = 4;
private java.util.List transactionAggregate_;
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public java.util.List getTransactionAggregateList() {
return transactionAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList() {
return transactionAggregate_;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public int getTransactionAggregateCount() {
return transactionAggregate_.size();
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index) {
return transactionAggregate_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index) {
return transactionAggregate_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
if (captureTime_ != 0L) {
output.writeInt64(2, captureTime_);
}
for (int i = 0; i < overallAggregate_.size(); i++) {
output.writeMessage(3, overallAggregate_.get(i));
}
for (int i = 0; i < transactionAggregate_.size(); i++) {
output.writeMessage(4, transactionAggregate_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
if (captureTime_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(2, captureTime_);
}
for (int i = 0; i < overallAggregate_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, overallAggregate_.get(i));
}
for (int i = 0; i < transactionAggregate_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(4, transactionAggregate_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.AggregateMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.AggregateMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOverallAggregateFieldBuilder();
getTransactionAggregateFieldBuilder();
}
}
public Builder clear() {
super.clear();
serverId_ = "";
captureTime_ = 0L;
if (overallAggregateBuilder_ == null) {
overallAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
overallAggregateBuilder_.clear();
}
if (transactionAggregateBuilder_ == null) {
transactionAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
transactionAggregateBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.serverId_ = serverId_;
result.captureTime_ = captureTime_;
if (overallAggregateBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
overallAggregate_ = java.util.Collections.unmodifiableList(overallAggregate_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.overallAggregate_ = overallAggregate_;
} else {
result.overallAggregate_ = overallAggregateBuilder_.build();
}
if (transactionAggregateBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008)) {
transactionAggregate_ = java.util.Collections.unmodifiableList(transactionAggregate_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.transactionAggregate_ = transactionAggregate_;
} else {
result.transactionAggregate_ = transactionAggregateBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (other.getCaptureTime() != 0L) {
setCaptureTime(other.getCaptureTime());
}
if (overallAggregateBuilder_ == null) {
if (!other.overallAggregate_.isEmpty()) {
if (overallAggregate_.isEmpty()) {
overallAggregate_ = other.overallAggregate_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureOverallAggregateIsMutable();
overallAggregate_.addAll(other.overallAggregate_);
}
onChanged();
}
} else {
if (!other.overallAggregate_.isEmpty()) {
if (overallAggregateBuilder_.isEmpty()) {
overallAggregateBuilder_.dispose();
overallAggregateBuilder_ = null;
overallAggregate_ = other.overallAggregate_;
bitField0_ = (bitField0_ & ~0x00000004);
overallAggregateBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getOverallAggregateFieldBuilder() : null;
} else {
overallAggregateBuilder_.addAllMessages(other.overallAggregate_);
}
}
}
if (transactionAggregateBuilder_ == null) {
if (!other.transactionAggregate_.isEmpty()) {
if (transactionAggregate_.isEmpty()) {
transactionAggregate_ = other.transactionAggregate_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTransactionAggregateIsMutable();
transactionAggregate_.addAll(other.transactionAggregate_);
}
onChanged();
}
} else {
if (!other.transactionAggregate_.isEmpty()) {
if (transactionAggregateBuilder_.isEmpty()) {
transactionAggregateBuilder_.dispose();
transactionAggregateBuilder_ = null;
transactionAggregate_ = other.transactionAggregate_;
bitField0_ = (bitField0_ & ~0x00000008);
transactionAggregateBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getTransactionAggregateFieldBuilder() : null;
} else {
transactionAggregateBuilder_.addAllMessages(other.transactionAggregate_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private long captureTime_ ;
/**
* optional int64 capture_time = 2;
*/
public long getCaptureTime() {
return captureTime_;
}
/**
* optional int64 capture_time = 2;
*/
public Builder setCaptureTime(long value) {
captureTime_ = value;
onChanged();
return this;
}
/**
* optional int64 capture_time = 2;
*/
public Builder clearCaptureTime() {
captureTime_ = 0L;
onChanged();
return this;
}
private java.util.List overallAggregate_ =
java.util.Collections.emptyList();
private void ensureOverallAggregateIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
overallAggregate_ = new java.util.ArrayList(overallAggregate_);
bitField0_ |= 0x00000004;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder> overallAggregateBuilder_;
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public java.util.List getOverallAggregateList() {
if (overallAggregateBuilder_ == null) {
return java.util.Collections.unmodifiableList(overallAggregate_);
} else {
return overallAggregateBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public int getOverallAggregateCount() {
if (overallAggregateBuilder_ == null) {
return overallAggregate_.size();
} else {
return overallAggregateBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate getOverallAggregate(int index) {
if (overallAggregateBuilder_ == null) {
return overallAggregate_.get(index);
} else {
return overallAggregateBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder setOverallAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate value) {
if (overallAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverallAggregateIsMutable();
overallAggregate_.set(index, value);
onChanged();
} else {
overallAggregateBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder setOverallAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder builderForValue) {
if (overallAggregateBuilder_ == null) {
ensureOverallAggregateIsMutable();
overallAggregate_.set(index, builderForValue.build());
onChanged();
} else {
overallAggregateBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder addOverallAggregate(org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate value) {
if (overallAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverallAggregateIsMutable();
overallAggregate_.add(value);
onChanged();
} else {
overallAggregateBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder addOverallAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate value) {
if (overallAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOverallAggregateIsMutable();
overallAggregate_.add(index, value);
onChanged();
} else {
overallAggregateBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder addOverallAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder builderForValue) {
if (overallAggregateBuilder_ == null) {
ensureOverallAggregateIsMutable();
overallAggregate_.add(builderForValue.build());
onChanged();
} else {
overallAggregateBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder addOverallAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder builderForValue) {
if (overallAggregateBuilder_ == null) {
ensureOverallAggregateIsMutable();
overallAggregate_.add(index, builderForValue.build());
onChanged();
} else {
overallAggregateBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder addAllOverallAggregate(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate> values) {
if (overallAggregateBuilder_ == null) {
ensureOverallAggregateIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, overallAggregate_);
onChanged();
} else {
overallAggregateBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder clearOverallAggregate() {
if (overallAggregateBuilder_ == null) {
overallAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
overallAggregateBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public Builder removeOverallAggregate(int index) {
if (overallAggregateBuilder_ == null) {
ensureOverallAggregateIsMutable();
overallAggregate_.remove(index);
onChanged();
} else {
overallAggregateBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder getOverallAggregateBuilder(
int index) {
return getOverallAggregateFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder getOverallAggregateOrBuilder(
int index) {
if (overallAggregateBuilder_ == null) {
return overallAggregate_.get(index); } else {
return overallAggregateBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder>
getOverallAggregateOrBuilderList() {
if (overallAggregateBuilder_ != null) {
return overallAggregateBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(overallAggregate_);
}
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder addOverallAggregateBuilder() {
return getOverallAggregateFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder addOverallAggregateBuilder(
int index) {
return getOverallAggregateFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.OverallAggregate overall_aggregate = 3;
*/
public java.util.List
getOverallAggregateBuilderList() {
return getOverallAggregateFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder>
getOverallAggregateFieldBuilder() {
if (overallAggregateBuilder_ == null) {
overallAggregateBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.OverallAggregateOrBuilder>(
overallAggregate_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
overallAggregate_ = null;
}
return overallAggregateBuilder_;
}
private java.util.List transactionAggregate_ =
java.util.Collections.emptyList();
private void ensureTransactionAggregateIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
transactionAggregate_ = new java.util.ArrayList(transactionAggregate_);
bitField0_ |= 0x00000008;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder> transactionAggregateBuilder_;
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public java.util.List getTransactionAggregateList() {
if (transactionAggregateBuilder_ == null) {
return java.util.Collections.unmodifiableList(transactionAggregate_);
} else {
return transactionAggregateBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public int getTransactionAggregateCount() {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.size();
} else {
return transactionAggregateBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate getTransactionAggregate(int index) {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.get(index);
} else {
return transactionAggregateBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder setTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.set(index, value);
onChanged();
} else {
transactionAggregateBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder setTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.set(index, builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder addTransactionAggregate(org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(value);
onChanged();
} else {
transactionAggregateBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder addTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate value) {
if (transactionAggregateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(index, value);
onChanged();
} else {
transactionAggregateBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder addTransactionAggregate(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder addTransactionAggregate(
int index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder builderForValue) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.add(index, builderForValue.build());
onChanged();
} else {
transactionAggregateBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder addAllTransactionAggregate(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate> values) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, transactionAggregate_);
onChanged();
} else {
transactionAggregateBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder clearTransactionAggregate() {
if (transactionAggregateBuilder_ == null) {
transactionAggregate_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
transactionAggregateBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public Builder removeTransactionAggregate(int index) {
if (transactionAggregateBuilder_ == null) {
ensureTransactionAggregateIsMutable();
transactionAggregate_.remove(index);
onChanged();
} else {
transactionAggregateBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder getTransactionAggregateBuilder(
int index) {
return getTransactionAggregateFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder getTransactionAggregateOrBuilder(
int index) {
if (transactionAggregateBuilder_ == null) {
return transactionAggregate_.get(index); } else {
return transactionAggregateBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateOrBuilderList() {
if (transactionAggregateBuilder_ != null) {
return transactionAggregateBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(transactionAggregate_);
}
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder addTransactionAggregateBuilder() {
return getTransactionAggregateFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder addTransactionAggregateBuilder(
int index) {
return getTransactionAggregateFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.TransactionAggregate transaction_aggregate = 4;
*/
public java.util.List
getTransactionAggregateBuilderList() {
return getTransactionAggregateFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>
getTransactionAggregateFieldBuilder() {
if (transactionAggregateBuilder_ == null) {
transactionAggregateBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregate.Builder, org.glowroot.wire.api.model.AggregateOuterClass.TransactionAggregateOrBuilder>(
transactionAggregate_,
((bitField0_ & 0x00000008) == 0x00000008),
getParentForChildren(),
isClean());
transactionAggregate_ = null;
}
return transactionAggregateBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.AggregateMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.AggregateMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public AggregateMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new AggregateMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GaugeValueMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.GaugeValueMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
java.util.List
getGaugeValuesList();
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue getGaugeValues(int index);
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
int getGaugeValuesCount();
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
java.util.List extends org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder>
getGaugeValuesOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder getGaugeValuesOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.GaugeValueMessage}
*/
public static final class GaugeValueMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.GaugeValueMessage)
GaugeValueMessageOrBuilder {
// Use GaugeValueMessage.newBuilder() to construct.
private GaugeValueMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private GaugeValueMessage() {
serverId_ = "";
gaugeValues_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private GaugeValueMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
gaugeValues_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
gaugeValues_.add(input.readMessage(org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.parser(), extensionRegistry));
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
gaugeValues_ = java.util.Collections.unmodifiableList(gaugeValues_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.Builder.class);
}
private int bitField0_;
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int GAUGE_VALUES_FIELD_NUMBER = 2;
private java.util.List gaugeValues_;
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public java.util.List getGaugeValuesList() {
return gaugeValues_;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder>
getGaugeValuesOrBuilderList() {
return gaugeValues_;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public int getGaugeValuesCount() {
return gaugeValues_.size();
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue getGaugeValues(int index) {
return gaugeValues_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder getGaugeValuesOrBuilder(
int index) {
return gaugeValues_.get(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
for (int i = 0; i < gaugeValues_.size(); i++) {
output.writeMessage(2, gaugeValues_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
for (int i = 0; i < gaugeValues_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, gaugeValues_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.GaugeValueMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.GaugeValueMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getGaugeValuesFieldBuilder();
}
}
public Builder clear() {
super.clear();
serverId_ = "";
if (gaugeValuesBuilder_ == null) {
gaugeValues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
gaugeValuesBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.serverId_ = serverId_;
if (gaugeValuesBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
gaugeValues_ = java.util.Collections.unmodifiableList(gaugeValues_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.gaugeValues_ = gaugeValues_;
} else {
result.gaugeValues_ = gaugeValuesBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (gaugeValuesBuilder_ == null) {
if (!other.gaugeValues_.isEmpty()) {
if (gaugeValues_.isEmpty()) {
gaugeValues_ = other.gaugeValues_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureGaugeValuesIsMutable();
gaugeValues_.addAll(other.gaugeValues_);
}
onChanged();
}
} else {
if (!other.gaugeValues_.isEmpty()) {
if (gaugeValuesBuilder_.isEmpty()) {
gaugeValuesBuilder_.dispose();
gaugeValuesBuilder_ = null;
gaugeValues_ = other.gaugeValues_;
bitField0_ = (bitField0_ & ~0x00000002);
gaugeValuesBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getGaugeValuesFieldBuilder() : null;
} else {
gaugeValuesBuilder_.addAllMessages(other.gaugeValues_);
}
}
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private java.util.List gaugeValues_ =
java.util.Collections.emptyList();
private void ensureGaugeValuesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
gaugeValues_ = new java.util.ArrayList(gaugeValues_);
bitField0_ |= 0x00000002;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder> gaugeValuesBuilder_;
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public java.util.List getGaugeValuesList() {
if (gaugeValuesBuilder_ == null) {
return java.util.Collections.unmodifiableList(gaugeValues_);
} else {
return gaugeValuesBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public int getGaugeValuesCount() {
if (gaugeValuesBuilder_ == null) {
return gaugeValues_.size();
} else {
return gaugeValuesBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue getGaugeValues(int index) {
if (gaugeValuesBuilder_ == null) {
return gaugeValues_.get(index);
} else {
return gaugeValuesBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder setGaugeValues(
int index, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue value) {
if (gaugeValuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGaugeValuesIsMutable();
gaugeValues_.set(index, value);
onChanged();
} else {
gaugeValuesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder setGaugeValues(
int index, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder builderForValue) {
if (gaugeValuesBuilder_ == null) {
ensureGaugeValuesIsMutable();
gaugeValues_.set(index, builderForValue.build());
onChanged();
} else {
gaugeValuesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder addGaugeValues(org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue value) {
if (gaugeValuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGaugeValuesIsMutable();
gaugeValues_.add(value);
onChanged();
} else {
gaugeValuesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder addGaugeValues(
int index, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue value) {
if (gaugeValuesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGaugeValuesIsMutable();
gaugeValues_.add(index, value);
onChanged();
} else {
gaugeValuesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder addGaugeValues(
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder builderForValue) {
if (gaugeValuesBuilder_ == null) {
ensureGaugeValuesIsMutable();
gaugeValues_.add(builderForValue.build());
onChanged();
} else {
gaugeValuesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder addGaugeValues(
int index, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder builderForValue) {
if (gaugeValuesBuilder_ == null) {
ensureGaugeValuesIsMutable();
gaugeValues_.add(index, builderForValue.build());
onChanged();
} else {
gaugeValuesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder addAllGaugeValues(
java.lang.Iterable extends org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue> values) {
if (gaugeValuesBuilder_ == null) {
ensureGaugeValuesIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, gaugeValues_);
onChanged();
} else {
gaugeValuesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder clearGaugeValues() {
if (gaugeValuesBuilder_ == null) {
gaugeValues_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
gaugeValuesBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public Builder removeGaugeValues(int index) {
if (gaugeValuesBuilder_ == null) {
ensureGaugeValuesIsMutable();
gaugeValues_.remove(index);
onChanged();
} else {
gaugeValuesBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder getGaugeValuesBuilder(
int index) {
return getGaugeValuesFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder getGaugeValuesOrBuilder(
int index) {
if (gaugeValuesBuilder_ == null) {
return gaugeValues_.get(index); } else {
return gaugeValuesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder>
getGaugeValuesOrBuilderList() {
if (gaugeValuesBuilder_ != null) {
return gaugeValuesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(gaugeValues_);
}
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder addGaugeValuesBuilder() {
return getGaugeValuesFieldBuilder().addBuilder(
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder addGaugeValuesBuilder(
int index) {
return getGaugeValuesFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public java.util.List
getGaugeValuesBuilderList() {
return getGaugeValuesFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder>
getGaugeValuesFieldBuilder() {
if (gaugeValuesBuilder_ == null) {
gaugeValuesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.GaugeValueOuterClass.GaugeValueOrBuilder>(
gaugeValues_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
gaugeValues_ = null;
}
return gaugeValuesBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.GaugeValueMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.GaugeValueMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public GaugeValueMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new GaugeValueMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface TraceMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.TraceMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
boolean hasTrace();
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace();
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.TraceMessage}
*/
public static final class TraceMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.TraceMessage)
TraceMessageOrBuilder {
// Use TraceMessage.newBuilder() to construct.
private TraceMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private TraceMessage() {
serverId_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private TraceMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder subBuilder = null;
if (trace_ != null) {
subBuilder = trace_.toBuilder();
}
trace_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(trace_);
trace_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.Builder.class);
}
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int TRACE_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.TraceOuterClass.Trace trace_;
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public boolean hasTrace() {
return trace_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() {
return trace_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() {
return getTrace();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
if (trace_ != null) {
output.writeMessage(2, getTrace());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
if (trace_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getTrace());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.TraceMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.TraceMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
serverId_ = "";
if (traceBuilder_ == null) {
trace_ = null;
} else {
trace_ = null;
traceBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage(this);
result.serverId_ = serverId_;
if (traceBuilder_ == null) {
result.trace_ = trace_;
} else {
result.trace_ = traceBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (other.hasTrace()) {
mergeTrace(other.getTrace());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.TraceOuterClass.Trace trace_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder> traceBuilder_;
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public boolean hasTrace() {
return traceBuilder_ != null || trace_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public org.glowroot.wire.api.model.TraceOuterClass.Trace getTrace() {
if (traceBuilder_ == null) {
return trace_ == null ? org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_;
} else {
return traceBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public Builder setTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) {
if (traceBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
trace_ = value;
onChanged();
} else {
traceBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public Builder setTrace(
org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder builderForValue) {
if (traceBuilder_ == null) {
trace_ = builderForValue.build();
onChanged();
} else {
traceBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public Builder mergeTrace(org.glowroot.wire.api.model.TraceOuterClass.Trace value) {
if (traceBuilder_ == null) {
if (trace_ != null) {
trace_ =
org.glowroot.wire.api.model.TraceOuterClass.Trace.newBuilder(trace_).mergeFrom(value).buildPartial();
} else {
trace_ = value;
}
onChanged();
} else {
traceBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public Builder clearTrace() {
if (traceBuilder_ == null) {
trace_ = null;
onChanged();
} else {
trace_ = null;
traceBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder getTraceBuilder() {
onChanged();
return getTraceFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
public org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder getTraceOrBuilder() {
if (traceBuilder_ != null) {
return traceBuilder_.getMessageOrBuilder();
} else {
return trace_ == null ?
org.glowroot.wire.api.model.TraceOuterClass.Trace.getDefaultInstance() : trace_;
}
}
/**
* optional .org_glowroot_wire_api_model.Trace trace = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder>
getTraceFieldBuilder() {
if (traceBuilder_ == null) {
traceBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.TraceOuterClass.Trace, org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder, org.glowroot.wire.api.model.TraceOuterClass.TraceOrBuilder>(
getTrace(),
getParentForChildren(),
isClean());
trace_ = null;
}
return traceBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.TraceMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.TraceMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public TraceMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new TraceMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LogMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.LogMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string server_id = 1;
*/
java.lang.String getServerId();
/**
* optional string server_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes();
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
boolean hasLogEvent();
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent getLogEvent();
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder getLogEventOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.LogMessage}
*/
public static final class LogMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.LogMessage)
LogMessageOrBuilder {
// Use LogMessage.newBuilder() to construct.
private LogMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private LogMessage() {
serverId_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private LogMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
serverId_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder subBuilder = null;
if (logEvent_ != null) {
subBuilder = logEvent_.toBuilder();
}
logEvent_ = input.readMessage(org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(logEvent_);
logEvent_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.Builder.class);
}
public static final int SERVER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object serverId_;
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int LOG_EVENT_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.LogEventOuterClass.LogEvent logEvent_;
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public boolean hasLogEvent() {
return logEvent_ != null;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.LogEventOuterClass.LogEvent getLogEvent() {
return logEvent_ == null ? org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.getDefaultInstance() : logEvent_;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder getLogEventOrBuilder() {
return getLogEvent();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getServerIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, serverId_);
}
if (logEvent_ != null) {
output.writeMessage(2, getLogEvent());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getServerIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, serverId_);
}
if (logEvent_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getLogEvent());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.LogMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.LogMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
serverId_ = "";
if (logEventBuilder_ == null) {
logEvent_ = null;
} else {
logEvent_ = null;
logEventBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_LogMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage(this);
result.serverId_ = serverId_;
if (logEventBuilder_ == null) {
result.logEvent_ = logEvent_;
} else {
result.logEvent_ = logEventBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.getDefaultInstance()) return this;
if (!other.getServerId().isEmpty()) {
serverId_ = other.serverId_;
onChanged();
}
if (other.hasLogEvent()) {
mergeLogEvent(other.getLogEvent());
}
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object serverId_ = "";
/**
* optional string server_id = 1;
*/
public java.lang.String getServerId() {
java.lang.Object ref = serverId_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
serverId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string server_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getServerIdBytes() {
java.lang.Object ref = serverId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
serverId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string server_id = 1;
*/
public Builder setServerId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
serverId_ = value;
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder clearServerId() {
serverId_ = getDefaultInstance().getServerId();
onChanged();
return this;
}
/**
* optional string server_id = 1;
*/
public Builder setServerIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
serverId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.LogEventOuterClass.LogEvent logEvent_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent, org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder> logEventBuilder_;
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public boolean hasLogEvent() {
return logEventBuilder_ != null || logEvent_ != null;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.LogEventOuterClass.LogEvent getLogEvent() {
if (logEventBuilder_ == null) {
return logEvent_ == null ? org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.getDefaultInstance() : logEvent_;
} else {
return logEventBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public Builder setLogEvent(org.glowroot.wire.api.model.LogEventOuterClass.LogEvent value) {
if (logEventBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
logEvent_ = value;
onChanged();
} else {
logEventBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public Builder setLogEvent(
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder builderForValue) {
if (logEventBuilder_ == null) {
logEvent_ = builderForValue.build();
onChanged();
} else {
logEventBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public Builder mergeLogEvent(org.glowroot.wire.api.model.LogEventOuterClass.LogEvent value) {
if (logEventBuilder_ == null) {
if (logEvent_ != null) {
logEvent_ =
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.newBuilder(logEvent_).mergeFrom(value).buildPartial();
} else {
logEvent_ = value;
}
onChanged();
} else {
logEventBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public Builder clearLogEvent() {
if (logEventBuilder_ == null) {
logEvent_ = null;
onChanged();
} else {
logEvent_ = null;
logEventBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder getLogEventBuilder() {
onChanged();
return getLogEventFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder getLogEventOrBuilder() {
if (logEventBuilder_ != null) {
return logEventBuilder_.getMessageOrBuilder();
} else {
return logEvent_ == null ?
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.getDefaultInstance() : logEvent_;
}
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent, org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder>
getLogEventFieldBuilder() {
if (logEventBuilder_ == null) {
logEventBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.LogEventOuterClass.LogEvent, org.glowroot.wire.api.model.LogEventOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.LogEventOuterClass.LogEventOrBuilder>(
getLogEvent(),
getParentForChildren(),
isClean());
logEvent_ = null;
}
return logEventBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.LogMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.LogMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public LogMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new LogMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface EmptyMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.EmptyMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.EmptyMessage}
*/
public static final class EmptyMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.EmptyMessage)
EmptyMessageOrBuilder {
// Use EmptyMessage.newBuilder() to construct.
private EmptyMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private EmptyMessage() {
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private EmptyMessage(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.Builder.class);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.ByteString data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
byte[] data,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseDelimitedFrom(
java.io.InputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.EmptyMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.EmptyMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage(this);
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()) return this;
onChanged();
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.EmptyMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.EmptyMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public EmptyMessage parsePartialFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
try {
return new EmptyMessage(input, extensionRegistry);
} catch (RuntimeException e) {
if (e.getCause() instanceof
org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException) {
throw (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException)
e.getCause();
}
throw e;
}
}
};
public static org.glowroot.agent.shaded.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.glowroot.agent.shaded.google.protobuf.Parser getParserForType() {
return PARSER;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_Hello_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_Hello_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_ConfigMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_JvmInfoMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_AggregateMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_TraceMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_LogMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable;
public static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\026CollectorService.proto\022\033org_glowroot_w" +
"ire_api_model\032\013Trace.proto\032\017Aggregate.pr" +
"oto\032\020GaugeValue.proto\032\016LogEvent.proto\"4\n" +
"\005Hello\022\021\n\tserver_id\030\001 \001(\t\022\030\n\020secondary_r" +
"ollup\030\002 \003(\t\"7\n\rConfigMessage\022\021\n\tserver_i" +
"d\030\001 \001(\t\022\023\n\013config_json\030\002 \001(\t\"#\n\016JvmInfoM" +
"essage\022\021\n\tserver_id\030\001 \001(\t\"\327\001\n\020AggregateM" +
"essage\022\021\n\tserver_id\030\001 \001(\t\022\024\n\014capture_tim" +
"e\030\002 \001(\003\022H\n\021overall_aggregate\030\003 \003(\0132-.org" +
"_glowroot_wire_api_model.OverallAggregat",
"e\022P\n\025transaction_aggregate\030\004 \003(\01321.org_g" +
"lowroot_wire_api_model.TransactionAggreg" +
"ate\"e\n\021GaugeValueMessage\022\021\n\tserver_id\030\001 " +
"\001(\t\022=\n\014gauge_values\030\002 \003(\0132\'.org_glowroot" +
"_wire_api_model.GaugeValue\"T\n\014TraceMessa" +
"ge\022\021\n\tserver_id\030\001 \001(\t\0221\n\005trace\030\002 \001(\0132\".o" +
"rg_glowroot_wire_api_model.Trace\"Y\n\nLogM" +
"essage\022\021\n\tserver_id\030\001 \001(\t\0228\n\tlog_event\030\002" +
" \001(\0132%.org_glowroot_wire_api_model.LogEv" +
"ent\"\016\n\014EmptyMessage2\335\005\n\020CollectorService",
"\022V\n\005hello\022\".org_glowroot_wire_api_model." +
"Hello\032).org_glowroot_wire_api_model.Empt" +
"yMessage\022f\n\rcollectConfig\022*.org_glowroot" +
"_wire_api_model.ConfigMessage\032).org_glow" +
"root_wire_api_model.EmptyMessage\022h\n\016coll" +
"ectJvmInfo\022+.org_glowroot_wire_api_model" +
".JvmInfoMessage\032).org_glowroot_wire_api_" +
"model.EmptyMessage\022m\n\021collectAggregates\022" +
"-.org_glowroot_wire_api_model.AggregateM" +
"essage\032).org_glowroot_wire_api_model.Emp",
"tyMessage\022o\n\022collectGaugeValues\022..org_gl" +
"owroot_wire_api_model.GaugeValueMessage\032" +
").org_glowroot_wire_api_model.EmptyMessa" +
"ge\022d\n\014collectTrace\022).org_glowroot_wire_a" +
"pi_model.TraceMessage\032).org_glowroot_wir" +
"e_api_model.EmptyMessage\022Y\n\003log\022\'.org_gl" +
"owroot_wire_api_model.LogMessage\032).org_g" +
"lowroot_wire_api_model.EmptyMessageB\035\n\033o" +
"rg.glowroot.wire.api.modelb\006proto3"
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry assignDescriptors(
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor[] {
org.glowroot.wire.api.model.TraceOuterClass.getDescriptor(),
org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(),
org.glowroot.wire.api.model.GaugeValueOuterClass.getDescriptor(),
org.glowroot.wire.api.model.LogEventOuterClass.getDescriptor(),
}, assigner);
internal_static_org_glowroot_wire_api_model_Hello_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_Hello_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_Hello_descriptor,
new java.lang.String[] { "ServerId", "SecondaryRollup", });
internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_glowroot_wire_api_model_ConfigMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_ConfigMessage_descriptor,
new java.lang.String[] { "ServerId", "ConfigJson", });
internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_org_glowroot_wire_api_model_JvmInfoMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_JvmInfoMessage_descriptor,
new java.lang.String[] { "ServerId", });
internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_org_glowroot_wire_api_model_AggregateMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor,
new java.lang.String[] { "ServerId", "CaptureTime", "OverallAggregate", "TransactionAggregate", });
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor,
new java.lang.String[] { "ServerId", "GaugeValues", });
internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_org_glowroot_wire_api_model_TraceMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor,
new java.lang.String[] { "ServerId", "Trace", });
internal_static_org_glowroot_wire_api_model_LogMessage_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_org_glowroot_wire_api_model_LogMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_LogMessage_descriptor,
new java.lang.String[] { "ServerId", "LogEvent", });
internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_org_glowroot_wire_api_model_EmptyMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor,
new java.lang.String[] { });
org.glowroot.wire.api.model.TraceOuterClass.getDescriptor();
org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor();
org.glowroot.wire.api.model.GaugeValueOuterClass.getDescriptor();
org.glowroot.wire.api.model.LogEventOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy