
org.glowroot.wire.api.model.CollectorServiceOuterClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glowroot-agent-it-harness Show documentation
Show all versions of glowroot-agent-it-harness Show documentation
Glowroot Agent Integration Test Harness
// 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 InitMessageOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitMessage)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string agent_id = 1;
*/
java.lang.String getAgentId();
/**
* optional string agent_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes();
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
boolean hasSystemInfo();
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo getSystemInfo();
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder getSystemInfoOrBuilder();
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
boolean hasAgentConfig();
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig();
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.InitMessage}
*/
public static final class InitMessage extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitMessage)
InitMessageOrBuilder {
// Use InitMessage.newBuilder() to construct.
private InitMessage(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private InitMessage() {
agentId_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private InitMessage(
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: {
java.lang.String s = input.readStringRequireUtf8();
agentId_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder subBuilder = null;
if (systemInfo_ != null) {
subBuilder = systemInfo_.toBuilder();
}
systemInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(systemInfo_);
systemInfo_ = subBuilder.buildPartial();
}
break;
}
case 26: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder subBuilder = null;
if (agentConfig_ != null) {
subBuilder = agentConfig_.toBuilder();
}
agentConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(agentConfig_);
agentConfig_ = subBuilder.buildPartial();
}
break;
}
}
}
} 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_InitMessage_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_InitMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Builder.class);
}
public static final int AGENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object agentId_;
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentId_ = s;
return s;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
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);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int SYSTEM_INFO_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo systemInfo_;
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public boolean hasSystemInfo() {
return systemInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo getSystemInfo() {
return systemInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.getDefaultInstance() : systemInfo_;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder getSystemInfoOrBuilder() {
return getSystemInfo();
}
public static final int AGENT_CONFIG_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_;
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public boolean hasAgentConfig() {
return agentConfig_ != null;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() {
return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() {
return getAgentConfig();
}
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 (!getAgentIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentId_);
}
if (systemInfo_ != null) {
output.writeMessage(2, getSystemInfo());
}
if (agentConfig_ != null) {
output.writeMessage(3, getAgentConfig());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAgentIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentId_);
}
if (systemInfo_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSystemInfo());
}
if (agentConfig_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, getAgentConfig());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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.InitMessage 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.InitMessage parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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.InitMessage parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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.InitMessage parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage 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.InitMessage 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.InitMessage 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.InitMessage prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.InitMessage}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.InitMessage)
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessageOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.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();
agentId_ = "";
if (systemInfoBuilder_ == null) {
systemInfo_ = null;
} else {
systemInfo_ = null;
systemInfoBuilder_ = null;
}
if (agentConfigBuilder_ == null) {
agentConfig_ = null;
} else {
agentConfig_ = null;
agentConfigBuilder_ = 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_InitMessage_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage(this);
result.agentId_ = agentId_;
if (systemInfoBuilder_ == null) {
result.systemInfo_ = systemInfo_;
} else {
result.systemInfo_ = systemInfoBuilder_.build();
}
if (agentConfigBuilder_ == null) {
result.agentConfig_ = agentConfig_;
} else {
result.agentConfig_ = agentConfigBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage.getDefaultInstance()) return this;
if (!other.getAgentId().isEmpty()) {
agentId_ = other.agentId_;
onChanged();
}
if (other.hasSystemInfo()) {
mergeSystemInfo(other.getSystemInfo());
}
if (other.hasAgentConfig()) {
mergeAgentConfig(other.getAgentConfig());
}
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.InitMessage parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object agentId_ = "";
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
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();
agentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentId_ = value;
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder clearAgentId() {
agentId_ = getDefaultInstance().getAgentId();
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo systemInfo_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder> systemInfoBuilder_;
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public boolean hasSystemInfo() {
return systemInfoBuilder_ != null || systemInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo getSystemInfo() {
if (systemInfoBuilder_ == null) {
return systemInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.getDefaultInstance() : systemInfo_;
} else {
return systemInfoBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public Builder setSystemInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo value) {
if (systemInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
systemInfo_ = value;
onChanged();
} else {
systemInfoBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public Builder setSystemInfo(
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder builderForValue) {
if (systemInfoBuilder_ == null) {
systemInfo_ = builderForValue.build();
onChanged();
} else {
systemInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public Builder mergeSystemInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo value) {
if (systemInfoBuilder_ == null) {
if (systemInfo_ != null) {
systemInfo_ =
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.newBuilder(systemInfo_).mergeFrom(value).buildPartial();
} else {
systemInfo_ = value;
}
onChanged();
} else {
systemInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public Builder clearSystemInfo() {
if (systemInfoBuilder_ == null) {
systemInfo_ = null;
onChanged();
} else {
systemInfo_ = null;
systemInfoBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder getSystemInfoBuilder() {
onChanged();
return getSystemInfoFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder getSystemInfoOrBuilder() {
if (systemInfoBuilder_ != null) {
return systemInfoBuilder_.getMessageOrBuilder();
} else {
return systemInfo_ == null ?
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.getDefaultInstance() : systemInfo_;
}
}
/**
* optional .org_glowroot_wire_api_model.SystemInfo system_info = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder>
getSystemInfoFieldBuilder() {
if (systemInfoBuilder_ == null) {
systemInfoBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder>(
getSystemInfo(),
getParentForChildren(),
isClean());
systemInfo_ = null;
}
return systemInfoBuilder_;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> agentConfigBuilder_;
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public boolean hasAgentConfig() {
return agentConfigBuilder_ != null || agentConfig_ != null;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() {
if (agentConfigBuilder_ == null) {
return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
} else {
return agentConfigBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public Builder setAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) {
if (agentConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
agentConfig_ = value;
onChanged();
} else {
agentConfigBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public Builder setAgentConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder builderForValue) {
if (agentConfigBuilder_ == null) {
agentConfig_ = builderForValue.build();
onChanged();
} else {
agentConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public Builder mergeAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) {
if (agentConfigBuilder_ == null) {
if (agentConfig_ != null) {
agentConfig_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.newBuilder(agentConfig_).mergeFrom(value).buildPartial();
} else {
agentConfig_ = value;
}
onChanged();
} else {
agentConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public Builder clearAgentConfig() {
if (agentConfigBuilder_ == null) {
agentConfig_ = null;
onChanged();
} else {
agentConfig_ = null;
agentConfigBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder getAgentConfigBuilder() {
onChanged();
return getAgentConfigFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() {
if (agentConfigBuilder_ != null) {
return agentConfigBuilder_.getMessageOrBuilder();
} else {
return agentConfig_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
}
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 3;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>
getAgentConfigFieldBuilder() {
if (agentConfigBuilder_ == null) {
agentConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>(
getAgentConfig(),
getParentForChildren(),
isClean());
agentConfig_ = null;
}
return agentConfigBuilder_;
}
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.InitMessage)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitMessage)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitMessage getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public InitMessage 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 InitMessage(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.InitMessage getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface InitResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.InitResponse)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
boolean hasAgentConfig();
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig();
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.InitResponse}
*/
public static final class InitResponse extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.InitResponse)
InitResponseOrBuilder {
// Use InitResponse.newBuilder() to construct.
private InitResponse(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private InitResponse() {
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private InitResponse(
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: {
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder subBuilder = null;
if (agentConfig_ != null) {
subBuilder = agentConfig_.toBuilder();
}
agentConfig_ = input.readMessage(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(agentConfig_);
agentConfig_ = subBuilder.buildPartial();
}
break;
}
}
}
} 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_InitResponse_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_InitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.Builder.class);
}
public static final int AGENT_CONFIG_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_;
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public boolean hasAgentConfig() {
return agentConfig_ != null;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() {
return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() {
return getAgentConfig();
}
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 (agentConfig_ != null) {
output.writeMessage(1, getAgentConfig());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (agentConfig_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAgentConfig());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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.InitResponse 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.InitResponse parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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.InitResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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.InitResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse 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.InitResponse 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.InitResponse 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.InitResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.InitResponse}
*/
public static final class Builder extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder implements
// @@protoc_insertion_point(builder_implements:org_glowroot_wire_api_model.InitResponse)
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponseOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.glowroot.agent.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();
if (agentConfigBuilder_ == null) {
agentConfig_ = null;
} else {
agentConfig_ = null;
agentConfigBuilder_ = 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_InitResponse_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse(this);
if (agentConfigBuilder_ == null) {
result.agentConfig_ = agentConfig_;
} else {
result.agentConfig_ = agentConfigBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse.getDefaultInstance()) return this;
if (other.hasAgentConfig()) {
mergeAgentConfig(other.getAgentConfig());
}
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.InitResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig agentConfig_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder> agentConfigBuilder_;
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public boolean hasAgentConfig() {
return agentConfigBuilder_ != null || agentConfig_ != null;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig getAgentConfig() {
if (agentConfigBuilder_ == null) {
return agentConfig_ == null ? org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
} else {
return agentConfigBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public Builder setAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) {
if (agentConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
agentConfig_ = value;
onChanged();
} else {
agentConfigBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public Builder setAgentConfig(
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder builderForValue) {
if (agentConfigBuilder_ == null) {
agentConfig_ = builderForValue.build();
onChanged();
} else {
agentConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public Builder mergeAgentConfig(org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig value) {
if (agentConfigBuilder_ == null) {
if (agentConfig_ != null) {
agentConfig_ =
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.newBuilder(agentConfig_).mergeFrom(value).buildPartial();
} else {
agentConfig_ = value;
}
onChanged();
} else {
agentConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public Builder clearAgentConfig() {
if (agentConfigBuilder_ == null) {
agentConfig_ = null;
onChanged();
} else {
agentConfig_ = null;
agentConfigBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder getAgentConfigBuilder() {
onChanged();
return getAgentConfigFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
public org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder getAgentConfigOrBuilder() {
if (agentConfigBuilder_ != null) {
return agentConfigBuilder_.getMessageOrBuilder();
} else {
return agentConfig_ == null ?
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.getDefaultInstance() : agentConfig_;
}
}
/**
* optional .org_glowroot_wire_api_model.AgentConfig agent_config = 1;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>
getAgentConfigFieldBuilder() {
if (agentConfigBuilder_ == null) {
agentConfigBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfig.Builder, org.glowroot.wire.api.model.AgentConfigOuterClass.AgentConfigOrBuilder>(
getAgentConfig(),
getParentForChildren(),
isClean());
agentConfig_ = null;
}
return agentConfigBuilder_;
}
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.InitResponse)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.InitResponse)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.InitResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public InitResponse 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 InitResponse(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.InitResponse 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 agent_id = 1;
*/
java.lang.String getAgentId();
/**
* optional string agent_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes();
/**
* optional int64 capture_time = 2;
*/
long getCaptureTime();
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
java.util.List
getAggregatesByTypeList();
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType getAggregatesByType(int index);
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
int getAggregatesByTypeCount();
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder>
getAggregatesByTypeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder(
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() {
agentId_ = "";
captureTime_ = 0L;
aggregatesByType_ = 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: {
java.lang.String s = input.readStringRequireUtf8();
agentId_ = s;
break;
}
case 16: {
captureTime_ = input.readInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
aggregatesByType_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
aggregatesByType_.add(input.readMessage(org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.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)) {
aggregatesByType_ = java.util.Collections.unmodifiableList(aggregatesByType_);
}
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 AGENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object agentId_;
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentId_ = s;
return s;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
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);
agentId_ = 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 AGGREGATES_BY_TYPE_FIELD_NUMBER = 3;
private java.util.List aggregatesByType_;
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public java.util.List getAggregatesByTypeList() {
return aggregatesByType_;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder>
getAggregatesByTypeOrBuilderList() {
return aggregatesByType_;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public int getAggregatesByTypeCount() {
return aggregatesByType_.size();
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType getAggregatesByType(int index) {
return aggregatesByType_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder(
int index) {
return aggregatesByType_.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 (!getAgentIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentId_);
}
if (captureTime_ != 0L) {
output.writeInt64(2, captureTime_);
}
for (int i = 0; i < aggregatesByType_.size(); i++) {
output.writeMessage(3, aggregatesByType_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAgentIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentId_);
}
if (captureTime_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(2, captureTime_);
}
for (int i = 0; i < aggregatesByType_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, aggregatesByType_.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) {
getAggregatesByTypeFieldBuilder();
}
}
public Builder clear() {
super.clear();
agentId_ = "";
captureTime_ = 0L;
if (aggregatesByTypeBuilder_ == null) {
aggregatesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
aggregatesByTypeBuilder_.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.agentId_ = agentId_;
result.captureTime_ = captureTime_;
if (aggregatesByTypeBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
aggregatesByType_ = java.util.Collections.unmodifiableList(aggregatesByType_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.aggregatesByType_ = aggregatesByType_;
} else {
result.aggregatesByType_ = aggregatesByTypeBuilder_.build();
}
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.getAgentId().isEmpty()) {
agentId_ = other.agentId_;
onChanged();
}
if (other.getCaptureTime() != 0L) {
setCaptureTime(other.getCaptureTime());
}
if (aggregatesByTypeBuilder_ == null) {
if (!other.aggregatesByType_.isEmpty()) {
if (aggregatesByType_.isEmpty()) {
aggregatesByType_ = other.aggregatesByType_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureAggregatesByTypeIsMutable();
aggregatesByType_.addAll(other.aggregatesByType_);
}
onChanged();
}
} else {
if (!other.aggregatesByType_.isEmpty()) {
if (aggregatesByTypeBuilder_.isEmpty()) {
aggregatesByTypeBuilder_.dispose();
aggregatesByTypeBuilder_ = null;
aggregatesByType_ = other.aggregatesByType_;
bitField0_ = (bitField0_ & ~0x00000004);
aggregatesByTypeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAggregatesByTypeFieldBuilder() : null;
} else {
aggregatesByTypeBuilder_.addAllMessages(other.aggregatesByType_);
}
}
}
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 agentId_ = "";
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
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();
agentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentId_ = value;
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder clearAgentId() {
agentId_ = getDefaultInstance().getAgentId();
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentId_ = 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 aggregatesByType_ =
java.util.Collections.emptyList();
private void ensureAggregatesByTypeIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
aggregatesByType_ = new java.util.ArrayList(aggregatesByType_);
bitField0_ |= 0x00000004;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder> aggregatesByTypeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public java.util.List getAggregatesByTypeList() {
if (aggregatesByTypeBuilder_ == null) {
return java.util.Collections.unmodifiableList(aggregatesByType_);
} else {
return aggregatesByTypeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public int getAggregatesByTypeCount() {
if (aggregatesByTypeBuilder_ == null) {
return aggregatesByType_.size();
} else {
return aggregatesByTypeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType getAggregatesByType(int index) {
if (aggregatesByTypeBuilder_ == null) {
return aggregatesByType_.get(index);
} else {
return aggregatesByTypeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder setAggregatesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType value) {
if (aggregatesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregatesByTypeIsMutable();
aggregatesByType_.set(index, value);
onChanged();
} else {
aggregatesByTypeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder setAggregatesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder builderForValue) {
if (aggregatesByTypeBuilder_ == null) {
ensureAggregatesByTypeIsMutable();
aggregatesByType_.set(index, builderForValue.build());
onChanged();
} else {
aggregatesByTypeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder addAggregatesByType(org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType value) {
if (aggregatesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregatesByTypeIsMutable();
aggregatesByType_.add(value);
onChanged();
} else {
aggregatesByTypeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder addAggregatesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType value) {
if (aggregatesByTypeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggregatesByTypeIsMutable();
aggregatesByType_.add(index, value);
onChanged();
} else {
aggregatesByTypeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder addAggregatesByType(
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder builderForValue) {
if (aggregatesByTypeBuilder_ == null) {
ensureAggregatesByTypeIsMutable();
aggregatesByType_.add(builderForValue.build());
onChanged();
} else {
aggregatesByTypeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder addAggregatesByType(
int index, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder builderForValue) {
if (aggregatesByTypeBuilder_ == null) {
ensureAggregatesByTypeIsMutable();
aggregatesByType_.add(index, builderForValue.build());
onChanged();
} else {
aggregatesByTypeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder addAllAggregatesByType(
java.lang.Iterable extends org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType> values) {
if (aggregatesByTypeBuilder_ == null) {
ensureAggregatesByTypeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, aggregatesByType_);
onChanged();
} else {
aggregatesByTypeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder clearAggregatesByType() {
if (aggregatesByTypeBuilder_ == null) {
aggregatesByType_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
aggregatesByTypeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public Builder removeAggregatesByType(int index) {
if (aggregatesByTypeBuilder_ == null) {
ensureAggregatesByTypeIsMutable();
aggregatesByType_.remove(index);
onChanged();
} else {
aggregatesByTypeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder getAggregatesByTypeBuilder(
int index) {
return getAggregatesByTypeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder getAggregatesByTypeOrBuilder(
int index) {
if (aggregatesByTypeBuilder_ == null) {
return aggregatesByType_.get(index); } else {
return aggregatesByTypeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder>
getAggregatesByTypeOrBuilderList() {
if (aggregatesByTypeBuilder_ != null) {
return aggregatesByTypeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(aggregatesByType_);
}
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder addAggregatesByTypeBuilder() {
return getAggregatesByTypeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder addAggregatesByTypeBuilder(
int index) {
return getAggregatesByTypeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.AggregatesByType aggregates_by_type = 3;
*/
public java.util.List
getAggregatesByTypeBuilderList() {
return getAggregatesByTypeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder>
getAggregatesByTypeFieldBuilder() {
if (aggregatesByTypeBuilder_ == null) {
aggregatesByTypeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByType.Builder, org.glowroot.wire.api.model.AggregateOuterClass.AggregatesByTypeOrBuilder>(
aggregatesByType_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
aggregatesByType_ = null;
}
return aggregatesByTypeBuilder_;
}
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 agent_id = 1;
*/
java.lang.String getAgentId();
/**
* optional string agent_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes();
/**
* 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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.GaugeValueOrBuilder>
getGaugeValuesOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.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() {
agentId_ = "";
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: {
java.lang.String s = input.readStringRequireUtf8();
agentId_ = 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.CollectorServiceOuterClass.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 AGENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object agentId_;
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentId_ = s;
return s;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
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);
agentId_ = 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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.GaugeValue getGaugeValues(int index) {
return gaugeValues_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.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 (!getAgentIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentId_);
}
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 (!getAgentIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentId_);
}
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();
agentId_ = "";
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.agentId_ = agentId_;
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.getAgentId().isEmpty()) {
agentId_ = other.agentId_;
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 agentId_ = "";
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
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();
agentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentId_ = value;
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder clearAgentId() {
agentId_ = getDefaultInstance().getAgentId();
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentId_ = 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.CollectorServiceOuterClass.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.GaugeValue.Builder addGaugeValuesBuilder() {
return getGaugeValuesFieldBuilder().addBuilder(
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.GaugeValue gauge_values = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder addGaugeValuesBuilder(
int index) {
return getGaugeValuesFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueOrBuilder>
getGaugeValuesFieldBuilder() {
if (gaugeValuesBuilder_ == null) {
gaugeValuesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.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 agent_id = 1;
*/
java.lang.String getAgentId();
/**
* optional string agent_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes();
/**
* 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() {
agentId_ = "";
}
@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: {
java.lang.String s = input.readStringRequireUtf8();
agentId_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.TraceOuterClass.Trace.Builder subBuilder = null;
if (trace_ != null) {
subBuilder = trace_.toBuilder();
}
trace_ = input.readMessage(org.glowroot.wire.api.model.TraceOuterClass.Trace.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(trace_);
trace_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.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 AGENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object agentId_;
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentId_ = s;
return s;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
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);
agentId_ = 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 (!getAgentIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentId_);
}
if (trace_ != null) {
output.writeMessage(2, getTrace());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAgentIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentId_);
}
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();
agentId_ = "";
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.agentId_ = agentId_;
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.getAgentId().isEmpty()) {
agentId_ = other.agentId_;
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 agentId_ = "";
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
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();
agentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentId_ = value;
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder clearAgentId() {
agentId_ = getDefaultInstance().getAgentId();
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.TraceOuterClass.Trace trace_ = null;
private org.glowroot.agent.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 agent_id = 1;
*/
java.lang.String getAgentId();
/**
* optional string agent_id = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes();
/**
* 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.CollectorServiceOuterClass.LogEvent getLogEvent();
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.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() {
agentId_ = "";
}
@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: {
java.lang.String s = input.readStringRequireUtf8();
agentId_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder subBuilder = null;
if (logEvent_ != null) {
subBuilder = logEvent_.toBuilder();
}
logEvent_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.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 AGENT_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object agentId_;
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
agentId_ = s;
return s;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
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);
agentId_ = 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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.LogEvent getLogEvent() {
return logEvent_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.getDefaultInstance() : logEvent_;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.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 (!getAgentIdBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, agentId_);
}
if (logEvent_ != null) {
output.writeMessage(2, getLogEvent());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getAgentIdBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, agentId_);
}
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();
agentId_ = "";
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.agentId_ = agentId_;
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.getAgentId().isEmpty()) {
agentId_ = other.agentId_;
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 agentId_ = "";
/**
* optional string agent_id = 1;
*/
public java.lang.String getAgentId() {
java.lang.Object ref = agentId_;
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();
agentId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string agent_id = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getAgentIdBytes() {
java.lang.Object ref = agentId_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
agentId_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
agentId_ = value;
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder clearAgentId() {
agentId_ = getDefaultInstance().getAgentId();
onChanged();
return this;
}
/**
* optional string agent_id = 1;
*/
public Builder setAgentIdBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
agentId_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent logEvent_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.LogEvent getLogEvent() {
if (logEventBuilder_ == null) {
return logEvent_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.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.CollectorServiceOuterClass.LogEvent value) {
if (logEventBuilder_ == null) {
if (logEvent_ != null) {
logEvent_ =
org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.LogEvent.Builder getLogEventBuilder() {
onChanged();
return getLogEventFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.LogEvent log_event = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEventOrBuilder getLogEventOrBuilder() {
if (logEventBuilder_ != null) {
return logEventBuilder_.getMessageOrBuilder();
} else {
return logEvent_ == null ?
org.glowroot.wire.api.model.CollectorServiceOuterClass.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.CollectorServiceOuterClass.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEventOrBuilder>
getLogEventFieldBuilder() {
if (logEventBuilder_ == null) {
logEventBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.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 SystemInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.SystemInfo)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
boolean hasHostInfo();
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo getHostInfo();
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder getHostInfoOrBuilder();
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
boolean hasProcessInfo();
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo getProcessInfo();
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder();
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
boolean hasJavaInfo();
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo getJavaInfo();
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder getJavaInfoOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.SystemInfo}
*/
public static final class SystemInfo extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.SystemInfo)
SystemInfoOrBuilder {
// Use SystemInfo.newBuilder() to construct.
private SystemInfo(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private SystemInfo() {
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private SystemInfo(
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: {
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder subBuilder = null;
if (hostInfo_ != null) {
subBuilder = hostInfo_.toBuilder();
}
hostInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(hostInfo_);
hostInfo_ = subBuilder.buildPartial();
}
break;
}
case 18: {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder subBuilder = null;
if (processInfo_ != null) {
subBuilder = processInfo_.toBuilder();
}
processInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(processInfo_);
processInfo_ = subBuilder.buildPartial();
}
break;
}
case 26: {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder subBuilder = null;
if (javaInfo_ != null) {
subBuilder = javaInfo_.toBuilder();
}
javaInfo_ = input.readMessage(org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(javaInfo_);
javaInfo_ = 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_SystemInfo_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_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder.class);
}
public static final int HOST_INFO_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo hostInfo_;
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public boolean hasHostInfo() {
return hostInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo getHostInfo() {
return hostInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.getDefaultInstance() : hostInfo_;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder getHostInfoOrBuilder() {
return getHostInfo();
}
public static final int PROCESS_INFO_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo processInfo_;
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public boolean hasProcessInfo() {
return processInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo getProcessInfo() {
return processInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() {
return getProcessInfo();
}
public static final int JAVA_INFO_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo javaInfo_;
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public boolean hasJavaInfo() {
return javaInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo getJavaInfo() {
return javaInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.getDefaultInstance() : javaInfo_;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder getJavaInfoOrBuilder() {
return getJavaInfo();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (hostInfo_ != null) {
output.writeMessage(1, getHostInfo());
}
if (processInfo_ != null) {
output.writeMessage(2, getProcessInfo());
}
if (javaInfo_ != null) {
output.writeMessage(3, getJavaInfo());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (hostInfo_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(1, getHostInfo());
}
if (processInfo_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getProcessInfo());
}
if (javaInfo_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, getJavaInfo());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo 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.SystemInfo 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.SystemInfo parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo 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.SystemInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo 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.SystemInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo 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.SystemInfo 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.SystemInfo 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.SystemInfo 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.SystemInfo}
*/
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.SystemInfo)
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfoOrBuilder {
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_SystemInfo_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_SystemInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.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();
if (hostInfoBuilder_ == null) {
hostInfo_ = null;
} else {
hostInfo_ = null;
hostInfoBuilder_ = null;
}
if (processInfoBuilder_ == null) {
processInfo_ = null;
} else {
processInfo_ = null;
processInfoBuilder_ = null;
}
if (javaInfoBuilder_ == null) {
javaInfo_ = null;
} else {
javaInfo_ = null;
javaInfoBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.internal_static_org_glowroot_wire_api_model_SystemInfo_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo(this);
if (hostInfoBuilder_ == null) {
result.hostInfo_ = hostInfo_;
} else {
result.hostInfo_ = hostInfoBuilder_.build();
}
if (processInfoBuilder_ == null) {
result.processInfo_ = processInfo_;
} else {
result.processInfo_ = processInfoBuilder_.build();
}
if (javaInfoBuilder_ == null) {
result.javaInfo_ = javaInfo_;
} else {
result.javaInfo_ = javaInfoBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo.getDefaultInstance()) return this;
if (other.hasHostInfo()) {
mergeHostInfo(other.getHostInfo());
}
if (other.hasProcessInfo()) {
mergeProcessInfo(other.getProcessInfo());
}
if (other.hasJavaInfo()) {
mergeJavaInfo(other.getJavaInfo());
}
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.SystemInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo hostInfo_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder> hostInfoBuilder_;
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public boolean hasHostInfo() {
return hostInfoBuilder_ != null || hostInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo getHostInfo() {
if (hostInfoBuilder_ == null) {
return hostInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.getDefaultInstance() : hostInfo_;
} else {
return hostInfoBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public Builder setHostInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo value) {
if (hostInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
hostInfo_ = value;
onChanged();
} else {
hostInfoBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public Builder setHostInfo(
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder builderForValue) {
if (hostInfoBuilder_ == null) {
hostInfo_ = builderForValue.build();
onChanged();
} else {
hostInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public Builder mergeHostInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo value) {
if (hostInfoBuilder_ == null) {
if (hostInfo_ != null) {
hostInfo_ =
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.newBuilder(hostInfo_).mergeFrom(value).buildPartial();
} else {
hostInfo_ = value;
}
onChanged();
} else {
hostInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public Builder clearHostInfo() {
if (hostInfoBuilder_ == null) {
hostInfo_ = null;
onChanged();
} else {
hostInfo_ = null;
hostInfoBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder getHostInfoBuilder() {
onChanged();
return getHostInfoFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder getHostInfoOrBuilder() {
if (hostInfoBuilder_ != null) {
return hostInfoBuilder_.getMessageOrBuilder();
} else {
return hostInfo_ == null ?
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.getDefaultInstance() : hostInfo_;
}
}
/**
* optional .org_glowroot_wire_api_model.HostInfo host_info = 1;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder>
getHostInfoFieldBuilder() {
if (hostInfoBuilder_ == null) {
hostInfoBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder>(
getHostInfo(),
getParentForChildren(),
isClean());
hostInfo_ = null;
}
return hostInfoBuilder_;
}
private org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo processInfo_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder> processInfoBuilder_;
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public boolean hasProcessInfo() {
return processInfoBuilder_ != null || processInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo getProcessInfo() {
if (processInfoBuilder_ == null) {
return processInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_;
} else {
return processInfoBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public Builder setProcessInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo value) {
if (processInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
processInfo_ = value;
onChanged();
} else {
processInfoBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public Builder setProcessInfo(
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder builderForValue) {
if (processInfoBuilder_ == null) {
processInfo_ = builderForValue.build();
onChanged();
} else {
processInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public Builder mergeProcessInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo value) {
if (processInfoBuilder_ == null) {
if (processInfo_ != null) {
processInfo_ =
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.newBuilder(processInfo_).mergeFrom(value).buildPartial();
} else {
processInfo_ = value;
}
onChanged();
} else {
processInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public Builder clearProcessInfo() {
if (processInfoBuilder_ == null) {
processInfo_ = null;
onChanged();
} else {
processInfo_ = null;
processInfoBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder getProcessInfoBuilder() {
onChanged();
return getProcessInfoFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() {
if (processInfoBuilder_ != null) {
return processInfoBuilder_.getMessageOrBuilder();
} else {
return processInfo_ == null ?
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_;
}
}
/**
* optional .org_glowroot_wire_api_model.ProcessInfo process_info = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder>
getProcessInfoFieldBuilder() {
if (processInfoBuilder_ == null) {
processInfoBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder>(
getProcessInfo(),
getParentForChildren(),
isClean());
processInfo_ = null;
}
return processInfoBuilder_;
}
private org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo javaInfo_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder> javaInfoBuilder_;
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public boolean hasJavaInfo() {
return javaInfoBuilder_ != null || javaInfo_ != null;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo getJavaInfo() {
if (javaInfoBuilder_ == null) {
return javaInfo_ == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.getDefaultInstance() : javaInfo_;
} else {
return javaInfoBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public Builder setJavaInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo value) {
if (javaInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
javaInfo_ = value;
onChanged();
} else {
javaInfoBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public Builder setJavaInfo(
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder builderForValue) {
if (javaInfoBuilder_ == null) {
javaInfo_ = builderForValue.build();
onChanged();
} else {
javaInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public Builder mergeJavaInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo value) {
if (javaInfoBuilder_ == null) {
if (javaInfo_ != null) {
javaInfo_ =
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.newBuilder(javaInfo_).mergeFrom(value).buildPartial();
} else {
javaInfo_ = value;
}
onChanged();
} else {
javaInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public Builder clearJavaInfo() {
if (javaInfoBuilder_ == null) {
javaInfo_ = null;
onChanged();
} else {
javaInfo_ = null;
javaInfoBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder getJavaInfoBuilder() {
onChanged();
return getJavaInfoFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder getJavaInfoOrBuilder() {
if (javaInfoBuilder_ != null) {
return javaInfoBuilder_.getMessageOrBuilder();
} else {
return javaInfo_ == null ?
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.getDefaultInstance() : javaInfo_;
}
}
/**
* optional .org_glowroot_wire_api_model.JavaInfo java_info = 3;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder>
getJavaInfoFieldBuilder() {
if (javaInfoBuilder_ == null) {
javaInfoBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder>(
getJavaInfo(),
getParentForChildren(),
isClean());
javaInfo_ = null;
}
return javaInfoBuilder_;
}
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.SystemInfo)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.SystemInfo)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.SystemInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public SystemInfo 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 SystemInfo(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.SystemInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HostInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.HostInfo)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string host_name = 1;
*/
java.lang.String getHostName();
/**
* optional string host_name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getHostNameBytes();
/**
* optional int32 available_processors = 2;
*/
int getAvailableProcessors();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
boolean hasTotalPhysicalMemoryBytes();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder();
/**
* optional string os_name = 4;
*/
java.lang.String getOsName();
/**
* optional string os_name = 4;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getOsNameBytes();
/**
* optional string os_version = 5;
*/
java.lang.String getOsVersion();
/**
* optional string os_version = 5;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getOsVersionBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.HostInfo}
*/
public static final class HostInfo extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.HostInfo)
HostInfoOrBuilder {
// Use HostInfo.newBuilder() to construct.
private HostInfo(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private HostInfo() {
hostName_ = "";
availableProcessors_ = 0;
osName_ = "";
osVersion_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private HostInfo(
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: {
java.lang.String s = input.readStringRequireUtf8();
hostName_ = s;
break;
}
case 16: {
availableProcessors_ = input.readInt32();
break;
}
case 26: {
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null;
if (totalPhysicalMemoryBytes_ != null) {
subBuilder = totalPhysicalMemoryBytes_.toBuilder();
}
totalPhysicalMemoryBytes_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(totalPhysicalMemoryBytes_);
totalPhysicalMemoryBytes_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
osName_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
osVersion_ = s;
break;
}
}
}
} catch (org.glowroot.agent.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_HostInfo_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_HostInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder.class);
}
public static final int HOST_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object hostName_;
/**
* optional string host_name = 1;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hostName_ = s;
return s;
}
}
/**
* optional string host_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
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);
hostName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int AVAILABLE_PROCESSORS_FIELD_NUMBER = 2;
private int availableProcessors_;
/**
* optional int32 available_processors = 2;
*/
public int getAvailableProcessors() {
return availableProcessors_;
}
public static final int TOTAL_PHYSICAL_MEMORY_BYTES_FIELD_NUMBER = 3;
private org.glowroot.wire.api.model.Proto.OptionalInt64 totalPhysicalMemoryBytes_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public boolean hasTotalPhysicalMemoryBytes() {
return totalPhysicalMemoryBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes() {
return totalPhysicalMemoryBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder() {
return getTotalPhysicalMemoryBytes();
}
public static final int OS_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object osName_;
/**
* optional string os_name = 4;
*/
public java.lang.String getOsName() {
java.lang.Object ref = osName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
osName_ = s;
return s;
}
}
/**
* optional string os_name = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getOsNameBytes() {
java.lang.Object ref = osName_;
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);
osName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int OS_VERSION_FIELD_NUMBER = 5;
private volatile java.lang.Object osVersion_;
/**
* optional string os_version = 5;
*/
public java.lang.String getOsVersion() {
java.lang.Object ref = osVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
osVersion_ = s;
return s;
}
}
/**
* optional string os_version = 5;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getOsVersionBytes() {
java.lang.Object ref = osVersion_;
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);
osVersion_ = 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 (!getHostNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, hostName_);
}
if (availableProcessors_ != 0) {
output.writeInt32(2, availableProcessors_);
}
if (totalPhysicalMemoryBytes_ != null) {
output.writeMessage(3, getTotalPhysicalMemoryBytes());
}
if (!getOsNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, osName_);
}
if (!getOsVersionBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 5, osVersion_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getHostNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, hostName_);
}
if (availableProcessors_ != 0) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt32Size(2, availableProcessors_);
}
if (totalPhysicalMemoryBytes_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTotalPhysicalMemoryBytes());
}
if (!getOsNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, osName_);
}
if (!getOsVersionBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(5, osVersion_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo 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.HostInfo 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.HostInfo parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo 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.HostInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo 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.HostInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo 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.HostInfo 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.HostInfo 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.HostInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.HostInfo}
*/
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.HostInfo)
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfoOrBuilder {
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_HostInfo_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_HostInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.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();
hostName_ = "";
availableProcessors_ = 0;
if (totalPhysicalMemoryBytesBuilder_ == null) {
totalPhysicalMemoryBytes_ = null;
} else {
totalPhysicalMemoryBytes_ = null;
totalPhysicalMemoryBytesBuilder_ = null;
}
osName_ = "";
osVersion_ = "";
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_HostInfo_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo(this);
result.hostName_ = hostName_;
result.availableProcessors_ = availableProcessors_;
if (totalPhysicalMemoryBytesBuilder_ == null) {
result.totalPhysicalMemoryBytes_ = totalPhysicalMemoryBytes_;
} else {
result.totalPhysicalMemoryBytes_ = totalPhysicalMemoryBytesBuilder_.build();
}
result.osName_ = osName_;
result.osVersion_ = osVersion_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo.getDefaultInstance()) return this;
if (!other.getHostName().isEmpty()) {
hostName_ = other.hostName_;
onChanged();
}
if (other.getAvailableProcessors() != 0) {
setAvailableProcessors(other.getAvailableProcessors());
}
if (other.hasTotalPhysicalMemoryBytes()) {
mergeTotalPhysicalMemoryBytes(other.getTotalPhysicalMemoryBytes());
}
if (!other.getOsName().isEmpty()) {
osName_ = other.osName_;
onChanged();
}
if (!other.getOsVersion().isEmpty()) {
osVersion_ = other.osVersion_;
onChanged();
}
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.HostInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object hostName_ = "";
/**
* optional string host_name = 1;
*/
public java.lang.String getHostName() {
java.lang.Object ref = hostName_;
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();
hostName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string host_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getHostNameBytes() {
java.lang.Object ref = hostName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hostName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string host_name = 1;
*/
public Builder setHostName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hostName_ = value;
onChanged();
return this;
}
/**
* optional string host_name = 1;
*/
public Builder clearHostName() {
hostName_ = getDefaultInstance().getHostName();
onChanged();
return this;
}
/**
* optional string host_name = 1;
*/
public Builder setHostNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hostName_ = value;
onChanged();
return this;
}
private int availableProcessors_ ;
/**
* optional int32 available_processors = 2;
*/
public int getAvailableProcessors() {
return availableProcessors_;
}
/**
* optional int32 available_processors = 2;
*/
public Builder setAvailableProcessors(int value) {
availableProcessors_ = value;
onChanged();
return this;
}
/**
* optional int32 available_processors = 2;
*/
public Builder clearAvailableProcessors() {
availableProcessors_ = 0;
onChanged();
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt64 totalPhysicalMemoryBytes_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> totalPhysicalMemoryBytesBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public boolean hasTotalPhysicalMemoryBytes() {
return totalPhysicalMemoryBytesBuilder_ != null || totalPhysicalMemoryBytes_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getTotalPhysicalMemoryBytes() {
if (totalPhysicalMemoryBytesBuilder_ == null) {
return totalPhysicalMemoryBytes_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_;
} else {
return totalPhysicalMemoryBytesBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public Builder setTotalPhysicalMemoryBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (totalPhysicalMemoryBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
totalPhysicalMemoryBytes_ = value;
onChanged();
} else {
totalPhysicalMemoryBytesBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public Builder setTotalPhysicalMemoryBytes(
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) {
if (totalPhysicalMemoryBytesBuilder_ == null) {
totalPhysicalMemoryBytes_ = builderForValue.build();
onChanged();
} else {
totalPhysicalMemoryBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public Builder mergeTotalPhysicalMemoryBytes(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (totalPhysicalMemoryBytesBuilder_ == null) {
if (totalPhysicalMemoryBytes_ != null) {
totalPhysicalMemoryBytes_ =
org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(totalPhysicalMemoryBytes_).mergeFrom(value).buildPartial();
} else {
totalPhysicalMemoryBytes_ = value;
}
onChanged();
} else {
totalPhysicalMemoryBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public Builder clearTotalPhysicalMemoryBytes() {
if (totalPhysicalMemoryBytesBuilder_ == null) {
totalPhysicalMemoryBytes_ = null;
onChanged();
} else {
totalPhysicalMemoryBytes_ = null;
totalPhysicalMemoryBytesBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getTotalPhysicalMemoryBytesBuilder() {
onChanged();
return getTotalPhysicalMemoryBytesFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getTotalPhysicalMemoryBytesOrBuilder() {
if (totalPhysicalMemoryBytesBuilder_ != null) {
return totalPhysicalMemoryBytesBuilder_.getMessageOrBuilder();
} else {
return totalPhysicalMemoryBytes_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : totalPhysicalMemoryBytes_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 total_physical_memory_bytes = 3;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>
getTotalPhysicalMemoryBytesFieldBuilder() {
if (totalPhysicalMemoryBytesBuilder_ == null) {
totalPhysicalMemoryBytesBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>(
getTotalPhysicalMemoryBytes(),
getParentForChildren(),
isClean());
totalPhysicalMemoryBytes_ = null;
}
return totalPhysicalMemoryBytesBuilder_;
}
private java.lang.Object osName_ = "";
/**
* optional string os_name = 4;
*/
public java.lang.String getOsName() {
java.lang.Object ref = osName_;
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();
osName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string os_name = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getOsNameBytes() {
java.lang.Object ref = osName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string os_name = 4;
*/
public Builder setOsName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
osName_ = value;
onChanged();
return this;
}
/**
* optional string os_name = 4;
*/
public Builder clearOsName() {
osName_ = getDefaultInstance().getOsName();
onChanged();
return this;
}
/**
* optional string os_name = 4;
*/
public Builder setOsNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
osName_ = value;
onChanged();
return this;
}
private java.lang.Object osVersion_ = "";
/**
* optional string os_version = 5;
*/
public java.lang.String getOsVersion() {
java.lang.Object ref = osVersion_;
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();
osVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string os_version = 5;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getOsVersionBytes() {
java.lang.Object ref = osVersion_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
osVersion_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string os_version = 5;
*/
public Builder setOsVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
osVersion_ = value;
onChanged();
return this;
}
/**
* optional string os_version = 5;
*/
public Builder clearOsVersion() {
osVersion_ = getDefaultInstance().getOsVersion();
onChanged();
return this;
}
/**
* optional string os_version = 5;
*/
public Builder setOsVersionBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
osVersion_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.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.HostInfo)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.HostInfo)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.HostInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public HostInfo 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 HostInfo(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.HostInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ProcessInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.ProcessInfo)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
boolean hasProcessId();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId();
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder();
/**
* optional int64 start_time = 2;
*/
long getStartTime();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ProcessInfo}
*/
public static final class ProcessInfo extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.ProcessInfo)
ProcessInfoOrBuilder {
// Use ProcessInfo.newBuilder() to construct.
private ProcessInfo(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ProcessInfo() {
startTime_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ProcessInfo(
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: {
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder subBuilder = null;
if (processId_ != null) {
subBuilder = processId_.toBuilder();
}
processId_ = input.readMessage(org.glowroot.wire.api.model.Proto.OptionalInt64.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(processId_);
processId_ = subBuilder.buildPartial();
}
break;
}
case 16: {
startTime_ = input.readInt64();
break;
}
}
}
} catch (org.glowroot.agent.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_ProcessInfo_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_ProcessInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder.class);
}
public static final int PROCESS_ID_FIELD_NUMBER = 1;
private org.glowroot.wire.api.model.Proto.OptionalInt64 processId_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public boolean hasProcessId() {
return processId_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId() {
return processId_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder() {
return getProcessId();
}
public static final int START_TIME_FIELD_NUMBER = 2;
private long startTime_;
/**
* optional int64 start_time = 2;
*/
public long getStartTime() {
return startTime_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (processId_ != null) {
output.writeMessage(1, getProcessId());
}
if (startTime_ != 0L) {
output.writeInt64(2, startTime_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (processId_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(1, getProcessId());
}
if (startTime_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(2, startTime_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo 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.ProcessInfo 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.ProcessInfo parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo 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.ProcessInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo 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.ProcessInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo 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.ProcessInfo 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.ProcessInfo 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.ProcessInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ProcessInfo}
*/
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.ProcessInfo)
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfoOrBuilder {
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_ProcessInfo_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_ProcessInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.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();
if (processIdBuilder_ == null) {
processId_ = null;
} else {
processId_ = null;
processIdBuilder_ = null;
}
startTime_ = 0L;
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_ProcessInfo_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo(this);
if (processIdBuilder_ == null) {
result.processId_ = processId_;
} else {
result.processId_ = processIdBuilder_.build();
}
result.startTime_ = startTime_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo.getDefaultInstance()) return this;
if (other.hasProcessId()) {
mergeProcessId(other.getProcessId());
}
if (other.getStartTime() != 0L) {
setStartTime(other.getStartTime());
}
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.ProcessInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private org.glowroot.wire.api.model.Proto.OptionalInt64 processId_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder> processIdBuilder_;
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public boolean hasProcessId() {
return processIdBuilder_ != null || processId_ != null;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64 getProcessId() {
if (processIdBuilder_ == null) {
return processId_ == null ? org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_;
} else {
return processIdBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public Builder setProcessId(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (processIdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
processId_ = value;
onChanged();
} else {
processIdBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public Builder setProcessId(
org.glowroot.wire.api.model.Proto.OptionalInt64.Builder builderForValue) {
if (processIdBuilder_ == null) {
processId_ = builderForValue.build();
onChanged();
} else {
processIdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public Builder mergeProcessId(org.glowroot.wire.api.model.Proto.OptionalInt64 value) {
if (processIdBuilder_ == null) {
if (processId_ != null) {
processId_ =
org.glowroot.wire.api.model.Proto.OptionalInt64.newBuilder(processId_).mergeFrom(value).buildPartial();
} else {
processId_ = value;
}
onChanged();
} else {
processIdBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public Builder clearProcessId() {
if (processIdBuilder_ == null) {
processId_ = null;
onChanged();
} else {
processId_ = null;
processIdBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64.Builder getProcessIdBuilder() {
onChanged();
return getProcessIdFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
public org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder getProcessIdOrBuilder() {
if (processIdBuilder_ != null) {
return processIdBuilder_.getMessageOrBuilder();
} else {
return processId_ == null ?
org.glowroot.wire.api.model.Proto.OptionalInt64.getDefaultInstance() : processId_;
}
}
/**
* optional .org_glowroot_wire_api_model.OptionalInt64 process_id = 1;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>
getProcessIdFieldBuilder() {
if (processIdBuilder_ == null) {
processIdBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.OptionalInt64, org.glowroot.wire.api.model.Proto.OptionalInt64.Builder, org.glowroot.wire.api.model.Proto.OptionalInt64OrBuilder>(
getProcessId(),
getParentForChildren(),
isClean());
processId_ = null;
}
return processIdBuilder_;
}
private long startTime_ ;
/**
* optional int64 start_time = 2;
*/
public long getStartTime() {
return startTime_;
}
/**
* optional int64 start_time = 2;
*/
public Builder setStartTime(long value) {
startTime_ = value;
onChanged();
return this;
}
/**
* optional int64 start_time = 2;
*/
public Builder clearStartTime() {
startTime_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.ProcessInfo)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.ProcessInfo)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.ProcessInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ProcessInfo 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 ProcessInfo(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.ProcessInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface JavaInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.JavaInfo)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string version = 1;
*/
java.lang.String getVersion();
/**
* optional string version = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getVersionBytes();
/**
* optional string vm = 2;
*/
java.lang.String getVm();
/**
* optional string vm = 2;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getVmBytes();
/**
* repeated string arg = 3;
*/
org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getArgList();
/**
* repeated string arg = 3;
*/
int getArgCount();
/**
* repeated string arg = 3;
*/
java.lang.String getArg(int index);
/**
* repeated string arg = 3;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getArgBytes(int index);
/**
* optional string heap_dump_default_dir = 4;
*/
java.lang.String getHeapDumpDefaultDir();
/**
* optional string heap_dump_default_dir = 4;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getHeapDumpDefaultDirBytes();
/**
* optional string glowroot_agent_version = 15;
*/
java.lang.String getGlowrootAgentVersion();
/**
* optional string glowroot_agent_version = 15;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getGlowrootAgentVersionBytes();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.JavaInfo}
*/
public static final class JavaInfo extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.JavaInfo)
JavaInfoOrBuilder {
// Use JavaInfo.newBuilder() to construct.
private JavaInfo(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private JavaInfo() {
version_ = "";
vm_ = "";
arg_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
heapDumpDefaultDir_ = "";
glowrootAgentVersion_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private JavaInfo(
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: {
java.lang.String s = input.readStringRequireUtf8();
version_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
vm_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
arg_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
arg_.add(s);
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
heapDumpDefaultDir_ = s;
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
glowrootAgentVersion_ = s;
break;
}
}
}
} catch (org.glowroot.agent.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)) {
arg_ = arg_.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_JavaInfo_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_JavaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder.class);
}
private int bitField0_;
public static final int VERSION_FIELD_NUMBER = 1;
private volatile java.lang.Object version_;
/**
* optional string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
version_ = s;
return s;
}
}
/**
* optional string version = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
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);
version_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int VM_FIELD_NUMBER = 2;
private volatile java.lang.Object vm_;
/**
* optional string vm = 2;
*/
public java.lang.String getVm() {
java.lang.Object ref = vm_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
vm_ = s;
return s;
}
}
/**
* optional string vm = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getVmBytes() {
java.lang.Object ref = vm_;
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);
vm_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int ARG_FIELD_NUMBER = 3;
private org.glowroot.agent.shaded.google.protobuf.LazyStringList arg_;
/**
* repeated string arg = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getArgList() {
return arg_;
}
/**
* repeated string arg = 3;
*/
public int getArgCount() {
return arg_.size();
}
/**
* repeated string arg = 3;
*/
public java.lang.String getArg(int index) {
return arg_.get(index);
}
/**
* repeated string arg = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getArgBytes(int index) {
return arg_.getByteString(index);
}
public static final int HEAP_DUMP_DEFAULT_DIR_FIELD_NUMBER = 4;
private volatile java.lang.Object heapDumpDefaultDir_;
/**
* optional string heap_dump_default_dir = 4;
*/
public java.lang.String getHeapDumpDefaultDir() {
java.lang.Object ref = heapDumpDefaultDir_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
heapDumpDefaultDir_ = s;
return s;
}
}
/**
* optional string heap_dump_default_dir = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getHeapDumpDefaultDirBytes() {
java.lang.Object ref = heapDumpDefaultDir_;
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);
heapDumpDefaultDir_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int GLOWROOT_AGENT_VERSION_FIELD_NUMBER = 15;
private volatile java.lang.Object glowrootAgentVersion_;
/**
* optional string glowroot_agent_version = 15;
*/
public java.lang.String getGlowrootAgentVersion() {
java.lang.Object ref = glowrootAgentVersion_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
glowrootAgentVersion_ = s;
return s;
}
}
/**
* optional string glowroot_agent_version = 15;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getGlowrootAgentVersionBytes() {
java.lang.Object ref = glowrootAgentVersion_;
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);
glowrootAgentVersion_ = 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 (!getVersionBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, version_);
}
if (!getVmBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 2, vm_);
}
for (int i = 0; i < arg_.size(); i++) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 3, arg_.getRaw(i));
}
if (!getHeapDumpDefaultDirBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, heapDumpDefaultDir_);
}
if (!getGlowrootAgentVersionBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 15, glowrootAgentVersion_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getVersionBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, version_);
}
if (!getVmBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(2, vm_);
}
{
int dataSize = 0;
for (int i = 0; i < arg_.size(); i++) {
dataSize += computeStringSizeNoTag(arg_.getRaw(i));
}
size += dataSize;
size += 1 * getArgList().size();
}
if (!getHeapDumpDefaultDirBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, heapDumpDefaultDir_);
}
if (!getGlowrootAgentVersionBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(15, glowrootAgentVersion_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo 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.JavaInfo 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.JavaInfo parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo 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.JavaInfo parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo 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.JavaInfo parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo 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.JavaInfo 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.JavaInfo 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.JavaInfo prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.JavaInfo}
*/
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.JavaInfo)
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfoOrBuilder {
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_JavaInfo_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_JavaInfo_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.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();
version_ = "";
vm_ = "";
arg_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
heapDumpDefaultDir_ = "";
glowrootAgentVersion_ = "";
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_JavaInfo_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.version_ = version_;
result.vm_ = vm_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
arg_ = arg_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.arg_ = arg_;
result.heapDumpDefaultDir_ = heapDumpDefaultDir_;
result.glowrootAgentVersion_ = glowrootAgentVersion_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo.getDefaultInstance()) return this;
if (!other.getVersion().isEmpty()) {
version_ = other.version_;
onChanged();
}
if (!other.getVm().isEmpty()) {
vm_ = other.vm_;
onChanged();
}
if (!other.arg_.isEmpty()) {
if (arg_.isEmpty()) {
arg_ = other.arg_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureArgIsMutable();
arg_.addAll(other.arg_);
}
onChanged();
}
if (!other.getHeapDumpDefaultDir().isEmpty()) {
heapDumpDefaultDir_ = other.heapDumpDefaultDir_;
onChanged();
}
if (!other.getGlowrootAgentVersion().isEmpty()) {
glowrootAgentVersion_ = other.glowrootAgentVersion_;
onChanged();
}
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.JavaInfo parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object version_ = "";
/**
* optional string version = 1;
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
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();
version_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string version = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getVersionBytes() {
java.lang.Object ref = version_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
version_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string version = 1;
*/
public Builder setVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
version_ = value;
onChanged();
return this;
}
/**
* optional string version = 1;
*/
public Builder clearVersion() {
version_ = getDefaultInstance().getVersion();
onChanged();
return this;
}
/**
* optional string version = 1;
*/
public Builder setVersionBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
version_ = value;
onChanged();
return this;
}
private java.lang.Object vm_ = "";
/**
* optional string vm = 2;
*/
public java.lang.String getVm() {
java.lang.Object ref = vm_;
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();
vm_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string vm = 2;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getVmBytes() {
java.lang.Object ref = vm_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
vm_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string vm = 2;
*/
public Builder setVm(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
vm_ = value;
onChanged();
return this;
}
/**
* optional string vm = 2;
*/
public Builder clearVm() {
vm_ = getDefaultInstance().getVm();
onChanged();
return this;
}
/**
* optional string vm = 2;
*/
public Builder setVmBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
vm_ = value;
onChanged();
return this;
}
private org.glowroot.agent.shaded.google.protobuf.LazyStringList arg_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureArgIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
arg_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(arg_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string arg = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getArgList() {
return arg_.getUnmodifiableView();
}
/**
* repeated string arg = 3;
*/
public int getArgCount() {
return arg_.size();
}
/**
* repeated string arg = 3;
*/
public java.lang.String getArg(int index) {
return arg_.get(index);
}
/**
* repeated string arg = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getArgBytes(int index) {
return arg_.getByteString(index);
}
/**
* repeated string arg = 3;
*/
public Builder setArg(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgIsMutable();
arg_.set(index, value);
onChanged();
return this;
}
/**
* repeated string arg = 3;
*/
public Builder addArg(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureArgIsMutable();
arg_.add(value);
onChanged();
return this;
}
/**
* repeated string arg = 3;
*/
public Builder addAllArg(
java.lang.Iterable values) {
ensureArgIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, arg_);
onChanged();
return this;
}
/**
* repeated string arg = 3;
*/
public Builder clearArg() {
arg_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string arg = 3;
*/
public Builder addArgBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureArgIsMutable();
arg_.add(value);
onChanged();
return this;
}
private java.lang.Object heapDumpDefaultDir_ = "";
/**
* optional string heap_dump_default_dir = 4;
*/
public java.lang.String getHeapDumpDefaultDir() {
java.lang.Object ref = heapDumpDefaultDir_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
heapDumpDefaultDir_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string heap_dump_default_dir = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getHeapDumpDefaultDirBytes() {
java.lang.Object ref = heapDumpDefaultDir_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
heapDumpDefaultDir_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string heap_dump_default_dir = 4;
*/
public Builder setHeapDumpDefaultDir(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
heapDumpDefaultDir_ = value;
onChanged();
return this;
}
/**
* optional string heap_dump_default_dir = 4;
*/
public Builder clearHeapDumpDefaultDir() {
heapDumpDefaultDir_ = getDefaultInstance().getHeapDumpDefaultDir();
onChanged();
return this;
}
/**
* optional string heap_dump_default_dir = 4;
*/
public Builder setHeapDumpDefaultDirBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
heapDumpDefaultDir_ = value;
onChanged();
return this;
}
private java.lang.Object glowrootAgentVersion_ = "";
/**
* optional string glowroot_agent_version = 15;
*/
public java.lang.String getGlowrootAgentVersion() {
java.lang.Object ref = glowrootAgentVersion_;
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();
glowrootAgentVersion_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string glowroot_agent_version = 15;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getGlowrootAgentVersionBytes() {
java.lang.Object ref = glowrootAgentVersion_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
glowrootAgentVersion_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string glowroot_agent_version = 15;
*/
public Builder setGlowrootAgentVersion(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
glowrootAgentVersion_ = value;
onChanged();
return this;
}
/**
* optional string glowroot_agent_version = 15;
*/
public Builder clearGlowrootAgentVersion() {
glowrootAgentVersion_ = getDefaultInstance().getGlowrootAgentVersion();
onChanged();
return this;
}
/**
* optional string glowroot_agent_version = 15;
*/
public Builder setGlowrootAgentVersionBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
glowrootAgentVersion_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.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.JavaInfo)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.JavaInfo)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.JavaInfo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public JavaInfo 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 JavaInfo(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.JavaInfo getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GaugeValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.GaugeValue)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string gauge_name = 1;
*/
java.lang.String getGaugeName();
/**
* optional string gauge_name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getGaugeNameBytes();
/**
* optional int64 capture_time = 2;
*/
long getCaptureTime();
/**
* optional double value = 3;
*
*
* for counter gauges, value is the "average delta per second" of the counter, and weight is the
* number of nanoseconds over which this average delta was calculated
* for non-counter gauges, value is just the gauge value, and weight is 1
*
*/
double getValue();
/**
* optional int64 weight = 4;
*/
long getWeight();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.GaugeValue}
*/
public static final class GaugeValue extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.GaugeValue)
GaugeValueOrBuilder {
// Use GaugeValue.newBuilder() to construct.
private GaugeValue(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private GaugeValue() {
gaugeName_ = "";
captureTime_ = 0L;
value_ = 0D;
weight_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private GaugeValue(
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: {
java.lang.String s = input.readStringRequireUtf8();
gaugeName_ = s;
break;
}
case 16: {
captureTime_ = input.readInt64();
break;
}
case 25: {
value_ = input.readDouble();
break;
}
case 32: {
weight_ = input.readInt64();
break;
}
}
}
} catch (org.glowroot.agent.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_GaugeValue_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_GaugeValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder.class);
}
public static final int GAUGE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object gaugeName_;
/**
* optional string gauge_name = 1;
*/
public java.lang.String getGaugeName() {
java.lang.Object ref = gaugeName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
gaugeName_ = s;
return s;
}
}
/**
* optional string gauge_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getGaugeNameBytes() {
java.lang.Object ref = gaugeName_;
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);
gaugeName_ = 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 VALUE_FIELD_NUMBER = 3;
private double value_;
/**
* optional double value = 3;
*
*
* for counter gauges, value is the "average delta per second" of the counter, and weight is the
* number of nanoseconds over which this average delta was calculated
* for non-counter gauges, value is just the gauge value, and weight is 1
*
*/
public double getValue() {
return value_;
}
public static final int WEIGHT_FIELD_NUMBER = 4;
private long weight_;
/**
* optional int64 weight = 4;
*/
public long getWeight() {
return weight_;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getGaugeNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, gaugeName_);
}
if (captureTime_ != 0L) {
output.writeInt64(2, captureTime_);
}
if (value_ != 0D) {
output.writeDouble(3, value_);
}
if (weight_ != 0L) {
output.writeInt64(4, weight_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getGaugeNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, gaugeName_);
}
if (captureTime_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(2, captureTime_);
}
if (value_ != 0D) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(3, value_);
}
if (weight_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(4, weight_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue 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.GaugeValue 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.GaugeValue parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue 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.GaugeValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue 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.GaugeValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue 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.GaugeValue 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.GaugeValue 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.GaugeValue prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.GaugeValue}
*/
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.GaugeValue)
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueOrBuilder {
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_GaugeValue_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_GaugeValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.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();
gaugeName_ = "";
captureTime_ = 0L;
value_ = 0D;
weight_ = 0L;
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_GaugeValue_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue(this);
result.gaugeName_ = gaugeName_;
result.captureTime_ = captureTime_;
result.value_ = value_;
result.weight_ = weight_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue.getDefaultInstance()) return this;
if (!other.getGaugeName().isEmpty()) {
gaugeName_ = other.gaugeName_;
onChanged();
}
if (other.getCaptureTime() != 0L) {
setCaptureTime(other.getCaptureTime());
}
if (other.getValue() != 0D) {
setValue(other.getValue());
}
if (other.getWeight() != 0L) {
setWeight(other.getWeight());
}
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.GaugeValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object gaugeName_ = "";
/**
* optional string gauge_name = 1;
*/
public java.lang.String getGaugeName() {
java.lang.Object ref = gaugeName_;
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();
gaugeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string gauge_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getGaugeNameBytes() {
java.lang.Object ref = gaugeName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
gaugeName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string gauge_name = 1;
*/
public Builder setGaugeName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
gaugeName_ = value;
onChanged();
return this;
}
/**
* optional string gauge_name = 1;
*/
public Builder clearGaugeName() {
gaugeName_ = getDefaultInstance().getGaugeName();
onChanged();
return this;
}
/**
* optional string gauge_name = 1;
*/
public Builder setGaugeNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
gaugeName_ = 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 double value_ ;
/**
* optional double value = 3;
*
*
* for counter gauges, value is the "average delta per second" of the counter, and weight is the
* number of nanoseconds over which this average delta was calculated
* for non-counter gauges, value is just the gauge value, and weight is 1
*
*/
public double getValue() {
return value_;
}
/**
* optional double value = 3;
*
*
* for counter gauges, value is the "average delta per second" of the counter, and weight is the
* number of nanoseconds over which this average delta was calculated
* for non-counter gauges, value is just the gauge value, and weight is 1
*
*/
public Builder setValue(double value) {
value_ = value;
onChanged();
return this;
}
/**
* optional double value = 3;
*
*
* for counter gauges, value is the "average delta per second" of the counter, and weight is the
* number of nanoseconds over which this average delta was calculated
* for non-counter gauges, value is just the gauge value, and weight is 1
*
*/
public Builder clearValue() {
value_ = 0D;
onChanged();
return this;
}
private long weight_ ;
/**
* optional int64 weight = 4;
*/
public long getWeight() {
return weight_;
}
/**
* optional int64 weight = 4;
*/
public Builder setWeight(long value) {
weight_ = value;
onChanged();
return this;
}
/**
* optional int64 weight = 4;
*/
public Builder clearWeight() {
weight_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.GaugeValue)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.GaugeValue)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public GaugeValue 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 GaugeValue(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.GaugeValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LogEventOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.LogEvent)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional int64 timestamp = 1;
*/
long getTimestamp();
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
int getLevelValue();
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level getLevel();
/**
* optional string logger_name = 3;
*/
java.lang.String getLoggerName();
/**
* optional string logger_name = 3;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getLoggerNameBytes();
/**
* optional string message = 4;
*/
java.lang.String getMessage();
/**
* optional string message = 4;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getMessageBytes();
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
boolean hasThrowable();
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
org.glowroot.wire.api.model.Proto.Throwable getThrowable();
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.LogEvent}
*/
public static final class LogEvent extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.LogEvent)
LogEventOrBuilder {
// Use LogEvent.newBuilder() to construct.
private LogEvent(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private LogEvent() {
timestamp_ = 0L;
level_ = 0;
loggerName_ = "";
message_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private LogEvent(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 8: {
timestamp_ = input.readInt64();
break;
}
case 16: {
int rawValue = input.readEnum();
level_ = rawValue;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
loggerName_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
message_ = s;
break;
}
case 42: {
org.glowroot.wire.api.model.Proto.Throwable.Builder subBuilder = null;
if (throwable_ != null) {
subBuilder = throwable_.toBuilder();
}
throwable_ = input.readMessage(org.glowroot.wire.api.model.Proto.Throwable.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(throwable_);
throwable_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (org.glowroot.agent.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_LogEvent_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_LogEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder.class);
}
/**
* Protobuf enum {@code org_glowroot_wire_api_model.LogEvent.Level}
*/
public enum Level
implements org.glowroot.agent.shaded.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0, 0),
/**
* TRACE = 1;
*/
TRACE(1, 1),
/**
* DEBUG = 2;
*/
DEBUG(2, 2),
/**
* INFO = 3;
*/
INFO(3, 3),
/**
* WARN = 4;
*/
WARN(4, 4),
/**
* ERROR = 5;
*/
ERROR(5, 5),
UNRECOGNIZED(-1, -1),
;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* TRACE = 1;
*/
public static final int TRACE_VALUE = 1;
/**
* DEBUG = 2;
*/
public static final int DEBUG_VALUE = 2;
/**
* INFO = 3;
*/
public static final int INFO_VALUE = 3;
/**
* WARN = 4;
*/
public static final int WARN_VALUE = 4;
/**
* ERROR = 5;
*/
public static final int ERROR_VALUE = 5;
public final int getNumber() {
if (index == -1) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
public static Level valueOf(int value) {
switch (value) {
case 0: return NONE;
case 1: return TRACE;
case 2: return DEBUG;
case 3: return INFO;
case 4: return WARN;
case 5: return ERROR;
default: return null;
}
}
public static org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap<
Level> internalValueMap =
new org.glowroot.agent.shaded.google.protobuf.Internal.EnumLiteMap() {
public Level findValueByNumber(int number) {
return Level.valueOf(number);
}
};
public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.getDescriptor().getEnumTypes().get(0);
}
private static final Level[] VALUES = values();
public static Level valueOf(
org.glowroot.agent.shaded.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Level(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:org_glowroot_wire_api_model.LogEvent.Level)
}
public static final int TIMESTAMP_FIELD_NUMBER = 1;
private long timestamp_;
/**
* optional int64 timestamp = 1;
*/
public long getTimestamp() {
return timestamp_;
}
public static final int LEVEL_FIELD_NUMBER = 2;
private int level_;
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public int getLevelValue() {
return level_;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level getLevel() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level result = org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.valueOf(level_);
return result == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.UNRECOGNIZED : result;
}
public static final int LOGGER_NAME_FIELD_NUMBER = 3;
private volatile java.lang.Object loggerName_;
/**
* optional string logger_name = 3;
*/
public java.lang.String getLoggerName() {
java.lang.Object ref = loggerName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
loggerName_ = s;
return s;
}
}
/**
* optional string logger_name = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getLoggerNameBytes() {
java.lang.Object ref = loggerName_;
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);
loggerName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 4;
private volatile java.lang.Object message_;
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
}
}
/**
* optional string message = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int THROWABLE_FIELD_NUMBER = 5;
private org.glowroot.wire.api.model.Proto.Throwable throwable_;
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public boolean hasThrowable() {
return throwable_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public org.glowroot.wire.api.model.Proto.Throwable getThrowable() {
return throwable_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder() {
return getThrowable();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (timestamp_ != 0L) {
output.writeInt64(1, timestamp_);
}
if (level_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.NONE.getNumber()) {
output.writeEnum(2, level_);
}
if (!getLoggerNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 3, loggerName_);
}
if (!getMessageBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 4, message_);
}
if (throwable_ != null) {
output.writeMessage(5, getThrowable());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (timestamp_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(1, timestamp_);
}
if (level_ != org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.NONE.getNumber()) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeEnumSize(2, level_);
}
if (!getLoggerNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(3, loggerName_);
}
if (!getMessageBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(4, message_);
}
if (throwable_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(5, getThrowable());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent 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.LogEvent 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.LogEvent parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent 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.LogEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent 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.LogEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent 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.LogEvent 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.LogEvent 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.LogEvent prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.LogEvent}
*/
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.LogEvent)
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEventOrBuilder {
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_LogEvent_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_LogEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.class, org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Builder.class);
}
// Construct using org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.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();
timestamp_ = 0L;
level_ = 0;
loggerName_ = "";
message_ = "";
if (throwableBuilder_ == null) {
throwable_ = null;
} else {
throwable_ = null;
throwableBuilder_ = 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_LogEvent_descriptor;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent getDefaultInstanceForType() {
return org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.getDefaultInstance();
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent build() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent buildPartial() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent result = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent(this);
result.timestamp_ = timestamp_;
result.level_ = level_;
result.loggerName_ = loggerName_;
result.message_ = message_;
if (throwableBuilder_ == null) {
result.throwable_ = throwable_;
} else {
result.throwable_ = throwableBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent) {
return mergeFrom((org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent other) {
if (other == org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.getDefaultInstance()) return this;
if (other.getTimestamp() != 0L) {
setTimestamp(other.getTimestamp());
}
if (other.level_ != 0) {
setLevelValue(other.getLevelValue());
}
if (!other.getLoggerName().isEmpty()) {
loggerName_ = other.loggerName_;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
onChanged();
}
if (other.hasThrowable()) {
mergeThrowable(other.getThrowable());
}
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.LogEvent parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long timestamp_ ;
/**
* optional int64 timestamp = 1;
*/
public long getTimestamp() {
return timestamp_;
}
/**
* optional int64 timestamp = 1;
*/
public Builder setTimestamp(long value) {
timestamp_ = value;
onChanged();
return this;
}
/**
* optional int64 timestamp = 1;
*/
public Builder clearTimestamp() {
timestamp_ = 0L;
onChanged();
return this;
}
private int level_ = 0;
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public int getLevelValue() {
return level_;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public Builder setLevelValue(int value) {
level_ = value;
onChanged();
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level getLevel() {
org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level result = org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.valueOf(level_);
return result == null ? org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level.UNRECOGNIZED : result;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public Builder setLevel(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent.Level value) {
if (value == null) {
throw new NullPointerException();
}
level_ = value.getNumber();
onChanged();
return this;
}
/**
* optional .org_glowroot_wire_api_model.LogEvent.Level level = 2;
*/
public Builder clearLevel() {
level_ = 0;
onChanged();
return this;
}
private java.lang.Object loggerName_ = "";
/**
* optional string logger_name = 3;
*/
public java.lang.String getLoggerName() {
java.lang.Object ref = loggerName_;
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();
loggerName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string logger_name = 3;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getLoggerNameBytes() {
java.lang.Object ref = loggerName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
loggerName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string logger_name = 3;
*/
public Builder setLoggerName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
loggerName_ = value;
onChanged();
return this;
}
/**
* optional string logger_name = 3;
*/
public Builder clearLoggerName() {
loggerName_ = getDefaultInstance().getLoggerName();
onChanged();
return this;
}
/**
* optional string logger_name = 3;
*/
public Builder setLoggerNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
loggerName_ = value;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* optional string message = 4;
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string message = 4;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string message = 4;
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
onChanged();
return this;
}
/**
* optional string message = 4;
*/
public Builder setMessageBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
message_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.Proto.Throwable throwable_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder> throwableBuilder_;
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public boolean hasThrowable() {
return throwableBuilder_ != null || throwable_ != null;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public org.glowroot.wire.api.model.Proto.Throwable getThrowable() {
if (throwableBuilder_ == null) {
return throwable_ == null ? org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_;
} else {
return throwableBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public Builder setThrowable(org.glowroot.wire.api.model.Proto.Throwable value) {
if (throwableBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
throwable_ = value;
onChanged();
} else {
throwableBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public Builder setThrowable(
org.glowroot.wire.api.model.Proto.Throwable.Builder builderForValue) {
if (throwableBuilder_ == null) {
throwable_ = builderForValue.build();
onChanged();
} else {
throwableBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public Builder mergeThrowable(org.glowroot.wire.api.model.Proto.Throwable value) {
if (throwableBuilder_ == null) {
if (throwable_ != null) {
throwable_ =
org.glowroot.wire.api.model.Proto.Throwable.newBuilder(throwable_).mergeFrom(value).buildPartial();
} else {
throwable_ = value;
}
onChanged();
} else {
throwableBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public Builder clearThrowable() {
if (throwableBuilder_ == null) {
throwable_ = null;
onChanged();
} else {
throwable_ = null;
throwableBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public org.glowroot.wire.api.model.Proto.Throwable.Builder getThrowableBuilder() {
onChanged();
return getThrowableFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
public org.glowroot.wire.api.model.Proto.ThrowableOrBuilder getThrowableOrBuilder() {
if (throwableBuilder_ != null) {
return throwableBuilder_.getMessageOrBuilder();
} else {
return throwable_ == null ?
org.glowroot.wire.api.model.Proto.Throwable.getDefaultInstance() : throwable_;
}
}
/**
* optional .org_glowroot_wire_api_model.Throwable throwable = 5;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder>
getThrowableFieldBuilder() {
if (throwableBuilder_ == null) {
throwableBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.Proto.Throwable, org.glowroot.wire.api.model.Proto.Throwable.Builder, org.glowroot.wire.api.model.Proto.ThrowableOrBuilder>(
getThrowable(),
getParentForChildren(),
isClean());
throwable_ = null;
}
return throwableBuilder_;
}
public final Builder setUnknownFields(
final org.glowroot.agent.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.LogEvent)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.LogEvent)
private static final org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent();
}
public static org.glowroot.wire.api.model.CollectorServiceOuterClass.LogEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public LogEvent 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 LogEvent(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.LogEvent 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_InitMessage_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_InitResponse_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_InitResponse_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_SystemInfo_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_SystemInfo_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_HostInfo_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_HostInfo_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_ProcessInfo_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_ProcessInfo_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_JavaInfo_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_JavaInfo_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_GaugeValue_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_GaugeValue_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_LogEvent_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_LogEvent_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\021AgentConfig.proto\032\017Aggreg" +
"ate.proto\032\013Trace.proto\032\014Common.proto\"\235\001\n" +
"\013InitMessage\022\020\n\010agent_id\030\001 \001(\t\022<\n\013system" +
"_info\030\002 \001(\0132\'.org_glowroot_wire_api_mode" +
"l.SystemInfo\022>\n\014agent_config\030\003 \001(\0132(.org" +
"_glowroot_wire_api_model.AgentConfig\"N\n\014" +
"InitResponse\022>\n\014agent_config\030\001 \001(\0132(.org" +
"_glowroot_wire_api_model.AgentConfig\"\205\001\n" +
"\020AggregateMessage\022\020\n\010agent_id\030\001 \001(\t\022\024\n\014c",
"apture_time\030\002 \001(\003\022I\n\022aggregates_by_type\030" +
"\003 \003(\0132-.org_glowroot_wire_api_model.Aggr" +
"egatesByType\"d\n\021GaugeValueMessage\022\020\n\010age" +
"nt_id\030\001 \001(\t\022=\n\014gauge_values\030\002 \003(\0132\'.org_" +
"glowroot_wire_api_model.GaugeValue\"S\n\014Tr" +
"aceMessage\022\020\n\010agent_id\030\001 \001(\t\0221\n\005trace\030\002 " +
"\001(\0132\".org_glowroot_wire_api_model.Trace\"" +
"X\n\nLogMessage\022\020\n\010agent_id\030\001 \001(\t\0228\n\tlog_e" +
"vent\030\002 \001(\0132%.org_glowroot_wire_api_model" +
".LogEvent\"\300\001\n\nSystemInfo\0228\n\thost_info\030\001 ",
"\001(\0132%.org_glowroot_wire_api_model.HostIn" +
"fo\022>\n\014process_info\030\002 \001(\0132(.org_glowroot_" +
"wire_api_model.ProcessInfo\0228\n\tjava_info\030" +
"\003 \001(\0132%.org_glowroot_wire_api_model.Java" +
"Info\"\261\001\n\010HostInfo\022\021\n\thost_name\030\001 \001(\t\022\034\n\024" +
"available_processors\030\002 \001(\005\022O\n\033total_phys" +
"ical_memory_bytes\030\003 \001(\0132*.org_glowroot_w" +
"ire_api_model.OptionalInt64\022\017\n\007os_name\030\004" +
" \001(\t\022\022\n\nos_version\030\005 \001(\t\"a\n\013ProcessInfo\022" +
">\n\nprocess_id\030\001 \001(\0132*.org_glowroot_wire_",
"api_model.OptionalInt64\022\022\n\nstart_time\030\002 " +
"\001(\003\"s\n\010JavaInfo\022\017\n\007version\030\001 \001(\t\022\n\n\002vm\030\002" +
" \001(\t\022\013\n\003arg\030\003 \003(\t\022\035\n\025heap_dump_default_d" +
"ir\030\004 \001(\t\022\036\n\026glowroot_agent_version\030\017 \001(\t" +
"\"U\n\nGaugeValue\022\022\n\ngauge_name\030\001 \001(\t\022\024\n\014ca" +
"pture_time\030\002 \001(\003\022\r\n\005value\030\003 \001(\001\022\016\n\006weigh" +
"t\030\004 \001(\003\"\202\002\n\010LogEvent\022\021\n\ttimestamp\030\001 \001(\003\022" +
":\n\005level\030\002 \001(\0162+.org_glowroot_wire_api_m" +
"odel.LogEvent.Level\022\023\n\013logger_name\030\003 \001(\t" +
"\022\017\n\007message\030\004 \001(\t\0229\n\tthrowable\030\005 \001(\0132&.o",
"rg_glowroot_wire_api_model.Throwable\"F\n\005" +
"Level\022\010\n\004NONE\020\000\022\t\n\005TRACE\020\001\022\t\n\005DEBUG\020\002\022\010\n" +
"\004INFO\020\003\022\010\n\004WARN\020\004\022\t\n\005ERROR\020\005\"\016\n\014EmptyMes" +
"sage2\227\004\n\020CollectorService\022b\n\013collectInit" +
"\022(.org_glowroot_wire_api_model.InitMessa" +
"ge\032).org_glowroot_wire_api_model.InitRes" +
"ponse\022m\n\021collectAggregates\022-.org_glowroo" +
"t_wire_api_model.AggregateMessage\032).org_" +
"glowroot_wire_api_model.EmptyMessage\022o\n\022" +
"collectGaugeValues\022..org_glowroot_wire_a",
"pi_model.GaugeValueMessage\032).org_glowroo" +
"t_wire_api_model.EmptyMessage\022d\n\014collect" +
"Trace\022).org_glowroot_wire_api_model.Trac" +
"eMessage\032).org_glowroot_wire_api_model.E" +
"mptyMessage\022Y\n\003log\022\'.org_glowroot_wire_a" +
"pi_model.LogMessage\032).org_glowroot_wire_" +
"api_model.EmptyMessageB\035\n\033org.glowroot.w" +
"ire.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.AgentConfigOuterClass.getDescriptor(),
org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor(),
org.glowroot.wire.api.model.TraceOuterClass.getDescriptor(),
org.glowroot.wire.api.model.Proto.getDescriptor(),
}, assigner);
internal_static_org_glowroot_wire_api_model_InitMessage_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_InitMessage_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_InitMessage_descriptor,
new java.lang.String[] { "AgentId", "SystemInfo", "AgentConfig", });
internal_static_org_glowroot_wire_api_model_InitResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_glowroot_wire_api_model_InitResponse_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_InitResponse_descriptor,
new java.lang.String[] { "AgentConfig", });
internal_static_org_glowroot_wire_api_model_AggregateMessage_descriptor =
getDescriptor().getMessageTypes().get(2);
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[] { "AgentId", "CaptureTime", "AggregatesByType", });
internal_static_org_glowroot_wire_api_model_GaugeValueMessage_descriptor =
getDescriptor().getMessageTypes().get(3);
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[] { "AgentId", "GaugeValues", });
internal_static_org_glowroot_wire_api_model_TraceMessage_descriptor =
getDescriptor().getMessageTypes().get(4);
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[] { "AgentId", "Trace", });
internal_static_org_glowroot_wire_api_model_LogMessage_descriptor =
getDescriptor().getMessageTypes().get(5);
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[] { "AgentId", "LogEvent", });
internal_static_org_glowroot_wire_api_model_SystemInfo_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_org_glowroot_wire_api_model_SystemInfo_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_SystemInfo_descriptor,
new java.lang.String[] { "HostInfo", "ProcessInfo", "JavaInfo", });
internal_static_org_glowroot_wire_api_model_HostInfo_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_org_glowroot_wire_api_model_HostInfo_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_HostInfo_descriptor,
new java.lang.String[] { "HostName", "AvailableProcessors", "TotalPhysicalMemoryBytes", "OsName", "OsVersion", });
internal_static_org_glowroot_wire_api_model_ProcessInfo_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_org_glowroot_wire_api_model_ProcessInfo_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_ProcessInfo_descriptor,
new java.lang.String[] { "ProcessId", "StartTime", });
internal_static_org_glowroot_wire_api_model_JavaInfo_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_org_glowroot_wire_api_model_JavaInfo_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_JavaInfo_descriptor,
new java.lang.String[] { "Version", "Vm", "Arg", "HeapDumpDefaultDir", "GlowrootAgentVersion", });
internal_static_org_glowroot_wire_api_model_GaugeValue_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_org_glowroot_wire_api_model_GaugeValue_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_GaugeValue_descriptor,
new java.lang.String[] { "GaugeName", "CaptureTime", "Value", "Weight", });
internal_static_org_glowroot_wire_api_model_LogEvent_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_org_glowroot_wire_api_model_LogEvent_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_LogEvent_descriptor,
new java.lang.String[] { "Timestamp", "Level", "LoggerName", "Message", "Throwable", });
internal_static_org_glowroot_wire_api_model_EmptyMessage_descriptor =
getDescriptor().getMessageTypes().get(12);
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.AgentConfigOuterClass.getDescriptor();
org.glowroot.wire.api.model.AggregateOuterClass.getDescriptor();
org.glowroot.wire.api.model.TraceOuterClass.getDescriptor();
org.glowroot.wire.api.model.Proto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy