// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ObserverStatisticsService.proto
package coprocessor.generated;
public final class ObserverStatisticsProtos {
private ObserverStatisticsProtos() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
public interface NameInt32PairOrBuilder extends
// @@protoc_insertion_point(interface_extends:NameInt32Pair)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string name = 1;</code>
*/
boolean hasName();
/**
* <code>optional string name = 1;</code>
*/
java.lang.String getName();
/**
* <code>optional string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional int32 value = 2;</code>
*/
boolean hasValue();
/**
* <code>optional int32 value = 2;</code>
*/
int getValue();
}
/**
* Protobuf type {@code NameInt32Pair}
*/
public static final class NameInt32Pair extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:NameInt32Pair)
NameInt32PairOrBuilder {
// Use NameInt32Pair.newBuilder() to construct.
private NameInt32Pair(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private NameInt32Pair(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final NameInt32Pair defaultInstance;
public static NameInt32Pair getDefaultInstance() {
return defaultInstance;
}
public NameInt32Pair getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NameInt32Pair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 16: {
bitField0_ |= 0x00000002;
value_ = input.readInt32();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_NameInt32Pair_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_NameInt32Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.class, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder.class);
}
public static com.google.protobuf.Parser<NameInt32Pair> PARSER =
new com.google.protobuf.AbstractParser<NameInt32Pair>() {
public NameInt32Pair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NameInt32Pair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<NameInt32Pair> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* <code>optional string name = 1;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string name = 1;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* <code>optional string name = 1;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int VALUE_FIELD_NUMBER = 2;
private int value_;
/**
* <code>optional int32 value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int32 value = 2;</code>
*/
public int getValue() {
return value_;
}
private void initFields() {
name_ = "";
value_ = 0;
}
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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeInt32(2, value_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair)) {
return super.equals(obj);
}
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair other = (coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair) obj;
boolean result = true;
result = result && (hasName() == other.hasName());
if (hasName()) {
result = result && getName()
.equals(other.getName());
}
result = result && (hasValue() == other.hasValue());
if (hasValue()) {
result = result && (getValue()
== other.getValue());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasName()) {
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
}
if (hasValue()) {
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code NameInt32Pair}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:NameInt32Pair)
coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_NameInt32Pair_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_NameInt32Pair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.class, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder.class);
}
// Construct using coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_NameInt32Pair_descriptor;
}
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair getDefaultInstanceForType() {
return coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.getDefaultInstance();
}
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair build() {
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair buildPartial() {
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair result = new coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair) {
return mergeFrom((coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair other) {
if (other == coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
* <code>optional string name = 1;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional string name = 1;</code>
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* <code>optional string name = 1;</code>
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string name = 1;</code>
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* <code>optional string name = 1;</code>
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* <code>optional string name = 1;</code>
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
private int value_ ;
/**
* <code>optional int32 value = 2;</code>
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* <code>optional int32 value = 2;</code>
*/
public int getValue() {
return value_;
}
/**
* <code>optional int32 value = 2;</code>
*/
public Builder setValue(int value) {
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 value = 2;</code>
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:NameInt32Pair)
}
static {
defaultInstance = new NameInt32Pair(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:NameInt32Pair)
}
public interface StatisticsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:StatisticsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
boolean hasClear();
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
boolean getClear();
}
/**
* Protobuf type {@code StatisticsRequest}
*/
public static final class StatisticsRequest extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:StatisticsRequest)
StatisticsRequestOrBuilder {
// Use StatisticsRequest.newBuilder() to construct.
private StatisticsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StatisticsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StatisticsRequest defaultInstance;
public static StatisticsRequest getDefaultInstance() {
return defaultInstance;
}
public StatisticsRequest getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatisticsRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
clear_ = input.readBool();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.class, coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.Builder.class);
}
public static com.google.protobuf.Parser<StatisticsRequest> PARSER =
new com.google.protobuf.AbstractParser<StatisticsRequest>() {
public StatisticsRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatisticsRequest(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<StatisticsRequest> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int CLEAR_FIELD_NUMBER = 1;
private boolean clear_;
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public boolean hasClear() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public boolean getClear() {
return clear_;
}
private void initFields() {
clear_ = 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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBool(1, clear_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, clear_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest)) {
return super.equals(obj);
}
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest other = (coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest) obj;
boolean result = true;
result = result && (hasClear() == other.hasClear());
if (hasClear()) {
result = result && (getClear()
== other.getClear());
}
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasClear()) {
hash = (37 * hash) + CLEAR_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getClear());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code StatisticsRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:StatisticsRequest)
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.class, coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.Builder.class);
}
// Construct using coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
clear_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsRequest_descriptor;
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest getDefaultInstanceForType() {
return coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.getDefaultInstance();
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest build() {
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest buildPartial() {
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest result = new coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.clear_ = clear_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest) {
return mergeFrom((coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest other) {
if (other == coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.getDefaultInstance()) return this;
if (other.hasClear()) {
setClear(other.getClear());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private boolean clear_ ;
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public boolean hasClear() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public boolean getClear() {
return clear_;
}
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public Builder setClear(boolean value) {
bitField0_ |= 0x00000001;
clear_ = value;
onChanged();
return this;
}
/**
* <code>optional bool clear = 1 [default = false];</code>
*/
public Builder clearClear() {
bitField0_ = (bitField0_ & ~0x00000001);
clear_ = false;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:StatisticsRequest)
}
static {
defaultInstance = new StatisticsRequest(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:StatisticsRequest)
}
public interface StatisticsResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:StatisticsResponse)
com.google.protobuf.MessageOrBuilder {
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair>
getAttributeList();
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair getAttribute(int index);
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
int getAttributeCount();
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
java.util.List<? extends coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder>
getAttributeOrBuilderList();
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder getAttributeOrBuilder(
int index);
}
/**
* Protobuf type {@code StatisticsResponse}
*/
public static final class StatisticsResponse extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:StatisticsResponse)
StatisticsResponseOrBuilder {
// Use StatisticsResponse.newBuilder() to construct.
private StatisticsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StatisticsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StatisticsResponse defaultInstance;
public static StatisticsResponse getDefaultInstance() {
return defaultInstance;
}
public StatisticsResponse getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatisticsResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
attribute_ = new java.util.ArrayList<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair>();
mutable_bitField0_ |= 0x00000001;
}
attribute_.add(input.readMessage(coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.PARSER, extensionRegistry));
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.class, coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.Builder.class);
}
public static com.google.protobuf.Parser<StatisticsResponse> PARSER =
new com.google.protobuf.AbstractParser<StatisticsResponse>() {
public StatisticsResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatisticsResponse(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<StatisticsResponse> getParserForType() {
return PARSER;
}
public static final int ATTRIBUTE_FIELD_NUMBER = 1;
private java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair> attribute_;
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair> getAttributeList() {
return attribute_;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public java.util.List<? extends coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder>
getAttributeOrBuilderList() {
return attribute_;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public int getAttributeCount() {
return attribute_.size();
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair getAttribute(int index) {
return attribute_.get(index);
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder getAttributeOrBuilder(
int index) {
return attribute_.get(index);
}
private void initFields() {
attribute_ = java.util.Collections.emptyList();
}
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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < attribute_.size(); i++) {
output.writeMessage(1, attribute_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < attribute_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, attribute_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse)) {
return super.equals(obj);
}
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse other = (coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse) obj;
boolean result = true;
result = result && getAttributeList()
.equals(other.getAttributeList());
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getAttributeCount() > 0) {
hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER;
hash = (53 * hash) + getAttributeList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code StatisticsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder> implements
// @@protoc_insertion_point(builder_implements:StatisticsResponse)
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.class, coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.Builder.class);
}
// Construct using coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getAttributeFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
attributeBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return coprocessor.generated.ObserverStatisticsProtos.internal_static_StatisticsResponse_descriptor;
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse getDefaultInstanceForType() {
return coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance();
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse build() {
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse buildPartial() {
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse result = new coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse(this);
int from_bitField0_ = bitField0_;
if (attributeBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
attribute_ = java.util.Collections.unmodifiableList(attribute_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.attribute_ = attribute_;
} else {
result.attribute_ = attributeBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse) {
return mergeFrom((coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse other) {
if (other == coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance()) return this;
if (attributeBuilder_ == null) {
if (!other.attribute_.isEmpty()) {
if (attribute_.isEmpty()) {
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureAttributeIsMutable();
attribute_.addAll(other.attribute_);
}
onChanged();
}
} else {
if (!other.attribute_.isEmpty()) {
if (attributeBuilder_.isEmpty()) {
attributeBuilder_.dispose();
attributeBuilder_ = null;
attribute_ = other.attribute_;
bitField0_ = (bitField0_ & ~0x00000001);
attributeBuilder_ =
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getAttributeFieldBuilder() : null;
} else {
attributeBuilder_.addAllMessages(other.attribute_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair> attribute_ =
java.util.Collections.emptyList();
private void ensureAttributeIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
attribute_ = new java.util.ArrayList<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair>(attribute_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilder<
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder, coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder> attributeBuilder_;
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair> getAttributeList() {
if (attributeBuilder_ == null) {
return java.util.Collections.unmodifiableList(attribute_);
} else {
return attributeBuilder_.getMessageList();
}
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public int getAttributeCount() {
if (attributeBuilder_ == null) {
return attribute_.size();
} else {
return attributeBuilder_.getCount();
}
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair getAttribute(int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index);
} else {
return attributeBuilder_.getMessage(index);
}
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder setAttribute(
int index, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.set(index, value);
onChanged();
} else {
attributeBuilder_.setMessage(index, value);
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder setAttribute(
int index, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.set(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder addAttribute(coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(value);
onChanged();
} else {
attributeBuilder_.addMessage(value);
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder addAttribute(
int index, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair value) {
if (attributeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAttributeIsMutable();
attribute_.add(index, value);
onChanged();
} else {
attributeBuilder_.addMessage(index, value);
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder addAttribute(
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder addAttribute(
int index, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder builderForValue) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.add(index, builderForValue.build());
onChanged();
} else {
attributeBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder addAllAttribute(
java.lang.Iterable<? extends coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair> values) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, attribute_);
onChanged();
} else {
attributeBuilder_.addAllMessages(values);
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder clearAttribute() {
if (attributeBuilder_ == null) {
attribute_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
attributeBuilder_.clear();
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public Builder removeAttribute(int index) {
if (attributeBuilder_ == null) {
ensureAttributeIsMutable();
attribute_.remove(index);
onChanged();
} else {
attributeBuilder_.remove(index);
}
return this;
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder getAttributeBuilder(
int index) {
return getAttributeFieldBuilder().getBuilder(index);
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder getAttributeOrBuilder(
int index) {
if (attributeBuilder_ == null) {
return attribute_.get(index); } else {
return attributeBuilder_.getMessageOrBuilder(index);
}
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public java.util.List<? extends coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder>
getAttributeOrBuilderList() {
if (attributeBuilder_ != null) {
return attributeBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(attribute_);
}
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder addAttributeBuilder() {
return getAttributeFieldBuilder().addBuilder(
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.getDefaultInstance());
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder addAttributeBuilder(
int index) {
return getAttributeFieldBuilder().addBuilder(
index, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.getDefaultInstance());
}
/**
* <code>repeated .NameInt32Pair attribute = 1;</code>
*/
public java.util.List<coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder>
getAttributeBuilderList() {
return getAttributeFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilder<
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder, coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder>
getAttributeFieldBuilder() {
if (attributeBuilder_ == null) {
attributeBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair, coprocessor.generated.ObserverStatisticsProtos.NameInt32Pair.Builder, coprocessor.generated.ObserverStatisticsProtos.NameInt32PairOrBuilder>(
attribute_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
attribute_ = null;
}
return attributeBuilder_;
}
// @@protoc_insertion_point(builder_scope:StatisticsResponse)
}
static {
defaultInstance = new StatisticsResponse(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:StatisticsResponse)
}
/**
* Protobuf service {@code ObserverStatisticsService}
*/
public static abstract class ObserverStatisticsService
implements com.google.protobuf.Service {
protected ObserverStatisticsService() {}
public interface Interface {
/**
* <code>rpc getStatistics(.StatisticsRequest) returns (.StatisticsResponse);</code>
*/
public abstract void getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request,
com.google.protobuf.RpcCallback<coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse> done);
}
public static com.google.protobuf.Service newReflectiveService(
final Interface impl) {
return new ObserverStatisticsService() {
@java.lang.Override
public void getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request,
com.google.protobuf.RpcCallback<coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse> done) {
impl.getStatistics(controller, request, done);
}
};
}
public static com.google.protobuf.BlockingService
newReflectiveBlockingService(final BlockingInterface impl) {
return new com.google.protobuf.BlockingService() {
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final com.google.protobuf.Message callBlockingMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request)
throws com.google.protobuf.ServiceException {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callBlockingMethod() given method descriptor for " +
"wrong service type.");
}
switch(method.getIndex()) {
case 0:
return impl.getStatistics(controller, (coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest)request);
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
};
}
/**
* <code>rpc getStatistics(.StatisticsRequest) returns (.StatisticsResponse);</code>
*/
public abstract void getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request,
com.google.protobuf.RpcCallback<coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse> done);
public static final
com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptor() {
return coprocessor.generated.ObserverStatisticsProtos.getDescriptor().getServices().get(0);
}
public final com.google.protobuf.Descriptors.ServiceDescriptor
getDescriptorForType() {
return getDescriptor();
}
public final void callMethod(
com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<
com.google.protobuf.Message> done) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.callMethod() given method descriptor for wrong " +
"service type.");
}
switch(method.getIndex()) {
case 0:
this.getStatistics(controller, (coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest)request,
com.google.protobuf.RpcUtil.<coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse>specializeCallback(
done));
return;
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getRequestPrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getRequestPrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public final com.google.protobuf.Message
getResponsePrototype(
com.google.protobuf.Descriptors.MethodDescriptor method) {
if (method.getService() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"Service.getResponsePrototype() given method " +
"descriptor for wrong service type.");
}
switch(method.getIndex()) {
case 0:
return coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance();
default:
throw new java.lang.AssertionError("Can't get here.");
}
}
public static Stub newStub(
com.google.protobuf.RpcChannel channel) {
return new Stub(channel);
}
public static final class Stub extends coprocessor.generated.ObserverStatisticsProtos.ObserverStatisticsService implements Interface {
private Stub(com.google.protobuf.RpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.RpcChannel channel;
public com.google.protobuf.RpcChannel getChannel() {
return channel;
}
public void getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request,
com.google.protobuf.RpcCallback<coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse> done) {
channel.callMethod(
getDescriptor().getMethods().get(0),
controller,
request,
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance(),
com.google.protobuf.RpcUtil.generalizeCallback(
done,
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.class,
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance()));
}
}
public static BlockingInterface newBlockingStub(
com.google.protobuf.BlockingRpcChannel channel) {
return new BlockingStub(channel);
}
public interface BlockingInterface {
public coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request)
throws com.google.protobuf.ServiceException;
}
private static final class BlockingStub implements BlockingInterface {
private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
this.channel = channel;
}
private final com.google.protobuf.BlockingRpcChannel channel;
public coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse getStatistics(
com.google.protobuf.RpcController controller,
coprocessor.generated.ObserverStatisticsProtos.StatisticsRequest request)
throws com.google.protobuf.ServiceException {
return (coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse) channel.callBlockingMethod(
getDescriptor().getMethods().get(0),
controller,
request,
coprocessor.generated.ObserverStatisticsProtos.StatisticsResponse.getDefaultInstance());
}
}
// @@protoc_insertion_point(class_scope:ObserverStatisticsService)
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_NameInt32Pair_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_NameInt32Pair_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_StatisticsRequest_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_StatisticsRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_StatisticsResponse_descriptor;
private static
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_StatisticsResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\037ObserverStatisticsService.proto\",\n\rNam" +
"eInt32Pair\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\005\"" +
")\n\021StatisticsRequest\022\024\n\005clear\030\001 \001(\010:\005fal" +
"se\"7\n\022StatisticsResponse\022!\n\tattribute\030\001 " +
"\003(\0132\016.NameInt32Pair2U\n\031ObserverStatistic" +
"sService\0228\n\rgetStatistics\022\022.StatisticsRe" +
"quest\032\023.StatisticsResponseB9\n\025coprocesso" +
"r.generatedB\030ObserverStatisticsProtosH\001\210" +
"\001\001\240\001\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
internal_static_NameInt32Pair_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_NameInt32Pair_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_NameInt32Pair_descriptor,
new java.lang.String[] { "Name", "Value", });
internal_static_StatisticsRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_StatisticsRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_StatisticsRequest_descriptor,
new java.lang.String[] { "Clear", });
internal_static_StatisticsResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_StatisticsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_StatisticsResponse_descriptor,
new java.lang.String[] { "Attribute", });
}
// @@protoc_insertion_point(outer_class_scope)
}