
org.glowroot.wire.api.model.DownstreamServiceOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DownstreamService.proto
package org.glowroot.wire.api.model;
public final class DownstreamServiceOuterClass {
private DownstreamServiceOuterClass() {}
public static void registerAllExtensions(
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry registry) {
}
public interface ServerRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.ServerRequest)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional int64 request_id = 1;
*/
long getRequestId();
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest getMbeanTreeRequest();
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder getMbeanTreeRequestOrBuilder();
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.MessageCase getMessageCase();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ServerRequest}
*/
public static final class ServerRequest extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.ServerRequest)
ServerRequestOrBuilder {
// Use ServerRequest.newBuilder() to construct.
private ServerRequest(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ServerRequest() {
requestId_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ServerRequest(
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: {
requestId_ = input.readInt64();
break;
}
case 802: {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder subBuilder = null;
if (messageCase_ == 100) {
subBuilder = ((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_).toBuilder();
}
message_ =
input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_);
message_ = subBuilder.buildPartial();
}
messageCase_ = 100;
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.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ServerRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.Builder.class);
}
private int messageCase_ = 0;
private java.lang.Object message_;
public enum MessageCase
implements org.glowroot.agent.shaded.google.protobuf.Internal.EnumLite {
MBEAN_TREE_REQUEST(100),
MESSAGE_NOT_SET(0);
private int value = 0;
private MessageCase(int value) {
this.value = value;
}
public static MessageCase valueOf(int value) {
switch (value) {
case 100: return MBEAN_TREE_REQUEST;
case 0: return MESSAGE_NOT_SET;
default: throw new java.lang.IllegalArgumentException(
"Value is undefined for this oneof enum.");
}
}
public int getNumber() {
return this.value;
}
};
public MessageCase
getMessageCase() {
return MessageCase.valueOf(
messageCase_);
}
public static final int REQUEST_ID_FIELD_NUMBER = 1;
private long requestId_;
/**
* optional int64 request_id = 1;
*/
public long getRequestId() {
return requestId_;
}
public static final int MBEAN_TREE_REQUEST_FIELD_NUMBER = 100;
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest getMbeanTreeRequest() {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder getMbeanTreeRequestOrBuilder() {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (requestId_ != 0L) {
output.writeInt64(1, requestId_);
}
if (messageCase_ == 100) {
output.writeMessage(100, (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (requestId_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(1, requestId_);
}
if (messageCase_ == 100) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(100, (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest 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.DownstreamServiceOuterClass.ServerRequest 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.ServerRequest}
*/
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.ServerRequest)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequestOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ServerRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.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();
requestId_ = 0L;
messageCase_ = 0;
message_ = null;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest(this);
result.requestId_ = requestId_;
if (messageCase_ == 100) {
if (mbeanTreeRequestBuilder_ == null) {
result.message_ = message_;
} else {
result.message_ = mbeanTreeRequestBuilder_.build();
}
}
result.messageCase_ = messageCase_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest.getDefaultInstance()) return this;
if (other.getRequestId() != 0L) {
setRequestId(other.getRequestId());
}
switch (other.getMessageCase()) {
case MBEAN_TREE_REQUEST: {
mergeMbeanTreeRequest(other.getMbeanTreeRequest());
break;
}
case MESSAGE_NOT_SET: {
break;
}
}
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.DownstreamServiceOuterClass.ServerRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int messageCase_ = 0;
private java.lang.Object message_;
public MessageCase
getMessageCase() {
return MessageCase.valueOf(
messageCase_);
}
public Builder clearMessage() {
messageCase_ = 0;
message_ = null;
onChanged();
return this;
}
private long requestId_ ;
/**
* optional int64 request_id = 1;
*/
public long getRequestId() {
return requestId_;
}
/**
* optional int64 request_id = 1;
*/
public Builder setRequestId(long value) {
requestId_ = value;
onChanged();
return this;
}
/**
* optional int64 request_id = 1;
*/
public Builder clearRequestId() {
requestId_ = 0L;
onChanged();
return this;
}
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder> mbeanTreeRequestBuilder_;
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest getMbeanTreeRequest() {
if (mbeanTreeRequestBuilder_ == null) {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
} else {
if (messageCase_ == 100) {
return mbeanTreeRequestBuilder_.getMessage();
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public Builder setMbeanTreeRequest(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest value) {
if (mbeanTreeRequestBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
} else {
mbeanTreeRequestBuilder_.setMessage(value);
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public Builder setMbeanTreeRequest(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder builderForValue) {
if (mbeanTreeRequestBuilder_ == null) {
message_ = builderForValue.build();
onChanged();
} else {
mbeanTreeRequestBuilder_.setMessage(builderForValue.build());
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public Builder mergeMbeanTreeRequest(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest value) {
if (mbeanTreeRequestBuilder_ == null) {
if (messageCase_ == 100 &&
message_ != org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance()) {
message_ = org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.newBuilder((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
onChanged();
} else {
if (messageCase_ == 100) {
mbeanTreeRequestBuilder_.mergeFrom(value);
}
mbeanTreeRequestBuilder_.setMessage(value);
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public Builder clearMbeanTreeRequest() {
if (mbeanTreeRequestBuilder_ == null) {
if (messageCase_ == 100) {
messageCase_ = 0;
message_ = null;
onChanged();
}
} else {
if (messageCase_ == 100) {
messageCase_ = 0;
message_ = null;
}
mbeanTreeRequestBuilder_.clear();
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder getMbeanTreeRequestBuilder() {
return getMbeanTreeRequestFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder getMbeanTreeRequestOrBuilder() {
if ((messageCase_ == 100) && (mbeanTreeRequestBuilder_ != null)) {
return mbeanTreeRequestBuilder_.getMessageOrBuilder();
} else {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeRequest mbean_tree_request = 100;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder>
getMbeanTreeRequestFieldBuilder() {
if (mbeanTreeRequestBuilder_ == null) {
if (!(messageCase_ == 100)) {
message_ = org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
mbeanTreeRequestBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder>(
(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) message_,
getParentForChildren(),
isClean());
message_ = null;
}
messageCase_ = 100;
onChanged();;
return mbeanTreeRequestBuilder_;
}
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.ServerRequest)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.ServerRequest)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ServerRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ServerRequest 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 ServerRequest(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.DownstreamServiceOuterClass.ServerRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ClientResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.ClientResponse)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional int64 request_id = 1;
*/
long getRequestId();
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse getMbeanTreeResponse();
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder getMbeanTreeResponseOrBuilder();
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.MessageCase getMessageCase();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.ClientResponse}
*/
public static final class ClientResponse extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.ClientResponse)
ClientResponseOrBuilder {
// Use ClientResponse.newBuilder() to construct.
private ClientResponse(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private ClientResponse() {
requestId_ = 0L;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private ClientResponse(
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: {
requestId_ = input.readInt64();
break;
}
case 802: {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder subBuilder = null;
if (messageCase_ == 100) {
subBuilder = ((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_).toBuilder();
}
message_ =
input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_);
message_ = subBuilder.buildPartial();
}
messageCase_ = 100;
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.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ClientResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.Builder.class);
}
private int messageCase_ = 0;
private java.lang.Object message_;
public enum MessageCase
implements org.glowroot.agent.shaded.google.protobuf.Internal.EnumLite {
MBEAN_TREE_RESPONSE(100),
MESSAGE_NOT_SET(0);
private int value = 0;
private MessageCase(int value) {
this.value = value;
}
public static MessageCase valueOf(int value) {
switch (value) {
case 100: return MBEAN_TREE_RESPONSE;
case 0: return MESSAGE_NOT_SET;
default: throw new java.lang.IllegalArgumentException(
"Value is undefined for this oneof enum.");
}
}
public int getNumber() {
return this.value;
}
};
public MessageCase
getMessageCase() {
return MessageCase.valueOf(
messageCase_);
}
public static final int REQUEST_ID_FIELD_NUMBER = 1;
private long requestId_;
/**
* optional int64 request_id = 1;
*/
public long getRequestId() {
return requestId_;
}
public static final int MBEAN_TREE_RESPONSE_FIELD_NUMBER = 100;
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse getMbeanTreeResponse() {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder getMbeanTreeResponseOrBuilder() {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (requestId_ != 0L) {
output.writeInt64(1, requestId_);
}
if (messageCase_ == 100) {
output.writeMessage(100, (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_);
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (requestId_ != 0L) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(1, requestId_);
}
if (messageCase_ == 100) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(100, (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_);
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse 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.DownstreamServiceOuterClass.ClientResponse 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.ClientResponse}
*/
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.ClientResponse)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponseOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ClientResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.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();
requestId_ = 0L;
messageCase_ = 0;
message_ = null;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse(this);
result.requestId_ = requestId_;
if (messageCase_ == 100) {
if (mbeanTreeResponseBuilder_ == null) {
result.message_ = message_;
} else {
result.message_ = mbeanTreeResponseBuilder_.build();
}
}
result.messageCase_ = messageCase_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse.getDefaultInstance()) return this;
if (other.getRequestId() != 0L) {
setRequestId(other.getRequestId());
}
switch (other.getMessageCase()) {
case MBEAN_TREE_RESPONSE: {
mergeMbeanTreeResponse(other.getMbeanTreeResponse());
break;
}
case MESSAGE_NOT_SET: {
break;
}
}
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.DownstreamServiceOuterClass.ClientResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int messageCase_ = 0;
private java.lang.Object message_;
public MessageCase
getMessageCase() {
return MessageCase.valueOf(
messageCase_);
}
public Builder clearMessage() {
messageCase_ = 0;
message_ = null;
onChanged();
return this;
}
private long requestId_ ;
/**
* optional int64 request_id = 1;
*/
public long getRequestId() {
return requestId_;
}
/**
* optional int64 request_id = 1;
*/
public Builder setRequestId(long value) {
requestId_ = value;
onChanged();
return this;
}
/**
* optional int64 request_id = 1;
*/
public Builder clearRequestId() {
requestId_ = 0L;
onChanged();
return this;
}
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder> mbeanTreeResponseBuilder_;
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse getMbeanTreeResponse() {
if (mbeanTreeResponseBuilder_ == null) {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
} else {
if (messageCase_ == 100) {
return mbeanTreeResponseBuilder_.getMessage();
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public Builder setMbeanTreeResponse(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse value) {
if (mbeanTreeResponseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
message_ = value;
onChanged();
} else {
mbeanTreeResponseBuilder_.setMessage(value);
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public Builder setMbeanTreeResponse(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder builderForValue) {
if (mbeanTreeResponseBuilder_ == null) {
message_ = builderForValue.build();
onChanged();
} else {
mbeanTreeResponseBuilder_.setMessage(builderForValue.build());
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public Builder mergeMbeanTreeResponse(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse value) {
if (mbeanTreeResponseBuilder_ == null) {
if (messageCase_ == 100 &&
message_ != org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance()) {
message_ = org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.newBuilder((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_)
.mergeFrom(value).buildPartial();
} else {
message_ = value;
}
onChanged();
} else {
if (messageCase_ == 100) {
mbeanTreeResponseBuilder_.mergeFrom(value);
}
mbeanTreeResponseBuilder_.setMessage(value);
}
messageCase_ = 100;
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public Builder clearMbeanTreeResponse() {
if (mbeanTreeResponseBuilder_ == null) {
if (messageCase_ == 100) {
messageCase_ = 0;
message_ = null;
onChanged();
}
} else {
if (messageCase_ == 100) {
messageCase_ = 0;
message_ = null;
}
mbeanTreeResponseBuilder_.clear();
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder getMbeanTreeResponseBuilder() {
return getMbeanTreeResponseFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder getMbeanTreeResponseOrBuilder() {
if ((messageCase_ == 100) && (mbeanTreeResponseBuilder_ != null)) {
return mbeanTreeResponseBuilder_.getMessageOrBuilder();
} else {
if (messageCase_ == 100) {
return (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_;
}
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanTreeResponse mbean_tree_response = 100;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder>
getMbeanTreeResponseFieldBuilder() {
if (mbeanTreeResponseBuilder_ == null) {
if (!(messageCase_ == 100)) {
message_ = org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
mbeanTreeResponseBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder>(
(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) message_,
getParentForChildren(),
isClean());
message_ = null;
}
messageCase_ = 100;
onChanged();;
return mbeanTreeResponseBuilder_;
}
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.ClientResponse)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.ClientResponse)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.ClientResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public ClientResponse 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 ClientResponse(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.DownstreamServiceOuterClass.ClientResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MBeanTreeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.MBeanTreeRequest)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* repeated string include_attrs_for_object_name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getIncludeAttrsForObjectNameList();
/**
* repeated string include_attrs_for_object_name = 1;
*/
int getIncludeAttrsForObjectNameCount();
/**
* repeated string include_attrs_for_object_name = 1;
*/
java.lang.String getIncludeAttrsForObjectName(int index);
/**
* repeated string include_attrs_for_object_name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getIncludeAttrsForObjectNameBytes(int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.MBeanTreeRequest}
*/
public static final class MBeanTreeRequest extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.MBeanTreeRequest)
MBeanTreeRequestOrBuilder {
// Use MBeanTreeRequest.newBuilder() to construct.
private MBeanTreeRequest(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MBeanTreeRequest() {
includeAttrsForObjectName_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private MBeanTreeRequest(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
includeAttrsForObjectName_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
includeAttrsForObjectName_.add(s);
break;
}
}
}
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
throw new RuntimeException(e.setUnfinishedMessage(this));
} catch (java.io.IOException e) {
throw new RuntimeException(
new org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this));
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
includeAttrsForObjectName_ = includeAttrsForObjectName_.getUnmodifiableView();
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder.class);
}
public static final int INCLUDE_ATTRS_FOR_OBJECT_NAME_FIELD_NUMBER = 1;
private org.glowroot.agent.shaded.google.protobuf.LazyStringList includeAttrsForObjectName_;
/**
* repeated string include_attrs_for_object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getIncludeAttrsForObjectNameList() {
return includeAttrsForObjectName_;
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public int getIncludeAttrsForObjectNameCount() {
return includeAttrsForObjectName_.size();
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public java.lang.String getIncludeAttrsForObjectName(int index) {
return includeAttrsForObjectName_.get(index);
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getIncludeAttrsForObjectNameBytes(int index) {
return includeAttrsForObjectName_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < includeAttrsForObjectName_.size(); i++) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, includeAttrsForObjectName_.getRaw(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < includeAttrsForObjectName_.size(); i++) {
dataSize += computeStringSizeNoTag(includeAttrsForObjectName_.getRaw(i));
}
size += dataSize;
size += 1 * getIncludeAttrsForObjectNameList().size();
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest 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.DownstreamServiceOuterClass.MBeanTreeRequest 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.MBeanTreeRequest}
*/
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.MBeanTreeRequest)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequestOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.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();
includeAttrsForObjectName_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
includeAttrsForObjectName_ = includeAttrsForObjectName_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.includeAttrsForObjectName_ = includeAttrsForObjectName_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest.getDefaultInstance()) return this;
if (!other.includeAttrsForObjectName_.isEmpty()) {
if (includeAttrsForObjectName_.isEmpty()) {
includeAttrsForObjectName_ = other.includeAttrsForObjectName_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureIncludeAttrsForObjectNameIsMutable();
includeAttrsForObjectName_.addAll(other.includeAttrsForObjectName_);
}
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.DownstreamServiceOuterClass.MBeanTreeRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private org.glowroot.agent.shaded.google.protobuf.LazyStringList includeAttrsForObjectName_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureIncludeAttrsForObjectNameIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
includeAttrsForObjectName_ = new org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList(includeAttrsForObjectName_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ProtocolStringList
getIncludeAttrsForObjectNameList() {
return includeAttrsForObjectName_.getUnmodifiableView();
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public int getIncludeAttrsForObjectNameCount() {
return includeAttrsForObjectName_.size();
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public java.lang.String getIncludeAttrsForObjectName(int index) {
return includeAttrsForObjectName_.get(index);
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getIncludeAttrsForObjectNameBytes(int index) {
return includeAttrsForObjectName_.getByteString(index);
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public Builder setIncludeAttrsForObjectName(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureIncludeAttrsForObjectNameIsMutable();
includeAttrsForObjectName_.set(index, value);
onChanged();
return this;
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public Builder addIncludeAttrsForObjectName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureIncludeAttrsForObjectNameIsMutable();
includeAttrsForObjectName_.add(value);
onChanged();
return this;
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public Builder addAllIncludeAttrsForObjectName(
java.lang.Iterable values) {
ensureIncludeAttrsForObjectNameIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, includeAttrsForObjectName_);
onChanged();
return this;
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public Builder clearIncludeAttrsForObjectName() {
includeAttrsForObjectName_ = org.glowroot.agent.shaded.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string include_attrs_for_object_name = 1;
*/
public Builder addIncludeAttrsForObjectNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureIncludeAttrsForObjectNameIsMutable();
includeAttrsForObjectName_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
public final Builder mergeUnknownFields(
final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet unknownFields) {
return this;
}
// @@protoc_insertion_point(builder_scope:org_glowroot_wire_api_model.MBeanTreeRequest)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.MBeanTreeRequest)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public MBeanTreeRequest 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 MBeanTreeRequest(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.DownstreamServiceOuterClass.MBeanTreeRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MBeanTreeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.MBeanTreeResponse)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
java.util.List
getRootNodeList();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getRootNode(int index);
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
int getRootNodeCount();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getRootNodeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getRootNodeOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.MBeanTreeResponse}
*/
public static final class MBeanTreeResponse extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.MBeanTreeResponse)
MBeanTreeResponseOrBuilder {
// Use MBeanTreeResponse.newBuilder() to construct.
private MBeanTreeResponse(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MBeanTreeResponse() {
rootNode_ = 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 MBeanTreeResponse(
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: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
rootNode_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
rootNode_.add(input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.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_ & 0x00000001) == 0x00000001)) {
rootNode_ = java.util.Collections.unmodifiableList(rootNode_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder.class);
}
public static final int ROOT_NODE_FIELD_NUMBER = 1;
private java.util.List rootNode_;
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public java.util.List getRootNodeList() {
return rootNode_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getRootNodeOrBuilderList() {
return rootNode_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public int getRootNodeCount() {
return rootNode_.size();
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getRootNode(int index) {
return rootNode_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getRootNodeOrBuilder(
int index) {
return rootNode_.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 {
for (int i = 0; i < rootNode_.size(); i++) {
output.writeMessage(1, rootNode_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < rootNode_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(1, rootNode_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse 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.DownstreamServiceOuterClass.MBeanTreeResponse 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.MBeanTreeResponse}
*/
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.MBeanTreeResponse)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponseOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.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) {
getRootNodeFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (rootNodeBuilder_ == null) {
rootNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
rootNodeBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse(this);
int from_bitField0_ = bitField0_;
if (rootNodeBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
rootNode_ = java.util.Collections.unmodifiableList(rootNode_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.rootNode_ = rootNode_;
} else {
result.rootNode_ = rootNodeBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse.getDefaultInstance()) return this;
if (rootNodeBuilder_ == null) {
if (!other.rootNode_.isEmpty()) {
if (rootNode_.isEmpty()) {
rootNode_ = other.rootNode_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureRootNodeIsMutable();
rootNode_.addAll(other.rootNode_);
}
onChanged();
}
} else {
if (!other.rootNode_.isEmpty()) {
if (rootNodeBuilder_.isEmpty()) {
rootNodeBuilder_.dispose();
rootNodeBuilder_ = null;
rootNode_ = other.rootNode_;
bitField0_ = (bitField0_ & ~0x00000001);
rootNodeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getRootNodeFieldBuilder() : null;
} else {
rootNodeBuilder_.addAllMessages(other.rootNode_);
}
}
}
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.DownstreamServiceOuterClass.MBeanTreeResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List rootNode_ =
java.util.Collections.emptyList();
private void ensureRootNodeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
rootNode_ = new java.util.ArrayList(rootNode_);
bitField0_ |= 0x00000001;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder> rootNodeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public java.util.List getRootNodeList() {
if (rootNodeBuilder_ == null) {
return java.util.Collections.unmodifiableList(rootNode_);
} else {
return rootNodeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public int getRootNodeCount() {
if (rootNodeBuilder_ == null) {
return rootNode_.size();
} else {
return rootNodeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getRootNode(int index) {
if (rootNodeBuilder_ == null) {
return rootNode_.get(index);
} else {
return rootNodeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder setRootNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (rootNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootNodeIsMutable();
rootNode_.set(index, value);
onChanged();
} else {
rootNodeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder setRootNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (rootNodeBuilder_ == null) {
ensureRootNodeIsMutable();
rootNode_.set(index, builderForValue.build());
onChanged();
} else {
rootNodeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder addRootNode(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (rootNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootNodeIsMutable();
rootNode_.add(value);
onChanged();
} else {
rootNodeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder addRootNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (rootNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRootNodeIsMutable();
rootNode_.add(index, value);
onChanged();
} else {
rootNodeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder addRootNode(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (rootNodeBuilder_ == null) {
ensureRootNodeIsMutable();
rootNode_.add(builderForValue.build());
onChanged();
} else {
rootNodeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder addRootNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (rootNodeBuilder_ == null) {
ensureRootNodeIsMutable();
rootNode_.add(index, builderForValue.build());
onChanged();
} else {
rootNodeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder addAllRootNode(
java.lang.Iterable extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode> values) {
if (rootNodeBuilder_ == null) {
ensureRootNodeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rootNode_);
onChanged();
} else {
rootNodeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder clearRootNode() {
if (rootNodeBuilder_ == null) {
rootNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
rootNodeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public Builder removeRootNode(int index) {
if (rootNodeBuilder_ == null) {
ensureRootNodeIsMutable();
rootNode_.remove(index);
onChanged();
} else {
rootNodeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder getRootNodeBuilder(
int index) {
return getRootNodeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getRootNodeOrBuilder(
int index) {
if (rootNodeBuilder_ == null) {
return rootNode_.get(index); } else {
return rootNodeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getRootNodeOrBuilderList() {
if (rootNodeBuilder_ != null) {
return rootNodeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rootNode_);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder addRootNodeBuilder() {
return getRootNodeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder addRootNodeBuilder(
int index) {
return getRootNodeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode root_node = 1;
*/
public java.util.List
getRootNodeBuilderList() {
return getRootNodeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getRootNodeFieldBuilder() {
if (rootNodeBuilder_ == null) {
rootNodeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>(
rootNode_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
rootNode_ = null;
}
return rootNodeBuilder_;
}
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.MBeanTreeResponse)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.MBeanTreeResponse)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanTreeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public MBeanTreeResponse 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 MBeanTreeResponse(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.DownstreamServiceOuterClass.MBeanTreeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MBeanNodeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.MBeanNode)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string object_name = 1;
*/
java.lang.String getObjectName();
/**
* optional string object_name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getObjectNameBytes();
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
java.util.List
getAttributeList();
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute getAttribute(int index);
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
int getAttributeCount();
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder>
getAttributeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder getAttributeOrBuilder(
int index);
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
java.util.List
getChildNodeList();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getChildNode(int index);
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
int getChildNodeCount();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getChildNodeOrBuilderList();
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getChildNodeOrBuilder(
int index);
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.MBeanNode}
*/
public static final class MBeanNode extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.MBeanNode)
MBeanNodeOrBuilder {
// Use MBeanNode.newBuilder() to construct.
private MBeanNode(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MBeanNode() {
objectName_ = "";
attribute_ = java.util.Collections.emptyList();
childNode_ = 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 MBeanNode(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
objectName_ = s;
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
attribute_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
attribute_.add(input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
childNode_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
childNode_.add(input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.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)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
childNode_ = java.util.Collections.unmodifiableList(childNode_);
}
makeExtensionsImmutable();
}
}
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder.class);
}
private int bitField0_;
public static final int OBJECT_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object objectName_;
/**
* optional string object_name = 1;
*/
public java.lang.String getObjectName() {
java.lang.Object ref = objectName_;
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();
objectName_ = s;
return s;
}
}
/**
* optional string object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getObjectNameBytes() {
java.lang.Object ref = objectName_;
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);
objectName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int ATTRIBUTE_FIELD_NUMBER = 2;
private java.util.List attribute_;
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public java.util.List getAttributeList() {
return attribute_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder>
getAttributeOrBuilderList() {
return attribute_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public int getAttributeCount() {
return attribute_.size();
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute getAttribute(int index) {
return attribute_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder getAttributeOrBuilder(
int index) {
return attribute_.get(index);
}
public static final int CHILD_NODE_FIELD_NUMBER = 3;
private java.util.List childNode_;
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public java.util.List getChildNodeList() {
return childNode_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getChildNodeOrBuilderList() {
return childNode_;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public int getChildNodeCount() {
return childNode_.size();
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getChildNode(int index) {
return childNode_.get(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getChildNodeOrBuilder(
int index) {
return childNode_.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 (!getObjectNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, objectName_);
}
for (int i = 0; i < attribute_.size(); i++) {
output.writeMessage(2, attribute_.get(i));
}
for (int i = 0; i < childNode_.size(); i++) {
output.writeMessage(3, childNode_.get(i));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getObjectNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, objectName_);
}
for (int i = 0; i < attribute_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, attribute_.get(i));
}
for (int i = 0; i < childNode_.size(); i++) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(3, childNode_.get(i));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode 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.DownstreamServiceOuterClass.MBeanNode 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.MBeanNode}
*/
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.MBeanNode)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanNode_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.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) {
getAttributeFieldBuilder();
getChildNodeFieldBuilder();
}
}
public Builder clear() {
super.clear();
objectName_ = "";
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
attributeBuilder_.clear();
}
if (childNodeBuilder_ == null) {
childNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
childNodeBuilder_.clear();
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.objectName_ = objectName_;
if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.attribute_ = attribute_;
} else {
result.attribute_ = attributeBuilder_.build();
}
if (childNodeBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004)) {
childNode_ = java.util.Collections.unmodifiableList(childNode_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.childNode_ = childNode_;
} else {
result.childNode_ = childNodeBuilder_.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.DownstreamServiceOuterClass.MBeanNode) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance()) return this;
if (!other.getObjectName().isEmpty()) {
objectName_ = other.objectName_;
onChanged();
}
if (attributeBuilder_ == null) {
if (!other.attribute_.isEmpty()) {
if (attribute_.isEmpty()) {
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAttributeIsMutable();
attribute_.addAll(other.attribute_);
}
onChanged();
}
} else {
if (!other.attribute_.isEmpty()) {
if (attributeBuilder_.isEmpty()) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000002);
attributeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributeFieldBuilder() : null;
} else {
attributeBuilder_.addAllMessages(other.attribute_);
}
}
}
if (childNodeBuilder_ == null) {
if (!other.childNode_.isEmpty()) {
if (childNode_.isEmpty()) {
childNode_ = other.childNode_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureChildNodeIsMutable();
childNode_.addAll(other.childNode_);
}
onChanged();
}
} else {
if (!other.childNode_.isEmpty()) {
if (childNodeBuilder_.isEmpty()) {
childNodeBuilder_.dispose();
childNodeBuilder_ = null;
childNode_ = other.childNode_;
bitField0_ = (bitField0_ & ~0x00000004);
childNodeBuilder_ =
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getChildNodeFieldBuilder() : null;
} else {
childNodeBuilder_.addAllMessages(other.childNode_);
}
}
}
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.DownstreamServiceOuterClass.MBeanNode parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object objectName_ = "";
/**
* optional string object_name = 1;
*/
public java.lang.String getObjectName() {
java.lang.Object ref = objectName_;
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();
objectName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string object_name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getObjectNameBytes() {
java.lang.Object ref = objectName_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
objectName_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string object_name = 1;
*/
public Builder setObjectName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
objectName_ = value;
onChanged();
return this;
}
/**
* optional string object_name = 1;
*/
public Builder clearObjectName() {
objectName_ = getDefaultInstance().getObjectName();
onChanged();
return this;
}
/**
* optional string object_name = 1;
*/
public Builder setObjectNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
objectName_ = value;
onChanged();
return this;
}
private java.util.List attribute_ =
java.util.Collections.emptyList();
private void ensureAttributeIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
attribute_ = new java.util.ArrayList(attribute_);
bitField0_ |= 0x00000002;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder> attributeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public java.util.List getAttributeList() {
if (attributeBuilder_ == null) {
return java.util.Collections.unmodifiableList(attribute_);
} else {
return attributeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public int getAttributeCount() {
if (attributeBuilder_ == null) {
return attribute_.size();
} else {
return attributeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute getAttribute(int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index);
} else {
return attributeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder setAttribute(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.set(index, value);
onChanged();
} else {
attributeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder setAttribute(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.set(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder addAttribute(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(value);
onChanged();
} else {
attributeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder addAttribute(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(index, value);
onChanged();
} else {
attributeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder addAttribute(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder addAttribute(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder addAllAttribute(
java.lang.Iterable extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute> values) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, attribute_);
onChanged();
} else {
attributeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder clearAttribute() {
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
attributeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public Builder removeAttribute(int index) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.remove(index);
onChanged();
} else {
attributeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder getAttributeBuilder(
int index) {
return getAttributeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder getAttributeOrBuilder(
int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index); } else {
return attributeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder>
getAttributeOrBuilderList() {
if (attributeBuilder_ != null) {
return attributeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attribute_);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder addAttributeBuilder() {
return getAttributeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder addAttributeBuilder(
int index) {
return getAttributeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanAttribute attribute = 2;
*/
public java.util.List
getAttributeBuilderList() {
return getAttributeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder>
getAttributeFieldBuilder() {
if (attributeBuilder_ == null) {
attributeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder>(
attribute_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
attribute_ = null;
}
return attributeBuilder_;
}
private java.util.List childNode_ =
java.util.Collections.emptyList();
private void ensureChildNodeIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
childNode_ = new java.util.ArrayList(childNode_);
bitField0_ |= 0x00000004;
}
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder> childNodeBuilder_;
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public java.util.List getChildNodeList() {
if (childNodeBuilder_ == null) {
return java.util.Collections.unmodifiableList(childNode_);
} else {
return childNodeBuilder_.getMessageList();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public int getChildNodeCount() {
if (childNodeBuilder_ == null) {
return childNode_.size();
} else {
return childNodeBuilder_.getCount();
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getChildNode(int index) {
if (childNodeBuilder_ == null) {
return childNode_.get(index);
} else {
return childNodeBuilder_.getMessage(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder setChildNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (childNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildNodeIsMutable();
childNode_.set(index, value);
onChanged();
} else {
childNodeBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder setChildNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (childNodeBuilder_ == null) {
ensureChildNodeIsMutable();
childNode_.set(index, builderForValue.build());
onChanged();
} else {
childNodeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder addChildNode(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (childNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildNodeIsMutable();
childNode_.add(value);
onChanged();
} else {
childNodeBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder addChildNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode value) {
if (childNodeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildNodeIsMutable();
childNode_.add(index, value);
onChanged();
} else {
childNodeBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder addChildNode(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (childNodeBuilder_ == null) {
ensureChildNodeIsMutable();
childNode_.add(builderForValue.build());
onChanged();
} else {
childNodeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder addChildNode(
int index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder builderForValue) {
if (childNodeBuilder_ == null) {
ensureChildNodeIsMutable();
childNode_.add(index, builderForValue.build());
onChanged();
} else {
childNodeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder addAllChildNode(
java.lang.Iterable extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode> values) {
if (childNodeBuilder_ == null) {
ensureChildNodeIsMutable();
org.glowroot.agent.shaded.google.protobuf.AbstractMessageLite.Builder.addAll(
values, childNode_);
onChanged();
} else {
childNodeBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder clearChildNode() {
if (childNodeBuilder_ == null) {
childNode_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
childNodeBuilder_.clear();
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public Builder removeChildNode(int index) {
if (childNodeBuilder_ == null) {
ensureChildNodeIsMutable();
childNode_.remove(index);
onChanged();
} else {
childNodeBuilder_.remove(index);
}
return this;
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder getChildNodeBuilder(
int index) {
return getChildNodeFieldBuilder().getBuilder(index);
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder getChildNodeOrBuilder(
int index) {
if (childNodeBuilder_ == null) {
return childNode_.get(index); } else {
return childNodeBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public java.util.List extends org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getChildNodeOrBuilderList() {
if (childNodeBuilder_ != null) {
return childNodeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(childNode_);
}
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder addChildNodeBuilder() {
return getChildNodeFieldBuilder().addBuilder(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder addChildNodeBuilder(
int index) {
return getChildNodeFieldBuilder().addBuilder(
index, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.getDefaultInstance());
}
/**
* repeated .org_glowroot_wire_api_model.MBeanNode child_node = 3;
*/
public java.util.List
getChildNodeBuilderList() {
return getChildNodeFieldBuilder().getBuilderList();
}
private org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>
getChildNodeFieldBuilder() {
if (childNodeBuilder_ == null) {
childNodeBuilder_ = new org.glowroot.agent.shaded.google.protobuf.RepeatedFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNodeOrBuilder>(
childNode_,
((bitField0_ & 0x00000004) == 0x00000004),
getParentForChildren(),
isClean());
childNode_ = null;
}
return childNodeBuilder_;
}
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.MBeanNode)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.MBeanNode)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanNode getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public MBeanNode 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 MBeanNode(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.DownstreamServiceOuterClass.MBeanNode getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MBeanAttributeOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.MBeanAttribute)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes();
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
boolean hasValue();
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue getValue();
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder getValueOrBuilder();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.MBeanAttribute}
*/
public static final class MBeanAttribute extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.MBeanAttribute)
MBeanAttributeOrBuilder {
// Use MBeanAttribute.newBuilder() to construct.
private MBeanAttribute(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MBeanAttribute() {
name_ = "";
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private MBeanAttribute(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder subBuilder = null;
if (value_ != null) {
subBuilder = value_.toBuilder();
}
value_ = input.readMessage(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(value_);
value_ = 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.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.glowroot.agent.shaded.google.protobuf.ByteString bs =
(org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
* optional string name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
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);
name_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue value_;
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public boolean hasValue() {
return value_ != null;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue getValue() {
return value_ == null ? org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.getDefaultInstance() : value_;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder getValueOrBuilder() {
return getValue();
}
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 (!getNameBytes().isEmpty()) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
}
if (value_ != null) {
output.writeMessage(2, getValue());
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getNameBytes().isEmpty()) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
}
if (value_ != null) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeMessageSize(2, getValue());
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute 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.DownstreamServiceOuterClass.MBeanAttribute 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.MBeanAttribute}
*/
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.MBeanAttribute)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttributeOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanAttribute_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.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();
name_ = "";
if (valueBuilder_ == null) {
value_ = null;
} else {
value_ = null;
valueBuilder_ = null;
}
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute(this);
result.name_ = name_;
if (valueBuilder_ == null) {
result.value_ = value_;
} else {
result.value_ = valueBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
mergeValue(other.getValue());
}
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.DownstreamServiceOuterClass.MBeanAttribute parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
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();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue value_ = null;
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder> valueBuilder_;
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public boolean hasValue() {
return valueBuilder_ != null || value_ != null;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue getValue() {
if (valueBuilder_ == null) {
return value_ == null ? org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.getDefaultInstance() : value_;
} else {
return valueBuilder_.getMessage();
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public Builder setValue(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue value) {
if (valueBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
value_ = value;
onChanged();
} else {
valueBuilder_.setMessage(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public Builder setValue(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder builderForValue) {
if (valueBuilder_ == null) {
value_ = builderForValue.build();
onChanged();
} else {
valueBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public Builder mergeValue(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue value) {
if (valueBuilder_ == null) {
if (value_ != null) {
value_ =
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.newBuilder(value_).mergeFrom(value).buildPartial();
} else {
value_ = value;
}
onChanged();
} else {
valueBuilder_.mergeFrom(value);
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public Builder clearValue() {
if (valueBuilder_ == null) {
value_ = null;
onChanged();
} else {
value_ = null;
valueBuilder_ = null;
}
return this;
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder getValueBuilder() {
onChanged();
return getValueFieldBuilder().getBuilder();
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder getValueOrBuilder() {
if (valueBuilder_ != null) {
return valueBuilder_.getMessageOrBuilder();
} else {
return value_ == null ?
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.getDefaultInstance() : value_;
}
}
/**
* optional .org_glowroot_wire_api_model.MBeanValue value = 2;
*/
private org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder>
getValueFieldBuilder() {
if (valueBuilder_ == null) {
valueBuilder_ = new org.glowroot.agent.shaded.google.protobuf.SingleFieldBuilder<
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder>(
getValue(),
getParentForChildren(),
isClean());
value_ = null;
}
return valueBuilder_;
}
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.MBeanAttribute)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.MBeanAttribute)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanAttribute getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public MBeanAttribute 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 MBeanAttribute(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.DownstreamServiceOuterClass.MBeanAttribute getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MBeanValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:org_glowroot_wire_api_model.MBeanValue)
org.glowroot.agent.shaded.google.protobuf.MessageOrBuilder {
/**
* optional string sval = 1;
*/
java.lang.String getSval();
/**
* optional string sval = 1;
*/
org.glowroot.agent.shaded.google.protobuf.ByteString
getSvalBytes();
/**
* optional double dval = 2;
*/
double getDval();
/**
* optional int64 lval = 3;
*/
long getLval();
/**
* optional bool bval = 4;
*/
boolean getBval();
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.ValCase getValCase();
}
/**
* Protobuf type {@code org_glowroot_wire_api_model.MBeanValue}
*/
public static final class MBeanValue extends
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:org_glowroot_wire_api_model.MBeanValue)
MBeanValueOrBuilder {
// Use MBeanValue.newBuilder() to construct.
private MBeanValue(org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
private MBeanValue() {
}
@java.lang.Override
public final org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet
getUnknownFields() {
return org.glowroot.agent.shaded.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
private MBeanValue(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input,
org.glowroot.agent.shaded.google.protobuf.ExtensionRegistryLite extensionRegistry) {
this();
int mutable_bitField0_ = 0;
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!input.skipField(tag)) {
done = true;
}
break;
}
case 10: {
String s = input.readStringRequireUtf8();
valCase_ = 1;
val_ = s;
break;
}
case 17: {
valCase_ = 2;
val_ = input.readDouble();
break;
}
case 24: {
valCase_ = 3;
val_ = input.readInt64();
break;
}
case 32: {
valCase_ = 4;
val_ = input.readBool();
break;
}
}
}
} catch (org.glowroot.agent.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.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder.class);
}
private int valCase_ = 0;
private java.lang.Object val_;
public enum ValCase
implements org.glowroot.agent.shaded.google.protobuf.Internal.EnumLite {
SVAL(1),
DVAL(2),
LVAL(3),
BVAL(4),
VAL_NOT_SET(0);
private int value = 0;
private ValCase(int value) {
this.value = value;
}
public static ValCase valueOf(int value) {
switch (value) {
case 1: return SVAL;
case 2: return DVAL;
case 3: return LVAL;
case 4: return BVAL;
case 0: return VAL_NOT_SET;
default: throw new java.lang.IllegalArgumentException(
"Value is undefined for this oneof enum.");
}
}
public int getNumber() {
return this.value;
}
};
public ValCase
getValCase() {
return ValCase.valueOf(
valCase_);
}
public static final int SVAL_FIELD_NUMBER = 1;
/**
* optional string sval = 1;
*/
public java.lang.String getSval() {
java.lang.Object ref = "";
if (valCase_ == 1) {
ref = val_;
}
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();
if (valCase_ == 1) {
val_ = s;
}
return s;
}
}
/**
* optional string sval = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getSvalBytes() {
java.lang.Object ref = "";
if (valCase_ == 1) {
ref = val_;
}
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);
if (valCase_ == 1) {
val_ = b;
}
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
public static final int DVAL_FIELD_NUMBER = 2;
/**
* optional double dval = 2;
*/
public double getDval() {
if (valCase_ == 2) {
return (java.lang.Double) val_;
}
return 0D;
}
public static final int LVAL_FIELD_NUMBER = 3;
/**
* optional int64 lval = 3;
*/
public long getLval() {
if (valCase_ == 3) {
return (java.lang.Long) val_;
}
return 0L;
}
public static final int BVAL_FIELD_NUMBER = 4;
/**
* optional bool bval = 4;
*/
public boolean getBval() {
if (valCase_ == 4) {
return (java.lang.Boolean) val_;
}
return false;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(org.glowroot.agent.shaded.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (valCase_ == 1) {
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.writeString(output, 1, val_);
}
if (valCase_ == 2) {
output.writeDouble(
2, (double)((java.lang.Double) val_));
}
if (valCase_ == 3) {
output.writeInt64(
3, (long)((java.lang.Long) val_));
}
if (valCase_ == 4) {
output.writeBool(
4, (boolean)((java.lang.Boolean) val_));
}
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (valCase_ == 1) {
size += org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.computeStringSize(1, val_);
}
if (valCase_ == 2) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeDoubleSize(
2, (double)((java.lang.Double) val_));
}
if (valCase_ == 3) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeInt64Size(
3, (long)((java.lang.Long) val_));
}
if (valCase_ == 4) {
size += org.glowroot.agent.shaded.google.protobuf.CodedOutputStream
.computeBoolSize(
4, (boolean)((java.lang.Boolean) val_));
}
memoizedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue parseFrom(byte[] data)
throws org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue parseFrom(
org.glowroot.agent.shaded.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue 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.DownstreamServiceOuterClass.MBeanValue 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.MBeanValue}
*/
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.MBeanValue)
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValueOrBuilder {
public static final org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor;
}
protected org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanValue_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.class, org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.Builder.class);
}
// Construct using org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.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();
valCase_ = 0;
val_ = null;
return this;
}
public org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue getDefaultInstanceForType() {
return org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.getDefaultInstance();
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue build() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue buildPartial() {
org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue result = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue(this);
if (valCase_ == 1) {
result.val_ = val_;
}
if (valCase_ == 2) {
result.val_ = val_;
}
if (valCase_ == 3) {
result.val_ = val_;
}
if (valCase_ == 4) {
result.val_ = val_;
}
result.valCase_ = valCase_;
onBuilt();
return result;
}
public Builder mergeFrom(org.glowroot.agent.shaded.google.protobuf.Message other) {
if (other instanceof org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue) {
return mergeFrom((org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue other) {
if (other == org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue.getDefaultInstance()) return this;
switch (other.getValCase()) {
case SVAL: {
valCase_ = 1;
val_ = other.val_;
onChanged();
break;
}
case DVAL: {
setDval(other.getDval());
break;
}
case LVAL: {
setLval(other.getLval());
break;
}
case BVAL: {
setBval(other.getBval());
break;
}
case VAL_NOT_SET: {
break;
}
}
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.DownstreamServiceOuterClass.MBeanValue parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (org.glowroot.agent.shaded.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int valCase_ = 0;
private java.lang.Object val_;
public ValCase
getValCase() {
return ValCase.valueOf(
valCase_);
}
public Builder clearVal() {
valCase_ = 0;
val_ = null;
onChanged();
return this;
}
/**
* optional string sval = 1;
*/
public java.lang.String getSval() {
java.lang.Object ref = "";
if (valCase_ == 1) {
ref = val_;
}
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();
if (valCase_ == 1) {
val_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sval = 1;
*/
public org.glowroot.agent.shaded.google.protobuf.ByteString
getSvalBytes() {
java.lang.Object ref = "";
if (valCase_ == 1) {
ref = val_;
}
if (ref instanceof String) {
org.glowroot.agent.shaded.google.protobuf.ByteString b =
org.glowroot.agent.shaded.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (valCase_ == 1) {
val_ = b;
}
return b;
} else {
return (org.glowroot.agent.shaded.google.protobuf.ByteString) ref;
}
}
/**
* optional string sval = 1;
*/
public Builder setSval(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
valCase_ = 1;
val_ = value;
onChanged();
return this;
}
/**
* optional string sval = 1;
*/
public Builder clearSval() {
if (valCase_ == 1) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* optional string sval = 1;
*/
public Builder setSvalBytes(
org.glowroot.agent.shaded.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
valCase_ = 1;
val_ = value;
onChanged();
return this;
}
/**
* optional double dval = 2;
*/
public double getDval() {
if (valCase_ == 2) {
return (java.lang.Double) val_;
}
return 0D;
}
/**
* optional double dval = 2;
*/
public Builder setDval(double value) {
valCase_ = 2;
val_ = value;
onChanged();
return this;
}
/**
* optional double dval = 2;
*/
public Builder clearDval() {
if (valCase_ == 2) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* optional int64 lval = 3;
*/
public long getLval() {
if (valCase_ == 3) {
return (java.lang.Long) val_;
}
return 0L;
}
/**
* optional int64 lval = 3;
*/
public Builder setLval(long value) {
valCase_ = 3;
val_ = value;
onChanged();
return this;
}
/**
* optional int64 lval = 3;
*/
public Builder clearLval() {
if (valCase_ == 3) {
valCase_ = 0;
val_ = null;
onChanged();
}
return this;
}
/**
* optional bool bval = 4;
*/
public boolean getBval() {
if (valCase_ == 4) {
return (java.lang.Boolean) val_;
}
return false;
}
/**
* optional bool bval = 4;
*/
public Builder setBval(boolean value) {
valCase_ = 4;
val_ = value;
onChanged();
return this;
}
/**
* optional bool bval = 4;
*/
public Builder clearBval() {
if (valCase_ == 4) {
valCase_ = 0;
val_ = null;
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.MBeanValue)
}
// @@protoc_insertion_point(class_scope:org_glowroot_wire_api_model.MBeanValue)
private static final org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue();
}
public static org.glowroot.wire.api.model.DownstreamServiceOuterClass.MBeanValue getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.glowroot.agent.shaded.google.protobuf.Parser
PARSER = new org.glowroot.agent.shaded.google.protobuf.AbstractParser() {
public MBeanValue 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 MBeanValue(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.DownstreamServiceOuterClass.MBeanValue getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_ServerRequest_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_ClientResponse_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_MBeanNode_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_MBeanAttribute_fieldAccessorTable;
private static org.glowroot.agent.shaded.google.protobuf.Descriptors.Descriptor
internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor;
private static
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_glowroot_wire_api_model_MBeanValue_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\027DownstreamService.proto\022\033org_glowroot_" +
"wire_api_model\"{\n\rServerRequest\022\022\n\nreque" +
"st_id\030\001 \001(\003\022K\n\022mbean_tree_request\030d \001(\0132" +
"-.org_glowroot_wire_api_model.MBeanTreeR" +
"equestH\000B\t\n\007message\"~\n\016ClientResponse\022\022\n" +
"\nrequest_id\030\001 \001(\003\022M\n\023mbean_tree_response" +
"\030d \001(\0132..org_glowroot_wire_api_model.MBe" +
"anTreeResponseH\000B\t\n\007message\"9\n\020MBeanTree" +
"Request\022%\n\035include_attrs_for_object_name" +
"\030\001 \003(\t\"N\n\021MBeanTreeResponse\0229\n\troot_node",
"\030\001 \003(\0132&.org_glowroot_wire_api_model.MBe" +
"anNode\"\234\001\n\tMBeanNode\022\023\n\013object_name\030\001 \001(" +
"\t\022>\n\tattribute\030\002 \003(\0132+.org_glowroot_wire" +
"_api_model.MBeanAttribute\022:\n\nchild_node\030" +
"\003 \003(\0132&.org_glowroot_wire_api_model.MBea" +
"nNode\"V\n\016MBeanAttribute\022\014\n\004name\030\001 \001(\t\0226\n" +
"\005value\030\002 \001(\0132\'.org_glowroot_wire_api_mod" +
"el.MBeanValue\"S\n\nMBeanValue\022\016\n\004sval\030\001 \001(" +
"\tH\000\022\016\n\004dval\030\002 \001(\001H\000\022\016\n\004lval\030\003 \001(\003H\000\022\016\n\004b" +
"val\030\004 \001(\010H\000B\005\n\003val2{\n\021DownstreamService\022",
"f\n\007connect\022+.org_glowroot_wire_api_model" +
".ClientResponse\032*.org_glowroot_wire_api_" +
"model.ServerRequest(\0010\001B\035\n\033org.glowroot." +
"wire.api.modelb\006proto3"
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public org.glowroot.agent.shaded.google.protobuf.ExtensionRegistry assignDescriptors(
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.glowroot.agent.shaded.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_glowroot_wire_api_model_ServerRequest_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_ServerRequest_descriptor,
new java.lang.String[] { "RequestId", "MbeanTreeRequest", "Message", });
internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_glowroot_wire_api_model_ClientResponse_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_ClientResponse_descriptor,
new java.lang.String[] { "RequestId", "MbeanTreeResponse", "Message", });
internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_MBeanTreeRequest_descriptor,
new java.lang.String[] { "IncludeAttrsForObjectName", });
internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_MBeanTreeResponse_descriptor,
new java.lang.String[] { "RootNode", });
internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_org_glowroot_wire_api_model_MBeanNode_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_MBeanNode_descriptor,
new java.lang.String[] { "ObjectName", "Attribute", "ChildNode", });
internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_org_glowroot_wire_api_model_MBeanAttribute_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_MBeanAttribute_descriptor,
new java.lang.String[] { "Name", "Value", });
internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_org_glowroot_wire_api_model_MBeanValue_fieldAccessorTable = new
org.glowroot.agent.shaded.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_glowroot_wire_api_model_MBeanValue_descriptor,
new java.lang.String[] { "Sval", "Dval", "Lval", "Bval", "Val", });
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy