values) {
ensureBlufiIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, blufiIds_);
onChanged();
return this;
}
/**
* repeated string blufiIds = 3;
*/
public Builder clearBlufiIds() {
blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string blufiIds = 3;
*/
public Builder addBlufiIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBlufiIdsIsMutable();
blufiIds_.add(value);
onChanged();
return this;
}
private int metric_ = 0;
/**
* .HistoryMetric metric = 4;
*/
public int getMetricValue() {
return metric_;
}
/**
* .HistoryMetric metric = 4;
*/
public Builder setMetricValue(int value) {
metric_ = value;
onChanged();
return this;
}
/**
* .HistoryMetric metric = 4;
*/
public com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric getMetric() {
com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric result = com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.valueOf(metric_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.UNRECOGNIZED : result;
}
/**
* .HistoryMetric metric = 4;
*/
public Builder setMetric(com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric value) {
if (value == null) {
throw new NullPointerException();
}
metric_ = value.getNumber();
onChanged();
return this;
}
/**
* .HistoryMetric metric = 4;
*/
public Builder clearMetric() {
metric_ = 0;
onChanged();
return this;
}
private int interval_ = 0;
/**
* .MetricInterval interval = 5;
*/
public int getIntervalValue() {
return interval_;
}
/**
* .MetricInterval interval = 5;
*/
public Builder setIntervalValue(int value) {
interval_ = value;
onChanged();
return this;
}
/**
* .MetricInterval interval = 5;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval() {
com.bluvision.cloud.metric.Beaconmetrics.MetricInterval result = com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.valueOf(interval_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.UNRECOGNIZED : result;
}
/**
* .MetricInterval interval = 5;
*/
public Builder setInterval(com.bluvision.cloud.metric.Beaconmetrics.MetricInterval value) {
if (value == null) {
throw new NullPointerException();
}
interval_ = value.getNumber();
onChanged();
return this;
}
/**
* .MetricInterval interval = 5;
*/
public Builder clearInterval() {
interval_ = 0;
onChanged();
return this;
}
private long beginMillis_ ;
/**
* int64 beginMillis = 6;
*/
public long getBeginMillis() {
return beginMillis_;
}
/**
* int64 beginMillis = 6;
*/
public Builder setBeginMillis(long value) {
beginMillis_ = value;
onChanged();
return this;
}
/**
* int64 beginMillis = 6;
*/
public Builder clearBeginMillis() {
beginMillis_ = 0L;
onChanged();
return this;
}
private long endMillis_ ;
/**
* int64 endMillis = 7;
*/
public long getEndMillis() {
return endMillis_;
}
/**
* int64 endMillis = 7;
*/
public Builder setEndMillis(long value) {
endMillis_ = value;
onChanged();
return this;
}
/**
* int64 endMillis = 7;
*/
public Builder clearEndMillis() {
endMillis_ = 0L;
onChanged();
return this;
}
private boolean useZeros_ ;
/**
* bool useZeros = 8;
*/
public boolean getUseZeros() {
return useZeros_;
}
/**
* bool useZeros = 8;
*/
public Builder setUseZeros(boolean value) {
useZeros_ = value;
onChanged();
return this;
}
/**
* bool useZeros = 8;
*/
public Builder clearUseZeros() {
useZeros_ = false;
onChanged();
return this;
}
private int queryHint_ = 0;
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 9;
*/
public int getQueryHintValue() {
return queryHint_;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 9;
*/
public Builder setQueryHintValue(int value) {
queryHint_ = value;
onChanged();
return this;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 9;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint() {
com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint result = com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.valueOf(queryHint_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.UNRECOGNIZED : result;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 9;
*/
public Builder setQueryHint(com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint value) {
if (value == null) {
throw new NullPointerException();
}
queryHint_ = value.getNumber();
onChanged();
return this;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 9;
*/
public Builder clearQueryHint() {
queryHint_ = 0;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 10;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 10;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 10;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 10;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 10;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 11;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 11;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 11;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 11;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 11;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:MetricByRangeRequest)
}
// @@protoc_insertion_point(class_scope:MetricByRangeRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public MetricByRangeRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MetricByRangeRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MetricByRangeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:MetricByRangeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
java.util.List
getResultsList();
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue getResults(int index);
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
int getResultsCount();
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder>
getResultsOrBuilderList();
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code MetricByRangeResponse}
*/
public static final class MetricByRangeResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:MetricByRangeResponse)
MetricByRangeResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use MetricByRangeResponse.newBuilder() to construct.
private MetricByRangeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MetricByRangeResponse() {
results_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MetricByRangeResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
results_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
results_.add(
input.readMessage(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
results_ = java.util.Collections.unmodifiableList(results_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.Builder.class);
}
public static final int RESULTS_FIELD_NUMBER = 1;
private java.util.List results_;
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public int getResultsCount() {
return results_.size();
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue getResults(int index) {
return results_.get(index);
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder getResultsOrBuilder(
int index) {
return results_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < results_.size(); i++) {
output.writeMessage(1, results_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, results_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse other = (com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse) obj;
boolean result = true;
result = result && getResultsList()
.equals(other.getResultsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code MetricByRangeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:MetricByRangeResponse)
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
resultsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse result = new com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse(this);
int from_bitField0_ = bitField0_;
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse.getDefaultInstance()) return this;
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder> resultsBuilder_;
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder setResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder setResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder addResults(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder addResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder addResults(
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder addResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder addAllResults(
java.lang.Iterable extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.getDefaultInstance());
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.getDefaultInstance());
}
/**
* repeated .BeaconHistoryMetricValue results = 1;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder>(
results_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:MetricByRangeResponse)
}
// @@protoc_insertion_point(class_scope:MetricByRangeResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public MetricByRangeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new MetricByRangeResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AllMetricByRangeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AllMetricByRangeRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* repeated string beaconIds = 2;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 2;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 2;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 2;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
/**
* .MetricInterval interval = 3;
*/
int getIntervalValue();
/**
* .MetricInterval interval = 3;
*/
com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval();
/**
* int64 beginMillis = 4;
*/
long getBeginMillis();
/**
* int64 endMillis = 5;
*/
long getEndMillis();
/**
* bool useZeros = 6;
*/
boolean getUseZeros();
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
int getQueryHintValue();
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint();
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
java.lang.String getStartDate();
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
java.lang.String getEndDate();
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
com.google.protobuf.ByteString
getEndDateBytes();
}
/**
* Protobuf type {@code AllMetricByRangeRequest}
*/
public static final class AllMetricByRangeRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AllMetricByRangeRequest)
AllMetricByRangeRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AllMetricByRangeRequest.newBuilder() to construct.
private AllMetricByRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AllMetricByRangeRequest() {
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
interval_ = 0;
beginMillis_ = 0L;
endMillis_ = 0L;
useZeros_ = false;
queryHint_ = 0;
startDate_ = "";
endDate_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AllMetricByRangeRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
beaconIds_.add(s);
break;
}
case 24: {
int rawValue = input.readEnum();
interval_ = rawValue;
break;
}
case 32: {
beginMillis_ = input.readInt64();
break;
}
case 40: {
endMillis_ = input.readInt64();
break;
}
case 48: {
useZeros_ = input.readBool();
break;
}
case 56: {
int rawValue = input.readEnum();
queryHint_ = rawValue;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int BEACONIDS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 2;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 2;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
public static final int INTERVAL_FIELD_NUMBER = 3;
private int interval_;
/**
* .MetricInterval interval = 3;
*/
public int getIntervalValue() {
return interval_;
}
/**
* .MetricInterval interval = 3;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval() {
com.bluvision.cloud.metric.Beaconmetrics.MetricInterval result = com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.valueOf(interval_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.UNRECOGNIZED : result;
}
public static final int BEGINMILLIS_FIELD_NUMBER = 4;
private long beginMillis_;
/**
* int64 beginMillis = 4;
*/
public long getBeginMillis() {
return beginMillis_;
}
public static final int ENDMILLIS_FIELD_NUMBER = 5;
private long endMillis_;
/**
* int64 endMillis = 5;
*/
public long getEndMillis() {
return endMillis_;
}
public static final int USEZEROS_FIELD_NUMBER = 6;
private boolean useZeros_;
/**
* bool useZeros = 6;
*/
public boolean getUseZeros() {
return useZeros_;
}
public static final int QUERYHINT_FIELD_NUMBER = 7;
private int queryHint_;
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public int getQueryHintValue() {
return queryHint_;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint() {
com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint result = com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.valueOf(queryHint_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.UNRECOGNIZED : result;
}
public static final int STARTDATE_FIELD_NUMBER = 8;
private volatile java.lang.Object startDate_;
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 9;
private volatile java.lang.Object endDate_;
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beaconIds_.getRaw(i));
}
if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) {
output.writeEnum(3, interval_);
}
if (beginMillis_ != 0L) {
output.writeInt64(4, beginMillis_);
}
if (endMillis_ != 0L) {
output.writeInt64(5, endMillis_);
}
if (useZeros_ != false) {
output.writeBool(6, useZeros_);
}
if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) {
output.writeEnum(7, queryHint_);
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, endDate_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, interval_);
}
if (beginMillis_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, beginMillis_);
}
if (endMillis_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, endMillis_);
}
if (useZeros_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(6, useZeros_);
}
if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(7, queryHint_);
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, endDate_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && interval_ == other.interval_;
result = result && (getBeginMillis()
== other.getBeginMillis());
result = result && (getEndMillis()
== other.getEndMillis());
result = result && (getUseZeros()
== other.getUseZeros());
result = result && queryHint_ == other.queryHint_;
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (37 * hash) + INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + interval_;
hash = (37 * hash) + BEGINMILLIS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBeginMillis());
hash = (37 * hash) + ENDMILLIS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEndMillis());
hash = (37 * hash) + USEZEROS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getUseZeros());
hash = (37 * hash) + QUERYHINT_FIELD_NUMBER;
hash = (53 * hash) + queryHint_;
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AllMetricByRangeRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AllMetricByRangeRequest)
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
interval_ = 0;
beginMillis_ = 0L;
endMillis_ = 0L;
useZeros_ = false;
queryHint_ = 0;
startDate_ = "";
endDate_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.beaconIds_ = beaconIds_;
result.interval_ = interval_;
result.beginMillis_ = beginMillis_;
result.endMillis_ = endMillis_;
result.useZeros_ = useZeros_;
result.queryHint_ = queryHint_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
if (other.interval_ != 0) {
setIntervalValue(other.getIntervalValue());
}
if (other.getBeginMillis() != 0L) {
setBeginMillis(other.getBeginMillis());
}
if (other.getEndMillis() != 0L) {
setEndMillis(other.getEndMillis());
}
if (other.getUseZeros() != false) {
setUseZeros(other.getUseZeros());
}
if (other.queryHint_ != 0) {
setQueryHintValue(other.getQueryHintValue());
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 2;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 2;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 2;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
private int interval_ = 0;
/**
* .MetricInterval interval = 3;
*/
public int getIntervalValue() {
return interval_;
}
/**
* .MetricInterval interval = 3;
*/
public Builder setIntervalValue(int value) {
interval_ = value;
onChanged();
return this;
}
/**
* .MetricInterval interval = 3;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval() {
com.bluvision.cloud.metric.Beaconmetrics.MetricInterval result = com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.valueOf(interval_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.UNRECOGNIZED : result;
}
/**
* .MetricInterval interval = 3;
*/
public Builder setInterval(com.bluvision.cloud.metric.Beaconmetrics.MetricInterval value) {
if (value == null) {
throw new NullPointerException();
}
interval_ = value.getNumber();
onChanged();
return this;
}
/**
* .MetricInterval interval = 3;
*/
public Builder clearInterval() {
interval_ = 0;
onChanged();
return this;
}
private long beginMillis_ ;
/**
* int64 beginMillis = 4;
*/
public long getBeginMillis() {
return beginMillis_;
}
/**
* int64 beginMillis = 4;
*/
public Builder setBeginMillis(long value) {
beginMillis_ = value;
onChanged();
return this;
}
/**
* int64 beginMillis = 4;
*/
public Builder clearBeginMillis() {
beginMillis_ = 0L;
onChanged();
return this;
}
private long endMillis_ ;
/**
* int64 endMillis = 5;
*/
public long getEndMillis() {
return endMillis_;
}
/**
* int64 endMillis = 5;
*/
public Builder setEndMillis(long value) {
endMillis_ = value;
onChanged();
return this;
}
/**
* int64 endMillis = 5;
*/
public Builder clearEndMillis() {
endMillis_ = 0L;
onChanged();
return this;
}
private boolean useZeros_ ;
/**
* bool useZeros = 6;
*/
public boolean getUseZeros() {
return useZeros_;
}
/**
* bool useZeros = 6;
*/
public Builder setUseZeros(boolean value) {
useZeros_ = value;
onChanged();
return this;
}
/**
* bool useZeros = 6;
*/
public Builder clearUseZeros() {
useZeros_ = false;
onChanged();
return this;
}
private int queryHint_ = 0;
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public int getQueryHintValue() {
return queryHint_;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public Builder setQueryHintValue(int value) {
queryHint_ = value;
onChanged();
return this;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint() {
com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint result = com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.valueOf(queryHint_);
return result == null ? com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.UNRECOGNIZED : result;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public Builder setQueryHint(com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint value) {
if (value == null) {
throw new NullPointerException();
}
queryHint_ = value.getNumber();
onChanged();
return this;
}
/**
*
* way to indicate how long they are willing to wait.
*
*
* .MetricQueryHint queryHint = 7;
*/
public Builder clearQueryHint() {
queryHint_ = 0;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 8;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 9;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AllMetricByRangeRequest)
}
// @@protoc_insertion_point(class_scope:AllMetricByRangeRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AllMetricByRangeRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AllMetricByRangeRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AllMetricByRangeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AllMetricByRangeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
java.util.List
getResultsList();
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup getResults(int index);
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
int getResultsCount();
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder>
getResultsOrBuilderList();
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder getResultsOrBuilder(
int index);
}
/**
* Protobuf type {@code AllMetricByRangeResponse}
*/
public static final class AllMetricByRangeResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AllMetricByRangeResponse)
AllMetricByRangeResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AllMetricByRangeResponse.newBuilder() to construct.
private AllMetricByRangeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AllMetricByRangeResponse() {
results_ = java.util.Collections.emptyList();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AllMetricByRangeResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
results_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
results_.add(
input.readMessage(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
results_ = java.util.Collections.unmodifiableList(results_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.Builder.class);
}
public static final int RESULTS_FIELD_NUMBER = 1;
private java.util.List results_;
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public java.util.List getResultsList() {
return results_;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder>
getResultsOrBuilderList() {
return results_;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public int getResultsCount() {
return results_.size();
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup getResults(int index) {
return results_.get(index);
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder getResultsOrBuilder(
int index) {
return results_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < results_.size(); i++) {
output.writeMessage(1, results_.get(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < results_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, results_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse) obj;
boolean result = true;
result = result && getResultsList()
.equals(other.getResultsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getResultsCount() > 0) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + getResultsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AllMetricByRangeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AllMetricByRangeResponse)
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getResultsFieldBuilder();
}
}
public Builder clear() {
super.clear();
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
resultsBuilder_.clear();
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AllMetricByRangeResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse(this);
int from_bitField0_ = bitField0_;
if (resultsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
results_ = java.util.Collections.unmodifiableList(results_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.results_ = results_;
} else {
result.results_ = resultsBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse.getDefaultInstance()) return this;
if (resultsBuilder_ == null) {
if (!other.results_.isEmpty()) {
if (results_.isEmpty()) {
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureResultsIsMutable();
results_.addAll(other.results_);
}
onChanged();
}
} else {
if (!other.results_.isEmpty()) {
if (resultsBuilder_.isEmpty()) {
resultsBuilder_.dispose();
resultsBuilder_ = null;
results_ = other.results_;
bitField0_ = (bitField0_ & ~0x00000001);
resultsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultsFieldBuilder() : null;
} else {
resultsBuilder_.addAllMessages(other.results_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List results_ =
java.util.Collections.emptyList();
private void ensureResultsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
results_ = new java.util.ArrayList(results_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder> resultsBuilder_;
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public java.util.List getResultsList() {
if (resultsBuilder_ == null) {
return java.util.Collections.unmodifiableList(results_);
} else {
return resultsBuilder_.getMessageList();
}
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public int getResultsCount() {
if (resultsBuilder_ == null) {
return results_.size();
} else {
return resultsBuilder_.getCount();
}
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup getResults(int index) {
if (resultsBuilder_ == null) {
return results_.get(index);
} else {
return resultsBuilder_.getMessage(index);
}
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder setResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.set(index, value);
onChanged();
} else {
resultsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder setResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.set(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder addResults(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(value);
onChanged();
} else {
resultsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder addResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup value) {
if (resultsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultsIsMutable();
results_.add(index, value);
onChanged();
} else {
resultsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder addResults(
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder addResults(
int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder builderForValue) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.add(index, builderForValue.build());
onChanged();
} else {
resultsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder addAllResults(
java.lang.Iterable extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup> values) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, results_);
onChanged();
} else {
resultsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder clearResults() {
if (resultsBuilder_ == null) {
results_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
resultsBuilder_.clear();
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public Builder removeResults(int index) {
if (resultsBuilder_ == null) {
ensureResultsIsMutable();
results_.remove(index);
onChanged();
} else {
resultsBuilder_.remove(index);
}
return this;
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder getResultsBuilder(
int index) {
return getResultsFieldBuilder().getBuilder(index);
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder getResultsOrBuilder(
int index) {
if (resultsBuilder_ == null) {
return results_.get(index); } else {
return resultsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public java.util.List extends com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder>
getResultsOrBuilderList() {
if (resultsBuilder_ != null) {
return resultsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(results_);
}
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder addResultsBuilder() {
return getResultsFieldBuilder().addBuilder(
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.getDefaultInstance());
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder addResultsBuilder(
int index) {
return getResultsFieldBuilder().addBuilder(
index, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.getDefaultInstance());
}
/**
* repeated .BeaconHistoryMetricGroup results = 1;
*/
public java.util.List
getResultsBuilderList() {
return getResultsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder>
getResultsFieldBuilder() {
if (resultsBuilder_ == null) {
resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder>(
results_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
results_ = null;
}
return resultsBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AllMetricByRangeResponse)
}
// @@protoc_insertion_point(class_scope:AllMetricByRangeResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AllMetricByRangeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AllMetricByRangeResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AllMetricByRangeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteMetricByRangeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:DeleteMetricByRangeRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* repeated string beaconIds = 2;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 2;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 2;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 2;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
java.lang.String getStartDate();
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
java.lang.String getEndDate();
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
com.google.protobuf.ByteString
getEndDateBytes();
}
/**
* Protobuf type {@code DeleteMetricByRangeRequest}
*/
public static final class DeleteMetricByRangeRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DeleteMetricByRangeRequest)
DeleteMetricByRangeRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteMetricByRangeRequest.newBuilder() to construct.
private DeleteMetricByRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteMetricByRangeRequest() {
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
startDate_ = "";
endDate_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteMetricByRangeRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
beaconIds_.add(s);
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int BEACONIDS_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 2;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 2;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
public static final int STARTDATE_FIELD_NUMBER = 3;
private volatile java.lang.Object startDate_;
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 4;
private volatile java.lang.Object endDate_;
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beaconIds_.getRaw(i));
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, endDate_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, endDate_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest other = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DeleteMetricByRangeRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DeleteMetricByRangeRequest)
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
startDate_ = "";
endDate_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest result = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.beaconIds_ = beaconIds_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 2;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 2;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 2;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string beaconIds = 2;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
*
* date to start from takes prec over beginMillis
*
*
* string startDate = 3;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
*
* date to end on takes prec over endMillis
*
*
* string endDate = 4;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DeleteMetricByRangeRequest)
}
// @@protoc_insertion_point(class_scope:DeleteMetricByRangeRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteMetricByRangeRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteMetricByRangeRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteMetricByRangeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:DeleteMetricByRangeResponse)
com.google.protobuf.MessageOrBuilder {
/**
* int64 results = 1;
*/
long getResults();
}
/**
* Protobuf type {@code DeleteMetricByRangeResponse}
*/
public static final class DeleteMetricByRangeResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DeleteMetricByRangeResponse)
DeleteMetricByRangeResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteMetricByRangeResponse.newBuilder() to construct.
private DeleteMetricByRangeResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteMetricByRangeResponse() {
results_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteMetricByRangeResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
results_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.Builder.class);
}
public static final int RESULTS_FIELD_NUMBER = 1;
private long results_;
/**
* int64 results = 1;
*/
public long getResults() {
return results_;
}
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 {
if (results_ != 0L) {
output.writeInt64(1, results_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (results_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, results_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse other = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse) obj;
boolean result = true;
result = result && (getResults()
== other.getResults());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getResults());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DeleteMetricByRangeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DeleteMetricByRangeResponse)
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
results_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricByRangeResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse result = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse(this);
result.results_ = results_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse.getDefaultInstance()) return this;
if (other.getResults() != 0L) {
setResults(other.getResults());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long results_ ;
/**
* int64 results = 1;
*/
public long getResults() {
return results_;
}
/**
* int64 results = 1;
*/
public Builder setResults(long value) {
results_ = value;
onChanged();
return this;
}
/**
* int64 results = 1;
*/
public Builder clearResults() {
results_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DeleteMetricByRangeResponse)
}
// @@protoc_insertion_point(class_scope:DeleteMetricByRangeResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteMetricByRangeResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteMetricByRangeResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricByRangeResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HealthResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:HealthResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code HealthResponse}
*/
public static final class HealthResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:HealthResponse)
HealthResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use HealthResponse.newBuilder() to construct.
private HealthResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HealthResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HealthResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_HealthResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_HealthResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.class, com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.HealthResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse other = (com.bluvision.cloud.metric.Beaconmetrics.HealthResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.HealthResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code HealthResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:HealthResponse)
com.bluvision.cloud.metric.Beaconmetrics.HealthResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_HealthResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_HealthResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.class, com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_HealthResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.HealthResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.HealthResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.HealthResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse result = new com.bluvision.cloud.metric.Beaconmetrics.HealthResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.HealthResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.HealthResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.HealthResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.HealthResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.HealthResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.HealthResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:HealthResponse)
}
// @@protoc_insertion_point(class_scope:HealthResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.HealthResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.HealthResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.HealthResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public HealthResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HealthResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.HealthResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListStorageKeysRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:ListStorageKeysRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* string startDate = 2;
*/
java.lang.String getStartDate();
/**
* string startDate = 2;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
* string endDate = 3;
*/
java.lang.String getEndDate();
/**
* string endDate = 3;
*/
com.google.protobuf.ByteString
getEndDateBytes();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
java.util.List
getDataTypesList();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
int getDataTypesCount();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
java.lang.String getDataTypes(int index);
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
com.google.protobuf.ByteString
getDataTypesBytes(int index);
/**
* repeated string beaconIds = 5;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 5;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 5;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 5;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
}
/**
*
* ListStorageKeysRequest is a request for s3 keys we have
* stored the raw data for in s3.
*
*
* Protobuf type {@code ListStorageKeysRequest}
*/
public static final class ListStorageKeysRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ListStorageKeysRequest)
ListStorageKeysRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListStorageKeysRequest.newBuilder() to construct.
private ListStorageKeysRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListStorageKeysRequest() {
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListStorageKeysRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
dataTypes_.add(s);
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
beaconIds_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = dataTypes_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.class, com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int STARTDATE_FIELD_NUMBER = 2;
private volatile java.lang.Object startDate_;
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 3;
private volatile java.lang.Object endDate_;
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATATYPES_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList dataTypes_;
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ProtocolStringList
getDataTypesList() {
return dataTypes_;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public int getDataTypesCount() {
return dataTypes_.size();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public java.lang.String getDataTypes(int index) {
return dataTypes_.get(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ByteString
getDataTypesBytes(int index) {
return dataTypes_.getByteString(index);
}
public static final int BEACONIDS_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 5;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 5;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endDate_);
}
for (int i = 0; i < dataTypes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataTypes_.getRaw(i));
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, beaconIds_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endDate_);
}
{
int dataSize = 0;
for (int i = 0; i < dataTypes_.size(); i++) {
dataSize += computeStringSizeNoTag(dataTypes_.getRaw(i));
}
size += dataSize;
size += 1 * getDataTypesList().size();
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest other = (com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && getDataTypesList()
.equals(other.getDataTypesList());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
if (getDataTypesCount() > 0) {
hash = (37 * hash) + DATATYPES_FIELD_NUMBER;
hash = (53 * hash) + getDataTypesList().hashCode();
}
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* ListStorageKeysRequest is a request for s3 keys we have
* stored the raw data for in s3.
*
*
* Protobuf type {@code ListStorageKeysRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ListStorageKeysRequest)
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.class, com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest result = new com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = dataTypes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.dataTypes_ = dataTypes_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.beaconIds_ = beaconIds_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
if (!other.dataTypes_.isEmpty()) {
if (dataTypes_.isEmpty()) {
dataTypes_ = other.dataTypes_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDataTypesIsMutable();
dataTypes_.addAll(other.dataTypes_);
}
onChanged();
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string startDate = 2;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string endDate = 3;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDataTypesIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = new com.google.protobuf.LazyStringArrayList(dataTypes_);
bitField0_ |= 0x00000008;
}
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ProtocolStringList
getDataTypesList() {
return dataTypes_.getUnmodifiableView();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public int getDataTypesCount() {
return dataTypes_.size();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public java.lang.String getDataTypes(int index) {
return dataTypes_.get(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ByteString
getDataTypesBytes(int index) {
return dataTypes_.getByteString(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder setDataTypes(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataTypesIsMutable();
dataTypes_.set(index, value);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addDataTypes(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataTypesIsMutable();
dataTypes_.add(value);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addAllDataTypes(
java.lang.Iterable values) {
ensureDataTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataTypes_);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder clearDataTypes() {
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addDataTypesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDataTypesIsMutable();
dataTypes_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 5;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 5;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 5;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ListStorageKeysRequest)
}
// @@protoc_insertion_point(class_scope:ListStorageKeysRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListStorageKeysRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListStorageKeysRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ListStorageKeysResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:ListStorageKeysResponse)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string keys = 1;
*/
java.util.List
getKeysList();
/**
* repeated string keys = 1;
*/
int getKeysCount();
/**
* repeated string keys = 1;
*/
java.lang.String getKeys(int index);
/**
* repeated string keys = 1;
*/
com.google.protobuf.ByteString
getKeysBytes(int index);
}
/**
* Protobuf type {@code ListStorageKeysResponse}
*/
public static final class ListStorageKeysResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:ListStorageKeysResponse)
ListStorageKeysResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ListStorageKeysResponse.newBuilder() to construct.
private ListStorageKeysResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ListStorageKeysResponse() {
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ListStorageKeysResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
keys_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
keys_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
keys_ = keys_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.class, com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.Builder.class);
}
public static final int KEYS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList keys_;
/**
* repeated string keys = 1;
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_;
}
/**
* repeated string keys = 1;
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < keys_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, keys_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < keys_.size(); i++) {
dataSize += computeStringSizeNoTag(keys_.getRaw(i));
}
size += dataSize;
size += 1 * getKeysList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse other = (com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse) obj;
boolean result = true;
result = result && getKeysList()
.equals(other.getKeysList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getKeysCount() > 0) {
hash = (37 * hash) + KEYS_FIELD_NUMBER;
hash = (53 * hash) + getKeysList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code ListStorageKeysResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:ListStorageKeysResponse)
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.class, com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ListStorageKeysResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse result = new com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
keys_ = keys_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.keys_ = keys_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse.getDefaultInstance()) return this;
if (!other.keys_.isEmpty()) {
if (keys_.isEmpty()) {
keys_ = other.keys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureKeysIsMutable();
keys_.addAll(other.keys_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureKeysIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
keys_ = new com.google.protobuf.LazyStringArrayList(keys_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string keys = 1;
*/
public com.google.protobuf.ProtocolStringList
getKeysList() {
return keys_.getUnmodifiableView();
}
/**
* repeated string keys = 1;
*/
public int getKeysCount() {
return keys_.size();
}
/**
* repeated string keys = 1;
*/
public java.lang.String getKeys(int index) {
return keys_.get(index);
}
/**
* repeated string keys = 1;
*/
public com.google.protobuf.ByteString
getKeysBytes(int index) {
return keys_.getByteString(index);
}
/**
* repeated string keys = 1;
*/
public Builder setKeys(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.set(index, value);
onChanged();
return this;
}
/**
* repeated string keys = 1;
*/
public Builder addKeys(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureKeysIsMutable();
keys_.add(value);
onChanged();
return this;
}
/**
* repeated string keys = 1;
*/
public Builder addAllKeys(
java.lang.Iterable values) {
ensureKeysIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, keys_);
onChanged();
return this;
}
/**
* repeated string keys = 1;
*/
public Builder clearKeys() {
keys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string keys = 1;
*/
public Builder addKeysBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureKeysIsMutable();
keys_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:ListStorageKeysResponse)
}
// @@protoc_insertion_point(class_scope:ListStorageKeysResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public ListStorageKeysResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ListStorageKeysResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.ListStorageKeysResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DownloadStorageRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:DownloadStorageRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* string startDate = 2;
*/
java.lang.String getStartDate();
/**
* string startDate = 2;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
* string endDate = 3;
*/
java.lang.String getEndDate();
/**
* string endDate = 3;
*/
com.google.protobuf.ByteString
getEndDateBytes();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
java.util.List
getDataTypesList();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
int getDataTypesCount();
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
java.lang.String getDataTypes(int index);
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
com.google.protobuf.ByteString
getDataTypesBytes(int index);
/**
* repeated string beaconIds = 5;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 5;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 5;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 5;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
}
/**
* Protobuf type {@code DownloadStorageRequest}
*/
public static final class DownloadStorageRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DownloadStorageRequest)
DownloadStorageRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DownloadStorageRequest.newBuilder() to construct.
private DownloadStorageRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DownloadStorageRequest() {
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DownloadStorageRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
dataTypes_.add(s);
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000010;
}
beaconIds_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = dataTypes_.getUnmodifiableView();
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int STARTDATE_FIELD_NUMBER = 2;
private volatile java.lang.Object startDate_;
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 3;
private volatile java.lang.Object endDate_;
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATATYPES_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList dataTypes_;
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ProtocolStringList
getDataTypesList() {
return dataTypes_;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public int getDataTypesCount() {
return dataTypes_.size();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public java.lang.String getDataTypes(int index) {
return dataTypes_.get(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ByteString
getDataTypesBytes(int index) {
return dataTypes_.getByteString(index);
}
public static final int BEACONIDS_FIELD_NUMBER = 5;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 5;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 5;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endDate_);
}
for (int i = 0; i < dataTypes_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dataTypes_.getRaw(i));
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, beaconIds_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endDate_);
}
{
int dataSize = 0;
for (int i = 0; i < dataTypes_.size(); i++) {
dataSize += computeStringSizeNoTag(dataTypes_.getRaw(i));
}
size += dataSize;
size += 1 * getDataTypesList().size();
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest other = (com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && getDataTypesList()
.equals(other.getDataTypesList());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
if (getDataTypesCount() > 0) {
hash = (37 * hash) + DATATYPES_FIELD_NUMBER;
hash = (53 * hash) + getDataTypesList().hashCode();
}
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DownloadStorageRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DownloadStorageRequest)
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest result = new com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = dataTypes_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.dataTypes_ = dataTypes_;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.beaconIds_ = beaconIds_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
if (!other.dataTypes_.isEmpty()) {
if (dataTypes_.isEmpty()) {
dataTypes_ = other.dataTypes_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDataTypesIsMutable();
dataTypes_.addAll(other.dataTypes_);
}
onChanged();
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string startDate = 2;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string endDate = 3;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDataTypesIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
dataTypes_ = new com.google.protobuf.LazyStringArrayList(dataTypes_);
bitField0_ |= 0x00000008;
}
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ProtocolStringList
getDataTypesList() {
return dataTypes_.getUnmodifiableView();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public int getDataTypesCount() {
return dataTypes_.size();
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public java.lang.String getDataTypes(int index) {
return dataTypes_.get(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public com.google.protobuf.ByteString
getDataTypesBytes(int index) {
return dataTypes_.getByteString(index);
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder setDataTypes(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataTypesIsMutable();
dataTypes_.set(index, value);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addDataTypes(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureDataTypesIsMutable();
dataTypes_.add(value);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addAllDataTypes(
java.lang.Iterable values) {
ensureDataTypesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dataTypes_);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder clearDataTypes() {
dataTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
*
* dataTypes are the packet data types you want.
*
*
* repeated string dataTypes = 4;
*/
public Builder addDataTypesBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureDataTypesIsMutable();
dataTypes_.add(value);
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000010) == 0x00000010)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 5;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 5;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 5;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 5;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string beaconIds = 5;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DownloadStorageRequest)
}
// @@protoc_insertion_point(class_scope:DownloadStorageRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DownloadStorageRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DownloadStorageRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DownloadStorageResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:DownloadStorageResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code DownloadStorageResponse}
*/
public static final class DownloadStorageResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DownloadStorageResponse)
DownloadStorageResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DownloadStorageResponse.newBuilder() to construct.
private DownloadStorageResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DownloadStorageResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DownloadStorageResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse other = (com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code DownloadStorageResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DownloadStorageResponse)
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DownloadStorageResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse result = new com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DownloadStorageResponse)
}
// @@protoc_insertion_point(class_scope:DownloadStorageResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DownloadStorageResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DownloadStorageResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DownloadStorageResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccelSecondDataRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AccelSecondDataRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* string startDate = 2;
*/
java.lang.String getStartDate();
/**
* string startDate = 2;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
* string endDate = 3;
*/
java.lang.String getEndDate();
/**
* string endDate = 3;
*/
com.google.protobuf.ByteString
getEndDateBytes();
/**
* repeated string beaconIds = 4;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 4;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 4;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 4;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
/**
* bool allowAll = 5;
*/
boolean getAllowAll();
}
/**
*
* request for accel data
*
*
* Protobuf type {@code AccelSecondDataRequest}
*/
public static final class AccelSecondDataRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AccelSecondDataRequest)
AccelSecondDataRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AccelSecondDataRequest.newBuilder() to construct.
private AccelSecondDataRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccelSecondDataRequest() {
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
allowAll_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AccelSecondDataRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
beaconIds_.add(s);
break;
}
case 40: {
allowAll_ = 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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int STARTDATE_FIELD_NUMBER = 2;
private volatile java.lang.Object startDate_;
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 3;
private volatile java.lang.Object endDate_;
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BEACONIDS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
public static final int ALLOWALL_FIELD_NUMBER = 5;
private boolean allowAll_;
/**
* bool allowAll = 5;
*/
public boolean getAllowAll() {
return allowAll_;
}
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 {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endDate_);
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, beaconIds_.getRaw(i));
}
if (allowAll_ != false) {
output.writeBool(5, allowAll_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endDate_);
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
if (allowAll_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, allowAll_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && (getAllowAll()
== other.getAllowAll());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (37 * hash) + ALLOWALL_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAllowAll());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* request for accel data
*
*
* Protobuf type {@code AccelSecondDataRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AccelSecondDataRequest)
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
allowAll_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.beaconIds_ = beaconIds_;
result.allowAll_ = allowAll_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
if (other.getAllowAll() != false) {
setAllowAll(other.getAllowAll());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string startDate = 2;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string endDate = 3;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 4;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
private boolean allowAll_ ;
/**
* bool allowAll = 5;
*/
public boolean getAllowAll() {
return allowAll_;
}
/**
* bool allowAll = 5;
*/
public Builder setAllowAll(boolean value) {
allowAll_ = value;
onChanged();
return this;
}
/**
* bool allowAll = 5;
*/
public Builder clearAllowAll() {
allowAll_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AccelSecondDataRequest)
}
// @@protoc_insertion_point(class_scope:AccelSecondDataRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccelSecondDataRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccelSecondDataRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AccelSecondDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AccelSecondDataResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code AccelSecondDataResponse}
*/
public static final class AccelSecondDataResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AccelSecondDataResponse)
AccelSecondDataResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AccelSecondDataResponse.newBuilder() to construct.
private AccelSecondDataResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AccelSecondDataResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AccelSecondDataResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AccelSecondDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AccelSecondDataResponse)
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AccelSecondDataResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AccelSecondDataResponse)
}
// @@protoc_insertion_point(class_scope:AccelSecondDataResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AccelSecondDataResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AccelSecondDataResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AccelSecondDataResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateProjectScanHistoryRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateProjectScanHistoryRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* string startDate = 2;
*/
java.lang.String getStartDate();
/**
* string startDate = 2;
*/
com.google.protobuf.ByteString
getStartDateBytes();
/**
* string endDate = 3;
*/
java.lang.String getEndDate();
/**
* string endDate = 3;
*/
com.google.protobuf.ByteString
getEndDateBytes();
/**
* repeated string beaconIds = 4;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 4;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 4;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 4;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
/**
*
* should we delete the existing cache data so our records are corrected
*
*
* bool purgeExisting = 5;
*/
boolean getPurgeExisting();
}
/**
*
* AggregateProjectScanHistoryRequest
*
*
* Protobuf type {@code AggregateProjectScanHistoryRequest}
*/
public static final class AggregateProjectScanHistoryRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateProjectScanHistoryRequest)
AggregateProjectScanHistoryRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateProjectScanHistoryRequest.newBuilder() to construct.
private AggregateProjectScanHistoryRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateProjectScanHistoryRequest() {
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
purgeExisting_ = false;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateProjectScanHistoryRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
startDate_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
endDate_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000008;
}
beaconIds_.add(s);
break;
}
case 40: {
purgeExisting_ = 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).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int STARTDATE_FIELD_NUMBER = 2;
private volatile java.lang.Object startDate_;
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
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();
startDate_ = s;
return s;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ENDDATE_FIELD_NUMBER = 3;
private volatile java.lang.Object endDate_;
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
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();
endDate_ = s;
return s;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BEACONIDS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
public static final int PURGEEXISTING_FIELD_NUMBER = 5;
private boolean purgeExisting_;
/**
*
* should we delete the existing cache data so our records are corrected
*
*
* bool purgeExisting = 5;
*/
public boolean getPurgeExisting() {
return purgeExisting_;
}
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 {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, endDate_);
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, beaconIds_.getRaw(i));
}
if (purgeExisting_ != false) {
output.writeBool(5, purgeExisting_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (!getStartDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, startDate_);
}
if (!getEndDateBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, endDate_);
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
if (purgeExisting_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, purgeExisting_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getStartDate()
.equals(other.getStartDate());
result = result && getEndDate()
.equals(other.getEndDate());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && (getPurgeExisting()
== other.getPurgeExisting());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + STARTDATE_FIELD_NUMBER;
hash = (53 * hash) + getStartDate().hashCode();
hash = (37 * hash) + ENDDATE_FIELD_NUMBER;
hash = (53 * hash) + getEndDate().hashCode();
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (37 * hash) + PURGEEXISTING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getPurgeExisting());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* AggregateProjectScanHistoryRequest
*
*
* Protobuf type {@code AggregateProjectScanHistoryRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateProjectScanHistoryRequest)
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
startDate_ = "";
endDate_ = "";
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
purgeExisting_ = false;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
result.startDate_ = startDate_;
result.endDate_ = endDate_;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.beaconIds_ = beaconIds_;
result.purgeExisting_ = purgeExisting_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getStartDate().isEmpty()) {
startDate_ = other.startDate_;
onChanged();
}
if (!other.getEndDate().isEmpty()) {
endDate_ = other.endDate_;
onChanged();
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
if (other.getPurgeExisting() != false) {
setPurgeExisting(other.getPurgeExisting());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object startDate_ = "";
/**
* string startDate = 2;
*/
public java.lang.String getStartDate() {
java.lang.Object ref = startDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
startDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string startDate = 2;
*/
public com.google.protobuf.ByteString
getStartDateBytes() {
java.lang.Object ref = startDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
startDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string startDate = 2;
*/
public Builder setStartDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
startDate_ = value;
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder clearStartDate() {
startDate_ = getDefaultInstance().getStartDate();
onChanged();
return this;
}
/**
* string startDate = 2;
*/
public Builder setStartDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
startDate_ = value;
onChanged();
return this;
}
private java.lang.Object endDate_ = "";
/**
* string endDate = 3;
*/
public java.lang.String getEndDate() {
java.lang.Object ref = endDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endDate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string endDate = 3;
*/
public com.google.protobuf.ByteString
getEndDateBytes() {
java.lang.Object ref = endDate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endDate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string endDate = 3;
*/
public Builder setEndDate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endDate_ = value;
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder clearEndDate() {
endDate_ = getDefaultInstance().getEndDate();
onChanged();
return this;
}
/**
* string endDate = 3;
*/
public Builder setEndDateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endDate_ = value;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000008) == 0x00000008)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 4;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
private boolean purgeExisting_ ;
/**
*
* should we delete the existing cache data so our records are corrected
*
*
* bool purgeExisting = 5;
*/
public boolean getPurgeExisting() {
return purgeExisting_;
}
/**
*
* should we delete the existing cache data so our records are corrected
*
*
* bool purgeExisting = 5;
*/
public Builder setPurgeExisting(boolean value) {
purgeExisting_ = value;
onChanged();
return this;
}
/**
*
* should we delete the existing cache data so our records are corrected
*
*
* bool purgeExisting = 5;
*/
public Builder clearPurgeExisting() {
purgeExisting_ = false;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateProjectScanHistoryRequest)
}
// @@protoc_insertion_point(class_scope:AggregateProjectScanHistoryRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateProjectScanHistoryRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateProjectScanHistoryRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateProjectScanHistoryResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateProjectScanHistoryResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
*
* AggregateProjectScanHistoryResponse
*
*
* Protobuf type {@code AggregateProjectScanHistoryResponse}
*/
public static final class AggregateProjectScanHistoryResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateProjectScanHistoryResponse)
AggregateProjectScanHistoryResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateProjectScanHistoryResponse.newBuilder() to construct.
private AggregateProjectScanHistoryResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateProjectScanHistoryResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateProjectScanHistoryResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* AggregateProjectScanHistoryResponse
*
*
* Protobuf type {@code AggregateProjectScanHistoryResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateProjectScanHistoryResponse)
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateProjectScanHistoryResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateProjectScanHistoryResponse)
}
// @@protoc_insertion_point(class_scope:AggregateProjectScanHistoryResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateProjectScanHistoryResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateProjectScanHistoryResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateProjectScanHistoryResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteMetricHistoryCacheRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:DeleteMetricHistoryCacheRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* repeated string beaconIds = 4;
*/
java.util.List
getBeaconIdsList();
/**
* repeated string beaconIds = 4;
*/
int getBeaconIdsCount();
/**
* repeated string beaconIds = 4;
*/
java.lang.String getBeaconIds(int index);
/**
* repeated string beaconIds = 4;
*/
com.google.protobuf.ByteString
getBeaconIdsBytes(int index);
}
/**
*
* DeleteMetricHistoryCacheRequest
*
*
* Protobuf type {@code DeleteMetricHistoryCacheRequest}
*/
public static final class DeleteMetricHistoryCacheRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DeleteMetricHistoryCacheRequest)
DeleteMetricHistoryCacheRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteMetricHistoryCacheRequest.newBuilder() to construct.
private DeleteMetricHistoryCacheRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteMetricHistoryCacheRequest() {
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteMetricHistoryCacheRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
beaconIds_.add(s);
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.Builder.class);
}
private int bitField0_;
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int BEACONIDS_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList beaconIds_;
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_;
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.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(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
for (int i = 0; i < beaconIds_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, beaconIds_.getRaw(i));
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
{
int dataSize = 0;
for (int i = 0; i < beaconIds_.size(); i++) {
dataSize += computeStringSizeNoTag(beaconIds_.getRaw(i));
}
size += dataSize;
size += 1 * getBeaconIdsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest other = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getBeaconIdsList()
.equals(other.getBeaconIdsList());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
if (getBeaconIdsCount() > 0) {
hash = (37 * hash) + BEACONIDS_FIELD_NUMBER;
hash = (53 * hash) + getBeaconIdsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* DeleteMetricHistoryCacheRequest
*
*
* Protobuf type {@code DeleteMetricHistoryCacheRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DeleteMetricHistoryCacheRequest)
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest result = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.projectId_ = projectId_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = beaconIds_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.beaconIds_ = beaconIds_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.beaconIds_.isEmpty()) {
if (beaconIds_.isEmpty()) {
beaconIds_ = other.beaconIds_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBeaconIdsIsMutable();
beaconIds_.addAll(other.beaconIds_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.LazyStringList beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureBeaconIdsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
beaconIds_ = new com.google.protobuf.LazyStringArrayList(beaconIds_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ProtocolStringList
getBeaconIdsList() {
return beaconIds_.getUnmodifiableView();
}
/**
* repeated string beaconIds = 4;
*/
public int getBeaconIdsCount() {
return beaconIds_.size();
}
/**
* repeated string beaconIds = 4;
*/
public java.lang.String getBeaconIds(int index) {
return beaconIds_.get(index);
}
/**
* repeated string beaconIds = 4;
*/
public com.google.protobuf.ByteString
getBeaconIdsBytes(int index) {
return beaconIds_.getByteString(index);
}
/**
* repeated string beaconIds = 4;
*/
public Builder setBeaconIds(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.set(index, value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIds(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addAllBeaconIds(
java.lang.Iterable values) {
ensureBeaconIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, beaconIds_);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder clearBeaconIds() {
beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string beaconIds = 4;
*/
public Builder addBeaconIdsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureBeaconIdsIsMutable();
beaconIds_.add(value);
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DeleteMetricHistoryCacheRequest)
}
// @@protoc_insertion_point(class_scope:DeleteMetricHistoryCacheRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteMetricHistoryCacheRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteMetricHistoryCacheRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface DeleteMetricHistoryCacheResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:DeleteMetricHistoryCacheResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
*
* DeleteMetricHistoryCacheResponse
*
*
* Protobuf type {@code DeleteMetricHistoryCacheResponse}
*/
public static final class DeleteMetricHistoryCacheResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:DeleteMetricHistoryCacheResponse)
DeleteMetricHistoryCacheResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeleteMetricHistoryCacheResponse.newBuilder() to construct.
private DeleteMetricHistoryCacheResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DeleteMetricHistoryCacheResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DeleteMetricHistoryCacheResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse other = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* DeleteMetricHistoryCacheResponse
*
*
* Protobuf type {@code DeleteMetricHistoryCacheResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:DeleteMetricHistoryCacheResponse)
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.class, com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_DeleteMetricHistoryCacheResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse result = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:DeleteMetricHistoryCacheResponse)
}
// @@protoc_insertion_point(class_scope:DeleteMetricHistoryCacheResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public DeleteMetricHistoryCacheResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DeleteMetricHistoryCacheResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.DeleteMetricHistoryCacheResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateBatchRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateBatchRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* string beaconId = 2;
*/
java.lang.String getBeaconId();
/**
* string beaconId = 2;
*/
com.google.protobuf.ByteString
getBeaconIdBytes();
/**
* int64 rcmImportId = 3;
*/
long getRcmImportId();
/**
* int64 blufiId = 4;
*/
long getBlufiId();
/**
* string blufiSid64 = 5;
*/
java.lang.String getBlufiSid64();
/**
* string blufiSid64 = 5;
*/
com.google.protobuf.ByteString
getBlufiSid64Bytes();
/**
* string blufiMacAddress = 6;
*/
java.lang.String getBlufiMacAddress();
/**
* string blufiMacAddress = 6;
*/
com.google.protobuf.ByteString
getBlufiMacAddressBytes();
/**
* string bucket = 7;
*/
java.lang.String getBucket();
/**
* string bucket = 7;
*/
com.google.protobuf.ByteString
getBucketBytes();
/**
* string key = 8;
*/
java.lang.String getKey();
/**
* string key = 8;
*/
com.google.protobuf.ByteString
getKeyBytes();
/**
* bool raw = 9;
*/
boolean getRaw();
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
java.lang.String getCallback();
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
com.google.protobuf.ByteString
getCallbackBytes();
}
/**
*
* AggregateBatchRequest requests aggregation of the file located at bucket and key
* callback is provided for http notification of results.
*
*
* Protobuf type {@code AggregateBatchRequest}
*/
public static final class AggregateBatchRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateBatchRequest)
AggregateBatchRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateBatchRequest.newBuilder() to construct.
private AggregateBatchRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateBatchRequest() {
projectId_ = 0L;
beaconId_ = "";
rcmImportId_ = 0L;
blufiId_ = 0L;
blufiSid64_ = "";
blufiMacAddress_ = "";
bucket_ = "";
key_ = "";
raw_ = false;
callback_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateBatchRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
beaconId_ = s;
break;
}
case 24: {
rcmImportId_ = input.readInt64();
break;
}
case 32: {
blufiId_ = input.readInt64();
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
blufiSid64_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
blufiMacAddress_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
bucket_ = s;
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
key_ = s;
break;
}
case 72: {
raw_ = input.readBool();
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
callback_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.Builder.class);
}
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int BEACONID_FIELD_NUMBER = 2;
private volatile java.lang.Object beaconId_;
/**
* string beaconId = 2;
*/
public java.lang.String getBeaconId() {
java.lang.Object ref = beaconId_;
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();
beaconId_ = s;
return s;
}
}
/**
* string beaconId = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdBytes() {
java.lang.Object ref = beaconId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beaconId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RCMIMPORTID_FIELD_NUMBER = 3;
private long rcmImportId_;
/**
* int64 rcmImportId = 3;
*/
public long getRcmImportId() {
return rcmImportId_;
}
public static final int BLUFIID_FIELD_NUMBER = 4;
private long blufiId_;
/**
* int64 blufiId = 4;
*/
public long getBlufiId() {
return blufiId_;
}
public static final int BLUFISID64_FIELD_NUMBER = 5;
private volatile java.lang.Object blufiSid64_;
/**
* string blufiSid64 = 5;
*/
public java.lang.String getBlufiSid64() {
java.lang.Object ref = blufiSid64_;
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();
blufiSid64_ = s;
return s;
}
}
/**
* string blufiSid64 = 5;
*/
public com.google.protobuf.ByteString
getBlufiSid64Bytes() {
java.lang.Object ref = blufiSid64_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blufiSid64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BLUFIMACADDRESS_FIELD_NUMBER = 6;
private volatile java.lang.Object blufiMacAddress_;
/**
* string blufiMacAddress = 6;
*/
public java.lang.String getBlufiMacAddress() {
java.lang.Object ref = blufiMacAddress_;
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();
blufiMacAddress_ = s;
return s;
}
}
/**
* string blufiMacAddress = 6;
*/
public com.google.protobuf.ByteString
getBlufiMacAddressBytes() {
java.lang.Object ref = blufiMacAddress_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blufiMacAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BUCKET_FIELD_NUMBER = 7;
private volatile java.lang.Object bucket_;
/**
* string bucket = 7;
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
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();
bucket_ = s;
return s;
}
}
/**
* string bucket = 7;
*/
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int KEY_FIELD_NUMBER = 8;
private volatile java.lang.Object key_;
/**
* string key = 8;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
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();
key_ = s;
return s;
}
}
/**
* string key = 8;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RAW_FIELD_NUMBER = 9;
private boolean raw_;
/**
* bool raw = 9;
*/
public boolean getRaw() {
return raw_;
}
public static final int CALLBACK_FIELD_NUMBER = 10;
private volatile java.lang.Object callback_;
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public java.lang.String getCallback() {
java.lang.Object ref = callback_;
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();
callback_ = s;
return s;
}
}
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public com.google.protobuf.ByteString
getCallbackBytes() {
java.lang.Object ref = callback_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callback_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (!getBeaconIdBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beaconId_);
}
if (rcmImportId_ != 0L) {
output.writeInt64(3, rcmImportId_);
}
if (blufiId_ != 0L) {
output.writeInt64(4, blufiId_);
}
if (!getBlufiSid64Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, blufiSid64_);
}
if (!getBlufiMacAddressBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, blufiMacAddress_);
}
if (!getBucketBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, bucket_);
}
if (!getKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, key_);
}
if (raw_ != false) {
output.writeBool(9, raw_);
}
if (!getCallbackBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, callback_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (!getBeaconIdBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, beaconId_);
}
if (rcmImportId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, rcmImportId_);
}
if (blufiId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, blufiId_);
}
if (!getBlufiSid64Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, blufiSid64_);
}
if (!getBlufiMacAddressBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, blufiMacAddress_);
}
if (!getBucketBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, bucket_);
}
if (!getKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, key_);
}
if (raw_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(9, raw_);
}
if (!getCallbackBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, callback_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && getBeaconId()
.equals(other.getBeaconId());
result = result && (getRcmImportId()
== other.getRcmImportId());
result = result && (getBlufiId()
== other.getBlufiId());
result = result && getBlufiSid64()
.equals(other.getBlufiSid64());
result = result && getBlufiMacAddress()
.equals(other.getBlufiMacAddress());
result = result && getBucket()
.equals(other.getBucket());
result = result && getKey()
.equals(other.getKey());
result = result && (getRaw()
== other.getRaw());
result = result && getCallback()
.equals(other.getCallback());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + BEACONID_FIELD_NUMBER;
hash = (53 * hash) + getBeaconId().hashCode();
hash = (37 * hash) + RCMIMPORTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRcmImportId());
hash = (37 * hash) + BLUFIID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlufiId());
hash = (37 * hash) + BLUFISID64_FIELD_NUMBER;
hash = (53 * hash) + getBlufiSid64().hashCode();
hash = (37 * hash) + BLUFIMACADDRESS_FIELD_NUMBER;
hash = (53 * hash) + getBlufiMacAddress().hashCode();
hash = (37 * hash) + BUCKET_FIELD_NUMBER;
hash = (53 * hash) + getBucket().hashCode();
hash = (37 * hash) + KEY_FIELD_NUMBER;
hash = (53 * hash) + getKey().hashCode();
hash = (37 * hash) + RAW_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getRaw());
hash = (37 * hash) + CALLBACK_FIELD_NUMBER;
hash = (53 * hash) + getCallback().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* AggregateBatchRequest requests aggregation of the file located at bucket and key
* callback is provided for http notification of results.
*
*
* Protobuf type {@code AggregateBatchRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateBatchRequest)
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
beaconId_ = "";
rcmImportId_ = 0L;
blufiId_ = 0L;
blufiSid64_ = "";
blufiMacAddress_ = "";
bucket_ = "";
key_ = "";
raw_ = false;
callback_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest(this);
result.projectId_ = projectId_;
result.beaconId_ = beaconId_;
result.rcmImportId_ = rcmImportId_;
result.blufiId_ = blufiId_;
result.blufiSid64_ = blufiSid64_;
result.blufiMacAddress_ = blufiMacAddress_;
result.bucket_ = bucket_;
result.key_ = key_;
result.raw_ = raw_;
result.callback_ = callback_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getBeaconId().isEmpty()) {
beaconId_ = other.beaconId_;
onChanged();
}
if (other.getRcmImportId() != 0L) {
setRcmImportId(other.getRcmImportId());
}
if (other.getBlufiId() != 0L) {
setBlufiId(other.getBlufiId());
}
if (!other.getBlufiSid64().isEmpty()) {
blufiSid64_ = other.blufiSid64_;
onChanged();
}
if (!other.getBlufiMacAddress().isEmpty()) {
blufiMacAddress_ = other.blufiMacAddress_;
onChanged();
}
if (!other.getBucket().isEmpty()) {
bucket_ = other.bucket_;
onChanged();
}
if (!other.getKey().isEmpty()) {
key_ = other.key_;
onChanged();
}
if (other.getRaw() != false) {
setRaw(other.getRaw());
}
if (!other.getCallback().isEmpty()) {
callback_ = other.callback_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object beaconId_ = "";
/**
* string beaconId = 2;
*/
public java.lang.String getBeaconId() {
java.lang.Object ref = beaconId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
beaconId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string beaconId = 2;
*/
public com.google.protobuf.ByteString
getBeaconIdBytes() {
java.lang.Object ref = beaconId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beaconId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string beaconId = 2;
*/
public Builder setBeaconId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
beaconId_ = value;
onChanged();
return this;
}
/**
* string beaconId = 2;
*/
public Builder clearBeaconId() {
beaconId_ = getDefaultInstance().getBeaconId();
onChanged();
return this;
}
/**
* string beaconId = 2;
*/
public Builder setBeaconIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
beaconId_ = value;
onChanged();
return this;
}
private long rcmImportId_ ;
/**
* int64 rcmImportId = 3;
*/
public long getRcmImportId() {
return rcmImportId_;
}
/**
* int64 rcmImportId = 3;
*/
public Builder setRcmImportId(long value) {
rcmImportId_ = value;
onChanged();
return this;
}
/**
* int64 rcmImportId = 3;
*/
public Builder clearRcmImportId() {
rcmImportId_ = 0L;
onChanged();
return this;
}
private long blufiId_ ;
/**
* int64 blufiId = 4;
*/
public long getBlufiId() {
return blufiId_;
}
/**
* int64 blufiId = 4;
*/
public Builder setBlufiId(long value) {
blufiId_ = value;
onChanged();
return this;
}
/**
* int64 blufiId = 4;
*/
public Builder clearBlufiId() {
blufiId_ = 0L;
onChanged();
return this;
}
private java.lang.Object blufiSid64_ = "";
/**
* string blufiSid64 = 5;
*/
public java.lang.String getBlufiSid64() {
java.lang.Object ref = blufiSid64_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blufiSid64_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string blufiSid64 = 5;
*/
public com.google.protobuf.ByteString
getBlufiSid64Bytes() {
java.lang.Object ref = blufiSid64_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blufiSid64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string blufiSid64 = 5;
*/
public Builder setBlufiSid64(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
blufiSid64_ = value;
onChanged();
return this;
}
/**
* string blufiSid64 = 5;
*/
public Builder clearBlufiSid64() {
blufiSid64_ = getDefaultInstance().getBlufiSid64();
onChanged();
return this;
}
/**
* string blufiSid64 = 5;
*/
public Builder setBlufiSid64Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
blufiSid64_ = value;
onChanged();
return this;
}
private java.lang.Object blufiMacAddress_ = "";
/**
* string blufiMacAddress = 6;
*/
public java.lang.String getBlufiMacAddress() {
java.lang.Object ref = blufiMacAddress_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
blufiMacAddress_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string blufiMacAddress = 6;
*/
public com.google.protobuf.ByteString
getBlufiMacAddressBytes() {
java.lang.Object ref = blufiMacAddress_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
blufiMacAddress_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string blufiMacAddress = 6;
*/
public Builder setBlufiMacAddress(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
blufiMacAddress_ = value;
onChanged();
return this;
}
/**
* string blufiMacAddress = 6;
*/
public Builder clearBlufiMacAddress() {
blufiMacAddress_ = getDefaultInstance().getBlufiMacAddress();
onChanged();
return this;
}
/**
* string blufiMacAddress = 6;
*/
public Builder setBlufiMacAddressBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
blufiMacAddress_ = value;
onChanged();
return this;
}
private java.lang.Object bucket_ = "";
/**
* string bucket = 7;
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bucket_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string bucket = 7;
*/
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string bucket = 7;
*/
public Builder setBucket(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bucket_ = value;
onChanged();
return this;
}
/**
* string bucket = 7;
*/
public Builder clearBucket() {
bucket_ = getDefaultInstance().getBucket();
onChanged();
return this;
}
/**
* string bucket = 7;
*/
public Builder setBucketBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bucket_ = value;
onChanged();
return this;
}
private java.lang.Object key_ = "";
/**
* string key = 8;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string key = 8;
*/
public com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string key = 8;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
key_ = value;
onChanged();
return this;
}
/**
* string key = 8;
*/
public Builder clearKey() {
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* string key = 8;
*/
public Builder setKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
key_ = value;
onChanged();
return this;
}
private boolean raw_ ;
/**
* bool raw = 9;
*/
public boolean getRaw() {
return raw_;
}
/**
* bool raw = 9;
*/
public Builder setRaw(boolean value) {
raw_ = value;
onChanged();
return this;
}
/**
* bool raw = 9;
*/
public Builder clearRaw() {
raw_ = false;
onChanged();
return this;
}
private java.lang.Object callback_ = "";
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public java.lang.String getCallback() {
java.lang.Object ref = callback_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
callback_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public com.google.protobuf.ByteString
getCallbackBytes() {
java.lang.Object ref = callback_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
callback_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public Builder setCallback(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
callback_ = value;
onChanged();
return this;
}
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public Builder clearCallback() {
callback_ = getDefaultInstance().getCallback();
onChanged();
return this;
}
/**
*
* TBD: most likely respond with results.
*
*
* string callback = 10;
*/
public Builder setCallbackBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
callback_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateBatchRequest)
}
// @@protoc_insertion_point(class_scope:AggregateBatchRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateBatchRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateBatchRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateBatchResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateBatchResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code AggregateBatchResponse}
*/
public static final class AggregateBatchResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateBatchResponse)
AggregateBatchResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateBatchResponse.newBuilder() to construct.
private AggregateBatchResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateBatchResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateBatchResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AggregateBatchResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateBatchResponse)
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateBatchResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateBatchResponse)
}
// @@protoc_insertion_point(class_scope:AggregateBatchResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateBatchResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateBatchResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateBatchResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateAllProjectRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateAllProjectRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
}
/**
* Protobuf type {@code AggregateAllProjectRequest}
*/
public static final class AggregateAllProjectRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateAllProjectRequest)
AggregateAllProjectRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateAllProjectRequest.newBuilder() to construct.
private AggregateAllProjectRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateAllProjectRequest() {
projectId_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateAllProjectRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.Builder.class);
}
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
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 {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AggregateAllProjectRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateAllProjectRequest)
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest(this);
result.projectId_ = projectId_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateAllProjectRequest)
}
// @@protoc_insertion_point(class_scope:AggregateAllProjectRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateAllProjectRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateAllProjectRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateAllProjectResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateAllProjectResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code AggregateAllProjectResponse}
*/
public static final class AggregateAllProjectResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateAllProjectResponse)
AggregateAllProjectResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateAllProjectResponse.newBuilder() to construct.
private AggregateAllProjectResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateAllProjectResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateAllProjectResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AggregateAllProjectResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateAllProjectResponse)
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateAllProjectResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateAllProjectResponse)
}
// @@protoc_insertion_point(class_scope:AggregateAllProjectResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateAllProjectResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateAllProjectResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateAllProjectResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateByRcmIdRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateByRcmIdRequest)
com.google.protobuf.MessageOrBuilder {
/**
* int64 projectId = 1;
*/
long getProjectId();
/**
* int64 rcmImportId = 2;
*/
long getRcmImportId();
}
/**
* Protobuf type {@code AggregateByRcmIdRequest}
*/
public static final class AggregateByRcmIdRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateByRcmIdRequest)
AggregateByRcmIdRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateByRcmIdRequest.newBuilder() to construct.
private AggregateByRcmIdRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateByRcmIdRequest() {
projectId_ = 0L;
rcmImportId_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateByRcmIdRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
projectId_ = input.readInt64();
break;
}
case 16: {
rcmImportId_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.Builder.class);
}
public static final int PROJECTID_FIELD_NUMBER = 1;
private long projectId_;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
public static final int RCMIMPORTID_FIELD_NUMBER = 2;
private long rcmImportId_;
/**
* int64 rcmImportId = 2;
*/
public long getRcmImportId() {
return rcmImportId_;
}
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 {
if (projectId_ != 0L) {
output.writeInt64(1, projectId_);
}
if (rcmImportId_ != 0L) {
output.writeInt64(2, rcmImportId_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, projectId_);
}
if (rcmImportId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, rcmImportId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest) obj;
boolean result = true;
result = result && (getProjectId()
== other.getProjectId());
result = result && (getRcmImportId()
== other.getRcmImportId());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + RCMIMPORTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRcmImportId());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AggregateByRcmIdRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateByRcmIdRequest)
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdRequest_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
projectId_ = 0L;
rcmImportId_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdRequest_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest(this);
result.projectId_ = projectId_;
result.rcmImportId_ = rcmImportId_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest.getDefaultInstance()) return this;
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (other.getRcmImportId() != 0L) {
setRcmImportId(other.getRcmImportId());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long projectId_ ;
/**
* int64 projectId = 1;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 1;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 1;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private long rcmImportId_ ;
/**
* int64 rcmImportId = 2;
*/
public long getRcmImportId() {
return rcmImportId_;
}
/**
* int64 rcmImportId = 2;
*/
public Builder setRcmImportId(long value) {
rcmImportId_ = value;
onChanged();
return this;
}
/**
* int64 rcmImportId = 2;
*/
public Builder clearRcmImportId() {
rcmImportId_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateByRcmIdRequest)
}
// @@protoc_insertion_point(class_scope:AggregateByRcmIdRequest)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateByRcmIdRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateByRcmIdRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AggregateByRcmIdResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:AggregateByRcmIdResponse)
com.google.protobuf.MessageOrBuilder {
/**
* string result = 1;
*/
java.lang.String getResult();
/**
* string result = 1;
*/
com.google.protobuf.ByteString
getResultBytes();
}
/**
* Protobuf type {@code AggregateByRcmIdResponse}
*/
public static final class AggregateByRcmIdResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:AggregateByRcmIdResponse)
AggregateByRcmIdResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AggregateByRcmIdResponse.newBuilder() to construct.
private AggregateByRcmIdResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AggregateByRcmIdResponse() {
result_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AggregateByRcmIdResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
java.lang.String s = input.readStringRequireUtf8();
result_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.Builder.class);
}
public static final int RESULT_FIELD_NUMBER = 1;
private volatile java.lang.Object result_;
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
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();
result_ = s;
return s;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!getResultBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, result_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getResultBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, result_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse) obj;
boolean result = true;
result = result && getResult()
.equals(other.getResult());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RESULT_FIELD_NUMBER;
hash = (53 * hash) + getResult().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code AggregateByRcmIdResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:AggregateByRcmIdResponse)
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdResponse_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
result_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateByRcmIdResponse_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse build() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse(this);
result.result_ = result_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse.getDefaultInstance()) return this;
if (!other.getResult().isEmpty()) {
result_ = other.result_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object result_ = "";
/**
* string result = 1;
*/
public java.lang.String getResult() {
java.lang.Object ref = result_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
result_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string result = 1;
*/
public com.google.protobuf.ByteString
getResultBytes() {
java.lang.Object ref = result_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
result_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string result = 1;
*/
public Builder setResult(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
result_ = value;
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder clearResult() {
result_ = getDefaultInstance().getResult();
onChanged();
return this;
}
/**
* string result = 1;
*/
public Builder setResultBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
result_ = value;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:AggregateByRcmIdResponse)
}
// @@protoc_insertion_point(class_scope:AggregateByRcmIdResponse)
private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse();
}
public static com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public AggregateByRcmIdResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AggregateByRcmIdResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.AggregateByRcmIdResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeaconRawMetricMapOrBuilder extends
// @@protoc_insertion_point(interface_extends:BeaconRawMetricMap)
com.google.protobuf.MessageOrBuilder {
/**
* map<string, .BeaconRawMetric> results = 1;
*/
int getResultsCount();
/**
* map<string, .BeaconRawMetric> results = 1;
*/
boolean containsResults(
java.lang.String key);
/**
* Use {@link #getResultsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getResults();
/**
* map<string, .BeaconRawMetric> results = 1;
*/
java.util.Map
getResultsMap();
/**
* map<string, .BeaconRawMetric> results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrDefault(
java.lang.String key,
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric defaultValue);
/**
* map<string, .BeaconRawMetric> results = 1;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrThrow(
java.lang.String key);
}
/**
* Protobuf type {@code BeaconRawMetricMap}
*/
public static final class BeaconRawMetricMap extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BeaconRawMetricMap)
BeaconRawMetricMapOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeaconRawMetricMap.newBuilder() to construct.
private BeaconRawMetricMap(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BeaconRawMetricMap() {
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BeaconRawMetricMap(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
results_ = com.google.protobuf.MapField.newMapField(
ResultsDefaultEntryHolder.defaultEntry);
mutable_bitField0_ |= 0x00000001;
}
com.google.protobuf.MapEntry
results__ = input.readMessage(
ResultsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
results_.getMutableMap().put(
results__.getKey(), results__.getValue());
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetResults();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.Builder.class);
}
public static final int RESULTS_FIELD_NUMBER = 1;
private static final class ResultsDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
java.lang.String, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric> defaultEntry =
com.google.protobuf.MapEntry
.newDefaultInstance(
com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_ResultsEntry_descriptor,
com.google.protobuf.WireFormat.FieldType.STRING,
"",
com.google.protobuf.WireFormat.FieldType.MESSAGE,
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance());
}
private com.google.protobuf.MapField<
java.lang.String, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric> results_;
private com.google.protobuf.MapField
internalGetResults() {
if (results_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ResultsDefaultEntryHolder.defaultEntry);
}
return results_;
}
public int getResultsCount() {
return internalGetResults().getMap().size();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public boolean containsResults(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetResults().getMap().containsKey(key);
}
/**
* Use {@link #getResultsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getResults() {
return getResultsMap();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public java.util.Map getResultsMap() {
return internalGetResults().getMap();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrDefault(
java.lang.String key,
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetResults().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetResults().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
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 {
com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetResults(),
ResultsDefaultEntryHolder.defaultEntry,
1);
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetResults().getMap().entrySet()) {
com.google.protobuf.MapEntry
results__ = ResultsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, results__);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap) obj;
boolean result = true;
result = result && internalGetResults().equals(
other.internalGetResults());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetResults().getMap().isEmpty()) {
hash = (37 * hash) + RESULTS_FIELD_NUMBER;
hash = (53 * hash) + internalGetResults().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BeaconRawMetricMap}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:BeaconRawMetricMap)
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMapOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetResults();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableResults();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
internalGetMutableResults().clear();
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetricMap_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap build() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap(this);
int from_bitField0_ = bitField0_;
result.results_ = internalGetResults();
result.results_.makeImmutable();
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap.getDefaultInstance()) return this;
internalGetMutableResults().mergeFrom(
other.internalGetResults());
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.MapField<
java.lang.String, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric> results_;
private com.google.protobuf.MapField
internalGetResults() {
if (results_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ResultsDefaultEntryHolder.defaultEntry);
}
return results_;
}
private com.google.protobuf.MapField
internalGetMutableResults() {
onChanged();;
if (results_ == null) {
results_ = com.google.protobuf.MapField.newMapField(
ResultsDefaultEntryHolder.defaultEntry);
}
if (!results_.isMutable()) {
results_ = results_.copy();
}
return results_;
}
public int getResultsCount() {
return internalGetResults().getMap().size();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public boolean containsResults(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
return internalGetResults().getMap().containsKey(key);
}
/**
* Use {@link #getResultsMap()} instead.
*/
@java.lang.Deprecated
public java.util.Map getResults() {
return getResultsMap();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public java.util.Map getResultsMap() {
return internalGetResults().getMap();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrDefault(
java.lang.String key,
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric defaultValue) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetResults().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResultsOrThrow(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
java.util.Map map =
internalGetResults().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearResults() {
internalGetMutableResults().getMutableMap()
.clear();
return this;
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public Builder removeResults(
java.lang.String key) {
if (key == null) { throw new java.lang.NullPointerException(); }
internalGetMutableResults().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableResults() {
return internalGetMutableResults().getMutableMap();
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public Builder putResults(
java.lang.String key,
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) {
if (key == null) { throw new java.lang.NullPointerException(); }
if (value == null) { throw new java.lang.NullPointerException(); }
internalGetMutableResults().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, .BeaconRawMetric> results = 1;
*/
public Builder putAllResults(
java.util.Map values) {
internalGetMutableResults().getMutableMap()
.putAll(values);
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BeaconRawMetricMap)
}
// @@protoc_insertion_point(class_scope:BeaconRawMetricMap)
private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap();
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public BeaconRawMetricMap parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BeaconRawMetricMap(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricMap getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeaconRawMetricOrBuilder extends
// @@protoc_insertion_point(interface_extends:BeaconRawMetric)
com.google.protobuf.MessageOrBuilder {
/**
* int64 dateKey = 1;
*/
long getDateKey();
/**
* string dateStringKey = 2;
*/
java.lang.String getDateStringKey();
/**
* string dateStringKey = 2;
*/
com.google.protobuf.ByteString
getDateStringKeyBytes();
/**
* int64 projectId = 3;
*/
long getProjectId();
/**
* string beaconId64 = 4;
*/
java.lang.String getBeaconId64();
/**
* string beaconId64 = 4;
*/
com.google.protobuf.ByteString
getBeaconId64Bytes();
/**
* int64 blufiId = 5;
*/
long getBlufiId();
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
boolean hasConditionSummary();
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getConditionSummary();
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder getConditionSummaryOrBuilder();
}
/**
* Protobuf type {@code BeaconRawMetric}
*/
public static final class BeaconRawMetric extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BeaconRawMetric)
BeaconRawMetricOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeaconRawMetric.newBuilder() to construct.
private BeaconRawMetric(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BeaconRawMetric() {
dateKey_ = 0L;
dateStringKey_ = "";
projectId_ = 0L;
beaconId64_ = "";
blufiId_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BeaconRawMetric(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
dateKey_ = input.readInt64();
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
dateStringKey_ = s;
break;
}
case 24: {
projectId_ = input.readInt64();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
beaconId64_ = s;
break;
}
case 40: {
blufiId_ = input.readInt64();
break;
}
case 50: {
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder subBuilder = null;
if (conditionSummary_ != null) {
subBuilder = conditionSummary_.toBuilder();
}
conditionSummary_ = input.readMessage(com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(conditionSummary_);
conditionSummary_ = subBuilder.buildPartial();
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetric_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetric_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder.class);
}
public static final int DATEKEY_FIELD_NUMBER = 1;
private long dateKey_;
/**
* int64 dateKey = 1;
*/
public long getDateKey() {
return dateKey_;
}
public static final int DATESTRINGKEY_FIELD_NUMBER = 2;
private volatile java.lang.Object dateStringKey_;
/**
* string dateStringKey = 2;
*/
public java.lang.String getDateStringKey() {
java.lang.Object ref = dateStringKey_;
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();
dateStringKey_ = s;
return s;
}
}
/**
* string dateStringKey = 2;
*/
public com.google.protobuf.ByteString
getDateStringKeyBytes() {
java.lang.Object ref = dateStringKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dateStringKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PROJECTID_FIELD_NUMBER = 3;
private long projectId_;
/**
* int64 projectId = 3;
*/
public long getProjectId() {
return projectId_;
}
public static final int BEACONID64_FIELD_NUMBER = 4;
private volatile java.lang.Object beaconId64_;
/**
* string beaconId64 = 4;
*/
public java.lang.String getBeaconId64() {
java.lang.Object ref = beaconId64_;
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();
beaconId64_ = s;
return s;
}
}
/**
* string beaconId64 = 4;
*/
public com.google.protobuf.ByteString
getBeaconId64Bytes() {
java.lang.Object ref = beaconId64_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beaconId64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int BLUFIID_FIELD_NUMBER = 5;
private long blufiId_;
/**
* int64 blufiId = 5;
*/
public long getBlufiId() {
return blufiId_;
}
public static final int CONDITIONSUMMARY_FIELD_NUMBER = 6;
private com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary conditionSummary_;
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public boolean hasConditionSummary() {
return conditionSummary_ != null;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getConditionSummary() {
return conditionSummary_ == null ? com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.getDefaultInstance() : conditionSummary_;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder getConditionSummaryOrBuilder() {
return getConditionSummary();
}
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 {
if (dateKey_ != 0L) {
output.writeInt64(1, dateKey_);
}
if (!getDateStringKeyBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, dateStringKey_);
}
if (projectId_ != 0L) {
output.writeInt64(3, projectId_);
}
if (!getBeaconId64Bytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, beaconId64_);
}
if (blufiId_ != 0L) {
output.writeInt64(5, blufiId_);
}
if (conditionSummary_ != null) {
output.writeMessage(6, getConditionSummary());
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (dateKey_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, dateKey_);
}
if (!getDateStringKeyBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dateStringKey_);
}
if (projectId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, projectId_);
}
if (!getBeaconId64Bytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, beaconId64_);
}
if (blufiId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, blufiId_);
}
if (conditionSummary_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getConditionSummary());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric) obj;
boolean result = true;
result = result && (getDateKey()
== other.getDateKey());
result = result && getDateStringKey()
.equals(other.getDateStringKey());
result = result && (getProjectId()
== other.getProjectId());
result = result && getBeaconId64()
.equals(other.getBeaconId64());
result = result && (getBlufiId()
== other.getBlufiId());
result = result && (hasConditionSummary() == other.hasConditionSummary());
if (hasConditionSummary()) {
result = result && getConditionSummary()
.equals(other.getConditionSummary());
}
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + DATEKEY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDateKey());
hash = (37 * hash) + DATESTRINGKEY_FIELD_NUMBER;
hash = (53 * hash) + getDateStringKey().hashCode();
hash = (37 * hash) + PROJECTID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getProjectId());
hash = (37 * hash) + BEACONID64_FIELD_NUMBER;
hash = (53 * hash) + getBeaconId64().hashCode();
hash = (37 * hash) + BLUFIID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getBlufiId());
if (hasConditionSummary()) {
hash = (37 * hash) + CONDITIONSUMMARY_FIELD_NUMBER;
hash = (53 * hash) + getConditionSummary().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BeaconRawMetric}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:BeaconRawMetric)
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetric_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetric_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
dateKey_ = 0L;
dateStringKey_ = "";
projectId_ = 0L;
beaconId64_ = "";
blufiId_ = 0L;
if (conditionSummaryBuilder_ == null) {
conditionSummary_ = null;
} else {
conditionSummary_ = null;
conditionSummaryBuilder_ = null;
}
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconRawMetric_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric build() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric(this);
result.dateKey_ = dateKey_;
result.dateStringKey_ = dateStringKey_;
result.projectId_ = projectId_;
result.beaconId64_ = beaconId64_;
result.blufiId_ = blufiId_;
if (conditionSummaryBuilder_ == null) {
result.conditionSummary_ = conditionSummary_;
} else {
result.conditionSummary_ = conditionSummaryBuilder_.build();
}
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance()) return this;
if (other.getDateKey() != 0L) {
setDateKey(other.getDateKey());
}
if (!other.getDateStringKey().isEmpty()) {
dateStringKey_ = other.dateStringKey_;
onChanged();
}
if (other.getProjectId() != 0L) {
setProjectId(other.getProjectId());
}
if (!other.getBeaconId64().isEmpty()) {
beaconId64_ = other.beaconId64_;
onChanged();
}
if (other.getBlufiId() != 0L) {
setBlufiId(other.getBlufiId());
}
if (other.hasConditionSummary()) {
mergeConditionSummary(other.getConditionSummary());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long dateKey_ ;
/**
* int64 dateKey = 1;
*/
public long getDateKey() {
return dateKey_;
}
/**
* int64 dateKey = 1;
*/
public Builder setDateKey(long value) {
dateKey_ = value;
onChanged();
return this;
}
/**
* int64 dateKey = 1;
*/
public Builder clearDateKey() {
dateKey_ = 0L;
onChanged();
return this;
}
private java.lang.Object dateStringKey_ = "";
/**
* string dateStringKey = 2;
*/
public java.lang.String getDateStringKey() {
java.lang.Object ref = dateStringKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
dateStringKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string dateStringKey = 2;
*/
public com.google.protobuf.ByteString
getDateStringKeyBytes() {
java.lang.Object ref = dateStringKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
dateStringKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string dateStringKey = 2;
*/
public Builder setDateStringKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
dateStringKey_ = value;
onChanged();
return this;
}
/**
* string dateStringKey = 2;
*/
public Builder clearDateStringKey() {
dateStringKey_ = getDefaultInstance().getDateStringKey();
onChanged();
return this;
}
/**
* string dateStringKey = 2;
*/
public Builder setDateStringKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
dateStringKey_ = value;
onChanged();
return this;
}
private long projectId_ ;
/**
* int64 projectId = 3;
*/
public long getProjectId() {
return projectId_;
}
/**
* int64 projectId = 3;
*/
public Builder setProjectId(long value) {
projectId_ = value;
onChanged();
return this;
}
/**
* int64 projectId = 3;
*/
public Builder clearProjectId() {
projectId_ = 0L;
onChanged();
return this;
}
private java.lang.Object beaconId64_ = "";
/**
* string beaconId64 = 4;
*/
public java.lang.String getBeaconId64() {
java.lang.Object ref = beaconId64_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
beaconId64_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string beaconId64 = 4;
*/
public com.google.protobuf.ByteString
getBeaconId64Bytes() {
java.lang.Object ref = beaconId64_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
beaconId64_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string beaconId64 = 4;
*/
public Builder setBeaconId64(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
beaconId64_ = value;
onChanged();
return this;
}
/**
* string beaconId64 = 4;
*/
public Builder clearBeaconId64() {
beaconId64_ = getDefaultInstance().getBeaconId64();
onChanged();
return this;
}
/**
* string beaconId64 = 4;
*/
public Builder setBeaconId64Bytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
beaconId64_ = value;
onChanged();
return this;
}
private long blufiId_ ;
/**
* int64 blufiId = 5;
*/
public long getBlufiId() {
return blufiId_;
}
/**
* int64 blufiId = 5;
*/
public Builder setBlufiId(long value) {
blufiId_ = value;
onChanged();
return this;
}
/**
* int64 blufiId = 5;
*/
public Builder clearBlufiId() {
blufiId_ = 0L;
onChanged();
return this;
}
private com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary conditionSummary_ = null;
private com.google.protobuf.SingleFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder> conditionSummaryBuilder_;
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public boolean hasConditionSummary() {
return conditionSummaryBuilder_ != null || conditionSummary_ != null;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getConditionSummary() {
if (conditionSummaryBuilder_ == null) {
return conditionSummary_ == null ? com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.getDefaultInstance() : conditionSummary_;
} else {
return conditionSummaryBuilder_.getMessage();
}
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public Builder setConditionSummary(com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary value) {
if (conditionSummaryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
conditionSummary_ = value;
onChanged();
} else {
conditionSummaryBuilder_.setMessage(value);
}
return this;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public Builder setConditionSummary(
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder builderForValue) {
if (conditionSummaryBuilder_ == null) {
conditionSummary_ = builderForValue.build();
onChanged();
} else {
conditionSummaryBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public Builder mergeConditionSummary(com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary value) {
if (conditionSummaryBuilder_ == null) {
if (conditionSummary_ != null) {
conditionSummary_ =
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.newBuilder(conditionSummary_).mergeFrom(value).buildPartial();
} else {
conditionSummary_ = value;
}
onChanged();
} else {
conditionSummaryBuilder_.mergeFrom(value);
}
return this;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public Builder clearConditionSummary() {
if (conditionSummaryBuilder_ == null) {
conditionSummary_ = null;
onChanged();
} else {
conditionSummary_ = null;
conditionSummaryBuilder_ = null;
}
return this;
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder getConditionSummaryBuilder() {
onChanged();
return getConditionSummaryFieldBuilder().getBuilder();
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder getConditionSummaryOrBuilder() {
if (conditionSummaryBuilder_ != null) {
return conditionSummaryBuilder_.getMessageOrBuilder();
} else {
return conditionSummary_ == null ?
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.getDefaultInstance() : conditionSummary_;
}
}
/**
* .BeaconConditionSummary conditionSummary = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder>
getConditionSummaryFieldBuilder() {
if (conditionSummaryBuilder_ == null) {
conditionSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder>(
getConditionSummary(),
getParentForChildren(),
isClean());
conditionSummary_ = null;
}
return conditionSummaryBuilder_;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BeaconRawMetric)
}
// @@protoc_insertion_point(class_scope:BeaconRawMetric)
private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric();
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public BeaconRawMetric parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BeaconRawMetric(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface BeaconConditionSummaryOrBuilder extends
// @@protoc_insertion_point(interface_extends:BeaconConditionSummary)
com.google.protobuf.MessageOrBuilder {
/**
* double xPeak = 1;
*/
double getXPeak();
/**
* double xPeakToPeak = 2;
*/
double getXPeakToPeak();
/**
* double xRms = 3;
*/
double getXRms();
/**
* double yPeak = 4;
*/
double getYPeak();
/**
* double YPeakToPeak = 5;
*/
double getYPeakToPeak();
/**
* double yRms = 6;
*/
double getYRms();
/**
* double zPeak = 7;
*/
double getZPeak();
/**
* double zPeakToPeak = 8;
*/
double getZPeakToPeak();
/**
* double zRms = 9;
*/
double getZRms();
/**
* bool highRes = 10;
*/
boolean getHighRes();
/**
* bool adv = 11;
*/
boolean getAdv();
/**
* int64 sourceTime = 12;
*/
long getSourceTime();
}
/**
* Protobuf type {@code BeaconConditionSummary}
*/
public static final class BeaconConditionSummary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:BeaconConditionSummary)
BeaconConditionSummaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use BeaconConditionSummary.newBuilder() to construct.
private BeaconConditionSummary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private BeaconConditionSummary() {
xPeak_ = 0D;
xPeakToPeak_ = 0D;
xRms_ = 0D;
yPeak_ = 0D;
yPeakToPeak_ = 0D;
yRms_ = 0D;
zPeak_ = 0D;
zPeakToPeak_ = 0D;
zRms_ = 0D;
highRes_ = false;
adv_ = false;
sourceTime_ = 0L;
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BeaconConditionSummary(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
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 (!parseUnknownFieldProto3(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 9: {
xPeak_ = input.readDouble();
break;
}
case 17: {
xPeakToPeak_ = input.readDouble();
break;
}
case 25: {
xRms_ = input.readDouble();
break;
}
case 33: {
yPeak_ = input.readDouble();
break;
}
case 41: {
yPeakToPeak_ = input.readDouble();
break;
}
case 49: {
yRms_ = input.readDouble();
break;
}
case 57: {
zPeak_ = input.readDouble();
break;
}
case 65: {
zPeakToPeak_ = input.readDouble();
break;
}
case 73: {
zRms_ = input.readDouble();
break;
}
case 80: {
highRes_ = input.readBool();
break;
}
case 88: {
adv_ = input.readBool();
break;
}
case 96: {
sourceTime_ = input.readInt64();
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconConditionSummary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconConditionSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder.class);
}
public static final int XPEAK_FIELD_NUMBER = 1;
private double xPeak_;
/**
* double xPeak = 1;
*/
public double getXPeak() {
return xPeak_;
}
public static final int XPEAKTOPEAK_FIELD_NUMBER = 2;
private double xPeakToPeak_;
/**
* double xPeakToPeak = 2;
*/
public double getXPeakToPeak() {
return xPeakToPeak_;
}
public static final int XRMS_FIELD_NUMBER = 3;
private double xRms_;
/**
* double xRms = 3;
*/
public double getXRms() {
return xRms_;
}
public static final int YPEAK_FIELD_NUMBER = 4;
private double yPeak_;
/**
* double yPeak = 4;
*/
public double getYPeak() {
return yPeak_;
}
public static final int YPEAKTOPEAK_FIELD_NUMBER = 5;
private double yPeakToPeak_;
/**
* double YPeakToPeak = 5;
*/
public double getYPeakToPeak() {
return yPeakToPeak_;
}
public static final int YRMS_FIELD_NUMBER = 6;
private double yRms_;
/**
* double yRms = 6;
*/
public double getYRms() {
return yRms_;
}
public static final int ZPEAK_FIELD_NUMBER = 7;
private double zPeak_;
/**
* double zPeak = 7;
*/
public double getZPeak() {
return zPeak_;
}
public static final int ZPEAKTOPEAK_FIELD_NUMBER = 8;
private double zPeakToPeak_;
/**
* double zPeakToPeak = 8;
*/
public double getZPeakToPeak() {
return zPeakToPeak_;
}
public static final int ZRMS_FIELD_NUMBER = 9;
private double zRms_;
/**
* double zRms = 9;
*/
public double getZRms() {
return zRms_;
}
public static final int HIGHRES_FIELD_NUMBER = 10;
private boolean highRes_;
/**
* bool highRes = 10;
*/
public boolean getHighRes() {
return highRes_;
}
public static final int ADV_FIELD_NUMBER = 11;
private boolean adv_;
/**
* bool adv = 11;
*/
public boolean getAdv() {
return adv_;
}
public static final int SOURCETIME_FIELD_NUMBER = 12;
private long sourceTime_;
/**
* int64 sourceTime = 12;
*/
public long getSourceTime() {
return sourceTime_;
}
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 {
if (xPeak_ != 0D) {
output.writeDouble(1, xPeak_);
}
if (xPeakToPeak_ != 0D) {
output.writeDouble(2, xPeakToPeak_);
}
if (xRms_ != 0D) {
output.writeDouble(3, xRms_);
}
if (yPeak_ != 0D) {
output.writeDouble(4, yPeak_);
}
if (yPeakToPeak_ != 0D) {
output.writeDouble(5, yPeakToPeak_);
}
if (yRms_ != 0D) {
output.writeDouble(6, yRms_);
}
if (zPeak_ != 0D) {
output.writeDouble(7, zPeak_);
}
if (zPeakToPeak_ != 0D) {
output.writeDouble(8, zPeakToPeak_);
}
if (zRms_ != 0D) {
output.writeDouble(9, zRms_);
}
if (highRes_ != false) {
output.writeBool(10, highRes_);
}
if (adv_ != false) {
output.writeBool(11, adv_);
}
if (sourceTime_ != 0L) {
output.writeInt64(12, sourceTime_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (xPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, xPeak_);
}
if (xPeakToPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, xPeakToPeak_);
}
if (xRms_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, xRms_);
}
if (yPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(4, yPeak_);
}
if (yPeakToPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(5, yPeakToPeak_);
}
if (yRms_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, yRms_);
}
if (zPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(7, zPeak_);
}
if (zPeakToPeak_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(8, zPeakToPeak_);
}
if (zRms_ != 0D) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(9, zRms_);
}
if (highRes_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(10, highRes_);
}
if (adv_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(11, adv_);
}
if (sourceTime_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(12, sourceTime_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary)) {
return super.equals(obj);
}
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary) obj;
boolean result = true;
result = result && (
java.lang.Double.doubleToLongBits(getXPeak())
== java.lang.Double.doubleToLongBits(
other.getXPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getXPeakToPeak())
== java.lang.Double.doubleToLongBits(
other.getXPeakToPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getXRms())
== java.lang.Double.doubleToLongBits(
other.getXRms()));
result = result && (
java.lang.Double.doubleToLongBits(getYPeak())
== java.lang.Double.doubleToLongBits(
other.getYPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getYPeakToPeak())
== java.lang.Double.doubleToLongBits(
other.getYPeakToPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getYRms())
== java.lang.Double.doubleToLongBits(
other.getYRms()));
result = result && (
java.lang.Double.doubleToLongBits(getZPeak())
== java.lang.Double.doubleToLongBits(
other.getZPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getZPeakToPeak())
== java.lang.Double.doubleToLongBits(
other.getZPeakToPeak()));
result = result && (
java.lang.Double.doubleToLongBits(getZRms())
== java.lang.Double.doubleToLongBits(
other.getZRms()));
result = result && (getHighRes()
== other.getHighRes());
result = result && (getAdv()
== other.getAdv());
result = result && (getSourceTime()
== other.getSourceTime());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + XPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getXPeak()));
hash = (37 * hash) + XPEAKTOPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getXPeakToPeak()));
hash = (37 * hash) + XRMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getXRms()));
hash = (37 * hash) + YPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getYPeak()));
hash = (37 * hash) + YPEAKTOPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getYPeakToPeak()));
hash = (37 * hash) + YRMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getYRms()));
hash = (37 * hash) + ZPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZPeak()));
hash = (37 * hash) + ZPEAKTOPEAK_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZPeakToPeak()));
hash = (37 * hash) + ZRMS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getZRms()));
hash = (37 * hash) + HIGHRES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getHighRes());
hash = (37 * hash) + ADV_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAdv());
hash = (37 * hash) + SOURCETIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSourceTime());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary 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(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code BeaconConditionSummary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:BeaconConditionSummary)
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconConditionSummary_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconConditionSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.Builder.class);
}
// Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
public Builder clear() {
super.clear();
xPeak_ = 0D;
xPeakToPeak_ = 0D;
xRms_ = 0D;
yPeak_ = 0D;
yPeakToPeak_ = 0D;
yRms_ = 0D;
zPeak_ = 0D;
zPeakToPeak_ = 0D;
zRms_ = 0D;
highRes_ = false;
adv_ = false;
sourceTime_ = 0L;
return this;
}
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconConditionSummary_descriptor;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getDefaultInstanceForType() {
return com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.getDefaultInstance();
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary build() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary buildPartial() {
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary(this);
result.xPeak_ = xPeak_;
result.xPeakToPeak_ = xPeakToPeak_;
result.xRms_ = xRms_;
result.yPeak_ = yPeak_;
result.yPeakToPeak_ = yPeakToPeak_;
result.yRms_ = yRms_;
result.zPeak_ = zPeak_;
result.zPeakToPeak_ = zPeakToPeak_;
result.zRms_ = zRms_;
result.highRes_ = highRes_;
result.adv_ = adv_;
result.sourceTime_ = sourceTime_;
onBuilt();
return result;
}
public Builder clone() {
return (Builder) super.clone();
}
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.setField(field, value);
}
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return (Builder) super.clearField(field);
}
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return (Builder) super.clearOneof(oneof);
}
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return (Builder) super.setRepeatedField(field, index, value);
}
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary) {
return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary other) {
if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary.getDefaultInstance()) return this;
if (other.getXPeak() != 0D) {
setXPeak(other.getXPeak());
}
if (other.getXPeakToPeak() != 0D) {
setXPeakToPeak(other.getXPeakToPeak());
}
if (other.getXRms() != 0D) {
setXRms(other.getXRms());
}
if (other.getYPeak() != 0D) {
setYPeak(other.getYPeak());
}
if (other.getYPeakToPeak() != 0D) {
setYPeakToPeak(other.getYPeakToPeak());
}
if (other.getYRms() != 0D) {
setYRms(other.getYRms());
}
if (other.getZPeak() != 0D) {
setZPeak(other.getZPeak());
}
if (other.getZPeakToPeak() != 0D) {
setZPeakToPeak(other.getZPeakToPeak());
}
if (other.getZRms() != 0D) {
setZRms(other.getZRms());
}
if (other.getHighRes() != false) {
setHighRes(other.getHighRes());
}
if (other.getAdv() != false) {
setAdv(other.getAdv());
}
if (other.getSourceTime() != 0L) {
setSourceTime(other.getSourceTime());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
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 {
com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private double xPeak_ ;
/**
* double xPeak = 1;
*/
public double getXPeak() {
return xPeak_;
}
/**
* double xPeak = 1;
*/
public Builder setXPeak(double value) {
xPeak_ = value;
onChanged();
return this;
}
/**
* double xPeak = 1;
*/
public Builder clearXPeak() {
xPeak_ = 0D;
onChanged();
return this;
}
private double xPeakToPeak_ ;
/**
* double xPeakToPeak = 2;
*/
public double getXPeakToPeak() {
return xPeakToPeak_;
}
/**
* double xPeakToPeak = 2;
*/
public Builder setXPeakToPeak(double value) {
xPeakToPeak_ = value;
onChanged();
return this;
}
/**
* double xPeakToPeak = 2;
*/
public Builder clearXPeakToPeak() {
xPeakToPeak_ = 0D;
onChanged();
return this;
}
private double xRms_ ;
/**
* double xRms = 3;
*/
public double getXRms() {
return xRms_;
}
/**
* double xRms = 3;
*/
public Builder setXRms(double value) {
xRms_ = value;
onChanged();
return this;
}
/**
* double xRms = 3;
*/
public Builder clearXRms() {
xRms_ = 0D;
onChanged();
return this;
}
private double yPeak_ ;
/**
* double yPeak = 4;
*/
public double getYPeak() {
return yPeak_;
}
/**
* double yPeak = 4;
*/
public Builder setYPeak(double value) {
yPeak_ = value;
onChanged();
return this;
}
/**
* double yPeak = 4;
*/
public Builder clearYPeak() {
yPeak_ = 0D;
onChanged();
return this;
}
private double yPeakToPeak_ ;
/**
* double YPeakToPeak = 5;
*/
public double getYPeakToPeak() {
return yPeakToPeak_;
}
/**
* double YPeakToPeak = 5;
*/
public Builder setYPeakToPeak(double value) {
yPeakToPeak_ = value;
onChanged();
return this;
}
/**
* double YPeakToPeak = 5;
*/
public Builder clearYPeakToPeak() {
yPeakToPeak_ = 0D;
onChanged();
return this;
}
private double yRms_ ;
/**
* double yRms = 6;
*/
public double getYRms() {
return yRms_;
}
/**
* double yRms = 6;
*/
public Builder setYRms(double value) {
yRms_ = value;
onChanged();
return this;
}
/**
* double yRms = 6;
*/
public Builder clearYRms() {
yRms_ = 0D;
onChanged();
return this;
}
private double zPeak_ ;
/**
* double zPeak = 7;
*/
public double getZPeak() {
return zPeak_;
}
/**
* double zPeak = 7;
*/
public Builder setZPeak(double value) {
zPeak_ = value;
onChanged();
return this;
}
/**
* double zPeak = 7;
*/
public Builder clearZPeak() {
zPeak_ = 0D;
onChanged();
return this;
}
private double zPeakToPeak_ ;
/**
* double zPeakToPeak = 8;
*/
public double getZPeakToPeak() {
return zPeakToPeak_;
}
/**
* double zPeakToPeak = 8;
*/
public Builder setZPeakToPeak(double value) {
zPeakToPeak_ = value;
onChanged();
return this;
}
/**
* double zPeakToPeak = 8;
*/
public Builder clearZPeakToPeak() {
zPeakToPeak_ = 0D;
onChanged();
return this;
}
private double zRms_ ;
/**
* double zRms = 9;
*/
public double getZRms() {
return zRms_;
}
/**
* double zRms = 9;
*/
public Builder setZRms(double value) {
zRms_ = value;
onChanged();
return this;
}
/**
* double zRms = 9;
*/
public Builder clearZRms() {
zRms_ = 0D;
onChanged();
return this;
}
private boolean highRes_ ;
/**
* bool highRes = 10;
*/
public boolean getHighRes() {
return highRes_;
}
/**
* bool highRes = 10;
*/
public Builder setHighRes(boolean value) {
highRes_ = value;
onChanged();
return this;
}
/**
* bool highRes = 10;
*/
public Builder clearHighRes() {
highRes_ = false;
onChanged();
return this;
}
private boolean adv_ ;
/**
* bool adv = 11;
*/
public boolean getAdv() {
return adv_;
}
/**
* bool adv = 11;
*/
public Builder setAdv(boolean value) {
adv_ = value;
onChanged();
return this;
}
/**
* bool adv = 11;
*/
public Builder clearAdv() {
adv_ = false;
onChanged();
return this;
}
private long sourceTime_ ;
/**
* int64 sourceTime = 12;
*/
public long getSourceTime() {
return sourceTime_;
}
/**
* int64 sourceTime = 12;
*/
public Builder setSourceTime(long value) {
sourceTime_ = value;
onChanged();
return this;
}
/**
* int64 sourceTime = 12;
*/
public Builder clearSourceTime() {
sourceTime_ = 0L;
onChanged();
return this;
}
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFieldsProto3(unknownFields);
}
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:BeaconConditionSummary)
}
// @@protoc_insertion_point(class_scope:BeaconConditionSummary)
private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary();
}
public static com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
public BeaconConditionSummary parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new BeaconConditionSummary(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser