// Generated by the protocol buffer compiler. DO NOT EDIT! // source: beaconmetrics.proto package com.bluvision.cloud.metric; public final class Beaconmetrics { private Beaconmetrics() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistryLite registry) { } public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { registerAllExtensions( (com.google.protobuf.ExtensionRegistryLite) registry); } /** * Protobuf enum {@code HistoryMetric} */ public enum HistoryMetric implements com.google.protobuf.ProtocolMessageEnum { /** * TEMP = 0; */ TEMP(0), /** * RSSI = 1; */ RSSI(1), /** * PER_BLUFI_RSSI = 2; */ PER_BLUFI_RSSI(2), /** * LUMS = 3; */ LUMS(3), /** * X_ACCEL = 4; */ X_ACCEL(4), /** * Y_ACCEL = 5; */ Y_ACCEL(5), /** * Z_ACCEL = 6; */ Z_ACCEL(6), /** * X_MAG = 7; */ X_MAG(7), /** * Y_MAG = 8; */ Y_MAG(8), /** * Z_MAG = 9; */ Z_MAG(9), /** * MAG_STATE = 10; */ MAG_STATE(10), /** * BATTERY = 11; */ BATTERY(11), /** * X_ACCEL_HS = 12; */ X_ACCEL_HS(12), /** * Y_ACCEL_HS = 13; */ Y_ACCEL_HS(13), /** * Z_ACCEL_HS = 14; */ Z_ACCEL_HS(14), UNRECOGNIZED(-1), ; /** * TEMP = 0; */ public static final int TEMP_VALUE = 0; /** * RSSI = 1; */ public static final int RSSI_VALUE = 1; /** * PER_BLUFI_RSSI = 2; */ public static final int PER_BLUFI_RSSI_VALUE = 2; /** * LUMS = 3; */ public static final int LUMS_VALUE = 3; /** * X_ACCEL = 4; */ public static final int X_ACCEL_VALUE = 4; /** * Y_ACCEL = 5; */ public static final int Y_ACCEL_VALUE = 5; /** * Z_ACCEL = 6; */ public static final int Z_ACCEL_VALUE = 6; /** * X_MAG = 7; */ public static final int X_MAG_VALUE = 7; /** * Y_MAG = 8; */ public static final int Y_MAG_VALUE = 8; /** * Z_MAG = 9; */ public static final int Z_MAG_VALUE = 9; /** * MAG_STATE = 10; */ public static final int MAG_STATE_VALUE = 10; /** * BATTERY = 11; */ public static final int BATTERY_VALUE = 11; /** * X_ACCEL_HS = 12; */ public static final int X_ACCEL_HS_VALUE = 12; /** * Y_ACCEL_HS = 13; */ public static final int Y_ACCEL_HS_VALUE = 13; /** * Z_ACCEL_HS = 14; */ public static final int Z_ACCEL_HS_VALUE = 14; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static HistoryMetric valueOf(int value) { return forNumber(value); } public static HistoryMetric forNumber(int value) { switch (value) { case 0: return TEMP; case 1: return RSSI; case 2: return PER_BLUFI_RSSI; case 3: return LUMS; case 4: return X_ACCEL; case 5: return Y_ACCEL; case 6: return Z_ACCEL; case 7: return X_MAG; case 8: return Y_MAG; case 9: return Z_MAG; case 10: return MAG_STATE; case 11: return BATTERY; case 12: return X_ACCEL_HS; case 13: return Y_ACCEL_HS; case 14: return Z_ACCEL_HS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< HistoryMetric> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public HistoryMetric findValueByNumber(int number) { return HistoryMetric.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.getDescriptor().getEnumTypes().get(0); } private static final HistoryMetric[] VALUES = values(); public static HistoryMetric valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private HistoryMetric(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:HistoryMetric) } /** *
   * hint to indicate how long client is willing to wait and how accurate results are expected
   * 
* * Protobuf enum {@code MetricQueryHint} */ public enum MetricQueryHint implements com.google.protobuf.ProtocolMessageEnum { /** *
     * query both cache and long term storage for result
     * 
* * ALL = 0; */ ALL(0), /** *
     * only hit cache
     * 
* * CACHE = 1; */ CACHE(1), /** *
     * only hit long term storage
     * 
* * STORAGE = 2; */ STORAGE(2), UNRECOGNIZED(-1), ; /** *
     * query both cache and long term storage for result
     * 
* * ALL = 0; */ public static final int ALL_VALUE = 0; /** *
     * only hit cache
     * 
* * CACHE = 1; */ public static final int CACHE_VALUE = 1; /** *
     * only hit long term storage
     * 
* * STORAGE = 2; */ public static final int STORAGE_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MetricQueryHint valueOf(int value) { return forNumber(value); } public static MetricQueryHint forNumber(int value) { switch (value) { case 0: return ALL; case 1: return CACHE; case 2: return STORAGE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MetricQueryHint> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MetricQueryHint findValueByNumber(int number) { return MetricQueryHint.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.getDescriptor().getEnumTypes().get(1); } private static final MetricQueryHint[] VALUES = values(); public static MetricQueryHint valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private MetricQueryHint(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:MetricQueryHint) } /** * Protobuf enum {@code MetricInterval} */ public enum MetricInterval implements com.google.protobuf.ProtocolMessageEnum { /** * SECOND = 0; */ SECOND(0), /** * MINUTE = 1; */ MINUTE(1), /** * HOUR = 2; */ HOUR(2), /** * DAY = 3; */ DAY(3), /** * MONTH = 4; */ MONTH(4), /** * YEAR = 5; */ YEAR(5), UNRECOGNIZED(-1), ; /** * SECOND = 0; */ public static final int SECOND_VALUE = 0; /** * MINUTE = 1; */ public static final int MINUTE_VALUE = 1; /** * HOUR = 2; */ public static final int HOUR_VALUE = 2; /** * DAY = 3; */ public static final int DAY_VALUE = 3; /** * MONTH = 4; */ public static final int MONTH_VALUE = 4; /** * YEAR = 5; */ public static final int YEAR_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static MetricInterval valueOf(int value) { return forNumber(value); } public static MetricInterval forNumber(int value) { switch (value) { case 0: return SECOND; case 1: return MINUTE; case 2: return HOUR; case 3: return DAY; case 4: return MONTH; case 5: return YEAR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MetricInterval> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MetricInterval findValueByNumber(int number) { return MetricInterval.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.getDescriptor().getEnumTypes().get(2); } private static final MetricInterval[] VALUES = values(); public static MetricInterval valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private MetricInterval(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:MetricInterval) } /** * Protobuf enum {@code RawMetricFilter} */ public enum RawMetricFilter implements com.google.protobuf.ProtocolMessageEnum { /** * LOW_RES = 0; */ LOW_RES(0), /** * HIGH_RES = 1; */ HIGH_RES(1), /** * ADV = 2; */ ADV(2), /** * NON_ADV = 3; */ NON_ADV(3), UNRECOGNIZED(-1), ; /** * LOW_RES = 0; */ public static final int LOW_RES_VALUE = 0; /** * HIGH_RES = 1; */ public static final int HIGH_RES_VALUE = 1; /** * ADV = 2; */ public static final int ADV_VALUE = 2; /** * NON_ADV = 3; */ public static final int NON_ADV_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RawMetricFilter valueOf(int value) { return forNumber(value); } public static RawMetricFilter forNumber(int value) { switch (value) { case 0: return LOW_RES; case 1: return HIGH_RES; case 2: return ADV; case 3: return NON_ADV; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< RawMetricFilter> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public RawMetricFilter findValueByNumber(int number) { return RawMetricFilter.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.getDescriptor().getEnumTypes().get(3); } private static final RawMetricFilter[] VALUES = values(); public static RawMetricFilter valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private RawMetricFilter(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:RawMetricFilter) } public interface BeaconAggregateMapOrBuilder extends // @@protoc_insertion_point(interface_extends:BeaconAggregateMap) com.google.protobuf.MessageOrBuilder { /** * map<string, .BeaconAggregate> results = 1; */ int getResultsCount(); /** * map<string, .BeaconAggregate> results = 1; */ boolean containsResults( java.lang.String key); /** * Use {@link #getResultsMap()} instead. */ @java.lang.Deprecated java.util.Map getResults(); /** * map<string, .BeaconAggregate> results = 1; */ java.util.Map getResultsMap(); /** * map<string, .BeaconAggregate> results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResultsOrDefault( java.lang.String key, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate defaultValue); /** * map<string, .BeaconAggregate> results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResultsOrThrow( java.lang.String key); } /** * Protobuf type {@code BeaconAggregateMap} */ public static final class BeaconAggregateMap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeaconAggregateMap) BeaconAggregateMapOrBuilder { private static final long serialVersionUID = 0L; // Use BeaconAggregateMap.newBuilder() to construct. private BeaconAggregateMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeaconAggregateMap() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeaconAggregateMap( 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_BeaconAggregateMap_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_BeaconAggregateMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.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.BeaconAggregate> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregateMap_ResultsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate> 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, .BeaconAggregate> 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, .BeaconAggregate> results = 1; */ public java.util.Map getResultsMap() { return internalGetResults().getMap(); } /** * map<string, .BeaconAggregate> results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResultsOrDefault( java.lang.String key, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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, .BeaconAggregate> results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregateMap)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap) 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.BeaconAggregateMap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap 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.BeaconAggregateMap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap 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.BeaconAggregateMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap 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.BeaconAggregateMap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap 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.BeaconAggregateMap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap 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.BeaconAggregateMap 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.BeaconAggregateMap 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.BeaconAggregateMap 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 BeaconAggregateMap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeaconAggregateMap) com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregateMap_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_BeaconAggregateMap_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.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_BeaconAggregateMap_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap build() { com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap(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.BeaconAggregateMap) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap.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.BeaconAggregateMap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap) 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.BeaconAggregate> 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, .BeaconAggregate> 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, .BeaconAggregate> results = 1; */ public java.util.Map getResultsMap() { return internalGetResults().getMap(); } /** * map<string, .BeaconAggregate> results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResultsOrDefault( java.lang.String key, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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, .BeaconAggregate> results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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, .BeaconAggregate> 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, .BeaconAggregate> results = 1; */ public Builder putResults( java.lang.String key, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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, .BeaconAggregate> 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:BeaconAggregateMap) } // @@protoc_insertion_point(class_scope:BeaconAggregateMap) private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap(); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateMap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BeaconAggregateMap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeaconAggregateMap(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.BeaconAggregateMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeaconAggregateOrBuilder extends // @@protoc_insertion_point(interface_extends:BeaconAggregate) 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(); /** * double temperatureTotal = 6; */ double getTemperatureTotal(); /** * int64 temperatureCount = 7; */ long getTemperatureCount(); /** * double temperaturePeakVal = 8; */ double getTemperaturePeakVal(); /** * double temperatureMinVal = 9; */ double getTemperatureMinVal(); /** * double temperatureAvg = 10; */ double getTemperatureAvg(); /** * double xAccelTotal = 11; */ double getXAccelTotal(); /** * int64 xAccelCount = 12; */ long getXAccelCount(); /** * double xAccelPeakVal = 13; */ double getXAccelPeakVal(); /** * double xAccelMinVal = 14; */ double getXAccelMinVal(); /** * double xAccelAvg = 15; */ double getXAccelAvg(); /** * double yAccelTotal = 16; */ double getYAccelTotal(); /** * int64 yAccelCount = 17; */ long getYAccelCount(); /** * double yAccelPeakVal = 18; */ double getYAccelPeakVal(); /** * double yAccelMinVal = 19; */ double getYAccelMinVal(); /** * double yAccelAvg = 20; */ double getYAccelAvg(); /** * double zAccelTotal = 21; */ double getZAccelTotal(); /** * int64 zAccelCount = 22; */ long getZAccelCount(); /** * double zAccelPeakVal = 23; */ double getZAccelPeakVal(); /** * double zAccelMinVal = 24; */ double getZAccelMinVal(); /** * double zAccelAvg = 25; */ double getZAccelAvg(); /** * double rssiTotal = 26; */ double getRssiTotal(); /** * int64 rssiCount = 27; */ long getRssiCount(); /** * double rssiPeakVal = 28; */ double getRssiPeakVal(); /** * double rssiMinVal = 29; */ double getRssiMinVal(); /** * double rssiAvg = 30; */ double getRssiAvg(); /** * double batteryTotal = 31; */ double getBatteryTotal(); /** * int64 batteryCount = 32; */ long getBatteryCount(); /** * double batteryPeakVal = 33; */ double getBatteryPeakVal(); /** * double batteryMinVal = 34; */ double getBatteryMinVal(); /** * double batteryAvg = 35; */ double getBatteryAvg(); /** * double lumsTotal = 36; */ double getLumsTotal(); /** * int64 lumsCount = 37; */ long getLumsCount(); /** * double lumsPeakVal = 38; */ double getLumsPeakVal(); /** * double lumsMinVal = 39; */ double getLumsMinVal(); /** * double lumsAvg = 40; */ double getLumsAvg(); /** * double bpmTotal = 41; */ double getBpmTotal(); /** * int64 bpmCount = 42; */ long getBpmCount(); /** * double bpmPeakVal = 43; */ double getBpmPeakVal(); /** * double bpmMinVal = 44; */ double getBpmMinVal(); /** * double bpmAvg = 50; */ double getBpmAvg(); /** * double frameCountTotal = 51; */ double getFrameCountTotal(); /** * int64 frameCountCount = 52; */ long getFrameCountCount(); /** * double frameCountPeakVal = 53; */ double getFrameCountPeakVal(); /** * double frameCountMinVal = 54; */ double getFrameCountMinVal(); /** * double frameCountAvg = 55; */ double getFrameCountAvg(); /** * double measuredPowerTotal = 56; */ double getMeasuredPowerTotal(); /** * int64 measuredPowerCount = 57; */ long getMeasuredPowerCount(); /** * double measuredPowerPeakVal = 58; */ double getMeasuredPowerPeakVal(); /** * double measuredPowerMinVal = 59; */ double getMeasuredPowerMinVal(); /** * double measuredPowerAvg = 60; */ double getMeasuredPowerAvg(); /** * double xMagTotal = 61; */ double getXMagTotal(); /** * int64 xMagCount = 62; */ long getXMagCount(); /** * double xMagPeakVal = 63; */ double getXMagPeakVal(); /** * double xMagMinVal = 64; */ double getXMagMinVal(); /** * double xMagAvg = 65; */ double getXMagAvg(); /** * double yMagTotal = 66; */ double getYMagTotal(); /** * int64 yMagCount = 67; */ long getYMagCount(); /** * double yMagPeakVal = 68; */ double getYMagPeakVal(); /** * double yMagMinVal = 69; */ double getYMagMinVal(); /** * double yMagAvg = 70; */ double getYMagAvg(); /** * double zMagTotal = 71; */ double getZMagTotal(); /** * int64 zMagCount = 72; */ long getZMagCount(); /** * double zMagPeakVal = 73; */ double getZMagPeakVal(); /** * double zMagMinVal = 74; */ double getZMagMinVal(); /** * double zMagAvg = 75; */ double getZMagAvg(); /** * int64 totalPacketCount = 76; */ long getTotalPacketCount(); /** * int64 eddystoneTlmPacketCount = 77; */ long getEddystoneTlmPacketCount(); /** * int64 eddystoneUidPacketCount = 78; */ long getEddystoneUidPacketCount(); /** * int64 eddystoneUrlPacketCount = 79; */ long getEddystoneUrlPacketCount(); /** * int64 hearratePacketCount = 80; */ long getHearratePacketCount(); /** * int64 ibeaconPacketCount = 81; */ long getIbeaconPacketCount(); /** * int64 magPacketCount = 82; */ long getMagPacketCount(); /** * int64 probePacketCount = 83; */ long getProbePacketCount(); /** * int64 sbv1PacketCount = 84; */ long getSbv1PacketCount(); /** * int64 sbv2PacketCount = 85; */ long getSbv2PacketCount(); /** * int64 slightPacketCount = 86; */ long getSlightPacketCount(); /** * int64 ssnsPacketCount = 87; */ long getSsnsPacketCount(); /** * string environmentName = 88; */ java.lang.String getEnvironmentName(); /** * string environmentName = 88; */ com.google.protobuf.ByteString getEnvironmentNameBytes(); /** * string recordTimestamp = 89; */ java.lang.String getRecordTimestamp(); /** * string recordTimestamp = 89; */ com.google.protobuf.ByteString getRecordTimestampBytes(); /** * double magStateTotal = 90; */ double getMagStateTotal(); /** * int64 magStateCount = 91; */ long getMagStateCount(); /** * double magStatePeakVal = 92; */ double getMagStatePeakVal(); /** * double magStateMinVal = 93; */ double getMagStateMinVal(); /** * double magStateAvg = 94; */ double getMagStateAvg(); /** * int64 motionPacketCount = 95; */ long getMotionPacketCount(); /** *
     * NEW
     * 
* * double xAccelSqTotal = 96; */ double getXAccelSqTotal(); /** * double xAccelRms = 97; */ double getXAccelRms(); /** * double xAccelPkPk = 98; */ double getXAccelPkPk(); /** * double yAccelSqTotal = 99; */ double getYAccelSqTotal(); /** * double yAccelRms = 100; */ double getYAccelRms(); /** * double yAccelPkPk = 101; */ double getYAccelPkPk(); /** * double zAccelSqTotal = 102; */ double getZAccelSqTotal(); /** * double zAccelRms = 103; */ double getZAccelRms(); /** * double zAccelPkPk = 104; */ double getZAccelPkPk(); /** * double xHsRmsTotal = 105; */ double getXHsRmsTotal(); /** * int64 xHsCount = 106; */ long getXHsCount(); /** * double xHsRmsAvg = 107; */ double getXHsRmsAvg(); /** * double xHsPeak = 108; */ double getXHsPeak(); /** * double xHsPeakToPeak = 109; */ double getXHsPeakToPeak(); /** * double yHsRmsTotal = 110; */ double getYHsRmsTotal(); /** * int64 yHsCount = 111; */ long getYHsCount(); /** * double yHsRmsAvg = 112; */ double getYHsRmsAvg(); /** * double yHsPeak = 113; */ double getYHsPeak(); /** * double yHsPeakToPeak = 114; */ double getYHsPeakToPeak(); /** * double zHsRmsTotal = 115; */ double getZHsRmsTotal(); /** * int64 zHsCount = 116; */ long getZHsCount(); /** * double zHsRmsAvg = 117; */ double getZHsRmsAvg(); /** * double zHsPeak = 118; */ double getZHsPeak(); /** * double zHsPeakToPeak = 119; */ double getZHsPeakToPeak(); /** * double hsPacketCount = 120; */ double getHsPacketCount(); } /** *
   * BeaconAggregate  represents a record from beacon minute facts
   * 
* * Protobuf type {@code BeaconAggregate} */ public static final class BeaconAggregate extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeaconAggregate) BeaconAggregateOrBuilder { private static final long serialVersionUID = 0L; // Use BeaconAggregate.newBuilder() to construct. private BeaconAggregate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeaconAggregate() { dateKey_ = 0L; dateStringKey_ = ""; projectId_ = 0L; beaconId64_ = ""; blufiId_ = 0L; temperatureTotal_ = 0D; temperatureCount_ = 0L; temperaturePeakVal_ = 0D; temperatureMinVal_ = 0D; temperatureAvg_ = 0D; xAccelTotal_ = 0D; xAccelCount_ = 0L; xAccelPeakVal_ = 0D; xAccelMinVal_ = 0D; xAccelAvg_ = 0D; yAccelTotal_ = 0D; yAccelCount_ = 0L; yAccelPeakVal_ = 0D; yAccelMinVal_ = 0D; yAccelAvg_ = 0D; zAccelTotal_ = 0D; zAccelCount_ = 0L; zAccelPeakVal_ = 0D; zAccelMinVal_ = 0D; zAccelAvg_ = 0D; rssiTotal_ = 0D; rssiCount_ = 0L; rssiPeakVal_ = 0D; rssiMinVal_ = 0D; rssiAvg_ = 0D; batteryTotal_ = 0D; batteryCount_ = 0L; batteryPeakVal_ = 0D; batteryMinVal_ = 0D; batteryAvg_ = 0D; lumsTotal_ = 0D; lumsCount_ = 0L; lumsPeakVal_ = 0D; lumsMinVal_ = 0D; lumsAvg_ = 0D; bpmTotal_ = 0D; bpmCount_ = 0L; bpmPeakVal_ = 0D; bpmMinVal_ = 0D; bpmAvg_ = 0D; frameCountTotal_ = 0D; frameCountCount_ = 0L; frameCountPeakVal_ = 0D; frameCountMinVal_ = 0D; frameCountAvg_ = 0D; measuredPowerTotal_ = 0D; measuredPowerCount_ = 0L; measuredPowerPeakVal_ = 0D; measuredPowerMinVal_ = 0D; measuredPowerAvg_ = 0D; xMagTotal_ = 0D; xMagCount_ = 0L; xMagPeakVal_ = 0D; xMagMinVal_ = 0D; xMagAvg_ = 0D; yMagTotal_ = 0D; yMagCount_ = 0L; yMagPeakVal_ = 0D; yMagMinVal_ = 0D; yMagAvg_ = 0D; zMagTotal_ = 0D; zMagCount_ = 0L; zMagPeakVal_ = 0D; zMagMinVal_ = 0D; zMagAvg_ = 0D; totalPacketCount_ = 0L; eddystoneTlmPacketCount_ = 0L; eddystoneUidPacketCount_ = 0L; eddystoneUrlPacketCount_ = 0L; hearratePacketCount_ = 0L; ibeaconPacketCount_ = 0L; magPacketCount_ = 0L; probePacketCount_ = 0L; sbv1PacketCount_ = 0L; sbv2PacketCount_ = 0L; slightPacketCount_ = 0L; ssnsPacketCount_ = 0L; environmentName_ = ""; recordTimestamp_ = ""; magStateTotal_ = 0D; magStateCount_ = 0L; magStatePeakVal_ = 0D; magStateMinVal_ = 0D; magStateAvg_ = 0D; motionPacketCount_ = 0L; xAccelSqTotal_ = 0D; xAccelRms_ = 0D; xAccelPkPk_ = 0D; yAccelSqTotal_ = 0D; yAccelRms_ = 0D; yAccelPkPk_ = 0D; zAccelSqTotal_ = 0D; zAccelRms_ = 0D; zAccelPkPk_ = 0D; xHsRmsTotal_ = 0D; xHsCount_ = 0L; xHsRmsAvg_ = 0D; xHsPeak_ = 0D; xHsPeakToPeak_ = 0D; yHsRmsTotal_ = 0D; yHsCount_ = 0L; yHsRmsAvg_ = 0D; yHsPeak_ = 0D; yHsPeakToPeak_ = 0D; zHsRmsTotal_ = 0D; zHsCount_ = 0L; zHsRmsAvg_ = 0D; zHsPeak_ = 0D; zHsPeakToPeak_ = 0D; hsPacketCount_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeaconAggregate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 0; int mutable_bitField3_ = 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 49: { temperatureTotal_ = input.readDouble(); break; } case 56: { temperatureCount_ = input.readInt64(); break; } case 65: { temperaturePeakVal_ = input.readDouble(); break; } case 73: { temperatureMinVal_ = input.readDouble(); break; } case 81: { temperatureAvg_ = input.readDouble(); break; } case 89: { xAccelTotal_ = input.readDouble(); break; } case 96: { xAccelCount_ = input.readInt64(); break; } case 105: { xAccelPeakVal_ = input.readDouble(); break; } case 113: { xAccelMinVal_ = input.readDouble(); break; } case 121: { xAccelAvg_ = input.readDouble(); break; } case 129: { yAccelTotal_ = input.readDouble(); break; } case 136: { yAccelCount_ = input.readInt64(); break; } case 145: { yAccelPeakVal_ = input.readDouble(); break; } case 153: { yAccelMinVal_ = input.readDouble(); break; } case 161: { yAccelAvg_ = input.readDouble(); break; } case 169: { zAccelTotal_ = input.readDouble(); break; } case 176: { zAccelCount_ = input.readInt64(); break; } case 185: { zAccelPeakVal_ = input.readDouble(); break; } case 193: { zAccelMinVal_ = input.readDouble(); break; } case 201: { zAccelAvg_ = input.readDouble(); break; } case 209: { rssiTotal_ = input.readDouble(); break; } case 216: { rssiCount_ = input.readInt64(); break; } case 225: { rssiPeakVal_ = input.readDouble(); break; } case 233: { rssiMinVal_ = input.readDouble(); break; } case 241: { rssiAvg_ = input.readDouble(); break; } case 249: { batteryTotal_ = input.readDouble(); break; } case 256: { batteryCount_ = input.readInt64(); break; } case 265: { batteryPeakVal_ = input.readDouble(); break; } case 273: { batteryMinVal_ = input.readDouble(); break; } case 281: { batteryAvg_ = input.readDouble(); break; } case 289: { lumsTotal_ = input.readDouble(); break; } case 296: { lumsCount_ = input.readInt64(); break; } case 305: { lumsPeakVal_ = input.readDouble(); break; } case 313: { lumsMinVal_ = input.readDouble(); break; } case 321: { lumsAvg_ = input.readDouble(); break; } case 329: { bpmTotal_ = input.readDouble(); break; } case 336: { bpmCount_ = input.readInt64(); break; } case 345: { bpmPeakVal_ = input.readDouble(); break; } case 353: { bpmMinVal_ = input.readDouble(); break; } case 401: { bpmAvg_ = input.readDouble(); break; } case 409: { frameCountTotal_ = input.readDouble(); break; } case 416: { frameCountCount_ = input.readInt64(); break; } case 425: { frameCountPeakVal_ = input.readDouble(); break; } case 433: { frameCountMinVal_ = input.readDouble(); break; } case 441: { frameCountAvg_ = input.readDouble(); break; } case 449: { measuredPowerTotal_ = input.readDouble(); break; } case 456: { measuredPowerCount_ = input.readInt64(); break; } case 465: { measuredPowerPeakVal_ = input.readDouble(); break; } case 473: { measuredPowerMinVal_ = input.readDouble(); break; } case 481: { measuredPowerAvg_ = input.readDouble(); break; } case 489: { xMagTotal_ = input.readDouble(); break; } case 496: { xMagCount_ = input.readInt64(); break; } case 505: { xMagPeakVal_ = input.readDouble(); break; } case 513: { xMagMinVal_ = input.readDouble(); break; } case 521: { xMagAvg_ = input.readDouble(); break; } case 529: { yMagTotal_ = input.readDouble(); break; } case 536: { yMagCount_ = input.readInt64(); break; } case 545: { yMagPeakVal_ = input.readDouble(); break; } case 553: { yMagMinVal_ = input.readDouble(); break; } case 561: { yMagAvg_ = input.readDouble(); break; } case 569: { zMagTotal_ = input.readDouble(); break; } case 576: { zMagCount_ = input.readInt64(); break; } case 585: { zMagPeakVal_ = input.readDouble(); break; } case 593: { zMagMinVal_ = input.readDouble(); break; } case 601: { zMagAvg_ = input.readDouble(); break; } case 608: { totalPacketCount_ = input.readInt64(); break; } case 616: { eddystoneTlmPacketCount_ = input.readInt64(); break; } case 624: { eddystoneUidPacketCount_ = input.readInt64(); break; } case 632: { eddystoneUrlPacketCount_ = input.readInt64(); break; } case 640: { hearratePacketCount_ = input.readInt64(); break; } case 648: { ibeaconPacketCount_ = input.readInt64(); break; } case 656: { magPacketCount_ = input.readInt64(); break; } case 664: { probePacketCount_ = input.readInt64(); break; } case 672: { sbv1PacketCount_ = input.readInt64(); break; } case 680: { sbv2PacketCount_ = input.readInt64(); break; } case 688: { slightPacketCount_ = input.readInt64(); break; } case 696: { ssnsPacketCount_ = input.readInt64(); break; } case 706: { java.lang.String s = input.readStringRequireUtf8(); environmentName_ = s; break; } case 714: { java.lang.String s = input.readStringRequireUtf8(); recordTimestamp_ = s; break; } case 721: { magStateTotal_ = input.readDouble(); break; } case 728: { magStateCount_ = input.readInt64(); break; } case 737: { magStatePeakVal_ = input.readDouble(); break; } case 745: { magStateMinVal_ = input.readDouble(); break; } case 753: { magStateAvg_ = input.readDouble(); break; } case 760: { motionPacketCount_ = input.readInt64(); break; } case 769: { xAccelSqTotal_ = input.readDouble(); break; } case 777: { xAccelRms_ = input.readDouble(); break; } case 785: { xAccelPkPk_ = input.readDouble(); break; } case 793: { yAccelSqTotal_ = input.readDouble(); break; } case 801: { yAccelRms_ = input.readDouble(); break; } case 809: { yAccelPkPk_ = input.readDouble(); break; } case 817: { zAccelSqTotal_ = input.readDouble(); break; } case 825: { zAccelRms_ = input.readDouble(); break; } case 833: { zAccelPkPk_ = input.readDouble(); break; } case 841: { xHsRmsTotal_ = input.readDouble(); break; } case 848: { xHsCount_ = input.readInt64(); break; } case 857: { xHsRmsAvg_ = input.readDouble(); break; } case 865: { xHsPeak_ = input.readDouble(); break; } case 873: { xHsPeakToPeak_ = input.readDouble(); break; } case 881: { yHsRmsTotal_ = input.readDouble(); break; } case 888: { yHsCount_ = input.readInt64(); break; } case 897: { yHsRmsAvg_ = input.readDouble(); break; } case 905: { yHsPeak_ = input.readDouble(); break; } case 913: { yHsPeakToPeak_ = input.readDouble(); break; } case 921: { zHsRmsTotal_ = input.readDouble(); break; } case 928: { zHsCount_ = input.readInt64(); break; } case 937: { zHsRmsAvg_ = input.readDouble(); break; } case 945: { zHsPeak_ = input.readDouble(); break; } case 953: { zHsPeakToPeak_ = input.readDouble(); break; } case 961: { hsPacketCount_ = input.readDouble(); 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_BeaconAggregate_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.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 TEMPERATURETOTAL_FIELD_NUMBER = 6; private double temperatureTotal_; /** * double temperatureTotal = 6; */ public double getTemperatureTotal() { return temperatureTotal_; } public static final int TEMPERATURECOUNT_FIELD_NUMBER = 7; private long temperatureCount_; /** * int64 temperatureCount = 7; */ public long getTemperatureCount() { return temperatureCount_; } public static final int TEMPERATUREPEAKVAL_FIELD_NUMBER = 8; private double temperaturePeakVal_; /** * double temperaturePeakVal = 8; */ public double getTemperaturePeakVal() { return temperaturePeakVal_; } public static final int TEMPERATUREMINVAL_FIELD_NUMBER = 9; private double temperatureMinVal_; /** * double temperatureMinVal = 9; */ public double getTemperatureMinVal() { return temperatureMinVal_; } public static final int TEMPERATUREAVG_FIELD_NUMBER = 10; private double temperatureAvg_; /** * double temperatureAvg = 10; */ public double getTemperatureAvg() { return temperatureAvg_; } public static final int XACCELTOTAL_FIELD_NUMBER = 11; private double xAccelTotal_; /** * double xAccelTotal = 11; */ public double getXAccelTotal() { return xAccelTotal_; } public static final int XACCELCOUNT_FIELD_NUMBER = 12; private long xAccelCount_; /** * int64 xAccelCount = 12; */ public long getXAccelCount() { return xAccelCount_; } public static final int XACCELPEAKVAL_FIELD_NUMBER = 13; private double xAccelPeakVal_; /** * double xAccelPeakVal = 13; */ public double getXAccelPeakVal() { return xAccelPeakVal_; } public static final int XACCELMINVAL_FIELD_NUMBER = 14; private double xAccelMinVal_; /** * double xAccelMinVal = 14; */ public double getXAccelMinVal() { return xAccelMinVal_; } public static final int XACCELAVG_FIELD_NUMBER = 15; private double xAccelAvg_; /** * double xAccelAvg = 15; */ public double getXAccelAvg() { return xAccelAvg_; } public static final int YACCELTOTAL_FIELD_NUMBER = 16; private double yAccelTotal_; /** * double yAccelTotal = 16; */ public double getYAccelTotal() { return yAccelTotal_; } public static final int YACCELCOUNT_FIELD_NUMBER = 17; private long yAccelCount_; /** * int64 yAccelCount = 17; */ public long getYAccelCount() { return yAccelCount_; } public static final int YACCELPEAKVAL_FIELD_NUMBER = 18; private double yAccelPeakVal_; /** * double yAccelPeakVal = 18; */ public double getYAccelPeakVal() { return yAccelPeakVal_; } public static final int YACCELMINVAL_FIELD_NUMBER = 19; private double yAccelMinVal_; /** * double yAccelMinVal = 19; */ public double getYAccelMinVal() { return yAccelMinVal_; } public static final int YACCELAVG_FIELD_NUMBER = 20; private double yAccelAvg_; /** * double yAccelAvg = 20; */ public double getYAccelAvg() { return yAccelAvg_; } public static final int ZACCELTOTAL_FIELD_NUMBER = 21; private double zAccelTotal_; /** * double zAccelTotal = 21; */ public double getZAccelTotal() { return zAccelTotal_; } public static final int ZACCELCOUNT_FIELD_NUMBER = 22; private long zAccelCount_; /** * int64 zAccelCount = 22; */ public long getZAccelCount() { return zAccelCount_; } public static final int ZACCELPEAKVAL_FIELD_NUMBER = 23; private double zAccelPeakVal_; /** * double zAccelPeakVal = 23; */ public double getZAccelPeakVal() { return zAccelPeakVal_; } public static final int ZACCELMINVAL_FIELD_NUMBER = 24; private double zAccelMinVal_; /** * double zAccelMinVal = 24; */ public double getZAccelMinVal() { return zAccelMinVal_; } public static final int ZACCELAVG_FIELD_NUMBER = 25; private double zAccelAvg_; /** * double zAccelAvg = 25; */ public double getZAccelAvg() { return zAccelAvg_; } public static final int RSSITOTAL_FIELD_NUMBER = 26; private double rssiTotal_; /** * double rssiTotal = 26; */ public double getRssiTotal() { return rssiTotal_; } public static final int RSSICOUNT_FIELD_NUMBER = 27; private long rssiCount_; /** * int64 rssiCount = 27; */ public long getRssiCount() { return rssiCount_; } public static final int RSSIPEAKVAL_FIELD_NUMBER = 28; private double rssiPeakVal_; /** * double rssiPeakVal = 28; */ public double getRssiPeakVal() { return rssiPeakVal_; } public static final int RSSIMINVAL_FIELD_NUMBER = 29; private double rssiMinVal_; /** * double rssiMinVal = 29; */ public double getRssiMinVal() { return rssiMinVal_; } public static final int RSSIAVG_FIELD_NUMBER = 30; private double rssiAvg_; /** * double rssiAvg = 30; */ public double getRssiAvg() { return rssiAvg_; } public static final int BATTERYTOTAL_FIELD_NUMBER = 31; private double batteryTotal_; /** * double batteryTotal = 31; */ public double getBatteryTotal() { return batteryTotal_; } public static final int BATTERYCOUNT_FIELD_NUMBER = 32; private long batteryCount_; /** * int64 batteryCount = 32; */ public long getBatteryCount() { return batteryCount_; } public static final int BATTERYPEAKVAL_FIELD_NUMBER = 33; private double batteryPeakVal_; /** * double batteryPeakVal = 33; */ public double getBatteryPeakVal() { return batteryPeakVal_; } public static final int BATTERYMINVAL_FIELD_NUMBER = 34; private double batteryMinVal_; /** * double batteryMinVal = 34; */ public double getBatteryMinVal() { return batteryMinVal_; } public static final int BATTERYAVG_FIELD_NUMBER = 35; private double batteryAvg_; /** * double batteryAvg = 35; */ public double getBatteryAvg() { return batteryAvg_; } public static final int LUMSTOTAL_FIELD_NUMBER = 36; private double lumsTotal_; /** * double lumsTotal = 36; */ public double getLumsTotal() { return lumsTotal_; } public static final int LUMSCOUNT_FIELD_NUMBER = 37; private long lumsCount_; /** * int64 lumsCount = 37; */ public long getLumsCount() { return lumsCount_; } public static final int LUMSPEAKVAL_FIELD_NUMBER = 38; private double lumsPeakVal_; /** * double lumsPeakVal = 38; */ public double getLumsPeakVal() { return lumsPeakVal_; } public static final int LUMSMINVAL_FIELD_NUMBER = 39; private double lumsMinVal_; /** * double lumsMinVal = 39; */ public double getLumsMinVal() { return lumsMinVal_; } public static final int LUMSAVG_FIELD_NUMBER = 40; private double lumsAvg_; /** * double lumsAvg = 40; */ public double getLumsAvg() { return lumsAvg_; } public static final int BPMTOTAL_FIELD_NUMBER = 41; private double bpmTotal_; /** * double bpmTotal = 41; */ public double getBpmTotal() { return bpmTotal_; } public static final int BPMCOUNT_FIELD_NUMBER = 42; private long bpmCount_; /** * int64 bpmCount = 42; */ public long getBpmCount() { return bpmCount_; } public static final int BPMPEAKVAL_FIELD_NUMBER = 43; private double bpmPeakVal_; /** * double bpmPeakVal = 43; */ public double getBpmPeakVal() { return bpmPeakVal_; } public static final int BPMMINVAL_FIELD_NUMBER = 44; private double bpmMinVal_; /** * double bpmMinVal = 44; */ public double getBpmMinVal() { return bpmMinVal_; } public static final int BPMAVG_FIELD_NUMBER = 50; private double bpmAvg_; /** * double bpmAvg = 50; */ public double getBpmAvg() { return bpmAvg_; } public static final int FRAMECOUNTTOTAL_FIELD_NUMBER = 51; private double frameCountTotal_; /** * double frameCountTotal = 51; */ public double getFrameCountTotal() { return frameCountTotal_; } public static final int FRAMECOUNTCOUNT_FIELD_NUMBER = 52; private long frameCountCount_; /** * int64 frameCountCount = 52; */ public long getFrameCountCount() { return frameCountCount_; } public static final int FRAMECOUNTPEAKVAL_FIELD_NUMBER = 53; private double frameCountPeakVal_; /** * double frameCountPeakVal = 53; */ public double getFrameCountPeakVal() { return frameCountPeakVal_; } public static final int FRAMECOUNTMINVAL_FIELD_NUMBER = 54; private double frameCountMinVal_; /** * double frameCountMinVal = 54; */ public double getFrameCountMinVal() { return frameCountMinVal_; } public static final int FRAMECOUNTAVG_FIELD_NUMBER = 55; private double frameCountAvg_; /** * double frameCountAvg = 55; */ public double getFrameCountAvg() { return frameCountAvg_; } public static final int MEASUREDPOWERTOTAL_FIELD_NUMBER = 56; private double measuredPowerTotal_; /** * double measuredPowerTotal = 56; */ public double getMeasuredPowerTotal() { return measuredPowerTotal_; } public static final int MEASUREDPOWERCOUNT_FIELD_NUMBER = 57; private long measuredPowerCount_; /** * int64 measuredPowerCount = 57; */ public long getMeasuredPowerCount() { return measuredPowerCount_; } public static final int MEASUREDPOWERPEAKVAL_FIELD_NUMBER = 58; private double measuredPowerPeakVal_; /** * double measuredPowerPeakVal = 58; */ public double getMeasuredPowerPeakVal() { return measuredPowerPeakVal_; } public static final int MEASUREDPOWERMINVAL_FIELD_NUMBER = 59; private double measuredPowerMinVal_; /** * double measuredPowerMinVal = 59; */ public double getMeasuredPowerMinVal() { return measuredPowerMinVal_; } public static final int MEASUREDPOWERAVG_FIELD_NUMBER = 60; private double measuredPowerAvg_; /** * double measuredPowerAvg = 60; */ public double getMeasuredPowerAvg() { return measuredPowerAvg_; } public static final int XMAGTOTAL_FIELD_NUMBER = 61; private double xMagTotal_; /** * double xMagTotal = 61; */ public double getXMagTotal() { return xMagTotal_; } public static final int XMAGCOUNT_FIELD_NUMBER = 62; private long xMagCount_; /** * int64 xMagCount = 62; */ public long getXMagCount() { return xMagCount_; } public static final int XMAGPEAKVAL_FIELD_NUMBER = 63; private double xMagPeakVal_; /** * double xMagPeakVal = 63; */ public double getXMagPeakVal() { return xMagPeakVal_; } public static final int XMAGMINVAL_FIELD_NUMBER = 64; private double xMagMinVal_; /** * double xMagMinVal = 64; */ public double getXMagMinVal() { return xMagMinVal_; } public static final int XMAGAVG_FIELD_NUMBER = 65; private double xMagAvg_; /** * double xMagAvg = 65; */ public double getXMagAvg() { return xMagAvg_; } public static final int YMAGTOTAL_FIELD_NUMBER = 66; private double yMagTotal_; /** * double yMagTotal = 66; */ public double getYMagTotal() { return yMagTotal_; } public static final int YMAGCOUNT_FIELD_NUMBER = 67; private long yMagCount_; /** * int64 yMagCount = 67; */ public long getYMagCount() { return yMagCount_; } public static final int YMAGPEAKVAL_FIELD_NUMBER = 68; private double yMagPeakVal_; /** * double yMagPeakVal = 68; */ public double getYMagPeakVal() { return yMagPeakVal_; } public static final int YMAGMINVAL_FIELD_NUMBER = 69; private double yMagMinVal_; /** * double yMagMinVal = 69; */ public double getYMagMinVal() { return yMagMinVal_; } public static final int YMAGAVG_FIELD_NUMBER = 70; private double yMagAvg_; /** * double yMagAvg = 70; */ public double getYMagAvg() { return yMagAvg_; } public static final int ZMAGTOTAL_FIELD_NUMBER = 71; private double zMagTotal_; /** * double zMagTotal = 71; */ public double getZMagTotal() { return zMagTotal_; } public static final int ZMAGCOUNT_FIELD_NUMBER = 72; private long zMagCount_; /** * int64 zMagCount = 72; */ public long getZMagCount() { return zMagCount_; } public static final int ZMAGPEAKVAL_FIELD_NUMBER = 73; private double zMagPeakVal_; /** * double zMagPeakVal = 73; */ public double getZMagPeakVal() { return zMagPeakVal_; } public static final int ZMAGMINVAL_FIELD_NUMBER = 74; private double zMagMinVal_; /** * double zMagMinVal = 74; */ public double getZMagMinVal() { return zMagMinVal_; } public static final int ZMAGAVG_FIELD_NUMBER = 75; private double zMagAvg_; /** * double zMagAvg = 75; */ public double getZMagAvg() { return zMagAvg_; } public static final int TOTALPACKETCOUNT_FIELD_NUMBER = 76; private long totalPacketCount_; /** * int64 totalPacketCount = 76; */ public long getTotalPacketCount() { return totalPacketCount_; } public static final int EDDYSTONETLMPACKETCOUNT_FIELD_NUMBER = 77; private long eddystoneTlmPacketCount_; /** * int64 eddystoneTlmPacketCount = 77; */ public long getEddystoneTlmPacketCount() { return eddystoneTlmPacketCount_; } public static final int EDDYSTONEUIDPACKETCOUNT_FIELD_NUMBER = 78; private long eddystoneUidPacketCount_; /** * int64 eddystoneUidPacketCount = 78; */ public long getEddystoneUidPacketCount() { return eddystoneUidPacketCount_; } public static final int EDDYSTONEURLPACKETCOUNT_FIELD_NUMBER = 79; private long eddystoneUrlPacketCount_; /** * int64 eddystoneUrlPacketCount = 79; */ public long getEddystoneUrlPacketCount() { return eddystoneUrlPacketCount_; } public static final int HEARRATEPACKETCOUNT_FIELD_NUMBER = 80; private long hearratePacketCount_; /** * int64 hearratePacketCount = 80; */ public long getHearratePacketCount() { return hearratePacketCount_; } public static final int IBEACONPACKETCOUNT_FIELD_NUMBER = 81; private long ibeaconPacketCount_; /** * int64 ibeaconPacketCount = 81; */ public long getIbeaconPacketCount() { return ibeaconPacketCount_; } public static final int MAGPACKETCOUNT_FIELD_NUMBER = 82; private long magPacketCount_; /** * int64 magPacketCount = 82; */ public long getMagPacketCount() { return magPacketCount_; } public static final int PROBEPACKETCOUNT_FIELD_NUMBER = 83; private long probePacketCount_; /** * int64 probePacketCount = 83; */ public long getProbePacketCount() { return probePacketCount_; } public static final int SBV1PACKETCOUNT_FIELD_NUMBER = 84; private long sbv1PacketCount_; /** * int64 sbv1PacketCount = 84; */ public long getSbv1PacketCount() { return sbv1PacketCount_; } public static final int SBV2PACKETCOUNT_FIELD_NUMBER = 85; private long sbv2PacketCount_; /** * int64 sbv2PacketCount = 85; */ public long getSbv2PacketCount() { return sbv2PacketCount_; } public static final int SLIGHTPACKETCOUNT_FIELD_NUMBER = 86; private long slightPacketCount_; /** * int64 slightPacketCount = 86; */ public long getSlightPacketCount() { return slightPacketCount_; } public static final int SSNSPACKETCOUNT_FIELD_NUMBER = 87; private long ssnsPacketCount_; /** * int64 ssnsPacketCount = 87; */ public long getSsnsPacketCount() { return ssnsPacketCount_; } public static final int ENVIRONMENTNAME_FIELD_NUMBER = 88; private volatile java.lang.Object environmentName_; /** * string environmentName = 88; */ public java.lang.String getEnvironmentName() { java.lang.Object ref = environmentName_; 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(); environmentName_ = s; return s; } } /** * string environmentName = 88; */ public com.google.protobuf.ByteString getEnvironmentNameBytes() { java.lang.Object ref = environmentName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environmentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORDTIMESTAMP_FIELD_NUMBER = 89; private volatile java.lang.Object recordTimestamp_; /** * string recordTimestamp = 89; */ public java.lang.String getRecordTimestamp() { java.lang.Object ref = recordTimestamp_; 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(); recordTimestamp_ = s; return s; } } /** * string recordTimestamp = 89; */ public com.google.protobuf.ByteString getRecordTimestampBytes() { java.lang.Object ref = recordTimestamp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); recordTimestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MAGSTATETOTAL_FIELD_NUMBER = 90; private double magStateTotal_; /** * double magStateTotal = 90; */ public double getMagStateTotal() { return magStateTotal_; } public static final int MAGSTATECOUNT_FIELD_NUMBER = 91; private long magStateCount_; /** * int64 magStateCount = 91; */ public long getMagStateCount() { return magStateCount_; } public static final int MAGSTATEPEAKVAL_FIELD_NUMBER = 92; private double magStatePeakVal_; /** * double magStatePeakVal = 92; */ public double getMagStatePeakVal() { return magStatePeakVal_; } public static final int MAGSTATEMINVAL_FIELD_NUMBER = 93; private double magStateMinVal_; /** * double magStateMinVal = 93; */ public double getMagStateMinVal() { return magStateMinVal_; } public static final int MAGSTATEAVG_FIELD_NUMBER = 94; private double magStateAvg_; /** * double magStateAvg = 94; */ public double getMagStateAvg() { return magStateAvg_; } public static final int MOTIONPACKETCOUNT_FIELD_NUMBER = 95; private long motionPacketCount_; /** * int64 motionPacketCount = 95; */ public long getMotionPacketCount() { return motionPacketCount_; } public static final int XACCELSQTOTAL_FIELD_NUMBER = 96; private double xAccelSqTotal_; /** *
     * NEW
     * 
* * double xAccelSqTotal = 96; */ public double getXAccelSqTotal() { return xAccelSqTotal_; } public static final int XACCELRMS_FIELD_NUMBER = 97; private double xAccelRms_; /** * double xAccelRms = 97; */ public double getXAccelRms() { return xAccelRms_; } public static final int XACCELPKPK_FIELD_NUMBER = 98; private double xAccelPkPk_; /** * double xAccelPkPk = 98; */ public double getXAccelPkPk() { return xAccelPkPk_; } public static final int YACCELSQTOTAL_FIELD_NUMBER = 99; private double yAccelSqTotal_; /** * double yAccelSqTotal = 99; */ public double getYAccelSqTotal() { return yAccelSqTotal_; } public static final int YACCELRMS_FIELD_NUMBER = 100; private double yAccelRms_; /** * double yAccelRms = 100; */ public double getYAccelRms() { return yAccelRms_; } public static final int YACCELPKPK_FIELD_NUMBER = 101; private double yAccelPkPk_; /** * double yAccelPkPk = 101; */ public double getYAccelPkPk() { return yAccelPkPk_; } public static final int ZACCELSQTOTAL_FIELD_NUMBER = 102; private double zAccelSqTotal_; /** * double zAccelSqTotal = 102; */ public double getZAccelSqTotal() { return zAccelSqTotal_; } public static final int ZACCELRMS_FIELD_NUMBER = 103; private double zAccelRms_; /** * double zAccelRms = 103; */ public double getZAccelRms() { return zAccelRms_; } public static final int ZACCELPKPK_FIELD_NUMBER = 104; private double zAccelPkPk_; /** * double zAccelPkPk = 104; */ public double getZAccelPkPk() { return zAccelPkPk_; } public static final int XHSRMSTOTAL_FIELD_NUMBER = 105; private double xHsRmsTotal_; /** * double xHsRmsTotal = 105; */ public double getXHsRmsTotal() { return xHsRmsTotal_; } public static final int XHSCOUNT_FIELD_NUMBER = 106; private long xHsCount_; /** * int64 xHsCount = 106; */ public long getXHsCount() { return xHsCount_; } public static final int XHSRMSAVG_FIELD_NUMBER = 107; private double xHsRmsAvg_; /** * double xHsRmsAvg = 107; */ public double getXHsRmsAvg() { return xHsRmsAvg_; } public static final int XHSPEAK_FIELD_NUMBER = 108; private double xHsPeak_; /** * double xHsPeak = 108; */ public double getXHsPeak() { return xHsPeak_; } public static final int XHSPEAKTOPEAK_FIELD_NUMBER = 109; private double xHsPeakToPeak_; /** * double xHsPeakToPeak = 109; */ public double getXHsPeakToPeak() { return xHsPeakToPeak_; } public static final int YHSRMSTOTAL_FIELD_NUMBER = 110; private double yHsRmsTotal_; /** * double yHsRmsTotal = 110; */ public double getYHsRmsTotal() { return yHsRmsTotal_; } public static final int YHSCOUNT_FIELD_NUMBER = 111; private long yHsCount_; /** * int64 yHsCount = 111; */ public long getYHsCount() { return yHsCount_; } public static final int YHSRMSAVG_FIELD_NUMBER = 112; private double yHsRmsAvg_; /** * double yHsRmsAvg = 112; */ public double getYHsRmsAvg() { return yHsRmsAvg_; } public static final int YHSPEAK_FIELD_NUMBER = 113; private double yHsPeak_; /** * double yHsPeak = 113; */ public double getYHsPeak() { return yHsPeak_; } public static final int YHSPEAKTOPEAK_FIELD_NUMBER = 114; private double yHsPeakToPeak_; /** * double yHsPeakToPeak = 114; */ public double getYHsPeakToPeak() { return yHsPeakToPeak_; } public static final int ZHSRMSTOTAL_FIELD_NUMBER = 115; private double zHsRmsTotal_; /** * double zHsRmsTotal = 115; */ public double getZHsRmsTotal() { return zHsRmsTotal_; } public static final int ZHSCOUNT_FIELD_NUMBER = 116; private long zHsCount_; /** * int64 zHsCount = 116; */ public long getZHsCount() { return zHsCount_; } public static final int ZHSRMSAVG_FIELD_NUMBER = 117; private double zHsRmsAvg_; /** * double zHsRmsAvg = 117; */ public double getZHsRmsAvg() { return zHsRmsAvg_; } public static final int ZHSPEAK_FIELD_NUMBER = 118; private double zHsPeak_; /** * double zHsPeak = 118; */ public double getZHsPeak() { return zHsPeak_; } public static final int ZHSPEAKTOPEAK_FIELD_NUMBER = 119; private double zHsPeakToPeak_; /** * double zHsPeakToPeak = 119; */ public double getZHsPeakToPeak() { return zHsPeakToPeak_; } public static final int HSPACKETCOUNT_FIELD_NUMBER = 120; private double hsPacketCount_; /** * double hsPacketCount = 120; */ public double getHsPacketCount() { return hsPacketCount_; } 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 (temperatureTotal_ != 0D) { output.writeDouble(6, temperatureTotal_); } if (temperatureCount_ != 0L) { output.writeInt64(7, temperatureCount_); } if (temperaturePeakVal_ != 0D) { output.writeDouble(8, temperaturePeakVal_); } if (temperatureMinVal_ != 0D) { output.writeDouble(9, temperatureMinVal_); } if (temperatureAvg_ != 0D) { output.writeDouble(10, temperatureAvg_); } if (xAccelTotal_ != 0D) { output.writeDouble(11, xAccelTotal_); } if (xAccelCount_ != 0L) { output.writeInt64(12, xAccelCount_); } if (xAccelPeakVal_ != 0D) { output.writeDouble(13, xAccelPeakVal_); } if (xAccelMinVal_ != 0D) { output.writeDouble(14, xAccelMinVal_); } if (xAccelAvg_ != 0D) { output.writeDouble(15, xAccelAvg_); } if (yAccelTotal_ != 0D) { output.writeDouble(16, yAccelTotal_); } if (yAccelCount_ != 0L) { output.writeInt64(17, yAccelCount_); } if (yAccelPeakVal_ != 0D) { output.writeDouble(18, yAccelPeakVal_); } if (yAccelMinVal_ != 0D) { output.writeDouble(19, yAccelMinVal_); } if (yAccelAvg_ != 0D) { output.writeDouble(20, yAccelAvg_); } if (zAccelTotal_ != 0D) { output.writeDouble(21, zAccelTotal_); } if (zAccelCount_ != 0L) { output.writeInt64(22, zAccelCount_); } if (zAccelPeakVal_ != 0D) { output.writeDouble(23, zAccelPeakVal_); } if (zAccelMinVal_ != 0D) { output.writeDouble(24, zAccelMinVal_); } if (zAccelAvg_ != 0D) { output.writeDouble(25, zAccelAvg_); } if (rssiTotal_ != 0D) { output.writeDouble(26, rssiTotal_); } if (rssiCount_ != 0L) { output.writeInt64(27, rssiCount_); } if (rssiPeakVal_ != 0D) { output.writeDouble(28, rssiPeakVal_); } if (rssiMinVal_ != 0D) { output.writeDouble(29, rssiMinVal_); } if (rssiAvg_ != 0D) { output.writeDouble(30, rssiAvg_); } if (batteryTotal_ != 0D) { output.writeDouble(31, batteryTotal_); } if (batteryCount_ != 0L) { output.writeInt64(32, batteryCount_); } if (batteryPeakVal_ != 0D) { output.writeDouble(33, batteryPeakVal_); } if (batteryMinVal_ != 0D) { output.writeDouble(34, batteryMinVal_); } if (batteryAvg_ != 0D) { output.writeDouble(35, batteryAvg_); } if (lumsTotal_ != 0D) { output.writeDouble(36, lumsTotal_); } if (lumsCount_ != 0L) { output.writeInt64(37, lumsCount_); } if (lumsPeakVal_ != 0D) { output.writeDouble(38, lumsPeakVal_); } if (lumsMinVal_ != 0D) { output.writeDouble(39, lumsMinVal_); } if (lumsAvg_ != 0D) { output.writeDouble(40, lumsAvg_); } if (bpmTotal_ != 0D) { output.writeDouble(41, bpmTotal_); } if (bpmCount_ != 0L) { output.writeInt64(42, bpmCount_); } if (bpmPeakVal_ != 0D) { output.writeDouble(43, bpmPeakVal_); } if (bpmMinVal_ != 0D) { output.writeDouble(44, bpmMinVal_); } if (bpmAvg_ != 0D) { output.writeDouble(50, bpmAvg_); } if (frameCountTotal_ != 0D) { output.writeDouble(51, frameCountTotal_); } if (frameCountCount_ != 0L) { output.writeInt64(52, frameCountCount_); } if (frameCountPeakVal_ != 0D) { output.writeDouble(53, frameCountPeakVal_); } if (frameCountMinVal_ != 0D) { output.writeDouble(54, frameCountMinVal_); } if (frameCountAvg_ != 0D) { output.writeDouble(55, frameCountAvg_); } if (measuredPowerTotal_ != 0D) { output.writeDouble(56, measuredPowerTotal_); } if (measuredPowerCount_ != 0L) { output.writeInt64(57, measuredPowerCount_); } if (measuredPowerPeakVal_ != 0D) { output.writeDouble(58, measuredPowerPeakVal_); } if (measuredPowerMinVal_ != 0D) { output.writeDouble(59, measuredPowerMinVal_); } if (measuredPowerAvg_ != 0D) { output.writeDouble(60, measuredPowerAvg_); } if (xMagTotal_ != 0D) { output.writeDouble(61, xMagTotal_); } if (xMagCount_ != 0L) { output.writeInt64(62, xMagCount_); } if (xMagPeakVal_ != 0D) { output.writeDouble(63, xMagPeakVal_); } if (xMagMinVal_ != 0D) { output.writeDouble(64, xMagMinVal_); } if (xMagAvg_ != 0D) { output.writeDouble(65, xMagAvg_); } if (yMagTotal_ != 0D) { output.writeDouble(66, yMagTotal_); } if (yMagCount_ != 0L) { output.writeInt64(67, yMagCount_); } if (yMagPeakVal_ != 0D) { output.writeDouble(68, yMagPeakVal_); } if (yMagMinVal_ != 0D) { output.writeDouble(69, yMagMinVal_); } if (yMagAvg_ != 0D) { output.writeDouble(70, yMagAvg_); } if (zMagTotal_ != 0D) { output.writeDouble(71, zMagTotal_); } if (zMagCount_ != 0L) { output.writeInt64(72, zMagCount_); } if (zMagPeakVal_ != 0D) { output.writeDouble(73, zMagPeakVal_); } if (zMagMinVal_ != 0D) { output.writeDouble(74, zMagMinVal_); } if (zMagAvg_ != 0D) { output.writeDouble(75, zMagAvg_); } if (totalPacketCount_ != 0L) { output.writeInt64(76, totalPacketCount_); } if (eddystoneTlmPacketCount_ != 0L) { output.writeInt64(77, eddystoneTlmPacketCount_); } if (eddystoneUidPacketCount_ != 0L) { output.writeInt64(78, eddystoneUidPacketCount_); } if (eddystoneUrlPacketCount_ != 0L) { output.writeInt64(79, eddystoneUrlPacketCount_); } if (hearratePacketCount_ != 0L) { output.writeInt64(80, hearratePacketCount_); } if (ibeaconPacketCount_ != 0L) { output.writeInt64(81, ibeaconPacketCount_); } if (magPacketCount_ != 0L) { output.writeInt64(82, magPacketCount_); } if (probePacketCount_ != 0L) { output.writeInt64(83, probePacketCount_); } if (sbv1PacketCount_ != 0L) { output.writeInt64(84, sbv1PacketCount_); } if (sbv2PacketCount_ != 0L) { output.writeInt64(85, sbv2PacketCount_); } if (slightPacketCount_ != 0L) { output.writeInt64(86, slightPacketCount_); } if (ssnsPacketCount_ != 0L) { output.writeInt64(87, ssnsPacketCount_); } if (!getEnvironmentNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 88, environmentName_); } if (!getRecordTimestampBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 89, recordTimestamp_); } if (magStateTotal_ != 0D) { output.writeDouble(90, magStateTotal_); } if (magStateCount_ != 0L) { output.writeInt64(91, magStateCount_); } if (magStatePeakVal_ != 0D) { output.writeDouble(92, magStatePeakVal_); } if (magStateMinVal_ != 0D) { output.writeDouble(93, magStateMinVal_); } if (magStateAvg_ != 0D) { output.writeDouble(94, magStateAvg_); } if (motionPacketCount_ != 0L) { output.writeInt64(95, motionPacketCount_); } if (xAccelSqTotal_ != 0D) { output.writeDouble(96, xAccelSqTotal_); } if (xAccelRms_ != 0D) { output.writeDouble(97, xAccelRms_); } if (xAccelPkPk_ != 0D) { output.writeDouble(98, xAccelPkPk_); } if (yAccelSqTotal_ != 0D) { output.writeDouble(99, yAccelSqTotal_); } if (yAccelRms_ != 0D) { output.writeDouble(100, yAccelRms_); } if (yAccelPkPk_ != 0D) { output.writeDouble(101, yAccelPkPk_); } if (zAccelSqTotal_ != 0D) { output.writeDouble(102, zAccelSqTotal_); } if (zAccelRms_ != 0D) { output.writeDouble(103, zAccelRms_); } if (zAccelPkPk_ != 0D) { output.writeDouble(104, zAccelPkPk_); } if (xHsRmsTotal_ != 0D) { output.writeDouble(105, xHsRmsTotal_); } if (xHsCount_ != 0L) { output.writeInt64(106, xHsCount_); } if (xHsRmsAvg_ != 0D) { output.writeDouble(107, xHsRmsAvg_); } if (xHsPeak_ != 0D) { output.writeDouble(108, xHsPeak_); } if (xHsPeakToPeak_ != 0D) { output.writeDouble(109, xHsPeakToPeak_); } if (yHsRmsTotal_ != 0D) { output.writeDouble(110, yHsRmsTotal_); } if (yHsCount_ != 0L) { output.writeInt64(111, yHsCount_); } if (yHsRmsAvg_ != 0D) { output.writeDouble(112, yHsRmsAvg_); } if (yHsPeak_ != 0D) { output.writeDouble(113, yHsPeak_); } if (yHsPeakToPeak_ != 0D) { output.writeDouble(114, yHsPeakToPeak_); } if (zHsRmsTotal_ != 0D) { output.writeDouble(115, zHsRmsTotal_); } if (zHsCount_ != 0L) { output.writeInt64(116, zHsCount_); } if (zHsRmsAvg_ != 0D) { output.writeDouble(117, zHsRmsAvg_); } if (zHsPeak_ != 0D) { output.writeDouble(118, zHsPeak_); } if (zHsPeakToPeak_ != 0D) { output.writeDouble(119, zHsPeakToPeak_); } if (hsPacketCount_ != 0D) { output.writeDouble(120, hsPacketCount_); } 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 (temperatureTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(6, temperatureTotal_); } if (temperatureCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, temperatureCount_); } if (temperaturePeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, temperaturePeakVal_); } if (temperatureMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, temperatureMinVal_); } if (temperatureAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, temperatureAvg_); } if (xAccelTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, xAccelTotal_); } if (xAccelCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(12, xAccelCount_); } if (xAccelPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, xAccelPeakVal_); } if (xAccelMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, xAccelMinVal_); } if (xAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(15, xAccelAvg_); } if (yAccelTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(16, yAccelTotal_); } if (yAccelCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, yAccelCount_); } if (yAccelPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(18, yAccelPeakVal_); } if (yAccelMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(19, yAccelMinVal_); } if (yAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(20, yAccelAvg_); } if (zAccelTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(21, zAccelTotal_); } if (zAccelCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(22, zAccelCount_); } if (zAccelPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(23, zAccelPeakVal_); } if (zAccelMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(24, zAccelMinVal_); } if (zAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(25, zAccelAvg_); } if (rssiTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(26, rssiTotal_); } if (rssiCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(27, rssiCount_); } if (rssiPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(28, rssiPeakVal_); } if (rssiMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(29, rssiMinVal_); } if (rssiAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(30, rssiAvg_); } if (batteryTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(31, batteryTotal_); } if (batteryCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(32, batteryCount_); } if (batteryPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(33, batteryPeakVal_); } if (batteryMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(34, batteryMinVal_); } if (batteryAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(35, batteryAvg_); } if (lumsTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(36, lumsTotal_); } if (lumsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(37, lumsCount_); } if (lumsPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(38, lumsPeakVal_); } if (lumsMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(39, lumsMinVal_); } if (lumsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(40, lumsAvg_); } if (bpmTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(41, bpmTotal_); } if (bpmCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(42, bpmCount_); } if (bpmPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(43, bpmPeakVal_); } if (bpmMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(44, bpmMinVal_); } if (bpmAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(50, bpmAvg_); } if (frameCountTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(51, frameCountTotal_); } if (frameCountCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(52, frameCountCount_); } if (frameCountPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(53, frameCountPeakVal_); } if (frameCountMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(54, frameCountMinVal_); } if (frameCountAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(55, frameCountAvg_); } if (measuredPowerTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(56, measuredPowerTotal_); } if (measuredPowerCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(57, measuredPowerCount_); } if (measuredPowerPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(58, measuredPowerPeakVal_); } if (measuredPowerMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(59, measuredPowerMinVal_); } if (measuredPowerAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(60, measuredPowerAvg_); } if (xMagTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(61, xMagTotal_); } if (xMagCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(62, xMagCount_); } if (xMagPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(63, xMagPeakVal_); } if (xMagMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(64, xMagMinVal_); } if (xMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(65, xMagAvg_); } if (yMagTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(66, yMagTotal_); } if (yMagCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(67, yMagCount_); } if (yMagPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(68, yMagPeakVal_); } if (yMagMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(69, yMagMinVal_); } if (yMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(70, yMagAvg_); } if (zMagTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(71, zMagTotal_); } if (zMagCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(72, zMagCount_); } if (zMagPeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(73, zMagPeakVal_); } if (zMagMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(74, zMagMinVal_); } if (zMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(75, zMagAvg_); } if (totalPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(76, totalPacketCount_); } if (eddystoneTlmPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(77, eddystoneTlmPacketCount_); } if (eddystoneUidPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(78, eddystoneUidPacketCount_); } if (eddystoneUrlPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(79, eddystoneUrlPacketCount_); } if (hearratePacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(80, hearratePacketCount_); } if (ibeaconPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(81, ibeaconPacketCount_); } if (magPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(82, magPacketCount_); } if (probePacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(83, probePacketCount_); } if (sbv1PacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(84, sbv1PacketCount_); } if (sbv2PacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(85, sbv2PacketCount_); } if (slightPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(86, slightPacketCount_); } if (ssnsPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(87, ssnsPacketCount_); } if (!getEnvironmentNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(88, environmentName_); } if (!getRecordTimestampBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(89, recordTimestamp_); } if (magStateTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(90, magStateTotal_); } if (magStateCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(91, magStateCount_); } if (magStatePeakVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(92, magStatePeakVal_); } if (magStateMinVal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(93, magStateMinVal_); } if (magStateAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(94, magStateAvg_); } if (motionPacketCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(95, motionPacketCount_); } if (xAccelSqTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(96, xAccelSqTotal_); } if (xAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(97, xAccelRms_); } if (xAccelPkPk_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(98, xAccelPkPk_); } if (yAccelSqTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(99, yAccelSqTotal_); } if (yAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(100, yAccelRms_); } if (yAccelPkPk_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(101, yAccelPkPk_); } if (zAccelSqTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(102, zAccelSqTotal_); } if (zAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(103, zAccelRms_); } if (zAccelPkPk_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(104, zAccelPkPk_); } if (xHsRmsTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(105, xHsRmsTotal_); } if (xHsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(106, xHsCount_); } if (xHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(107, xHsRmsAvg_); } if (xHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(108, xHsPeak_); } if (xHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(109, xHsPeakToPeak_); } if (yHsRmsTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(110, yHsRmsTotal_); } if (yHsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(111, yHsCount_); } if (yHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(112, yHsRmsAvg_); } if (yHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(113, yHsPeak_); } if (yHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(114, yHsPeakToPeak_); } if (zHsRmsTotal_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(115, zHsRmsTotal_); } if (zHsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(116, zHsCount_); } if (zHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(117, zHsRmsAvg_); } if (zHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(118, zHsPeak_); } if (zHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(119, zHsPeakToPeak_); } if (hsPacketCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(120, hsPacketCount_); } 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.BeaconAggregate)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate) 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 && ( java.lang.Double.doubleToLongBits(getTemperatureTotal()) == java.lang.Double.doubleToLongBits( other.getTemperatureTotal())); result = result && (getTemperatureCount() == other.getTemperatureCount()); result = result && ( java.lang.Double.doubleToLongBits(getTemperaturePeakVal()) == java.lang.Double.doubleToLongBits( other.getTemperaturePeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getTemperatureMinVal()) == java.lang.Double.doubleToLongBits( other.getTemperatureMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getTemperatureAvg()) == java.lang.Double.doubleToLongBits( other.getTemperatureAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelTotal()) == java.lang.Double.doubleToLongBits( other.getXAccelTotal())); result = result && (getXAccelCount() == other.getXAccelCount()); result = result && ( java.lang.Double.doubleToLongBits(getXAccelPeakVal()) == java.lang.Double.doubleToLongBits( other.getXAccelPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelMinVal()) == java.lang.Double.doubleToLongBits( other.getXAccelMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelAvg()) == java.lang.Double.doubleToLongBits( other.getXAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelTotal()) == java.lang.Double.doubleToLongBits( other.getYAccelTotal())); result = result && (getYAccelCount() == other.getYAccelCount()); result = result && ( java.lang.Double.doubleToLongBits(getYAccelPeakVal()) == java.lang.Double.doubleToLongBits( other.getYAccelPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelMinVal()) == java.lang.Double.doubleToLongBits( other.getYAccelMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelAvg()) == java.lang.Double.doubleToLongBits( other.getYAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelTotal()) == java.lang.Double.doubleToLongBits( other.getZAccelTotal())); result = result && (getZAccelCount() == other.getZAccelCount()); result = result && ( java.lang.Double.doubleToLongBits(getZAccelPeakVal()) == java.lang.Double.doubleToLongBits( other.getZAccelPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelMinVal()) == java.lang.Double.doubleToLongBits( other.getZAccelMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelAvg()) == java.lang.Double.doubleToLongBits( other.getZAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getRssiTotal()) == java.lang.Double.doubleToLongBits( other.getRssiTotal())); result = result && (getRssiCount() == other.getRssiCount()); result = result && ( java.lang.Double.doubleToLongBits(getRssiPeakVal()) == java.lang.Double.doubleToLongBits( other.getRssiPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getRssiMinVal()) == java.lang.Double.doubleToLongBits( other.getRssiMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getRssiAvg()) == java.lang.Double.doubleToLongBits( other.getRssiAvg())); result = result && ( java.lang.Double.doubleToLongBits(getBatteryTotal()) == java.lang.Double.doubleToLongBits( other.getBatteryTotal())); result = result && (getBatteryCount() == other.getBatteryCount()); result = result && ( java.lang.Double.doubleToLongBits(getBatteryPeakVal()) == java.lang.Double.doubleToLongBits( other.getBatteryPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getBatteryMinVal()) == java.lang.Double.doubleToLongBits( other.getBatteryMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getBatteryAvg()) == java.lang.Double.doubleToLongBits( other.getBatteryAvg())); result = result && ( java.lang.Double.doubleToLongBits(getLumsTotal()) == java.lang.Double.doubleToLongBits( other.getLumsTotal())); result = result && (getLumsCount() == other.getLumsCount()); result = result && ( java.lang.Double.doubleToLongBits(getLumsPeakVal()) == java.lang.Double.doubleToLongBits( other.getLumsPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getLumsMinVal()) == java.lang.Double.doubleToLongBits( other.getLumsMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getLumsAvg()) == java.lang.Double.doubleToLongBits( other.getLumsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getBpmTotal()) == java.lang.Double.doubleToLongBits( other.getBpmTotal())); result = result && (getBpmCount() == other.getBpmCount()); result = result && ( java.lang.Double.doubleToLongBits(getBpmPeakVal()) == java.lang.Double.doubleToLongBits( other.getBpmPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getBpmMinVal()) == java.lang.Double.doubleToLongBits( other.getBpmMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getBpmAvg()) == java.lang.Double.doubleToLongBits( other.getBpmAvg())); result = result && ( java.lang.Double.doubleToLongBits(getFrameCountTotal()) == java.lang.Double.doubleToLongBits( other.getFrameCountTotal())); result = result && (getFrameCountCount() == other.getFrameCountCount()); result = result && ( java.lang.Double.doubleToLongBits(getFrameCountPeakVal()) == java.lang.Double.doubleToLongBits( other.getFrameCountPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getFrameCountMinVal()) == java.lang.Double.doubleToLongBits( other.getFrameCountMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getFrameCountAvg()) == java.lang.Double.doubleToLongBits( other.getFrameCountAvg())); result = result && ( java.lang.Double.doubleToLongBits(getMeasuredPowerTotal()) == java.lang.Double.doubleToLongBits( other.getMeasuredPowerTotal())); result = result && (getMeasuredPowerCount() == other.getMeasuredPowerCount()); result = result && ( java.lang.Double.doubleToLongBits(getMeasuredPowerPeakVal()) == java.lang.Double.doubleToLongBits( other.getMeasuredPowerPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getMeasuredPowerMinVal()) == java.lang.Double.doubleToLongBits( other.getMeasuredPowerMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getMeasuredPowerAvg()) == java.lang.Double.doubleToLongBits( other.getMeasuredPowerAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXMagTotal()) == java.lang.Double.doubleToLongBits( other.getXMagTotal())); result = result && (getXMagCount() == other.getXMagCount()); result = result && ( java.lang.Double.doubleToLongBits(getXMagPeakVal()) == java.lang.Double.doubleToLongBits( other.getXMagPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getXMagMinVal()) == java.lang.Double.doubleToLongBits( other.getXMagMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getXMagAvg()) == java.lang.Double.doubleToLongBits( other.getXMagAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYMagTotal()) == java.lang.Double.doubleToLongBits( other.getYMagTotal())); result = result && (getYMagCount() == other.getYMagCount()); result = result && ( java.lang.Double.doubleToLongBits(getYMagPeakVal()) == java.lang.Double.doubleToLongBits( other.getYMagPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getYMagMinVal()) == java.lang.Double.doubleToLongBits( other.getYMagMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getYMagAvg()) == java.lang.Double.doubleToLongBits( other.getYMagAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZMagTotal()) == java.lang.Double.doubleToLongBits( other.getZMagTotal())); result = result && (getZMagCount() == other.getZMagCount()); result = result && ( java.lang.Double.doubleToLongBits(getZMagPeakVal()) == java.lang.Double.doubleToLongBits( other.getZMagPeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getZMagMinVal()) == java.lang.Double.doubleToLongBits( other.getZMagMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getZMagAvg()) == java.lang.Double.doubleToLongBits( other.getZMagAvg())); result = result && (getTotalPacketCount() == other.getTotalPacketCount()); result = result && (getEddystoneTlmPacketCount() == other.getEddystoneTlmPacketCount()); result = result && (getEddystoneUidPacketCount() == other.getEddystoneUidPacketCount()); result = result && (getEddystoneUrlPacketCount() == other.getEddystoneUrlPacketCount()); result = result && (getHearratePacketCount() == other.getHearratePacketCount()); result = result && (getIbeaconPacketCount() == other.getIbeaconPacketCount()); result = result && (getMagPacketCount() == other.getMagPacketCount()); result = result && (getProbePacketCount() == other.getProbePacketCount()); result = result && (getSbv1PacketCount() == other.getSbv1PacketCount()); result = result && (getSbv2PacketCount() == other.getSbv2PacketCount()); result = result && (getSlightPacketCount() == other.getSlightPacketCount()); result = result && (getSsnsPacketCount() == other.getSsnsPacketCount()); result = result && getEnvironmentName() .equals(other.getEnvironmentName()); result = result && getRecordTimestamp() .equals(other.getRecordTimestamp()); result = result && ( java.lang.Double.doubleToLongBits(getMagStateTotal()) == java.lang.Double.doubleToLongBits( other.getMagStateTotal())); result = result && (getMagStateCount() == other.getMagStateCount()); result = result && ( java.lang.Double.doubleToLongBits(getMagStatePeakVal()) == java.lang.Double.doubleToLongBits( other.getMagStatePeakVal())); result = result && ( java.lang.Double.doubleToLongBits(getMagStateMinVal()) == java.lang.Double.doubleToLongBits( other.getMagStateMinVal())); result = result && ( java.lang.Double.doubleToLongBits(getMagStateAvg()) == java.lang.Double.doubleToLongBits( other.getMagStateAvg())); result = result && (getMotionPacketCount() == other.getMotionPacketCount()); result = result && ( java.lang.Double.doubleToLongBits(getXAccelSqTotal()) == java.lang.Double.doubleToLongBits( other.getXAccelSqTotal())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelRms()) == java.lang.Double.doubleToLongBits( other.getXAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelPkPk()) == java.lang.Double.doubleToLongBits( other.getXAccelPkPk())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelSqTotal()) == java.lang.Double.doubleToLongBits( other.getYAccelSqTotal())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelRms()) == java.lang.Double.doubleToLongBits( other.getYAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelPkPk()) == java.lang.Double.doubleToLongBits( other.getYAccelPkPk())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelSqTotal()) == java.lang.Double.doubleToLongBits( other.getZAccelSqTotal())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelRms()) == java.lang.Double.doubleToLongBits( other.getZAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelPkPk()) == java.lang.Double.doubleToLongBits( other.getZAccelPkPk())); result = result && ( java.lang.Double.doubleToLongBits(getXHsRmsTotal()) == java.lang.Double.doubleToLongBits( other.getXHsRmsTotal())); result = result && (getXHsCount() == other.getXHsCount()); result = result && ( java.lang.Double.doubleToLongBits(getXHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getXHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXHsPeak()) == java.lang.Double.doubleToLongBits( other.getXHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getXHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getXHsPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYHsRmsTotal()) == java.lang.Double.doubleToLongBits( other.getYHsRmsTotal())); result = result && (getYHsCount() == other.getYHsCount()); result = result && ( java.lang.Double.doubleToLongBits(getYHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getYHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYHsPeak()) == java.lang.Double.doubleToLongBits( other.getYHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getYHsPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZHsRmsTotal()) == java.lang.Double.doubleToLongBits( other.getZHsRmsTotal())); result = result && (getZHsCount() == other.getZHsCount()); result = result && ( java.lang.Double.doubleToLongBits(getZHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getZHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZHsPeak()) == java.lang.Double.doubleToLongBits( other.getZHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getZHsPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getHsPacketCount()) == java.lang.Double.doubleToLongBits( other.getHsPacketCount())); 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()); hash = (37 * hash) + TEMPERATURETOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTemperatureTotal())); hash = (37 * hash) + TEMPERATURECOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTemperatureCount()); hash = (37 * hash) + TEMPERATUREPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTemperaturePeakVal())); hash = (37 * hash) + TEMPERATUREMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTemperatureMinVal())); hash = (37 * hash) + TEMPERATUREAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTemperatureAvg())); hash = (37 * hash) + XACCELTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelTotal())); hash = (37 * hash) + XACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getXAccelCount()); hash = (37 * hash) + XACCELPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelPeakVal())); hash = (37 * hash) + XACCELMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelMinVal())); hash = (37 * hash) + XACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelAvg())); hash = (37 * hash) + YACCELTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelTotal())); hash = (37 * hash) + YACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYAccelCount()); hash = (37 * hash) + YACCELPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelPeakVal())); hash = (37 * hash) + YACCELMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelMinVal())); hash = (37 * hash) + YACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelAvg())); hash = (37 * hash) + ZACCELTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelTotal())); hash = (37 * hash) + ZACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getZAccelCount()); hash = (37 * hash) + ZACCELPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelPeakVal())); hash = (37 * hash) + ZACCELMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelMinVal())); hash = (37 * hash) + ZACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelAvg())); hash = (37 * hash) + RSSITOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiTotal())); hash = (37 * hash) + RSSICOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRssiCount()); hash = (37 * hash) + RSSIPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiPeakVal())); hash = (37 * hash) + RSSIMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiMinVal())); hash = (37 * hash) + RSSIAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiAvg())); hash = (37 * hash) + BATTERYTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryTotal())); hash = (37 * hash) + BATTERYCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatteryCount()); hash = (37 * hash) + BATTERYPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryPeakVal())); hash = (37 * hash) + BATTERYMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryMinVal())); hash = (37 * hash) + BATTERYAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryAvg())); hash = (37 * hash) + LUMSTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsTotal())); hash = (37 * hash) + LUMSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLumsCount()); hash = (37 * hash) + LUMSPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsPeakVal())); hash = (37 * hash) + LUMSMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsMinVal())); hash = (37 * hash) + LUMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsAvg())); hash = (37 * hash) + BPMTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBpmTotal())); hash = (37 * hash) + BPMCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBpmCount()); hash = (37 * hash) + BPMPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBpmPeakVal())); hash = (37 * hash) + BPMMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBpmMinVal())); hash = (37 * hash) + BPMAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBpmAvg())); hash = (37 * hash) + FRAMECOUNTTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFrameCountTotal())); hash = (37 * hash) + FRAMECOUNTCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFrameCountCount()); hash = (37 * hash) + FRAMECOUNTPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFrameCountPeakVal())); hash = (37 * hash) + FRAMECOUNTMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFrameCountMinVal())); hash = (37 * hash) + FRAMECOUNTAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getFrameCountAvg())); hash = (37 * hash) + MEASUREDPOWERTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMeasuredPowerTotal())); hash = (37 * hash) + MEASUREDPOWERCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMeasuredPowerCount()); hash = (37 * hash) + MEASUREDPOWERPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMeasuredPowerPeakVal())); hash = (37 * hash) + MEASUREDPOWERMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMeasuredPowerMinVal())); hash = (37 * hash) + MEASUREDPOWERAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMeasuredPowerAvg())); hash = (37 * hash) + XMAGTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagTotal())); hash = (37 * hash) + XMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getXMagCount()); hash = (37 * hash) + XMAGPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagPeakVal())); hash = (37 * hash) + XMAGMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagMinVal())); hash = (37 * hash) + XMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagAvg())); hash = (37 * hash) + YMAGTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagTotal())); hash = (37 * hash) + YMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYMagCount()); hash = (37 * hash) + YMAGPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagPeakVal())); hash = (37 * hash) + YMAGMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagMinVal())); hash = (37 * hash) + YMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagAvg())); hash = (37 * hash) + ZMAGTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagTotal())); hash = (37 * hash) + ZMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getZMagCount()); hash = (37 * hash) + ZMAGPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagPeakVal())); hash = (37 * hash) + ZMAGMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagMinVal())); hash = (37 * hash) + ZMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagAvg())); hash = (37 * hash) + TOTALPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalPacketCount()); hash = (37 * hash) + EDDYSTONETLMPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEddystoneTlmPacketCount()); hash = (37 * hash) + EDDYSTONEUIDPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEddystoneUidPacketCount()); hash = (37 * hash) + EDDYSTONEURLPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEddystoneUrlPacketCount()); hash = (37 * hash) + HEARRATEPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHearratePacketCount()); hash = (37 * hash) + IBEACONPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getIbeaconPacketCount()); hash = (37 * hash) + MAGPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMagPacketCount()); hash = (37 * hash) + PROBEPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getProbePacketCount()); hash = (37 * hash) + SBV1PACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSbv1PacketCount()); hash = (37 * hash) + SBV2PACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSbv2PacketCount()); hash = (37 * hash) + SLIGHTPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSlightPacketCount()); hash = (37 * hash) + SSNSPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSsnsPacketCount()); hash = (37 * hash) + ENVIRONMENTNAME_FIELD_NUMBER; hash = (53 * hash) + getEnvironmentName().hashCode(); hash = (37 * hash) + RECORDTIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getRecordTimestamp().hashCode(); hash = (37 * hash) + MAGSTATETOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStateTotal())); hash = (37 * hash) + MAGSTATECOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMagStateCount()); hash = (37 * hash) + MAGSTATEPEAKVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStatePeakVal())); hash = (37 * hash) + MAGSTATEMINVAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStateMinVal())); hash = (37 * hash) + MAGSTATEAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStateAvg())); hash = (37 * hash) + MOTIONPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMotionPacketCount()); hash = (37 * hash) + XACCELSQTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelSqTotal())); hash = (37 * hash) + XACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelRms())); hash = (37 * hash) + XACCELPKPK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelPkPk())); hash = (37 * hash) + YACCELSQTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelSqTotal())); hash = (37 * hash) + YACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelRms())); hash = (37 * hash) + YACCELPKPK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelPkPk())); hash = (37 * hash) + ZACCELSQTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelSqTotal())); hash = (37 * hash) + ZACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelRms())); hash = (37 * hash) + ZACCELPKPK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelPkPk())); hash = (37 * hash) + XHSRMSTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsRmsTotal())); hash = (37 * hash) + XHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getXHsCount()); hash = (37 * hash) + XHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsRmsAvg())); hash = (37 * hash) + XHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsPeak())); hash = (37 * hash) + XHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsPeakToPeak())); hash = (37 * hash) + YHSRMSTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsRmsTotal())); hash = (37 * hash) + YHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getYHsCount()); hash = (37 * hash) + YHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsRmsAvg())); hash = (37 * hash) + YHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsPeak())); hash = (37 * hash) + YHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsPeakToPeak())); hash = (37 * hash) + ZHSRMSTOTAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsRmsTotal())); hash = (37 * hash) + ZHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getZHsCount()); hash = (37 * hash) + ZHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsRmsAvg())); hash = (37 * hash) + ZHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsPeak())); hash = (37 * hash) + ZHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsPeakToPeak())); hash = (37 * hash) + HSPACKETCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getHsPacketCount())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregate parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate 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.BeaconAggregate 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.BeaconAggregate 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.BeaconAggregate 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; } /** *
     * BeaconAggregate  represents a record from beacon minute facts
     * 
* * Protobuf type {@code BeaconAggregate} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeaconAggregate) com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregate_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregate_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.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; temperatureTotal_ = 0D; temperatureCount_ = 0L; temperaturePeakVal_ = 0D; temperatureMinVal_ = 0D; temperatureAvg_ = 0D; xAccelTotal_ = 0D; xAccelCount_ = 0L; xAccelPeakVal_ = 0D; xAccelMinVal_ = 0D; xAccelAvg_ = 0D; yAccelTotal_ = 0D; yAccelCount_ = 0L; yAccelPeakVal_ = 0D; yAccelMinVal_ = 0D; yAccelAvg_ = 0D; zAccelTotal_ = 0D; zAccelCount_ = 0L; zAccelPeakVal_ = 0D; zAccelMinVal_ = 0D; zAccelAvg_ = 0D; rssiTotal_ = 0D; rssiCount_ = 0L; rssiPeakVal_ = 0D; rssiMinVal_ = 0D; rssiAvg_ = 0D; batteryTotal_ = 0D; batteryCount_ = 0L; batteryPeakVal_ = 0D; batteryMinVal_ = 0D; batteryAvg_ = 0D; lumsTotal_ = 0D; lumsCount_ = 0L; lumsPeakVal_ = 0D; lumsMinVal_ = 0D; lumsAvg_ = 0D; bpmTotal_ = 0D; bpmCount_ = 0L; bpmPeakVal_ = 0D; bpmMinVal_ = 0D; bpmAvg_ = 0D; frameCountTotal_ = 0D; frameCountCount_ = 0L; frameCountPeakVal_ = 0D; frameCountMinVal_ = 0D; frameCountAvg_ = 0D; measuredPowerTotal_ = 0D; measuredPowerCount_ = 0L; measuredPowerPeakVal_ = 0D; measuredPowerMinVal_ = 0D; measuredPowerAvg_ = 0D; xMagTotal_ = 0D; xMagCount_ = 0L; xMagPeakVal_ = 0D; xMagMinVal_ = 0D; xMagAvg_ = 0D; yMagTotal_ = 0D; yMagCount_ = 0L; yMagPeakVal_ = 0D; yMagMinVal_ = 0D; yMagAvg_ = 0D; zMagTotal_ = 0D; zMagCount_ = 0L; zMagPeakVal_ = 0D; zMagMinVal_ = 0D; zMagAvg_ = 0D; totalPacketCount_ = 0L; eddystoneTlmPacketCount_ = 0L; eddystoneUidPacketCount_ = 0L; eddystoneUrlPacketCount_ = 0L; hearratePacketCount_ = 0L; ibeaconPacketCount_ = 0L; magPacketCount_ = 0L; probePacketCount_ = 0L; sbv1PacketCount_ = 0L; sbv2PacketCount_ = 0L; slightPacketCount_ = 0L; ssnsPacketCount_ = 0L; environmentName_ = ""; recordTimestamp_ = ""; magStateTotal_ = 0D; magStateCount_ = 0L; magStatePeakVal_ = 0D; magStateMinVal_ = 0D; magStateAvg_ = 0D; motionPacketCount_ = 0L; xAccelSqTotal_ = 0D; xAccelRms_ = 0D; xAccelPkPk_ = 0D; yAccelSqTotal_ = 0D; yAccelRms_ = 0D; yAccelPkPk_ = 0D; zAccelSqTotal_ = 0D; zAccelRms_ = 0D; zAccelPkPk_ = 0D; xHsRmsTotal_ = 0D; xHsCount_ = 0L; xHsRmsAvg_ = 0D; xHsPeak_ = 0D; xHsPeakToPeak_ = 0D; yHsRmsTotal_ = 0D; yHsCount_ = 0L; yHsRmsAvg_ = 0D; yHsPeak_ = 0D; yHsPeakToPeak_ = 0D; zHsRmsTotal_ = 0D; zHsCount_ = 0L; zHsRmsAvg_ = 0D; zHsPeak_ = 0D; zHsPeakToPeak_ = 0D; hsPacketCount_ = 0D; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconAggregate_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate build() { com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate(this); result.dateKey_ = dateKey_; result.dateStringKey_ = dateStringKey_; result.projectId_ = projectId_; result.beaconId64_ = beaconId64_; result.blufiId_ = blufiId_; result.temperatureTotal_ = temperatureTotal_; result.temperatureCount_ = temperatureCount_; result.temperaturePeakVal_ = temperaturePeakVal_; result.temperatureMinVal_ = temperatureMinVal_; result.temperatureAvg_ = temperatureAvg_; result.xAccelTotal_ = xAccelTotal_; result.xAccelCount_ = xAccelCount_; result.xAccelPeakVal_ = xAccelPeakVal_; result.xAccelMinVal_ = xAccelMinVal_; result.xAccelAvg_ = xAccelAvg_; result.yAccelTotal_ = yAccelTotal_; result.yAccelCount_ = yAccelCount_; result.yAccelPeakVal_ = yAccelPeakVal_; result.yAccelMinVal_ = yAccelMinVal_; result.yAccelAvg_ = yAccelAvg_; result.zAccelTotal_ = zAccelTotal_; result.zAccelCount_ = zAccelCount_; result.zAccelPeakVal_ = zAccelPeakVal_; result.zAccelMinVal_ = zAccelMinVal_; result.zAccelAvg_ = zAccelAvg_; result.rssiTotal_ = rssiTotal_; result.rssiCount_ = rssiCount_; result.rssiPeakVal_ = rssiPeakVal_; result.rssiMinVal_ = rssiMinVal_; result.rssiAvg_ = rssiAvg_; result.batteryTotal_ = batteryTotal_; result.batteryCount_ = batteryCount_; result.batteryPeakVal_ = batteryPeakVal_; result.batteryMinVal_ = batteryMinVal_; result.batteryAvg_ = batteryAvg_; result.lumsTotal_ = lumsTotal_; result.lumsCount_ = lumsCount_; result.lumsPeakVal_ = lumsPeakVal_; result.lumsMinVal_ = lumsMinVal_; result.lumsAvg_ = lumsAvg_; result.bpmTotal_ = bpmTotal_; result.bpmCount_ = bpmCount_; result.bpmPeakVal_ = bpmPeakVal_; result.bpmMinVal_ = bpmMinVal_; result.bpmAvg_ = bpmAvg_; result.frameCountTotal_ = frameCountTotal_; result.frameCountCount_ = frameCountCount_; result.frameCountPeakVal_ = frameCountPeakVal_; result.frameCountMinVal_ = frameCountMinVal_; result.frameCountAvg_ = frameCountAvg_; result.measuredPowerTotal_ = measuredPowerTotal_; result.measuredPowerCount_ = measuredPowerCount_; result.measuredPowerPeakVal_ = measuredPowerPeakVal_; result.measuredPowerMinVal_ = measuredPowerMinVal_; result.measuredPowerAvg_ = measuredPowerAvg_; result.xMagTotal_ = xMagTotal_; result.xMagCount_ = xMagCount_; result.xMagPeakVal_ = xMagPeakVal_; result.xMagMinVal_ = xMagMinVal_; result.xMagAvg_ = xMagAvg_; result.yMagTotal_ = yMagTotal_; result.yMagCount_ = yMagCount_; result.yMagPeakVal_ = yMagPeakVal_; result.yMagMinVal_ = yMagMinVal_; result.yMagAvg_ = yMagAvg_; result.zMagTotal_ = zMagTotal_; result.zMagCount_ = zMagCount_; result.zMagPeakVal_ = zMagPeakVal_; result.zMagMinVal_ = zMagMinVal_; result.zMagAvg_ = zMagAvg_; result.totalPacketCount_ = totalPacketCount_; result.eddystoneTlmPacketCount_ = eddystoneTlmPacketCount_; result.eddystoneUidPacketCount_ = eddystoneUidPacketCount_; result.eddystoneUrlPacketCount_ = eddystoneUrlPacketCount_; result.hearratePacketCount_ = hearratePacketCount_; result.ibeaconPacketCount_ = ibeaconPacketCount_; result.magPacketCount_ = magPacketCount_; result.probePacketCount_ = probePacketCount_; result.sbv1PacketCount_ = sbv1PacketCount_; result.sbv2PacketCount_ = sbv2PacketCount_; result.slightPacketCount_ = slightPacketCount_; result.ssnsPacketCount_ = ssnsPacketCount_; result.environmentName_ = environmentName_; result.recordTimestamp_ = recordTimestamp_; result.magStateTotal_ = magStateTotal_; result.magStateCount_ = magStateCount_; result.magStatePeakVal_ = magStatePeakVal_; result.magStateMinVal_ = magStateMinVal_; result.magStateAvg_ = magStateAvg_; result.motionPacketCount_ = motionPacketCount_; result.xAccelSqTotal_ = xAccelSqTotal_; result.xAccelRms_ = xAccelRms_; result.xAccelPkPk_ = xAccelPkPk_; result.yAccelSqTotal_ = yAccelSqTotal_; result.yAccelRms_ = yAccelRms_; result.yAccelPkPk_ = yAccelPkPk_; result.zAccelSqTotal_ = zAccelSqTotal_; result.zAccelRms_ = zAccelRms_; result.zAccelPkPk_ = zAccelPkPk_; result.xHsRmsTotal_ = xHsRmsTotal_; result.xHsCount_ = xHsCount_; result.xHsRmsAvg_ = xHsRmsAvg_; result.xHsPeak_ = xHsPeak_; result.xHsPeakToPeak_ = xHsPeakToPeak_; result.yHsRmsTotal_ = yHsRmsTotal_; result.yHsCount_ = yHsCount_; result.yHsRmsAvg_ = yHsRmsAvg_; result.yHsPeak_ = yHsPeak_; result.yHsPeakToPeak_ = yHsPeakToPeak_; result.zHsRmsTotal_ = zHsRmsTotal_; result.zHsCount_ = zHsCount_; result.zHsRmsAvg_ = zHsRmsAvg_; result.zHsPeak_ = zHsPeak_; result.zHsPeakToPeak_ = zHsPeakToPeak_; result.hsPacketCount_ = hsPacketCount_; 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.BeaconAggregate) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.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.getTemperatureTotal() != 0D) { setTemperatureTotal(other.getTemperatureTotal()); } if (other.getTemperatureCount() != 0L) { setTemperatureCount(other.getTemperatureCount()); } if (other.getTemperaturePeakVal() != 0D) { setTemperaturePeakVal(other.getTemperaturePeakVal()); } if (other.getTemperatureMinVal() != 0D) { setTemperatureMinVal(other.getTemperatureMinVal()); } if (other.getTemperatureAvg() != 0D) { setTemperatureAvg(other.getTemperatureAvg()); } if (other.getXAccelTotal() != 0D) { setXAccelTotal(other.getXAccelTotal()); } if (other.getXAccelCount() != 0L) { setXAccelCount(other.getXAccelCount()); } if (other.getXAccelPeakVal() != 0D) { setXAccelPeakVal(other.getXAccelPeakVal()); } if (other.getXAccelMinVal() != 0D) { setXAccelMinVal(other.getXAccelMinVal()); } if (other.getXAccelAvg() != 0D) { setXAccelAvg(other.getXAccelAvg()); } if (other.getYAccelTotal() != 0D) { setYAccelTotal(other.getYAccelTotal()); } if (other.getYAccelCount() != 0L) { setYAccelCount(other.getYAccelCount()); } if (other.getYAccelPeakVal() != 0D) { setYAccelPeakVal(other.getYAccelPeakVal()); } if (other.getYAccelMinVal() != 0D) { setYAccelMinVal(other.getYAccelMinVal()); } if (other.getYAccelAvg() != 0D) { setYAccelAvg(other.getYAccelAvg()); } if (other.getZAccelTotal() != 0D) { setZAccelTotal(other.getZAccelTotal()); } if (other.getZAccelCount() != 0L) { setZAccelCount(other.getZAccelCount()); } if (other.getZAccelPeakVal() != 0D) { setZAccelPeakVal(other.getZAccelPeakVal()); } if (other.getZAccelMinVal() != 0D) { setZAccelMinVal(other.getZAccelMinVal()); } if (other.getZAccelAvg() != 0D) { setZAccelAvg(other.getZAccelAvg()); } if (other.getRssiTotal() != 0D) { setRssiTotal(other.getRssiTotal()); } if (other.getRssiCount() != 0L) { setRssiCount(other.getRssiCount()); } if (other.getRssiPeakVal() != 0D) { setRssiPeakVal(other.getRssiPeakVal()); } if (other.getRssiMinVal() != 0D) { setRssiMinVal(other.getRssiMinVal()); } if (other.getRssiAvg() != 0D) { setRssiAvg(other.getRssiAvg()); } if (other.getBatteryTotal() != 0D) { setBatteryTotal(other.getBatteryTotal()); } if (other.getBatteryCount() != 0L) { setBatteryCount(other.getBatteryCount()); } if (other.getBatteryPeakVal() != 0D) { setBatteryPeakVal(other.getBatteryPeakVal()); } if (other.getBatteryMinVal() != 0D) { setBatteryMinVal(other.getBatteryMinVal()); } if (other.getBatteryAvg() != 0D) { setBatteryAvg(other.getBatteryAvg()); } if (other.getLumsTotal() != 0D) { setLumsTotal(other.getLumsTotal()); } if (other.getLumsCount() != 0L) { setLumsCount(other.getLumsCount()); } if (other.getLumsPeakVal() != 0D) { setLumsPeakVal(other.getLumsPeakVal()); } if (other.getLumsMinVal() != 0D) { setLumsMinVal(other.getLumsMinVal()); } if (other.getLumsAvg() != 0D) { setLumsAvg(other.getLumsAvg()); } if (other.getBpmTotal() != 0D) { setBpmTotal(other.getBpmTotal()); } if (other.getBpmCount() != 0L) { setBpmCount(other.getBpmCount()); } if (other.getBpmPeakVal() != 0D) { setBpmPeakVal(other.getBpmPeakVal()); } if (other.getBpmMinVal() != 0D) { setBpmMinVal(other.getBpmMinVal()); } if (other.getBpmAvg() != 0D) { setBpmAvg(other.getBpmAvg()); } if (other.getFrameCountTotal() != 0D) { setFrameCountTotal(other.getFrameCountTotal()); } if (other.getFrameCountCount() != 0L) { setFrameCountCount(other.getFrameCountCount()); } if (other.getFrameCountPeakVal() != 0D) { setFrameCountPeakVal(other.getFrameCountPeakVal()); } if (other.getFrameCountMinVal() != 0D) { setFrameCountMinVal(other.getFrameCountMinVal()); } if (other.getFrameCountAvg() != 0D) { setFrameCountAvg(other.getFrameCountAvg()); } if (other.getMeasuredPowerTotal() != 0D) { setMeasuredPowerTotal(other.getMeasuredPowerTotal()); } if (other.getMeasuredPowerCount() != 0L) { setMeasuredPowerCount(other.getMeasuredPowerCount()); } if (other.getMeasuredPowerPeakVal() != 0D) { setMeasuredPowerPeakVal(other.getMeasuredPowerPeakVal()); } if (other.getMeasuredPowerMinVal() != 0D) { setMeasuredPowerMinVal(other.getMeasuredPowerMinVal()); } if (other.getMeasuredPowerAvg() != 0D) { setMeasuredPowerAvg(other.getMeasuredPowerAvg()); } if (other.getXMagTotal() != 0D) { setXMagTotal(other.getXMagTotal()); } if (other.getXMagCount() != 0L) { setXMagCount(other.getXMagCount()); } if (other.getXMagPeakVal() != 0D) { setXMagPeakVal(other.getXMagPeakVal()); } if (other.getXMagMinVal() != 0D) { setXMagMinVal(other.getXMagMinVal()); } if (other.getXMagAvg() != 0D) { setXMagAvg(other.getXMagAvg()); } if (other.getYMagTotal() != 0D) { setYMagTotal(other.getYMagTotal()); } if (other.getYMagCount() != 0L) { setYMagCount(other.getYMagCount()); } if (other.getYMagPeakVal() != 0D) { setYMagPeakVal(other.getYMagPeakVal()); } if (other.getYMagMinVal() != 0D) { setYMagMinVal(other.getYMagMinVal()); } if (other.getYMagAvg() != 0D) { setYMagAvg(other.getYMagAvg()); } if (other.getZMagTotal() != 0D) { setZMagTotal(other.getZMagTotal()); } if (other.getZMagCount() != 0L) { setZMagCount(other.getZMagCount()); } if (other.getZMagPeakVal() != 0D) { setZMagPeakVal(other.getZMagPeakVal()); } if (other.getZMagMinVal() != 0D) { setZMagMinVal(other.getZMagMinVal()); } if (other.getZMagAvg() != 0D) { setZMagAvg(other.getZMagAvg()); } if (other.getTotalPacketCount() != 0L) { setTotalPacketCount(other.getTotalPacketCount()); } if (other.getEddystoneTlmPacketCount() != 0L) { setEddystoneTlmPacketCount(other.getEddystoneTlmPacketCount()); } if (other.getEddystoneUidPacketCount() != 0L) { setEddystoneUidPacketCount(other.getEddystoneUidPacketCount()); } if (other.getEddystoneUrlPacketCount() != 0L) { setEddystoneUrlPacketCount(other.getEddystoneUrlPacketCount()); } if (other.getHearratePacketCount() != 0L) { setHearratePacketCount(other.getHearratePacketCount()); } if (other.getIbeaconPacketCount() != 0L) { setIbeaconPacketCount(other.getIbeaconPacketCount()); } if (other.getMagPacketCount() != 0L) { setMagPacketCount(other.getMagPacketCount()); } if (other.getProbePacketCount() != 0L) { setProbePacketCount(other.getProbePacketCount()); } if (other.getSbv1PacketCount() != 0L) { setSbv1PacketCount(other.getSbv1PacketCount()); } if (other.getSbv2PacketCount() != 0L) { setSbv2PacketCount(other.getSbv2PacketCount()); } if (other.getSlightPacketCount() != 0L) { setSlightPacketCount(other.getSlightPacketCount()); } if (other.getSsnsPacketCount() != 0L) { setSsnsPacketCount(other.getSsnsPacketCount()); } if (!other.getEnvironmentName().isEmpty()) { environmentName_ = other.environmentName_; onChanged(); } if (!other.getRecordTimestamp().isEmpty()) { recordTimestamp_ = other.recordTimestamp_; onChanged(); } if (other.getMagStateTotal() != 0D) { setMagStateTotal(other.getMagStateTotal()); } if (other.getMagStateCount() != 0L) { setMagStateCount(other.getMagStateCount()); } if (other.getMagStatePeakVal() != 0D) { setMagStatePeakVal(other.getMagStatePeakVal()); } if (other.getMagStateMinVal() != 0D) { setMagStateMinVal(other.getMagStateMinVal()); } if (other.getMagStateAvg() != 0D) { setMagStateAvg(other.getMagStateAvg()); } if (other.getMotionPacketCount() != 0L) { setMotionPacketCount(other.getMotionPacketCount()); } if (other.getXAccelSqTotal() != 0D) { setXAccelSqTotal(other.getXAccelSqTotal()); } if (other.getXAccelRms() != 0D) { setXAccelRms(other.getXAccelRms()); } if (other.getXAccelPkPk() != 0D) { setXAccelPkPk(other.getXAccelPkPk()); } if (other.getYAccelSqTotal() != 0D) { setYAccelSqTotal(other.getYAccelSqTotal()); } if (other.getYAccelRms() != 0D) { setYAccelRms(other.getYAccelRms()); } if (other.getYAccelPkPk() != 0D) { setYAccelPkPk(other.getYAccelPkPk()); } if (other.getZAccelSqTotal() != 0D) { setZAccelSqTotal(other.getZAccelSqTotal()); } if (other.getZAccelRms() != 0D) { setZAccelRms(other.getZAccelRms()); } if (other.getZAccelPkPk() != 0D) { setZAccelPkPk(other.getZAccelPkPk()); } if (other.getXHsRmsTotal() != 0D) { setXHsRmsTotal(other.getXHsRmsTotal()); } if (other.getXHsCount() != 0L) { setXHsCount(other.getXHsCount()); } if (other.getXHsRmsAvg() != 0D) { setXHsRmsAvg(other.getXHsRmsAvg()); } if (other.getXHsPeak() != 0D) { setXHsPeak(other.getXHsPeak()); } if (other.getXHsPeakToPeak() != 0D) { setXHsPeakToPeak(other.getXHsPeakToPeak()); } if (other.getYHsRmsTotal() != 0D) { setYHsRmsTotal(other.getYHsRmsTotal()); } if (other.getYHsCount() != 0L) { setYHsCount(other.getYHsCount()); } if (other.getYHsRmsAvg() != 0D) { setYHsRmsAvg(other.getYHsRmsAvg()); } if (other.getYHsPeak() != 0D) { setYHsPeak(other.getYHsPeak()); } if (other.getYHsPeakToPeak() != 0D) { setYHsPeakToPeak(other.getYHsPeakToPeak()); } if (other.getZHsRmsTotal() != 0D) { setZHsRmsTotal(other.getZHsRmsTotal()); } if (other.getZHsCount() != 0L) { setZHsCount(other.getZHsCount()); } if (other.getZHsRmsAvg() != 0D) { setZHsRmsAvg(other.getZHsRmsAvg()); } if (other.getZHsPeak() != 0D) { setZHsPeak(other.getZHsPeak()); } if (other.getZHsPeakToPeak() != 0D) { setZHsPeakToPeak(other.getZHsPeakToPeak()); } if (other.getHsPacketCount() != 0D) { setHsPacketCount(other.getHsPacketCount()); } 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.BeaconAggregate parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate) 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 double temperatureTotal_ ; /** * double temperatureTotal = 6; */ public double getTemperatureTotal() { return temperatureTotal_; } /** * double temperatureTotal = 6; */ public Builder setTemperatureTotal(double value) { temperatureTotal_ = value; onChanged(); return this; } /** * double temperatureTotal = 6; */ public Builder clearTemperatureTotal() { temperatureTotal_ = 0D; onChanged(); return this; } private long temperatureCount_ ; /** * int64 temperatureCount = 7; */ public long getTemperatureCount() { return temperatureCount_; } /** * int64 temperatureCount = 7; */ public Builder setTemperatureCount(long value) { temperatureCount_ = value; onChanged(); return this; } /** * int64 temperatureCount = 7; */ public Builder clearTemperatureCount() { temperatureCount_ = 0L; onChanged(); return this; } private double temperaturePeakVal_ ; /** * double temperaturePeakVal = 8; */ public double getTemperaturePeakVal() { return temperaturePeakVal_; } /** * double temperaturePeakVal = 8; */ public Builder setTemperaturePeakVal(double value) { temperaturePeakVal_ = value; onChanged(); return this; } /** * double temperaturePeakVal = 8; */ public Builder clearTemperaturePeakVal() { temperaturePeakVal_ = 0D; onChanged(); return this; } private double temperatureMinVal_ ; /** * double temperatureMinVal = 9; */ public double getTemperatureMinVal() { return temperatureMinVal_; } /** * double temperatureMinVal = 9; */ public Builder setTemperatureMinVal(double value) { temperatureMinVal_ = value; onChanged(); return this; } /** * double temperatureMinVal = 9; */ public Builder clearTemperatureMinVal() { temperatureMinVal_ = 0D; onChanged(); return this; } private double temperatureAvg_ ; /** * double temperatureAvg = 10; */ public double getTemperatureAvg() { return temperatureAvg_; } /** * double temperatureAvg = 10; */ public Builder setTemperatureAvg(double value) { temperatureAvg_ = value; onChanged(); return this; } /** * double temperatureAvg = 10; */ public Builder clearTemperatureAvg() { temperatureAvg_ = 0D; onChanged(); return this; } private double xAccelTotal_ ; /** * double xAccelTotal = 11; */ public double getXAccelTotal() { return xAccelTotal_; } /** * double xAccelTotal = 11; */ public Builder setXAccelTotal(double value) { xAccelTotal_ = value; onChanged(); return this; } /** * double xAccelTotal = 11; */ public Builder clearXAccelTotal() { xAccelTotal_ = 0D; onChanged(); return this; } private long xAccelCount_ ; /** * int64 xAccelCount = 12; */ public long getXAccelCount() { return xAccelCount_; } /** * int64 xAccelCount = 12; */ public Builder setXAccelCount(long value) { xAccelCount_ = value; onChanged(); return this; } /** * int64 xAccelCount = 12; */ public Builder clearXAccelCount() { xAccelCount_ = 0L; onChanged(); return this; } private double xAccelPeakVal_ ; /** * double xAccelPeakVal = 13; */ public double getXAccelPeakVal() { return xAccelPeakVal_; } /** * double xAccelPeakVal = 13; */ public Builder setXAccelPeakVal(double value) { xAccelPeakVal_ = value; onChanged(); return this; } /** * double xAccelPeakVal = 13; */ public Builder clearXAccelPeakVal() { xAccelPeakVal_ = 0D; onChanged(); return this; } private double xAccelMinVal_ ; /** * double xAccelMinVal = 14; */ public double getXAccelMinVal() { return xAccelMinVal_; } /** * double xAccelMinVal = 14; */ public Builder setXAccelMinVal(double value) { xAccelMinVal_ = value; onChanged(); return this; } /** * double xAccelMinVal = 14; */ public Builder clearXAccelMinVal() { xAccelMinVal_ = 0D; onChanged(); return this; } private double xAccelAvg_ ; /** * double xAccelAvg = 15; */ public double getXAccelAvg() { return xAccelAvg_; } /** * double xAccelAvg = 15; */ public Builder setXAccelAvg(double value) { xAccelAvg_ = value; onChanged(); return this; } /** * double xAccelAvg = 15; */ public Builder clearXAccelAvg() { xAccelAvg_ = 0D; onChanged(); return this; } private double yAccelTotal_ ; /** * double yAccelTotal = 16; */ public double getYAccelTotal() { return yAccelTotal_; } /** * double yAccelTotal = 16; */ public Builder setYAccelTotal(double value) { yAccelTotal_ = value; onChanged(); return this; } /** * double yAccelTotal = 16; */ public Builder clearYAccelTotal() { yAccelTotal_ = 0D; onChanged(); return this; } private long yAccelCount_ ; /** * int64 yAccelCount = 17; */ public long getYAccelCount() { return yAccelCount_; } /** * int64 yAccelCount = 17; */ public Builder setYAccelCount(long value) { yAccelCount_ = value; onChanged(); return this; } /** * int64 yAccelCount = 17; */ public Builder clearYAccelCount() { yAccelCount_ = 0L; onChanged(); return this; } private double yAccelPeakVal_ ; /** * double yAccelPeakVal = 18; */ public double getYAccelPeakVal() { return yAccelPeakVal_; } /** * double yAccelPeakVal = 18; */ public Builder setYAccelPeakVal(double value) { yAccelPeakVal_ = value; onChanged(); return this; } /** * double yAccelPeakVal = 18; */ public Builder clearYAccelPeakVal() { yAccelPeakVal_ = 0D; onChanged(); return this; } private double yAccelMinVal_ ; /** * double yAccelMinVal = 19; */ public double getYAccelMinVal() { return yAccelMinVal_; } /** * double yAccelMinVal = 19; */ public Builder setYAccelMinVal(double value) { yAccelMinVal_ = value; onChanged(); return this; } /** * double yAccelMinVal = 19; */ public Builder clearYAccelMinVal() { yAccelMinVal_ = 0D; onChanged(); return this; } private double yAccelAvg_ ; /** * double yAccelAvg = 20; */ public double getYAccelAvg() { return yAccelAvg_; } /** * double yAccelAvg = 20; */ public Builder setYAccelAvg(double value) { yAccelAvg_ = value; onChanged(); return this; } /** * double yAccelAvg = 20; */ public Builder clearYAccelAvg() { yAccelAvg_ = 0D; onChanged(); return this; } private double zAccelTotal_ ; /** * double zAccelTotal = 21; */ public double getZAccelTotal() { return zAccelTotal_; } /** * double zAccelTotal = 21; */ public Builder setZAccelTotal(double value) { zAccelTotal_ = value; onChanged(); return this; } /** * double zAccelTotal = 21; */ public Builder clearZAccelTotal() { zAccelTotal_ = 0D; onChanged(); return this; } private long zAccelCount_ ; /** * int64 zAccelCount = 22; */ public long getZAccelCount() { return zAccelCount_; } /** * int64 zAccelCount = 22; */ public Builder setZAccelCount(long value) { zAccelCount_ = value; onChanged(); return this; } /** * int64 zAccelCount = 22; */ public Builder clearZAccelCount() { zAccelCount_ = 0L; onChanged(); return this; } private double zAccelPeakVal_ ; /** * double zAccelPeakVal = 23; */ public double getZAccelPeakVal() { return zAccelPeakVal_; } /** * double zAccelPeakVal = 23; */ public Builder setZAccelPeakVal(double value) { zAccelPeakVal_ = value; onChanged(); return this; } /** * double zAccelPeakVal = 23; */ public Builder clearZAccelPeakVal() { zAccelPeakVal_ = 0D; onChanged(); return this; } private double zAccelMinVal_ ; /** * double zAccelMinVal = 24; */ public double getZAccelMinVal() { return zAccelMinVal_; } /** * double zAccelMinVal = 24; */ public Builder setZAccelMinVal(double value) { zAccelMinVal_ = value; onChanged(); return this; } /** * double zAccelMinVal = 24; */ public Builder clearZAccelMinVal() { zAccelMinVal_ = 0D; onChanged(); return this; } private double zAccelAvg_ ; /** * double zAccelAvg = 25; */ public double getZAccelAvg() { return zAccelAvg_; } /** * double zAccelAvg = 25; */ public Builder setZAccelAvg(double value) { zAccelAvg_ = value; onChanged(); return this; } /** * double zAccelAvg = 25; */ public Builder clearZAccelAvg() { zAccelAvg_ = 0D; onChanged(); return this; } private double rssiTotal_ ; /** * double rssiTotal = 26; */ public double getRssiTotal() { return rssiTotal_; } /** * double rssiTotal = 26; */ public Builder setRssiTotal(double value) { rssiTotal_ = value; onChanged(); return this; } /** * double rssiTotal = 26; */ public Builder clearRssiTotal() { rssiTotal_ = 0D; onChanged(); return this; } private long rssiCount_ ; /** * int64 rssiCount = 27; */ public long getRssiCount() { return rssiCount_; } /** * int64 rssiCount = 27; */ public Builder setRssiCount(long value) { rssiCount_ = value; onChanged(); return this; } /** * int64 rssiCount = 27; */ public Builder clearRssiCount() { rssiCount_ = 0L; onChanged(); return this; } private double rssiPeakVal_ ; /** * double rssiPeakVal = 28; */ public double getRssiPeakVal() { return rssiPeakVal_; } /** * double rssiPeakVal = 28; */ public Builder setRssiPeakVal(double value) { rssiPeakVal_ = value; onChanged(); return this; } /** * double rssiPeakVal = 28; */ public Builder clearRssiPeakVal() { rssiPeakVal_ = 0D; onChanged(); return this; } private double rssiMinVal_ ; /** * double rssiMinVal = 29; */ public double getRssiMinVal() { return rssiMinVal_; } /** * double rssiMinVal = 29; */ public Builder setRssiMinVal(double value) { rssiMinVal_ = value; onChanged(); return this; } /** * double rssiMinVal = 29; */ public Builder clearRssiMinVal() { rssiMinVal_ = 0D; onChanged(); return this; } private double rssiAvg_ ; /** * double rssiAvg = 30; */ public double getRssiAvg() { return rssiAvg_; } /** * double rssiAvg = 30; */ public Builder setRssiAvg(double value) { rssiAvg_ = value; onChanged(); return this; } /** * double rssiAvg = 30; */ public Builder clearRssiAvg() { rssiAvg_ = 0D; onChanged(); return this; } private double batteryTotal_ ; /** * double batteryTotal = 31; */ public double getBatteryTotal() { return batteryTotal_; } /** * double batteryTotal = 31; */ public Builder setBatteryTotal(double value) { batteryTotal_ = value; onChanged(); return this; } /** * double batteryTotal = 31; */ public Builder clearBatteryTotal() { batteryTotal_ = 0D; onChanged(); return this; } private long batteryCount_ ; /** * int64 batteryCount = 32; */ public long getBatteryCount() { return batteryCount_; } /** * int64 batteryCount = 32; */ public Builder setBatteryCount(long value) { batteryCount_ = value; onChanged(); return this; } /** * int64 batteryCount = 32; */ public Builder clearBatteryCount() { batteryCount_ = 0L; onChanged(); return this; } private double batteryPeakVal_ ; /** * double batteryPeakVal = 33; */ public double getBatteryPeakVal() { return batteryPeakVal_; } /** * double batteryPeakVal = 33; */ public Builder setBatteryPeakVal(double value) { batteryPeakVal_ = value; onChanged(); return this; } /** * double batteryPeakVal = 33; */ public Builder clearBatteryPeakVal() { batteryPeakVal_ = 0D; onChanged(); return this; } private double batteryMinVal_ ; /** * double batteryMinVal = 34; */ public double getBatteryMinVal() { return batteryMinVal_; } /** * double batteryMinVal = 34; */ public Builder setBatteryMinVal(double value) { batteryMinVal_ = value; onChanged(); return this; } /** * double batteryMinVal = 34; */ public Builder clearBatteryMinVal() { batteryMinVal_ = 0D; onChanged(); return this; } private double batteryAvg_ ; /** * double batteryAvg = 35; */ public double getBatteryAvg() { return batteryAvg_; } /** * double batteryAvg = 35; */ public Builder setBatteryAvg(double value) { batteryAvg_ = value; onChanged(); return this; } /** * double batteryAvg = 35; */ public Builder clearBatteryAvg() { batteryAvg_ = 0D; onChanged(); return this; } private double lumsTotal_ ; /** * double lumsTotal = 36; */ public double getLumsTotal() { return lumsTotal_; } /** * double lumsTotal = 36; */ public Builder setLumsTotal(double value) { lumsTotal_ = value; onChanged(); return this; } /** * double lumsTotal = 36; */ public Builder clearLumsTotal() { lumsTotal_ = 0D; onChanged(); return this; } private long lumsCount_ ; /** * int64 lumsCount = 37; */ public long getLumsCount() { return lumsCount_; } /** * int64 lumsCount = 37; */ public Builder setLumsCount(long value) { lumsCount_ = value; onChanged(); return this; } /** * int64 lumsCount = 37; */ public Builder clearLumsCount() { lumsCount_ = 0L; onChanged(); return this; } private double lumsPeakVal_ ; /** * double lumsPeakVal = 38; */ public double getLumsPeakVal() { return lumsPeakVal_; } /** * double lumsPeakVal = 38; */ public Builder setLumsPeakVal(double value) { lumsPeakVal_ = value; onChanged(); return this; } /** * double lumsPeakVal = 38; */ public Builder clearLumsPeakVal() { lumsPeakVal_ = 0D; onChanged(); return this; } private double lumsMinVal_ ; /** * double lumsMinVal = 39; */ public double getLumsMinVal() { return lumsMinVal_; } /** * double lumsMinVal = 39; */ public Builder setLumsMinVal(double value) { lumsMinVal_ = value; onChanged(); return this; } /** * double lumsMinVal = 39; */ public Builder clearLumsMinVal() { lumsMinVal_ = 0D; onChanged(); return this; } private double lumsAvg_ ; /** * double lumsAvg = 40; */ public double getLumsAvg() { return lumsAvg_; } /** * double lumsAvg = 40; */ public Builder setLumsAvg(double value) { lumsAvg_ = value; onChanged(); return this; } /** * double lumsAvg = 40; */ public Builder clearLumsAvg() { lumsAvg_ = 0D; onChanged(); return this; } private double bpmTotal_ ; /** * double bpmTotal = 41; */ public double getBpmTotal() { return bpmTotal_; } /** * double bpmTotal = 41; */ public Builder setBpmTotal(double value) { bpmTotal_ = value; onChanged(); return this; } /** * double bpmTotal = 41; */ public Builder clearBpmTotal() { bpmTotal_ = 0D; onChanged(); return this; } private long bpmCount_ ; /** * int64 bpmCount = 42; */ public long getBpmCount() { return bpmCount_; } /** * int64 bpmCount = 42; */ public Builder setBpmCount(long value) { bpmCount_ = value; onChanged(); return this; } /** * int64 bpmCount = 42; */ public Builder clearBpmCount() { bpmCount_ = 0L; onChanged(); return this; } private double bpmPeakVal_ ; /** * double bpmPeakVal = 43; */ public double getBpmPeakVal() { return bpmPeakVal_; } /** * double bpmPeakVal = 43; */ public Builder setBpmPeakVal(double value) { bpmPeakVal_ = value; onChanged(); return this; } /** * double bpmPeakVal = 43; */ public Builder clearBpmPeakVal() { bpmPeakVal_ = 0D; onChanged(); return this; } private double bpmMinVal_ ; /** * double bpmMinVal = 44; */ public double getBpmMinVal() { return bpmMinVal_; } /** * double bpmMinVal = 44; */ public Builder setBpmMinVal(double value) { bpmMinVal_ = value; onChanged(); return this; } /** * double bpmMinVal = 44; */ public Builder clearBpmMinVal() { bpmMinVal_ = 0D; onChanged(); return this; } private double bpmAvg_ ; /** * double bpmAvg = 50; */ public double getBpmAvg() { return bpmAvg_; } /** * double bpmAvg = 50; */ public Builder setBpmAvg(double value) { bpmAvg_ = value; onChanged(); return this; } /** * double bpmAvg = 50; */ public Builder clearBpmAvg() { bpmAvg_ = 0D; onChanged(); return this; } private double frameCountTotal_ ; /** * double frameCountTotal = 51; */ public double getFrameCountTotal() { return frameCountTotal_; } /** * double frameCountTotal = 51; */ public Builder setFrameCountTotal(double value) { frameCountTotal_ = value; onChanged(); return this; } /** * double frameCountTotal = 51; */ public Builder clearFrameCountTotal() { frameCountTotal_ = 0D; onChanged(); return this; } private long frameCountCount_ ; /** * int64 frameCountCount = 52; */ public long getFrameCountCount() { return frameCountCount_; } /** * int64 frameCountCount = 52; */ public Builder setFrameCountCount(long value) { frameCountCount_ = value; onChanged(); return this; } /** * int64 frameCountCount = 52; */ public Builder clearFrameCountCount() { frameCountCount_ = 0L; onChanged(); return this; } private double frameCountPeakVal_ ; /** * double frameCountPeakVal = 53; */ public double getFrameCountPeakVal() { return frameCountPeakVal_; } /** * double frameCountPeakVal = 53; */ public Builder setFrameCountPeakVal(double value) { frameCountPeakVal_ = value; onChanged(); return this; } /** * double frameCountPeakVal = 53; */ public Builder clearFrameCountPeakVal() { frameCountPeakVal_ = 0D; onChanged(); return this; } private double frameCountMinVal_ ; /** * double frameCountMinVal = 54; */ public double getFrameCountMinVal() { return frameCountMinVal_; } /** * double frameCountMinVal = 54; */ public Builder setFrameCountMinVal(double value) { frameCountMinVal_ = value; onChanged(); return this; } /** * double frameCountMinVal = 54; */ public Builder clearFrameCountMinVal() { frameCountMinVal_ = 0D; onChanged(); return this; } private double frameCountAvg_ ; /** * double frameCountAvg = 55; */ public double getFrameCountAvg() { return frameCountAvg_; } /** * double frameCountAvg = 55; */ public Builder setFrameCountAvg(double value) { frameCountAvg_ = value; onChanged(); return this; } /** * double frameCountAvg = 55; */ public Builder clearFrameCountAvg() { frameCountAvg_ = 0D; onChanged(); return this; } private double measuredPowerTotal_ ; /** * double measuredPowerTotal = 56; */ public double getMeasuredPowerTotal() { return measuredPowerTotal_; } /** * double measuredPowerTotal = 56; */ public Builder setMeasuredPowerTotal(double value) { measuredPowerTotal_ = value; onChanged(); return this; } /** * double measuredPowerTotal = 56; */ public Builder clearMeasuredPowerTotal() { measuredPowerTotal_ = 0D; onChanged(); return this; } private long measuredPowerCount_ ; /** * int64 measuredPowerCount = 57; */ public long getMeasuredPowerCount() { return measuredPowerCount_; } /** * int64 measuredPowerCount = 57; */ public Builder setMeasuredPowerCount(long value) { measuredPowerCount_ = value; onChanged(); return this; } /** * int64 measuredPowerCount = 57; */ public Builder clearMeasuredPowerCount() { measuredPowerCount_ = 0L; onChanged(); return this; } private double measuredPowerPeakVal_ ; /** * double measuredPowerPeakVal = 58; */ public double getMeasuredPowerPeakVal() { return measuredPowerPeakVal_; } /** * double measuredPowerPeakVal = 58; */ public Builder setMeasuredPowerPeakVal(double value) { measuredPowerPeakVal_ = value; onChanged(); return this; } /** * double measuredPowerPeakVal = 58; */ public Builder clearMeasuredPowerPeakVal() { measuredPowerPeakVal_ = 0D; onChanged(); return this; } private double measuredPowerMinVal_ ; /** * double measuredPowerMinVal = 59; */ public double getMeasuredPowerMinVal() { return measuredPowerMinVal_; } /** * double measuredPowerMinVal = 59; */ public Builder setMeasuredPowerMinVal(double value) { measuredPowerMinVal_ = value; onChanged(); return this; } /** * double measuredPowerMinVal = 59; */ public Builder clearMeasuredPowerMinVal() { measuredPowerMinVal_ = 0D; onChanged(); return this; } private double measuredPowerAvg_ ; /** * double measuredPowerAvg = 60; */ public double getMeasuredPowerAvg() { return measuredPowerAvg_; } /** * double measuredPowerAvg = 60; */ public Builder setMeasuredPowerAvg(double value) { measuredPowerAvg_ = value; onChanged(); return this; } /** * double measuredPowerAvg = 60; */ public Builder clearMeasuredPowerAvg() { measuredPowerAvg_ = 0D; onChanged(); return this; } private double xMagTotal_ ; /** * double xMagTotal = 61; */ public double getXMagTotal() { return xMagTotal_; } /** * double xMagTotal = 61; */ public Builder setXMagTotal(double value) { xMagTotal_ = value; onChanged(); return this; } /** * double xMagTotal = 61; */ public Builder clearXMagTotal() { xMagTotal_ = 0D; onChanged(); return this; } private long xMagCount_ ; /** * int64 xMagCount = 62; */ public long getXMagCount() { return xMagCount_; } /** * int64 xMagCount = 62; */ public Builder setXMagCount(long value) { xMagCount_ = value; onChanged(); return this; } /** * int64 xMagCount = 62; */ public Builder clearXMagCount() { xMagCount_ = 0L; onChanged(); return this; } private double xMagPeakVal_ ; /** * double xMagPeakVal = 63; */ public double getXMagPeakVal() { return xMagPeakVal_; } /** * double xMagPeakVal = 63; */ public Builder setXMagPeakVal(double value) { xMagPeakVal_ = value; onChanged(); return this; } /** * double xMagPeakVal = 63; */ public Builder clearXMagPeakVal() { xMagPeakVal_ = 0D; onChanged(); return this; } private double xMagMinVal_ ; /** * double xMagMinVal = 64; */ public double getXMagMinVal() { return xMagMinVal_; } /** * double xMagMinVal = 64; */ public Builder setXMagMinVal(double value) { xMagMinVal_ = value; onChanged(); return this; } /** * double xMagMinVal = 64; */ public Builder clearXMagMinVal() { xMagMinVal_ = 0D; onChanged(); return this; } private double xMagAvg_ ; /** * double xMagAvg = 65; */ public double getXMagAvg() { return xMagAvg_; } /** * double xMagAvg = 65; */ public Builder setXMagAvg(double value) { xMagAvg_ = value; onChanged(); return this; } /** * double xMagAvg = 65; */ public Builder clearXMagAvg() { xMagAvg_ = 0D; onChanged(); return this; } private double yMagTotal_ ; /** * double yMagTotal = 66; */ public double getYMagTotal() { return yMagTotal_; } /** * double yMagTotal = 66; */ public Builder setYMagTotal(double value) { yMagTotal_ = value; onChanged(); return this; } /** * double yMagTotal = 66; */ public Builder clearYMagTotal() { yMagTotal_ = 0D; onChanged(); return this; } private long yMagCount_ ; /** * int64 yMagCount = 67; */ public long getYMagCount() { return yMagCount_; } /** * int64 yMagCount = 67; */ public Builder setYMagCount(long value) { yMagCount_ = value; onChanged(); return this; } /** * int64 yMagCount = 67; */ public Builder clearYMagCount() { yMagCount_ = 0L; onChanged(); return this; } private double yMagPeakVal_ ; /** * double yMagPeakVal = 68; */ public double getYMagPeakVal() { return yMagPeakVal_; } /** * double yMagPeakVal = 68; */ public Builder setYMagPeakVal(double value) { yMagPeakVal_ = value; onChanged(); return this; } /** * double yMagPeakVal = 68; */ public Builder clearYMagPeakVal() { yMagPeakVal_ = 0D; onChanged(); return this; } private double yMagMinVal_ ; /** * double yMagMinVal = 69; */ public double getYMagMinVal() { return yMagMinVal_; } /** * double yMagMinVal = 69; */ public Builder setYMagMinVal(double value) { yMagMinVal_ = value; onChanged(); return this; } /** * double yMagMinVal = 69; */ public Builder clearYMagMinVal() { yMagMinVal_ = 0D; onChanged(); return this; } private double yMagAvg_ ; /** * double yMagAvg = 70; */ public double getYMagAvg() { return yMagAvg_; } /** * double yMagAvg = 70; */ public Builder setYMagAvg(double value) { yMagAvg_ = value; onChanged(); return this; } /** * double yMagAvg = 70; */ public Builder clearYMagAvg() { yMagAvg_ = 0D; onChanged(); return this; } private double zMagTotal_ ; /** * double zMagTotal = 71; */ public double getZMagTotal() { return zMagTotal_; } /** * double zMagTotal = 71; */ public Builder setZMagTotal(double value) { zMagTotal_ = value; onChanged(); return this; } /** * double zMagTotal = 71; */ public Builder clearZMagTotal() { zMagTotal_ = 0D; onChanged(); return this; } private long zMagCount_ ; /** * int64 zMagCount = 72; */ public long getZMagCount() { return zMagCount_; } /** * int64 zMagCount = 72; */ public Builder setZMagCount(long value) { zMagCount_ = value; onChanged(); return this; } /** * int64 zMagCount = 72; */ public Builder clearZMagCount() { zMagCount_ = 0L; onChanged(); return this; } private double zMagPeakVal_ ; /** * double zMagPeakVal = 73; */ public double getZMagPeakVal() { return zMagPeakVal_; } /** * double zMagPeakVal = 73; */ public Builder setZMagPeakVal(double value) { zMagPeakVal_ = value; onChanged(); return this; } /** * double zMagPeakVal = 73; */ public Builder clearZMagPeakVal() { zMagPeakVal_ = 0D; onChanged(); return this; } private double zMagMinVal_ ; /** * double zMagMinVal = 74; */ public double getZMagMinVal() { return zMagMinVal_; } /** * double zMagMinVal = 74; */ public Builder setZMagMinVal(double value) { zMagMinVal_ = value; onChanged(); return this; } /** * double zMagMinVal = 74; */ public Builder clearZMagMinVal() { zMagMinVal_ = 0D; onChanged(); return this; } private double zMagAvg_ ; /** * double zMagAvg = 75; */ public double getZMagAvg() { return zMagAvg_; } /** * double zMagAvg = 75; */ public Builder setZMagAvg(double value) { zMagAvg_ = value; onChanged(); return this; } /** * double zMagAvg = 75; */ public Builder clearZMagAvg() { zMagAvg_ = 0D; onChanged(); return this; } private long totalPacketCount_ ; /** * int64 totalPacketCount = 76; */ public long getTotalPacketCount() { return totalPacketCount_; } /** * int64 totalPacketCount = 76; */ public Builder setTotalPacketCount(long value) { totalPacketCount_ = value; onChanged(); return this; } /** * int64 totalPacketCount = 76; */ public Builder clearTotalPacketCount() { totalPacketCount_ = 0L; onChanged(); return this; } private long eddystoneTlmPacketCount_ ; /** * int64 eddystoneTlmPacketCount = 77; */ public long getEddystoneTlmPacketCount() { return eddystoneTlmPacketCount_; } /** * int64 eddystoneTlmPacketCount = 77; */ public Builder setEddystoneTlmPacketCount(long value) { eddystoneTlmPacketCount_ = value; onChanged(); return this; } /** * int64 eddystoneTlmPacketCount = 77; */ public Builder clearEddystoneTlmPacketCount() { eddystoneTlmPacketCount_ = 0L; onChanged(); return this; } private long eddystoneUidPacketCount_ ; /** * int64 eddystoneUidPacketCount = 78; */ public long getEddystoneUidPacketCount() { return eddystoneUidPacketCount_; } /** * int64 eddystoneUidPacketCount = 78; */ public Builder setEddystoneUidPacketCount(long value) { eddystoneUidPacketCount_ = value; onChanged(); return this; } /** * int64 eddystoneUidPacketCount = 78; */ public Builder clearEddystoneUidPacketCount() { eddystoneUidPacketCount_ = 0L; onChanged(); return this; } private long eddystoneUrlPacketCount_ ; /** * int64 eddystoneUrlPacketCount = 79; */ public long getEddystoneUrlPacketCount() { return eddystoneUrlPacketCount_; } /** * int64 eddystoneUrlPacketCount = 79; */ public Builder setEddystoneUrlPacketCount(long value) { eddystoneUrlPacketCount_ = value; onChanged(); return this; } /** * int64 eddystoneUrlPacketCount = 79; */ public Builder clearEddystoneUrlPacketCount() { eddystoneUrlPacketCount_ = 0L; onChanged(); return this; } private long hearratePacketCount_ ; /** * int64 hearratePacketCount = 80; */ public long getHearratePacketCount() { return hearratePacketCount_; } /** * int64 hearratePacketCount = 80; */ public Builder setHearratePacketCount(long value) { hearratePacketCount_ = value; onChanged(); return this; } /** * int64 hearratePacketCount = 80; */ public Builder clearHearratePacketCount() { hearratePacketCount_ = 0L; onChanged(); return this; } private long ibeaconPacketCount_ ; /** * int64 ibeaconPacketCount = 81; */ public long getIbeaconPacketCount() { return ibeaconPacketCount_; } /** * int64 ibeaconPacketCount = 81; */ public Builder setIbeaconPacketCount(long value) { ibeaconPacketCount_ = value; onChanged(); return this; } /** * int64 ibeaconPacketCount = 81; */ public Builder clearIbeaconPacketCount() { ibeaconPacketCount_ = 0L; onChanged(); return this; } private long magPacketCount_ ; /** * int64 magPacketCount = 82; */ public long getMagPacketCount() { return magPacketCount_; } /** * int64 magPacketCount = 82; */ public Builder setMagPacketCount(long value) { magPacketCount_ = value; onChanged(); return this; } /** * int64 magPacketCount = 82; */ public Builder clearMagPacketCount() { magPacketCount_ = 0L; onChanged(); return this; } private long probePacketCount_ ; /** * int64 probePacketCount = 83; */ public long getProbePacketCount() { return probePacketCount_; } /** * int64 probePacketCount = 83; */ public Builder setProbePacketCount(long value) { probePacketCount_ = value; onChanged(); return this; } /** * int64 probePacketCount = 83; */ public Builder clearProbePacketCount() { probePacketCount_ = 0L; onChanged(); return this; } private long sbv1PacketCount_ ; /** * int64 sbv1PacketCount = 84; */ public long getSbv1PacketCount() { return sbv1PacketCount_; } /** * int64 sbv1PacketCount = 84; */ public Builder setSbv1PacketCount(long value) { sbv1PacketCount_ = value; onChanged(); return this; } /** * int64 sbv1PacketCount = 84; */ public Builder clearSbv1PacketCount() { sbv1PacketCount_ = 0L; onChanged(); return this; } private long sbv2PacketCount_ ; /** * int64 sbv2PacketCount = 85; */ public long getSbv2PacketCount() { return sbv2PacketCount_; } /** * int64 sbv2PacketCount = 85; */ public Builder setSbv2PacketCount(long value) { sbv2PacketCount_ = value; onChanged(); return this; } /** * int64 sbv2PacketCount = 85; */ public Builder clearSbv2PacketCount() { sbv2PacketCount_ = 0L; onChanged(); return this; } private long slightPacketCount_ ; /** * int64 slightPacketCount = 86; */ public long getSlightPacketCount() { return slightPacketCount_; } /** * int64 slightPacketCount = 86; */ public Builder setSlightPacketCount(long value) { slightPacketCount_ = value; onChanged(); return this; } /** * int64 slightPacketCount = 86; */ public Builder clearSlightPacketCount() { slightPacketCount_ = 0L; onChanged(); return this; } private long ssnsPacketCount_ ; /** * int64 ssnsPacketCount = 87; */ public long getSsnsPacketCount() { return ssnsPacketCount_; } /** * int64 ssnsPacketCount = 87; */ public Builder setSsnsPacketCount(long value) { ssnsPacketCount_ = value; onChanged(); return this; } /** * int64 ssnsPacketCount = 87; */ public Builder clearSsnsPacketCount() { ssnsPacketCount_ = 0L; onChanged(); return this; } private java.lang.Object environmentName_ = ""; /** * string environmentName = 88; */ public java.lang.String getEnvironmentName() { java.lang.Object ref = environmentName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); environmentName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string environmentName = 88; */ public com.google.protobuf.ByteString getEnvironmentNameBytes() { java.lang.Object ref = environmentName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); environmentName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string environmentName = 88; */ public Builder setEnvironmentName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } environmentName_ = value; onChanged(); return this; } /** * string environmentName = 88; */ public Builder clearEnvironmentName() { environmentName_ = getDefaultInstance().getEnvironmentName(); onChanged(); return this; } /** * string environmentName = 88; */ public Builder setEnvironmentNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); environmentName_ = value; onChanged(); return this; } private java.lang.Object recordTimestamp_ = ""; /** * string recordTimestamp = 89; */ public java.lang.String getRecordTimestamp() { java.lang.Object ref = recordTimestamp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); recordTimestamp_ = s; return s; } else { return (java.lang.String) ref; } } /** * string recordTimestamp = 89; */ public com.google.protobuf.ByteString getRecordTimestampBytes() { java.lang.Object ref = recordTimestamp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); recordTimestamp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string recordTimestamp = 89; */ public Builder setRecordTimestamp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } recordTimestamp_ = value; onChanged(); return this; } /** * string recordTimestamp = 89; */ public Builder clearRecordTimestamp() { recordTimestamp_ = getDefaultInstance().getRecordTimestamp(); onChanged(); return this; } /** * string recordTimestamp = 89; */ public Builder setRecordTimestampBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); recordTimestamp_ = value; onChanged(); return this; } private double magStateTotal_ ; /** * double magStateTotal = 90; */ public double getMagStateTotal() { return magStateTotal_; } /** * double magStateTotal = 90; */ public Builder setMagStateTotal(double value) { magStateTotal_ = value; onChanged(); return this; } /** * double magStateTotal = 90; */ public Builder clearMagStateTotal() { magStateTotal_ = 0D; onChanged(); return this; } private long magStateCount_ ; /** * int64 magStateCount = 91; */ public long getMagStateCount() { return magStateCount_; } /** * int64 magStateCount = 91; */ public Builder setMagStateCount(long value) { magStateCount_ = value; onChanged(); return this; } /** * int64 magStateCount = 91; */ public Builder clearMagStateCount() { magStateCount_ = 0L; onChanged(); return this; } private double magStatePeakVal_ ; /** * double magStatePeakVal = 92; */ public double getMagStatePeakVal() { return magStatePeakVal_; } /** * double magStatePeakVal = 92; */ public Builder setMagStatePeakVal(double value) { magStatePeakVal_ = value; onChanged(); return this; } /** * double magStatePeakVal = 92; */ public Builder clearMagStatePeakVal() { magStatePeakVal_ = 0D; onChanged(); return this; } private double magStateMinVal_ ; /** * double magStateMinVal = 93; */ public double getMagStateMinVal() { return magStateMinVal_; } /** * double magStateMinVal = 93; */ public Builder setMagStateMinVal(double value) { magStateMinVal_ = value; onChanged(); return this; } /** * double magStateMinVal = 93; */ public Builder clearMagStateMinVal() { magStateMinVal_ = 0D; onChanged(); return this; } private double magStateAvg_ ; /** * double magStateAvg = 94; */ public double getMagStateAvg() { return magStateAvg_; } /** * double magStateAvg = 94; */ public Builder setMagStateAvg(double value) { magStateAvg_ = value; onChanged(); return this; } /** * double magStateAvg = 94; */ public Builder clearMagStateAvg() { magStateAvg_ = 0D; onChanged(); return this; } private long motionPacketCount_ ; /** * int64 motionPacketCount = 95; */ public long getMotionPacketCount() { return motionPacketCount_; } /** * int64 motionPacketCount = 95; */ public Builder setMotionPacketCount(long value) { motionPacketCount_ = value; onChanged(); return this; } /** * int64 motionPacketCount = 95; */ public Builder clearMotionPacketCount() { motionPacketCount_ = 0L; onChanged(); return this; } private double xAccelSqTotal_ ; /** *
       * NEW
       * 
* * double xAccelSqTotal = 96; */ public double getXAccelSqTotal() { return xAccelSqTotal_; } /** *
       * NEW
       * 
* * double xAccelSqTotal = 96; */ public Builder setXAccelSqTotal(double value) { xAccelSqTotal_ = value; onChanged(); return this; } /** *
       * NEW
       * 
* * double xAccelSqTotal = 96; */ public Builder clearXAccelSqTotal() { xAccelSqTotal_ = 0D; onChanged(); return this; } private double xAccelRms_ ; /** * double xAccelRms = 97; */ public double getXAccelRms() { return xAccelRms_; } /** * double xAccelRms = 97; */ public Builder setXAccelRms(double value) { xAccelRms_ = value; onChanged(); return this; } /** * double xAccelRms = 97; */ public Builder clearXAccelRms() { xAccelRms_ = 0D; onChanged(); return this; } private double xAccelPkPk_ ; /** * double xAccelPkPk = 98; */ public double getXAccelPkPk() { return xAccelPkPk_; } /** * double xAccelPkPk = 98; */ public Builder setXAccelPkPk(double value) { xAccelPkPk_ = value; onChanged(); return this; } /** * double xAccelPkPk = 98; */ public Builder clearXAccelPkPk() { xAccelPkPk_ = 0D; onChanged(); return this; } private double yAccelSqTotal_ ; /** * double yAccelSqTotal = 99; */ public double getYAccelSqTotal() { return yAccelSqTotal_; } /** * double yAccelSqTotal = 99; */ public Builder setYAccelSqTotal(double value) { yAccelSqTotal_ = value; onChanged(); return this; } /** * double yAccelSqTotal = 99; */ public Builder clearYAccelSqTotal() { yAccelSqTotal_ = 0D; onChanged(); return this; } private double yAccelRms_ ; /** * double yAccelRms = 100; */ public double getYAccelRms() { return yAccelRms_; } /** * double yAccelRms = 100; */ public Builder setYAccelRms(double value) { yAccelRms_ = value; onChanged(); return this; } /** * double yAccelRms = 100; */ public Builder clearYAccelRms() { yAccelRms_ = 0D; onChanged(); return this; } private double yAccelPkPk_ ; /** * double yAccelPkPk = 101; */ public double getYAccelPkPk() { return yAccelPkPk_; } /** * double yAccelPkPk = 101; */ public Builder setYAccelPkPk(double value) { yAccelPkPk_ = value; onChanged(); return this; } /** * double yAccelPkPk = 101; */ public Builder clearYAccelPkPk() { yAccelPkPk_ = 0D; onChanged(); return this; } private double zAccelSqTotal_ ; /** * double zAccelSqTotal = 102; */ public double getZAccelSqTotal() { return zAccelSqTotal_; } /** * double zAccelSqTotal = 102; */ public Builder setZAccelSqTotal(double value) { zAccelSqTotal_ = value; onChanged(); return this; } /** * double zAccelSqTotal = 102; */ public Builder clearZAccelSqTotal() { zAccelSqTotal_ = 0D; onChanged(); return this; } private double zAccelRms_ ; /** * double zAccelRms = 103; */ public double getZAccelRms() { return zAccelRms_; } /** * double zAccelRms = 103; */ public Builder setZAccelRms(double value) { zAccelRms_ = value; onChanged(); return this; } /** * double zAccelRms = 103; */ public Builder clearZAccelRms() { zAccelRms_ = 0D; onChanged(); return this; } private double zAccelPkPk_ ; /** * double zAccelPkPk = 104; */ public double getZAccelPkPk() { return zAccelPkPk_; } /** * double zAccelPkPk = 104; */ public Builder setZAccelPkPk(double value) { zAccelPkPk_ = value; onChanged(); return this; } /** * double zAccelPkPk = 104; */ public Builder clearZAccelPkPk() { zAccelPkPk_ = 0D; onChanged(); return this; } private double xHsRmsTotal_ ; /** * double xHsRmsTotal = 105; */ public double getXHsRmsTotal() { return xHsRmsTotal_; } /** * double xHsRmsTotal = 105; */ public Builder setXHsRmsTotal(double value) { xHsRmsTotal_ = value; onChanged(); return this; } /** * double xHsRmsTotal = 105; */ public Builder clearXHsRmsTotal() { xHsRmsTotal_ = 0D; onChanged(); return this; } private long xHsCount_ ; /** * int64 xHsCount = 106; */ public long getXHsCount() { return xHsCount_; } /** * int64 xHsCount = 106; */ public Builder setXHsCount(long value) { xHsCount_ = value; onChanged(); return this; } /** * int64 xHsCount = 106; */ public Builder clearXHsCount() { xHsCount_ = 0L; onChanged(); return this; } private double xHsRmsAvg_ ; /** * double xHsRmsAvg = 107; */ public double getXHsRmsAvg() { return xHsRmsAvg_; } /** * double xHsRmsAvg = 107; */ public Builder setXHsRmsAvg(double value) { xHsRmsAvg_ = value; onChanged(); return this; } /** * double xHsRmsAvg = 107; */ public Builder clearXHsRmsAvg() { xHsRmsAvg_ = 0D; onChanged(); return this; } private double xHsPeak_ ; /** * double xHsPeak = 108; */ public double getXHsPeak() { return xHsPeak_; } /** * double xHsPeak = 108; */ public Builder setXHsPeak(double value) { xHsPeak_ = value; onChanged(); return this; } /** * double xHsPeak = 108; */ public Builder clearXHsPeak() { xHsPeak_ = 0D; onChanged(); return this; } private double xHsPeakToPeak_ ; /** * double xHsPeakToPeak = 109; */ public double getXHsPeakToPeak() { return xHsPeakToPeak_; } /** * double xHsPeakToPeak = 109; */ public Builder setXHsPeakToPeak(double value) { xHsPeakToPeak_ = value; onChanged(); return this; } /** * double xHsPeakToPeak = 109; */ public Builder clearXHsPeakToPeak() { xHsPeakToPeak_ = 0D; onChanged(); return this; } private double yHsRmsTotal_ ; /** * double yHsRmsTotal = 110; */ public double getYHsRmsTotal() { return yHsRmsTotal_; } /** * double yHsRmsTotal = 110; */ public Builder setYHsRmsTotal(double value) { yHsRmsTotal_ = value; onChanged(); return this; } /** * double yHsRmsTotal = 110; */ public Builder clearYHsRmsTotal() { yHsRmsTotal_ = 0D; onChanged(); return this; } private long yHsCount_ ; /** * int64 yHsCount = 111; */ public long getYHsCount() { return yHsCount_; } /** * int64 yHsCount = 111; */ public Builder setYHsCount(long value) { yHsCount_ = value; onChanged(); return this; } /** * int64 yHsCount = 111; */ public Builder clearYHsCount() { yHsCount_ = 0L; onChanged(); return this; } private double yHsRmsAvg_ ; /** * double yHsRmsAvg = 112; */ public double getYHsRmsAvg() { return yHsRmsAvg_; } /** * double yHsRmsAvg = 112; */ public Builder setYHsRmsAvg(double value) { yHsRmsAvg_ = value; onChanged(); return this; } /** * double yHsRmsAvg = 112; */ public Builder clearYHsRmsAvg() { yHsRmsAvg_ = 0D; onChanged(); return this; } private double yHsPeak_ ; /** * double yHsPeak = 113; */ public double getYHsPeak() { return yHsPeak_; } /** * double yHsPeak = 113; */ public Builder setYHsPeak(double value) { yHsPeak_ = value; onChanged(); return this; } /** * double yHsPeak = 113; */ public Builder clearYHsPeak() { yHsPeak_ = 0D; onChanged(); return this; } private double yHsPeakToPeak_ ; /** * double yHsPeakToPeak = 114; */ public double getYHsPeakToPeak() { return yHsPeakToPeak_; } /** * double yHsPeakToPeak = 114; */ public Builder setYHsPeakToPeak(double value) { yHsPeakToPeak_ = value; onChanged(); return this; } /** * double yHsPeakToPeak = 114; */ public Builder clearYHsPeakToPeak() { yHsPeakToPeak_ = 0D; onChanged(); return this; } private double zHsRmsTotal_ ; /** * double zHsRmsTotal = 115; */ public double getZHsRmsTotal() { return zHsRmsTotal_; } /** * double zHsRmsTotal = 115; */ public Builder setZHsRmsTotal(double value) { zHsRmsTotal_ = value; onChanged(); return this; } /** * double zHsRmsTotal = 115; */ public Builder clearZHsRmsTotal() { zHsRmsTotal_ = 0D; onChanged(); return this; } private long zHsCount_ ; /** * int64 zHsCount = 116; */ public long getZHsCount() { return zHsCount_; } /** * int64 zHsCount = 116; */ public Builder setZHsCount(long value) { zHsCount_ = value; onChanged(); return this; } /** * int64 zHsCount = 116; */ public Builder clearZHsCount() { zHsCount_ = 0L; onChanged(); return this; } private double zHsRmsAvg_ ; /** * double zHsRmsAvg = 117; */ public double getZHsRmsAvg() { return zHsRmsAvg_; } /** * double zHsRmsAvg = 117; */ public Builder setZHsRmsAvg(double value) { zHsRmsAvg_ = value; onChanged(); return this; } /** * double zHsRmsAvg = 117; */ public Builder clearZHsRmsAvg() { zHsRmsAvg_ = 0D; onChanged(); return this; } private double zHsPeak_ ; /** * double zHsPeak = 118; */ public double getZHsPeak() { return zHsPeak_; } /** * double zHsPeak = 118; */ public Builder setZHsPeak(double value) { zHsPeak_ = value; onChanged(); return this; } /** * double zHsPeak = 118; */ public Builder clearZHsPeak() { zHsPeak_ = 0D; onChanged(); return this; } private double zHsPeakToPeak_ ; /** * double zHsPeakToPeak = 119; */ public double getZHsPeakToPeak() { return zHsPeakToPeak_; } /** * double zHsPeakToPeak = 119; */ public Builder setZHsPeakToPeak(double value) { zHsPeakToPeak_ = value; onChanged(); return this; } /** * double zHsPeakToPeak = 119; */ public Builder clearZHsPeakToPeak() { zHsPeakToPeak_ = 0D; onChanged(); return this; } private double hsPacketCount_ ; /** * double hsPacketCount = 120; */ public double getHsPacketCount() { return hsPacketCount_; } /** * double hsPacketCount = 120; */ public Builder setHsPacketCount(double value) { hsPacketCount_ = value; onChanged(); return this; } /** * double hsPacketCount = 120; */ public Builder clearHsPacketCount() { hsPacketCount_ = 0D; 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:BeaconAggregate) } // @@protoc_insertion_point(class_scope:BeaconAggregate) private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate(); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BeaconAggregate parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeaconAggregate(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.BeaconAggregate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateMetricsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:AggregateMetricsResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .BeaconAggregate results = 1; */ java.util.List getResultsList(); /** * repeated .BeaconAggregate results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResults(int index); /** * repeated .BeaconAggregate results = 1; */ int getResultsCount(); /** * repeated .BeaconAggregate results = 1; */ java.util.List getResultsOrBuilderList(); /** * repeated .BeaconAggregate results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder getResultsOrBuilder( int index); } /** * Protobuf type {@code AggregateMetricsResponse} */ public static final class AggregateMetricsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:AggregateMetricsResponse) AggregateMetricsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateMetricsResponse.newBuilder() to construct. private AggregateMetricsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateMetricsResponse() { results_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateMetricsResponse( 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.BeaconAggregate.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_AggregateMetricsResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** * repeated .BeaconAggregate results = 1; */ public java.util.List getResultsList() { return results_; } /** * repeated .BeaconAggregate results = 1; */ public java.util.List getResultsOrBuilderList() { return results_; } /** * repeated .BeaconAggregate results = 1; */ public int getResultsCount() { return results_.size(); } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResults(int index) { return results_.get(index); } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder 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.AggregateMetricsResponse)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse) 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.AggregateMetricsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse 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.AggregateMetricsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse 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.AggregateMetricsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse 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.AggregateMetricsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse 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.AggregateMetricsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse 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.AggregateMetricsResponse 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.AggregateMetricsResponse 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.AggregateMetricsResponse 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 AggregateMetricsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:AggregateMetricsResponse) com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.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_AggregateMetricsResponse_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse build() { com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse(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.AggregateMetricsResponse) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse.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.AggregateMetricsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse) 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.BeaconAggregate, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder> resultsBuilder_; /** * repeated .BeaconAggregate results = 1; */ public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { return resultsBuilder_.getMessageList(); } } /** * repeated .BeaconAggregate results = 1; */ public int getResultsCount() { if (resultsBuilder_ == null) { return results_.size(); } else { return resultsBuilder_.getCount(); } } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate getResults(int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessage(index); } } /** * repeated .BeaconAggregate results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.set(index, value); onChanged(); } else { resultsBuilder_.setMessage(index, value); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder addResults(com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(value); onChanged(); } else { resultsBuilder_.addMessage(value); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(index, value); onChanged(); } else { resultsBuilder_.addMessage(index, value); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder addResults( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); } return this; } /** * repeated .BeaconAggregate results = 1; */ public Builder removeResults(int index) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.remove(index); onChanged(); } else { resultsBuilder_.remove(index); } return this; } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder getResultsBuilder( int index) { return getResultsFieldBuilder().getBuilder(index); } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** * repeated .BeaconAggregate results = 1; */ public java.util.List getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(results_); } } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.getDefaultInstance()); } /** * repeated .BeaconAggregate results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder addResultsBuilder( int index) { return getResultsFieldBuilder().addBuilder( index, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.getDefaultInstance()); } /** * repeated .BeaconAggregate results = 1; */ public java.util.List getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregate.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconAggregateOrBuilder>( 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:AggregateMetricsResponse) } // @@protoc_insertion_point(class_scope:AggregateMetricsResponse) private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse(); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public AggregateMetricsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AggregateMetricsResponse(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.AggregateMetricsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregateMetricsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:AggregateMetricsRequest) 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); /** * repeated string blufiIds = 3; */ java.util.List getBlufiIdsList(); /** * repeated string blufiIds = 3; */ int getBlufiIdsCount(); /** * repeated string blufiIds = 3; */ java.lang.String getBlufiIds(int index); /** * repeated string blufiIds = 3; */ com.google.protobuf.ByteString getBlufiIdsBytes(int index); /** * .MetricInterval interval = 4; */ int getIntervalValue(); /** * .MetricInterval interval = 4; */ com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval(); /** * .HistoryMetric metric = 5; */ int getMetricValue(); /** * .HistoryMetric metric = 5; */ com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric getMetric(); /** * string startDate = 6; */ java.lang.String getStartDate(); /** * string startDate = 6; */ com.google.protobuf.ByteString getStartDateBytes(); /** * string endDate = 7; */ java.lang.String getEndDate(); /** * string endDate = 7; */ com.google.protobuf.ByteString getEndDateBytes(); /** * string format = 8; */ java.lang.String getFormat(); /** * string format = 8; */ com.google.protobuf.ByteString getFormatBytes(); /** * bool download = 9; */ boolean getDownload(); } /** * Protobuf type {@code AggregateMetricsRequest} */ public static final class AggregateMetricsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:AggregateMetricsRequest) AggregateMetricsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use AggregateMetricsRequest.newBuilder() to construct. private AggregateMetricsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregateMetricsRequest() { projectId_ = 0L; beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; interval_ = 0; metric_ = 0; startDate_ = ""; endDate_ = ""; format_ = ""; download_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private AggregateMetricsRequest( 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(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } blufiIds_.add(s); break; } case 32: { int rawValue = input.readEnum(); interval_ = rawValue; break; } case 40: { int rawValue = input.readEnum(); metric_ = rawValue; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); startDate_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); endDate_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); format_ = s; break; } case 72: { download_ = 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_ & 0x00000002) == 0x00000002)) { beaconIds_ = beaconIds_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = blufiIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.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 BLUFIIDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList blufiIds_; /** * repeated string blufiIds = 3; */ public com.google.protobuf.ProtocolStringList getBlufiIdsList() { return blufiIds_; } /** * repeated string blufiIds = 3; */ public int getBlufiIdsCount() { return blufiIds_.size(); } /** * repeated string blufiIds = 3; */ public java.lang.String getBlufiIds(int index) { return blufiIds_.get(index); } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ByteString getBlufiIdsBytes(int index) { return blufiIds_.getByteString(index); } public static final int INTERVAL_FIELD_NUMBER = 4; private int interval_; /** * .MetricInterval interval = 4; */ public int getIntervalValue() { return interval_; } /** * .MetricInterval interval = 4; */ 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 METRIC_FIELD_NUMBER = 5; private int metric_; /** * .HistoryMetric metric = 5; */ public int getMetricValue() { return metric_; } /** * .HistoryMetric metric = 5; */ 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; } public static final int STARTDATE_FIELD_NUMBER = 6; private volatile java.lang.Object startDate_; /** * string startDate = 6; */ 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 = 6; */ 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 = 7; private volatile java.lang.Object endDate_; /** * string endDate = 7; */ 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 = 7; */ 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 FORMAT_FIELD_NUMBER = 8; private volatile java.lang.Object format_; /** * string format = 8; */ public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; } } /** * string format = 8; */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DOWNLOAD_FIELD_NUMBER = 9; private boolean download_; /** * bool download = 9; */ public boolean getDownload() { return download_; } 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)); } for (int i = 0; i < blufiIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, blufiIds_.getRaw(i)); } if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) { output.writeEnum(4, interval_); } if (metric_ != com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.TEMP.getNumber()) { output.writeEnum(5, metric_); } if (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, startDate_); } if (!getEndDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, endDate_); } if (!getFormatBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, format_); } if (download_ != false) { output.writeBool(9, download_); } 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(); } { int dataSize = 0; for (int i = 0; i < blufiIds_.size(); i++) { dataSize += computeStringSizeNoTag(blufiIds_.getRaw(i)); } size += dataSize; size += 1 * getBlufiIdsList().size(); } if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, interval_); } if (metric_ != com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.TEMP.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, metric_); } if (!getStartDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, startDate_); } if (!getEndDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, endDate_); } if (!getFormatBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, format_); } if (download_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, download_); } 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.AggregateMetricsRequest)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest other = (com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest) obj; boolean result = true; result = result && (getProjectId() == other.getProjectId()); result = result && getBeaconIdsList() .equals(other.getBeaconIdsList()); result = result && getBlufiIdsList() .equals(other.getBlufiIdsList()); result = result && interval_ == other.interval_; result = result && metric_ == other.metric_; result = result && getStartDate() .equals(other.getStartDate()); result = result && getEndDate() .equals(other.getEndDate()); result = result && getFormat() .equals(other.getFormat()); result = result && (getDownload() == other.getDownload()); 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(); } if (getBlufiIdsCount() > 0) { hash = (37 * hash) + BLUFIIDS_FIELD_NUMBER; hash = (53 * hash) + getBlufiIdsList().hashCode(); } hash = (37 * hash) + INTERVAL_FIELD_NUMBER; hash = (53 * hash) + interval_; hash = (37 * hash) + METRIC_FIELD_NUMBER; hash = (53 * hash) + metric_; hash = (37 * hash) + STARTDATE_FIELD_NUMBER; hash = (53 * hash) + getStartDate().hashCode(); hash = (37 * hash) + ENDDATE_FIELD_NUMBER; hash = (53 * hash) + getEndDate().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); hash = (37 * hash) + DOWNLOAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDownload()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest 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.AggregateMetricsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest 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.AggregateMetricsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest 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.AggregateMetricsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest 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.AggregateMetricsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest 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.AggregateMetricsRequest 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.AggregateMetricsRequest 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.AggregateMetricsRequest 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 AggregateMetricsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:AggregateMetricsRequest) com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.class, com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.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); blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); interval_ = 0; metric_ = 0; startDate_ = ""; endDate_ = ""; format_ = ""; download_ = false; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_AggregateMetricsRequest_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest build() { com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest result = new com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest(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_; if (((bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = blufiIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.blufiIds_ = blufiIds_; result.interval_ = interval_; result.metric_ = metric_; result.startDate_ = startDate_; result.endDate_ = endDate_; result.format_ = format_; result.download_ = download_; 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.AggregateMetricsRequest) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest.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.blufiIds_.isEmpty()) { if (blufiIds_.isEmpty()) { blufiIds_ = other.blufiIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureBlufiIdsIsMutable(); blufiIds_.addAll(other.blufiIds_); } onChanged(); } if (other.interval_ != 0) { setIntervalValue(other.getIntervalValue()); } if (other.metric_ != 0) { setMetricValue(other.getMetricValue()); } if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; onChanged(); } if (!other.getEndDate().isEmpty()) { endDate_ = other.endDate_; onChanged(); } if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); } if (other.getDownload() != false) { setDownload(other.getDownload()); } 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.AggregateMetricsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest) 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 com.google.protobuf.LazyStringList blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBlufiIdsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = new com.google.protobuf.LazyStringArrayList(blufiIds_); bitField0_ |= 0x00000004; } } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ProtocolStringList getBlufiIdsList() { return blufiIds_.getUnmodifiableView(); } /** * repeated string blufiIds = 3; */ public int getBlufiIdsCount() { return blufiIds_.size(); } /** * repeated string blufiIds = 3; */ public java.lang.String getBlufiIds(int index) { return blufiIds_.get(index); } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ByteString getBlufiIdsBytes(int index) { return blufiIds_.getByteString(index); } /** * repeated string blufiIds = 3; */ public Builder setBlufiIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBlufiIdsIsMutable(); blufiIds_.set(index, value); onChanged(); return this; } /** * repeated string blufiIds = 3; */ public Builder addBlufiIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBlufiIdsIsMutable(); blufiIds_.add(value); onChanged(); return this; } /** * repeated string blufiIds = 3; */ public Builder addAllBlufiIds( java.lang.Iterable 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 interval_ = 0; /** * .MetricInterval interval = 4; */ public int getIntervalValue() { return interval_; } /** * .MetricInterval interval = 4; */ public Builder setIntervalValue(int value) { interval_ = value; onChanged(); return this; } /** * .MetricInterval interval = 4; */ 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 = 4; */ public Builder setInterval(com.bluvision.cloud.metric.Beaconmetrics.MetricInterval value) { if (value == null) { throw new NullPointerException(); } interval_ = value.getNumber(); onChanged(); return this; } /** * .MetricInterval interval = 4; */ public Builder clearInterval() { interval_ = 0; onChanged(); return this; } private int metric_ = 0; /** * .HistoryMetric metric = 5; */ public int getMetricValue() { return metric_; } /** * .HistoryMetric metric = 5; */ public Builder setMetricValue(int value) { metric_ = value; onChanged(); return this; } /** * .HistoryMetric metric = 5; */ 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 = 5; */ public Builder setMetric(com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric value) { if (value == null) { throw new NullPointerException(); } metric_ = value.getNumber(); onChanged(); return this; } /** * .HistoryMetric metric = 5; */ public Builder clearMetric() { metric_ = 0; onChanged(); return this; } private java.lang.Object startDate_ = ""; /** * string startDate = 6; */ 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 = 6; */ 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 = 6; */ public Builder setStartDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startDate_ = value; onChanged(); return this; } /** * string startDate = 6; */ public Builder clearStartDate() { startDate_ = getDefaultInstance().getStartDate(); onChanged(); return this; } /** * string startDate = 6; */ 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 = 7; */ 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 = 7; */ 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 = 7; */ public Builder setEndDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endDate_ = value; onChanged(); return this; } /** * string endDate = 7; */ public Builder clearEndDate() { endDate_ = getDefaultInstance().getEndDate(); onChanged(); return this; } /** * string endDate = 7; */ public Builder setEndDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endDate_ = value; onChanged(); return this; } private java.lang.Object format_ = ""; /** * string format = 8; */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** * string format = 8; */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string format = 8; */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** * string format = 8; */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** * string format = 8; */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; onChanged(); return this; } private boolean download_ ; /** * bool download = 9; */ public boolean getDownload() { return download_; } /** * bool download = 9; */ public Builder setDownload(boolean value) { download_ = value; onChanged(); return this; } /** * bool download = 9; */ public Builder clearDownload() { download_ = 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:AggregateMetricsRequest) } // @@protoc_insertion_point(class_scope:AggregateMetricsRequest) private static final com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest(); } public static com.bluvision.cloud.metric.Beaconmetrics.AggregateMetricsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public AggregateMetricsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new AggregateMetricsRequest(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.AggregateMetricsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeaconHistoryMetricValueOrBuilder extends // @@protoc_insertion_point(interface_extends:BeaconHistoryMetricValue) com.google.protobuf.MessageOrBuilder { /** * double avg = 1; */ double getAvg(); /** * int64 count = 2; */ long getCount(); /** * string ID = 3; */ java.lang.String getID(); /** * string ID = 3; */ com.google.protobuf.ByteString getIDBytes(); /** *
     * unix time seconds 1465914840
     * 
* * int64 key = 4; */ long getKey(); /** *
     * ISO format 2016-06-14T14:34:00Z
     * 
* * string keyAsString = 5; */ java.lang.String getKeyAsString(); /** *
     * ISO format 2016-06-14T14:34:00Z
     * 
* * string keyAsString = 5; */ com.google.protobuf.ByteString getKeyAsStringBytes(); /** * string metric = 6; */ java.lang.String getMetric(); /** * string metric = 6; */ com.google.protobuf.ByteString getMetricBytes(); /** * double peak = 7; */ double getPeak(); /** * double sum = 8; */ double getSum(); /** * double min = 9; */ double getMin(); /** * double peakToPeak = 10; */ double getPeakToPeak(); /** * double rms = 11; */ double getRms(); /** * double sqSum = 12; */ double getSqSum(); } /** *
   * This also has a *models representation because we gen sdk from bluzone.
   * 
* * Protobuf type {@code BeaconHistoryMetricValue} */ public static final class BeaconHistoryMetricValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeaconHistoryMetricValue) BeaconHistoryMetricValueOrBuilder { private static final long serialVersionUID = 0L; // Use BeaconHistoryMetricValue.newBuilder() to construct. private BeaconHistoryMetricValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeaconHistoryMetricValue() { avg_ = 0D; count_ = 0L; iD_ = ""; key_ = 0L; keyAsString_ = ""; metric_ = ""; peak_ = 0D; sum_ = 0D; min_ = 0D; peakToPeak_ = 0D; rms_ = 0D; sqSum_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeaconHistoryMetricValue( 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: { avg_ = input.readDouble(); break; } case 16: { count_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); iD_ = s; break; } case 32: { key_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); keyAsString_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); metric_ = s; break; } case 57: { peak_ = input.readDouble(); break; } case 65: { sum_ = input.readDouble(); break; } case 73: { min_ = input.readDouble(); break; } case 81: { peakToPeak_ = input.readDouble(); break; } case 89: { rms_ = input.readDouble(); break; } case 97: { sqSum_ = input.readDouble(); 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_BeaconHistoryMetricValue_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder.class); } public static final int AVG_FIELD_NUMBER = 1; private double avg_; /** * double avg = 1; */ public double getAvg() { return avg_; } public static final int COUNT_FIELD_NUMBER = 2; private long count_; /** * int64 count = 2; */ public long getCount() { return count_; } public static final int ID_FIELD_NUMBER = 3; private volatile java.lang.Object iD_; /** * string ID = 3; */ public java.lang.String getID() { java.lang.Object ref = iD_; 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(); iD_ = s; return s; } } /** * string ID = 3; */ public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 4; private long key_; /** *
     * unix time seconds 1465914840
     * 
* * int64 key = 4; */ public long getKey() { return key_; } public static final int KEYASSTRING_FIELD_NUMBER = 5; private volatile java.lang.Object keyAsString_; /** *
     * ISO format 2016-06-14T14:34:00Z
     * 
* * string keyAsString = 5; */ public java.lang.String getKeyAsString() { java.lang.Object ref = keyAsString_; 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(); keyAsString_ = s; return s; } } /** *
     * ISO format 2016-06-14T14:34:00Z
     * 
* * string keyAsString = 5; */ public com.google.protobuf.ByteString getKeyAsStringBytes() { java.lang.Object ref = keyAsString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int METRIC_FIELD_NUMBER = 6; private volatile java.lang.Object metric_; /** * string metric = 6; */ public java.lang.String getMetric() { java.lang.Object ref = metric_; 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(); metric_ = s; return s; } } /** * string metric = 6; */ public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metric_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PEAK_FIELD_NUMBER = 7; private double peak_; /** * double peak = 7; */ public double getPeak() { return peak_; } public static final int SUM_FIELD_NUMBER = 8; private double sum_; /** * double sum = 8; */ public double getSum() { return sum_; } public static final int MIN_FIELD_NUMBER = 9; private double min_; /** * double min = 9; */ public double getMin() { return min_; } public static final int PEAKTOPEAK_FIELD_NUMBER = 10; private double peakToPeak_; /** * double peakToPeak = 10; */ public double getPeakToPeak() { return peakToPeak_; } public static final int RMS_FIELD_NUMBER = 11; private double rms_; /** * double rms = 11; */ public double getRms() { return rms_; } public static final int SQSUM_FIELD_NUMBER = 12; private double sqSum_; /** * double sqSum = 12; */ public double getSqSum() { return sqSum_; } 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 (avg_ != 0D) { output.writeDouble(1, avg_); } if (count_ != 0L) { output.writeInt64(2, count_); } if (!getIDBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, iD_); } if (key_ != 0L) { output.writeInt64(4, key_); } if (!getKeyAsStringBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, keyAsString_); } if (!getMetricBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, metric_); } if (peak_ != 0D) { output.writeDouble(7, peak_); } if (sum_ != 0D) { output.writeDouble(8, sum_); } if (min_ != 0D) { output.writeDouble(9, min_); } if (peakToPeak_ != 0D) { output.writeDouble(10, peakToPeak_); } if (rms_ != 0D) { output.writeDouble(11, rms_); } if (sqSum_ != 0D) { output.writeDouble(12, sqSum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (avg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, avg_); } if (count_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, count_); } if (!getIDBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, iD_); } if (key_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, key_); } if (!getKeyAsStringBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, keyAsString_); } if (!getMetricBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, metric_); } if (peak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(7, peak_); } if (sum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, sum_); } if (min_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, min_); } if (peakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, peakToPeak_); } if (rms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, rms_); } if (sqSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, sqSum_); } 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.BeaconHistoryMetricValue)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue) obj; boolean result = true; result = result && ( java.lang.Double.doubleToLongBits(getAvg()) == java.lang.Double.doubleToLongBits( other.getAvg())); result = result && (getCount() == other.getCount()); result = result && getID() .equals(other.getID()); result = result && (getKey() == other.getKey()); result = result && getKeyAsString() .equals(other.getKeyAsString()); result = result && getMetric() .equals(other.getMetric()); result = result && ( java.lang.Double.doubleToLongBits(getPeak()) == java.lang.Double.doubleToLongBits( other.getPeak())); result = result && ( java.lang.Double.doubleToLongBits(getSum()) == java.lang.Double.doubleToLongBits( other.getSum())); result = result && ( java.lang.Double.doubleToLongBits(getMin()) == java.lang.Double.doubleToLongBits( other.getMin())); result = result && ( java.lang.Double.doubleToLongBits(getPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getRms()) == java.lang.Double.doubleToLongBits( other.getRms())); result = result && ( java.lang.Double.doubleToLongBits(getSqSum()) == java.lang.Double.doubleToLongBits( other.getSqSum())); 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) + AVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getAvg())); hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCount()); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getID().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getKey()); hash = (37 * hash) + KEYASSTRING_FIELD_NUMBER; hash = (53 * hash) + getKeyAsString().hashCode(); hash = (37 * hash) + METRIC_FIELD_NUMBER; hash = (53 * hash) + getMetric().hashCode(); hash = (37 * hash) + PEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPeak())); hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSum())); hash = (37 * hash) + MIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMin())); hash = (37 * hash) + PEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getPeakToPeak())); hash = (37 * hash) + RMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRms())); hash = (37 * hash) + SQSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSqSum())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue 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.BeaconHistoryMetricValue 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; } /** *
     * This also has a *models representation because we gen sdk from bluzone.
     * 
* * Protobuf type {@code BeaconHistoryMetricValue} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeaconHistoryMetricValue) com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricValue_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricValue_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.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(); avg_ = 0D; count_ = 0L; iD_ = ""; key_ = 0L; keyAsString_ = ""; metric_ = ""; peak_ = 0D; sum_ = 0D; min_ = 0D; peakToPeak_ = 0D; rms_ = 0D; sqSum_ = 0D; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricValue_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue build() { com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue(this); result.avg_ = avg_; result.count_ = count_; result.iD_ = iD_; result.key_ = key_; result.keyAsString_ = keyAsString_; result.metric_ = metric_; result.peak_ = peak_; result.sum_ = sum_; result.min_ = min_; result.peakToPeak_ = peakToPeak_; result.rms_ = rms_; result.sqSum_ = sqSum_; 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.BeaconHistoryMetricValue) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue.getDefaultInstance()) return this; if (other.getAvg() != 0D) { setAvg(other.getAvg()); } if (other.getCount() != 0L) { setCount(other.getCount()); } if (!other.getID().isEmpty()) { iD_ = other.iD_; onChanged(); } if (other.getKey() != 0L) { setKey(other.getKey()); } if (!other.getKeyAsString().isEmpty()) { keyAsString_ = other.keyAsString_; onChanged(); } if (!other.getMetric().isEmpty()) { metric_ = other.metric_; onChanged(); } if (other.getPeak() != 0D) { setPeak(other.getPeak()); } if (other.getSum() != 0D) { setSum(other.getSum()); } if (other.getMin() != 0D) { setMin(other.getMin()); } if (other.getPeakToPeak() != 0D) { setPeakToPeak(other.getPeakToPeak()); } if (other.getRms() != 0D) { setRms(other.getRms()); } if (other.getSqSum() != 0D) { setSqSum(other.getSqSum()); } 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.BeaconHistoryMetricValue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private double avg_ ; /** * double avg = 1; */ public double getAvg() { return avg_; } /** * double avg = 1; */ public Builder setAvg(double value) { avg_ = value; onChanged(); return this; } /** * double avg = 1; */ public Builder clearAvg() { avg_ = 0D; onChanged(); return this; } private long count_ ; /** * int64 count = 2; */ public long getCount() { return count_; } /** * int64 count = 2; */ public Builder setCount(long value) { count_ = value; onChanged(); return this; } /** * int64 count = 2; */ public Builder clearCount() { count_ = 0L; onChanged(); return this; } private java.lang.Object iD_ = ""; /** * string ID = 3; */ public java.lang.String getID() { java.lang.Object ref = iD_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iD_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ID = 3; */ public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ID = 3; */ public Builder setID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } iD_ = value; onChanged(); return this; } /** * string ID = 3; */ public Builder clearID() { iD_ = getDefaultInstance().getID(); onChanged(); return this; } /** * string ID = 3; */ public Builder setIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iD_ = value; onChanged(); return this; } private long key_ ; /** *
       * unix time seconds 1465914840
       * 
* * int64 key = 4; */ public long getKey() { return key_; } /** *
       * unix time seconds 1465914840
       * 
* * int64 key = 4; */ public Builder setKey(long value) { key_ = value; onChanged(); return this; } /** *
       * unix time seconds 1465914840
       * 
* * int64 key = 4; */ public Builder clearKey() { key_ = 0L; onChanged(); return this; } private java.lang.Object keyAsString_ = ""; /** *
       * ISO format 2016-06-14T14:34:00Z
       * 
* * string keyAsString = 5; */ public java.lang.String getKeyAsString() { java.lang.Object ref = keyAsString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyAsString_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ISO format 2016-06-14T14:34:00Z
       * 
* * string keyAsString = 5; */ public com.google.protobuf.ByteString getKeyAsStringBytes() { java.lang.Object ref = keyAsString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ISO format 2016-06-14T14:34:00Z
       * 
* * string keyAsString = 5; */ public Builder setKeyAsString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyAsString_ = value; onChanged(); return this; } /** *
       * ISO format 2016-06-14T14:34:00Z
       * 
* * string keyAsString = 5; */ public Builder clearKeyAsString() { keyAsString_ = getDefaultInstance().getKeyAsString(); onChanged(); return this; } /** *
       * ISO format 2016-06-14T14:34:00Z
       * 
* * string keyAsString = 5; */ public Builder setKeyAsStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyAsString_ = value; onChanged(); return this; } private java.lang.Object metric_ = ""; /** * string metric = 6; */ public java.lang.String getMetric() { java.lang.Object ref = metric_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metric_ = s; return s; } else { return (java.lang.String) ref; } } /** * string metric = 6; */ public com.google.protobuf.ByteString getMetricBytes() { java.lang.Object ref = metric_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metric_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string metric = 6; */ public Builder setMetric( java.lang.String value) { if (value == null) { throw new NullPointerException(); } metric_ = value; onChanged(); return this; } /** * string metric = 6; */ public Builder clearMetric() { metric_ = getDefaultInstance().getMetric(); onChanged(); return this; } /** * string metric = 6; */ public Builder setMetricBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metric_ = value; onChanged(); return this; } private double peak_ ; /** * double peak = 7; */ public double getPeak() { return peak_; } /** * double peak = 7; */ public Builder setPeak(double value) { peak_ = value; onChanged(); return this; } /** * double peak = 7; */ public Builder clearPeak() { peak_ = 0D; onChanged(); return this; } private double sum_ ; /** * double sum = 8; */ public double getSum() { return sum_; } /** * double sum = 8; */ public Builder setSum(double value) { sum_ = value; onChanged(); return this; } /** * double sum = 8; */ public Builder clearSum() { sum_ = 0D; onChanged(); return this; } private double min_ ; /** * double min = 9; */ public double getMin() { return min_; } /** * double min = 9; */ public Builder setMin(double value) { min_ = value; onChanged(); return this; } /** * double min = 9; */ public Builder clearMin() { min_ = 0D; onChanged(); return this; } private double peakToPeak_ ; /** * double peakToPeak = 10; */ public double getPeakToPeak() { return peakToPeak_; } /** * double peakToPeak = 10; */ public Builder setPeakToPeak(double value) { peakToPeak_ = value; onChanged(); return this; } /** * double peakToPeak = 10; */ public Builder clearPeakToPeak() { peakToPeak_ = 0D; onChanged(); return this; } private double rms_ ; /** * double rms = 11; */ public double getRms() { return rms_; } /** * double rms = 11; */ public Builder setRms(double value) { rms_ = value; onChanged(); return this; } /** * double rms = 11; */ public Builder clearRms() { rms_ = 0D; onChanged(); return this; } private double sqSum_ ; /** * double sqSum = 12; */ public double getSqSum() { return sqSum_; } /** * double sqSum = 12; */ public Builder setSqSum(double value) { sqSum_ = value; onChanged(); return this; } /** * double sqSum = 12; */ public Builder clearSqSum() { sqSum_ = 0D; 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:BeaconHistoryMetricValue) } // @@protoc_insertion_point(class_scope:BeaconHistoryMetricValue) private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue(); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricValue getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BeaconHistoryMetricValue parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeaconHistoryMetricValue(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.BeaconHistoryMetricValue getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BeaconHistoryMetricGroupOrBuilder extends // @@protoc_insertion_point(interface_extends:BeaconHistoryMetricGroup) com.google.protobuf.MessageOrBuilder { /** * double batteryAvg = 1; */ double getBatteryAvg(); /** * double batteryCount = 2; */ double getBatteryCount(); /** * double batteryPeak = 3; */ double getBatteryPeak(); /** * double batterySum = 4; */ double getBatterySum(); /** * string ID = 5; */ java.lang.String getID(); /** * string ID = 5; */ com.google.protobuf.ByteString getIDBytes(); /** * int64 key = 6; */ long getKey(); /** * string keyAsString = 7; */ java.lang.String getKeyAsString(); /** * string keyAsString = 7; */ com.google.protobuf.ByteString getKeyAsStringBytes(); /** * double lumsAvg = 8; */ double getLumsAvg(); /** * double lumsCount = 9; */ double getLumsCount(); /** * double lumsPeak = 10; */ double getLumsPeak(); /** * double lumsSum = 11; */ double getLumsSum(); /** * double magStateAvg = 12; */ double getMagStateAvg(); /** * double magStateCount = 13; */ double getMagStateCount(); /** * double magStatePeak = 14; */ double getMagStatePeak(); /** * double magstateSum = 15; */ double getMagstateSum(); /** * double rssiAvg = 16; */ double getRssiAvg(); /** * double rssiCount = 17; */ double getRssiCount(); /** * double rssiPeak = 18; */ double getRssiPeak(); /** * double rssiSum = 19; */ double getRssiSum(); /** * double tempAvg = 20; */ double getTempAvg(); /** * double tempCount = 21; */ double getTempCount(); /** * double tempPeak = 22; */ double getTempPeak(); /** * double tempSum = 23; */ double getTempSum(); /** * double xAccelAvg = 24; */ double getXAccelAvg(); /** * double xAccelCount = 25; */ double getXAccelCount(); /** * double xAccelPeak = 26; */ double getXAccelPeak(); /** * double xAccelSum = 27; */ double getXAccelSum(); /** * double xMagAvg = 28; */ double getXMagAvg(); /** * double xMagCount = 29; */ double getXMagCount(); /** * double xMagPeak = 30; */ double getXMagPeak(); /** * double xMagSum = 31; */ double getXMagSum(); /** * double yAccelAvg = 32; */ double getYAccelAvg(); /** * double yAccelCount = 33; */ double getYAccelCount(); /** * double yAccelPeak = 34; */ double getYAccelPeak(); /** * double yAccelSum = 35; */ double getYAccelSum(); /** * double yMagAvg = 36; */ double getYMagAvg(); /** * double yMagCount = 37; */ double getYMagCount(); /** * double yMagPeak = 38; */ double getYMagPeak(); /** * double yMagSum = 39; */ double getYMagSum(); /** * double zAccelAvg = 40; */ double getZAccelAvg(); /** * double zAccelCount = 41; */ double getZAccelCount(); /** * double zAccelPeak = 42; */ double getZAccelPeak(); /** * double zAccelSum = 43; */ double getZAccelSum(); /** * double zMagAvg = 44; */ double getZMagAvg(); /** * double zMagCount = 45; */ double getZMagCount(); /** * double zMagPeak = 46; */ double getZMagPeak(); /** * double zMagSum = 47; */ double getZMagSum(); /** * double xAccelMin = 48; */ double getXAccelMin(); /** * double xAccelPeakToPeak = 49; */ double getXAccelPeakToPeak(); /** * double xAccelRms = 50; */ double getXAccelRms(); /** * double xAccelSqSum = 51; */ double getXAccelSqSum(); /** * double yAccelMin = 52; */ double getYAccelMin(); /** * double yAccelPeakToPeak = 53; */ double getYAccelPeakToPeak(); /** * double yAccelRms = 54; */ double getYAccelRms(); /** * double yAccelSqSum = 55; */ double getYAccelSqSum(); /** * double zAccelMin = 56; */ double getZAccelMin(); /** * double zAccelPeakToPeak = 57; */ double getZAccelPeakToPeak(); /** * double zAccelRms = 58; */ double getZAccelRms(); /** * double zAccelSqSum = 59; */ double getZAccelSqSum(); /** * double xHsCount = 60; */ double getXHsCount(); /** * double xHsRmsAvg = 61; */ double getXHsRmsAvg(); /** * double xHsRmsSum = 62; */ double getXHsRmsSum(); /** * double xHsPeak = 63; */ double getXHsPeak(); /** * double xHsPeakToPeak = 64; */ double getXHsPeakToPeak(); /** * double yHsCount = 65; */ double getYHsCount(); /** * double yHsRmsAvg = 66; */ double getYHsRmsAvg(); /** * double yHsRmsSum = 67; */ double getYHsRmsSum(); /** * double yHsPeak = 68; */ double getYHsPeak(); /** * double yHsPeakToPeak = 69; */ double getYHsPeakToPeak(); /** * double zHsCount = 70; */ double getZHsCount(); /** * double zHsRmsAvg = 71; */ double getZHsRmsAvg(); /** * double zHsRmsSum = 72; */ double getZHsRmsSum(); /** * double zHsPeak = 73; */ double getZHsPeak(); /** * double zHsPeakToPeak = 74; */ double getZHsPeakToPeak(); } /** *
   * This also has a *models representation because we gen sdk from bluzone.
   * 
* * Protobuf type {@code BeaconHistoryMetricGroup} */ public static final class BeaconHistoryMetricGroup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:BeaconHistoryMetricGroup) BeaconHistoryMetricGroupOrBuilder { private static final long serialVersionUID = 0L; // Use BeaconHistoryMetricGroup.newBuilder() to construct. private BeaconHistoryMetricGroup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BeaconHistoryMetricGroup() { batteryAvg_ = 0D; batteryCount_ = 0D; batteryPeak_ = 0D; batterySum_ = 0D; iD_ = ""; key_ = 0L; keyAsString_ = ""; lumsAvg_ = 0D; lumsCount_ = 0D; lumsPeak_ = 0D; lumsSum_ = 0D; magStateAvg_ = 0D; magStateCount_ = 0D; magStatePeak_ = 0D; magstateSum_ = 0D; rssiAvg_ = 0D; rssiCount_ = 0D; rssiPeak_ = 0D; rssiSum_ = 0D; tempAvg_ = 0D; tempCount_ = 0D; tempPeak_ = 0D; tempSum_ = 0D; xAccelAvg_ = 0D; xAccelCount_ = 0D; xAccelPeak_ = 0D; xAccelSum_ = 0D; xMagAvg_ = 0D; xMagCount_ = 0D; xMagPeak_ = 0D; xMagSum_ = 0D; yAccelAvg_ = 0D; yAccelCount_ = 0D; yAccelPeak_ = 0D; yAccelSum_ = 0D; yMagAvg_ = 0D; yMagCount_ = 0D; yMagPeak_ = 0D; yMagSum_ = 0D; zAccelAvg_ = 0D; zAccelCount_ = 0D; zAccelPeak_ = 0D; zAccelSum_ = 0D; zMagAvg_ = 0D; zMagCount_ = 0D; zMagPeak_ = 0D; zMagSum_ = 0D; xAccelMin_ = 0D; xAccelPeakToPeak_ = 0D; xAccelRms_ = 0D; xAccelSqSum_ = 0D; yAccelMin_ = 0D; yAccelPeakToPeak_ = 0D; yAccelRms_ = 0D; yAccelSqSum_ = 0D; zAccelMin_ = 0D; zAccelPeakToPeak_ = 0D; zAccelRms_ = 0D; zAccelSqSum_ = 0D; xHsCount_ = 0D; xHsRmsAvg_ = 0D; xHsRmsSum_ = 0D; xHsPeak_ = 0D; xHsPeakToPeak_ = 0D; yHsCount_ = 0D; yHsRmsAvg_ = 0D; yHsRmsSum_ = 0D; yHsPeak_ = 0D; yHsPeakToPeak_ = 0D; zHsCount_ = 0D; zHsRmsAvg_ = 0D; zHsRmsSum_ = 0D; zHsPeak_ = 0D; zHsPeakToPeak_ = 0D; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BeaconHistoryMetricGroup( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; int mutable_bitField1_ = 0; int mutable_bitField2_ = 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: { batteryAvg_ = input.readDouble(); break; } case 17: { batteryCount_ = input.readDouble(); break; } case 25: { batteryPeak_ = input.readDouble(); break; } case 33: { batterySum_ = input.readDouble(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); iD_ = s; break; } case 48: { key_ = input.readInt64(); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); keyAsString_ = s; break; } case 65: { lumsAvg_ = input.readDouble(); break; } case 73: { lumsCount_ = input.readDouble(); break; } case 81: { lumsPeak_ = input.readDouble(); break; } case 89: { lumsSum_ = input.readDouble(); break; } case 97: { magStateAvg_ = input.readDouble(); break; } case 105: { magStateCount_ = input.readDouble(); break; } case 113: { magStatePeak_ = input.readDouble(); break; } case 121: { magstateSum_ = input.readDouble(); break; } case 129: { rssiAvg_ = input.readDouble(); break; } case 137: { rssiCount_ = input.readDouble(); break; } case 145: { rssiPeak_ = input.readDouble(); break; } case 153: { rssiSum_ = input.readDouble(); break; } case 161: { tempAvg_ = input.readDouble(); break; } case 169: { tempCount_ = input.readDouble(); break; } case 177: { tempPeak_ = input.readDouble(); break; } case 185: { tempSum_ = input.readDouble(); break; } case 193: { xAccelAvg_ = input.readDouble(); break; } case 201: { xAccelCount_ = input.readDouble(); break; } case 209: { xAccelPeak_ = input.readDouble(); break; } case 217: { xAccelSum_ = input.readDouble(); break; } case 225: { xMagAvg_ = input.readDouble(); break; } case 233: { xMagCount_ = input.readDouble(); break; } case 241: { xMagPeak_ = input.readDouble(); break; } case 249: { xMagSum_ = input.readDouble(); break; } case 257: { yAccelAvg_ = input.readDouble(); break; } case 265: { yAccelCount_ = input.readDouble(); break; } case 273: { yAccelPeak_ = input.readDouble(); break; } case 281: { yAccelSum_ = input.readDouble(); break; } case 289: { yMagAvg_ = input.readDouble(); break; } case 297: { yMagCount_ = input.readDouble(); break; } case 305: { yMagPeak_ = input.readDouble(); break; } case 313: { yMagSum_ = input.readDouble(); break; } case 321: { zAccelAvg_ = input.readDouble(); break; } case 329: { zAccelCount_ = input.readDouble(); break; } case 337: { zAccelPeak_ = input.readDouble(); break; } case 345: { zAccelSum_ = input.readDouble(); break; } case 353: { zMagAvg_ = input.readDouble(); break; } case 361: { zMagCount_ = input.readDouble(); break; } case 369: { zMagPeak_ = input.readDouble(); break; } case 377: { zMagSum_ = input.readDouble(); break; } case 385: { xAccelMin_ = input.readDouble(); break; } case 393: { xAccelPeakToPeak_ = input.readDouble(); break; } case 401: { xAccelRms_ = input.readDouble(); break; } case 409: { xAccelSqSum_ = input.readDouble(); break; } case 417: { yAccelMin_ = input.readDouble(); break; } case 425: { yAccelPeakToPeak_ = input.readDouble(); break; } case 433: { yAccelRms_ = input.readDouble(); break; } case 441: { yAccelSqSum_ = input.readDouble(); break; } case 449: { zAccelMin_ = input.readDouble(); break; } case 457: { zAccelPeakToPeak_ = input.readDouble(); break; } case 465: { zAccelRms_ = input.readDouble(); break; } case 473: { zAccelSqSum_ = input.readDouble(); break; } case 481: { xHsCount_ = input.readDouble(); break; } case 489: { xHsRmsAvg_ = input.readDouble(); break; } case 497: { xHsRmsSum_ = input.readDouble(); break; } case 505: { xHsPeak_ = input.readDouble(); break; } case 513: { xHsPeakToPeak_ = input.readDouble(); break; } case 521: { yHsCount_ = input.readDouble(); break; } case 529: { yHsRmsAvg_ = input.readDouble(); break; } case 537: { yHsRmsSum_ = input.readDouble(); break; } case 545: { yHsPeak_ = input.readDouble(); break; } case 553: { yHsPeakToPeak_ = input.readDouble(); break; } case 561: { zHsCount_ = input.readDouble(); break; } case 569: { zHsRmsAvg_ = input.readDouble(); break; } case 577: { zHsRmsSum_ = input.readDouble(); break; } case 585: { zHsPeak_ = input.readDouble(); break; } case 593: { zHsPeakToPeak_ = input.readDouble(); 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_BeaconHistoryMetricGroup_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder.class); } public static final int BATTERYAVG_FIELD_NUMBER = 1; private double batteryAvg_; /** * double batteryAvg = 1; */ public double getBatteryAvg() { return batteryAvg_; } public static final int BATTERYCOUNT_FIELD_NUMBER = 2; private double batteryCount_; /** * double batteryCount = 2; */ public double getBatteryCount() { return batteryCount_; } public static final int BATTERYPEAK_FIELD_NUMBER = 3; private double batteryPeak_; /** * double batteryPeak = 3; */ public double getBatteryPeak() { return batteryPeak_; } public static final int BATTERYSUM_FIELD_NUMBER = 4; private double batterySum_; /** * double batterySum = 4; */ public double getBatterySum() { return batterySum_; } public static final int ID_FIELD_NUMBER = 5; private volatile java.lang.Object iD_; /** * string ID = 5; */ public java.lang.String getID() { java.lang.Object ref = iD_; 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(); iD_ = s; return s; } } /** * string ID = 5; */ public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int KEY_FIELD_NUMBER = 6; private long key_; /** * int64 key = 6; */ public long getKey() { return key_; } public static final int KEYASSTRING_FIELD_NUMBER = 7; private volatile java.lang.Object keyAsString_; /** * string keyAsString = 7; */ public java.lang.String getKeyAsString() { java.lang.Object ref = keyAsString_; 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(); keyAsString_ = s; return s; } } /** * string keyAsString = 7; */ public com.google.protobuf.ByteString getKeyAsStringBytes() { java.lang.Object ref = keyAsString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LUMSAVG_FIELD_NUMBER = 8; private double lumsAvg_; /** * double lumsAvg = 8; */ public double getLumsAvg() { return lumsAvg_; } public static final int LUMSCOUNT_FIELD_NUMBER = 9; private double lumsCount_; /** * double lumsCount = 9; */ public double getLumsCount() { return lumsCount_; } public static final int LUMSPEAK_FIELD_NUMBER = 10; private double lumsPeak_; /** * double lumsPeak = 10; */ public double getLumsPeak() { return lumsPeak_; } public static final int LUMSSUM_FIELD_NUMBER = 11; private double lumsSum_; /** * double lumsSum = 11; */ public double getLumsSum() { return lumsSum_; } public static final int MAGSTATEAVG_FIELD_NUMBER = 12; private double magStateAvg_; /** * double magStateAvg = 12; */ public double getMagStateAvg() { return magStateAvg_; } public static final int MAGSTATECOUNT_FIELD_NUMBER = 13; private double magStateCount_; /** * double magStateCount = 13; */ public double getMagStateCount() { return magStateCount_; } public static final int MAGSTATEPEAK_FIELD_NUMBER = 14; private double magStatePeak_; /** * double magStatePeak = 14; */ public double getMagStatePeak() { return magStatePeak_; } public static final int MAGSTATESUM_FIELD_NUMBER = 15; private double magstateSum_; /** * double magstateSum = 15; */ public double getMagstateSum() { return magstateSum_; } public static final int RSSIAVG_FIELD_NUMBER = 16; private double rssiAvg_; /** * double rssiAvg = 16; */ public double getRssiAvg() { return rssiAvg_; } public static final int RSSICOUNT_FIELD_NUMBER = 17; private double rssiCount_; /** * double rssiCount = 17; */ public double getRssiCount() { return rssiCount_; } public static final int RSSIPEAK_FIELD_NUMBER = 18; private double rssiPeak_; /** * double rssiPeak = 18; */ public double getRssiPeak() { return rssiPeak_; } public static final int RSSISUM_FIELD_NUMBER = 19; private double rssiSum_; /** * double rssiSum = 19; */ public double getRssiSum() { return rssiSum_; } public static final int TEMPAVG_FIELD_NUMBER = 20; private double tempAvg_; /** * double tempAvg = 20; */ public double getTempAvg() { return tempAvg_; } public static final int TEMPCOUNT_FIELD_NUMBER = 21; private double tempCount_; /** * double tempCount = 21; */ public double getTempCount() { return tempCount_; } public static final int TEMPPEAK_FIELD_NUMBER = 22; private double tempPeak_; /** * double tempPeak = 22; */ public double getTempPeak() { return tempPeak_; } public static final int TEMPSUM_FIELD_NUMBER = 23; private double tempSum_; /** * double tempSum = 23; */ public double getTempSum() { return tempSum_; } public static final int XACCELAVG_FIELD_NUMBER = 24; private double xAccelAvg_; /** * double xAccelAvg = 24; */ public double getXAccelAvg() { return xAccelAvg_; } public static final int XACCELCOUNT_FIELD_NUMBER = 25; private double xAccelCount_; /** * double xAccelCount = 25; */ public double getXAccelCount() { return xAccelCount_; } public static final int XACCELPEAK_FIELD_NUMBER = 26; private double xAccelPeak_; /** * double xAccelPeak = 26; */ public double getXAccelPeak() { return xAccelPeak_; } public static final int XACCELSUM_FIELD_NUMBER = 27; private double xAccelSum_; /** * double xAccelSum = 27; */ public double getXAccelSum() { return xAccelSum_; } public static final int XMAGAVG_FIELD_NUMBER = 28; private double xMagAvg_; /** * double xMagAvg = 28; */ public double getXMagAvg() { return xMagAvg_; } public static final int XMAGCOUNT_FIELD_NUMBER = 29; private double xMagCount_; /** * double xMagCount = 29; */ public double getXMagCount() { return xMagCount_; } public static final int XMAGPEAK_FIELD_NUMBER = 30; private double xMagPeak_; /** * double xMagPeak = 30; */ public double getXMagPeak() { return xMagPeak_; } public static final int XMAGSUM_FIELD_NUMBER = 31; private double xMagSum_; /** * double xMagSum = 31; */ public double getXMagSum() { return xMagSum_; } public static final int YACCELAVG_FIELD_NUMBER = 32; private double yAccelAvg_; /** * double yAccelAvg = 32; */ public double getYAccelAvg() { return yAccelAvg_; } public static final int YACCELCOUNT_FIELD_NUMBER = 33; private double yAccelCount_; /** * double yAccelCount = 33; */ public double getYAccelCount() { return yAccelCount_; } public static final int YACCELPEAK_FIELD_NUMBER = 34; private double yAccelPeak_; /** * double yAccelPeak = 34; */ public double getYAccelPeak() { return yAccelPeak_; } public static final int YACCELSUM_FIELD_NUMBER = 35; private double yAccelSum_; /** * double yAccelSum = 35; */ public double getYAccelSum() { return yAccelSum_; } public static final int YMAGAVG_FIELD_NUMBER = 36; private double yMagAvg_; /** * double yMagAvg = 36; */ public double getYMagAvg() { return yMagAvg_; } public static final int YMAGCOUNT_FIELD_NUMBER = 37; private double yMagCount_; /** * double yMagCount = 37; */ public double getYMagCount() { return yMagCount_; } public static final int YMAGPEAK_FIELD_NUMBER = 38; private double yMagPeak_; /** * double yMagPeak = 38; */ public double getYMagPeak() { return yMagPeak_; } public static final int YMAGSUM_FIELD_NUMBER = 39; private double yMagSum_; /** * double yMagSum = 39; */ public double getYMagSum() { return yMagSum_; } public static final int ZACCELAVG_FIELD_NUMBER = 40; private double zAccelAvg_; /** * double zAccelAvg = 40; */ public double getZAccelAvg() { return zAccelAvg_; } public static final int ZACCELCOUNT_FIELD_NUMBER = 41; private double zAccelCount_; /** * double zAccelCount = 41; */ public double getZAccelCount() { return zAccelCount_; } public static final int ZACCELPEAK_FIELD_NUMBER = 42; private double zAccelPeak_; /** * double zAccelPeak = 42; */ public double getZAccelPeak() { return zAccelPeak_; } public static final int ZACCELSUM_FIELD_NUMBER = 43; private double zAccelSum_; /** * double zAccelSum = 43; */ public double getZAccelSum() { return zAccelSum_; } public static final int ZMAGAVG_FIELD_NUMBER = 44; private double zMagAvg_; /** * double zMagAvg = 44; */ public double getZMagAvg() { return zMagAvg_; } public static final int ZMAGCOUNT_FIELD_NUMBER = 45; private double zMagCount_; /** * double zMagCount = 45; */ public double getZMagCount() { return zMagCount_; } public static final int ZMAGPEAK_FIELD_NUMBER = 46; private double zMagPeak_; /** * double zMagPeak = 46; */ public double getZMagPeak() { return zMagPeak_; } public static final int ZMAGSUM_FIELD_NUMBER = 47; private double zMagSum_; /** * double zMagSum = 47; */ public double getZMagSum() { return zMagSum_; } public static final int XACCELMIN_FIELD_NUMBER = 48; private double xAccelMin_; /** * double xAccelMin = 48; */ public double getXAccelMin() { return xAccelMin_; } public static final int XACCELPEAKTOPEAK_FIELD_NUMBER = 49; private double xAccelPeakToPeak_; /** * double xAccelPeakToPeak = 49; */ public double getXAccelPeakToPeak() { return xAccelPeakToPeak_; } public static final int XACCELRMS_FIELD_NUMBER = 50; private double xAccelRms_; /** * double xAccelRms = 50; */ public double getXAccelRms() { return xAccelRms_; } public static final int XACCELSQSUM_FIELD_NUMBER = 51; private double xAccelSqSum_; /** * double xAccelSqSum = 51; */ public double getXAccelSqSum() { return xAccelSqSum_; } public static final int YACCELMIN_FIELD_NUMBER = 52; private double yAccelMin_; /** * double yAccelMin = 52; */ public double getYAccelMin() { return yAccelMin_; } public static final int YACCELPEAKTOPEAK_FIELD_NUMBER = 53; private double yAccelPeakToPeak_; /** * double yAccelPeakToPeak = 53; */ public double getYAccelPeakToPeak() { return yAccelPeakToPeak_; } public static final int YACCELRMS_FIELD_NUMBER = 54; private double yAccelRms_; /** * double yAccelRms = 54; */ public double getYAccelRms() { return yAccelRms_; } public static final int YACCELSQSUM_FIELD_NUMBER = 55; private double yAccelSqSum_; /** * double yAccelSqSum = 55; */ public double getYAccelSqSum() { return yAccelSqSum_; } public static final int ZACCELMIN_FIELD_NUMBER = 56; private double zAccelMin_; /** * double zAccelMin = 56; */ public double getZAccelMin() { return zAccelMin_; } public static final int ZACCELPEAKTOPEAK_FIELD_NUMBER = 57; private double zAccelPeakToPeak_; /** * double zAccelPeakToPeak = 57; */ public double getZAccelPeakToPeak() { return zAccelPeakToPeak_; } public static final int ZACCELRMS_FIELD_NUMBER = 58; private double zAccelRms_; /** * double zAccelRms = 58; */ public double getZAccelRms() { return zAccelRms_; } public static final int ZACCELSQSUM_FIELD_NUMBER = 59; private double zAccelSqSum_; /** * double zAccelSqSum = 59; */ public double getZAccelSqSum() { return zAccelSqSum_; } public static final int XHSCOUNT_FIELD_NUMBER = 60; private double xHsCount_; /** * double xHsCount = 60; */ public double getXHsCount() { return xHsCount_; } public static final int XHSRMSAVG_FIELD_NUMBER = 61; private double xHsRmsAvg_; /** * double xHsRmsAvg = 61; */ public double getXHsRmsAvg() { return xHsRmsAvg_; } public static final int XHSRMSSUM_FIELD_NUMBER = 62; private double xHsRmsSum_; /** * double xHsRmsSum = 62; */ public double getXHsRmsSum() { return xHsRmsSum_; } public static final int XHSPEAK_FIELD_NUMBER = 63; private double xHsPeak_; /** * double xHsPeak = 63; */ public double getXHsPeak() { return xHsPeak_; } public static final int XHSPEAKTOPEAK_FIELD_NUMBER = 64; private double xHsPeakToPeak_; /** * double xHsPeakToPeak = 64; */ public double getXHsPeakToPeak() { return xHsPeakToPeak_; } public static final int YHSCOUNT_FIELD_NUMBER = 65; private double yHsCount_; /** * double yHsCount = 65; */ public double getYHsCount() { return yHsCount_; } public static final int YHSRMSAVG_FIELD_NUMBER = 66; private double yHsRmsAvg_; /** * double yHsRmsAvg = 66; */ public double getYHsRmsAvg() { return yHsRmsAvg_; } public static final int YHSRMSSUM_FIELD_NUMBER = 67; private double yHsRmsSum_; /** * double yHsRmsSum = 67; */ public double getYHsRmsSum() { return yHsRmsSum_; } public static final int YHSPEAK_FIELD_NUMBER = 68; private double yHsPeak_; /** * double yHsPeak = 68; */ public double getYHsPeak() { return yHsPeak_; } public static final int YHSPEAKTOPEAK_FIELD_NUMBER = 69; private double yHsPeakToPeak_; /** * double yHsPeakToPeak = 69; */ public double getYHsPeakToPeak() { return yHsPeakToPeak_; } public static final int ZHSCOUNT_FIELD_NUMBER = 70; private double zHsCount_; /** * double zHsCount = 70; */ public double getZHsCount() { return zHsCount_; } public static final int ZHSRMSAVG_FIELD_NUMBER = 71; private double zHsRmsAvg_; /** * double zHsRmsAvg = 71; */ public double getZHsRmsAvg() { return zHsRmsAvg_; } public static final int ZHSRMSSUM_FIELD_NUMBER = 72; private double zHsRmsSum_; /** * double zHsRmsSum = 72; */ public double getZHsRmsSum() { return zHsRmsSum_; } public static final int ZHSPEAK_FIELD_NUMBER = 73; private double zHsPeak_; /** * double zHsPeak = 73; */ public double getZHsPeak() { return zHsPeak_; } public static final int ZHSPEAKTOPEAK_FIELD_NUMBER = 74; private double zHsPeakToPeak_; /** * double zHsPeakToPeak = 74; */ public double getZHsPeakToPeak() { return zHsPeakToPeak_; } 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 (batteryAvg_ != 0D) { output.writeDouble(1, batteryAvg_); } if (batteryCount_ != 0D) { output.writeDouble(2, batteryCount_); } if (batteryPeak_ != 0D) { output.writeDouble(3, batteryPeak_); } if (batterySum_ != 0D) { output.writeDouble(4, batterySum_); } if (!getIDBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, iD_); } if (key_ != 0L) { output.writeInt64(6, key_); } if (!getKeyAsStringBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, keyAsString_); } if (lumsAvg_ != 0D) { output.writeDouble(8, lumsAvg_); } if (lumsCount_ != 0D) { output.writeDouble(9, lumsCount_); } if (lumsPeak_ != 0D) { output.writeDouble(10, lumsPeak_); } if (lumsSum_ != 0D) { output.writeDouble(11, lumsSum_); } if (magStateAvg_ != 0D) { output.writeDouble(12, magStateAvg_); } if (magStateCount_ != 0D) { output.writeDouble(13, magStateCount_); } if (magStatePeak_ != 0D) { output.writeDouble(14, magStatePeak_); } if (magstateSum_ != 0D) { output.writeDouble(15, magstateSum_); } if (rssiAvg_ != 0D) { output.writeDouble(16, rssiAvg_); } if (rssiCount_ != 0D) { output.writeDouble(17, rssiCount_); } if (rssiPeak_ != 0D) { output.writeDouble(18, rssiPeak_); } if (rssiSum_ != 0D) { output.writeDouble(19, rssiSum_); } if (tempAvg_ != 0D) { output.writeDouble(20, tempAvg_); } if (tempCount_ != 0D) { output.writeDouble(21, tempCount_); } if (tempPeak_ != 0D) { output.writeDouble(22, tempPeak_); } if (tempSum_ != 0D) { output.writeDouble(23, tempSum_); } if (xAccelAvg_ != 0D) { output.writeDouble(24, xAccelAvg_); } if (xAccelCount_ != 0D) { output.writeDouble(25, xAccelCount_); } if (xAccelPeak_ != 0D) { output.writeDouble(26, xAccelPeak_); } if (xAccelSum_ != 0D) { output.writeDouble(27, xAccelSum_); } if (xMagAvg_ != 0D) { output.writeDouble(28, xMagAvg_); } if (xMagCount_ != 0D) { output.writeDouble(29, xMagCount_); } if (xMagPeak_ != 0D) { output.writeDouble(30, xMagPeak_); } if (xMagSum_ != 0D) { output.writeDouble(31, xMagSum_); } if (yAccelAvg_ != 0D) { output.writeDouble(32, yAccelAvg_); } if (yAccelCount_ != 0D) { output.writeDouble(33, yAccelCount_); } if (yAccelPeak_ != 0D) { output.writeDouble(34, yAccelPeak_); } if (yAccelSum_ != 0D) { output.writeDouble(35, yAccelSum_); } if (yMagAvg_ != 0D) { output.writeDouble(36, yMagAvg_); } if (yMagCount_ != 0D) { output.writeDouble(37, yMagCount_); } if (yMagPeak_ != 0D) { output.writeDouble(38, yMagPeak_); } if (yMagSum_ != 0D) { output.writeDouble(39, yMagSum_); } if (zAccelAvg_ != 0D) { output.writeDouble(40, zAccelAvg_); } if (zAccelCount_ != 0D) { output.writeDouble(41, zAccelCount_); } if (zAccelPeak_ != 0D) { output.writeDouble(42, zAccelPeak_); } if (zAccelSum_ != 0D) { output.writeDouble(43, zAccelSum_); } if (zMagAvg_ != 0D) { output.writeDouble(44, zMagAvg_); } if (zMagCount_ != 0D) { output.writeDouble(45, zMagCount_); } if (zMagPeak_ != 0D) { output.writeDouble(46, zMagPeak_); } if (zMagSum_ != 0D) { output.writeDouble(47, zMagSum_); } if (xAccelMin_ != 0D) { output.writeDouble(48, xAccelMin_); } if (xAccelPeakToPeak_ != 0D) { output.writeDouble(49, xAccelPeakToPeak_); } if (xAccelRms_ != 0D) { output.writeDouble(50, xAccelRms_); } if (xAccelSqSum_ != 0D) { output.writeDouble(51, xAccelSqSum_); } if (yAccelMin_ != 0D) { output.writeDouble(52, yAccelMin_); } if (yAccelPeakToPeak_ != 0D) { output.writeDouble(53, yAccelPeakToPeak_); } if (yAccelRms_ != 0D) { output.writeDouble(54, yAccelRms_); } if (yAccelSqSum_ != 0D) { output.writeDouble(55, yAccelSqSum_); } if (zAccelMin_ != 0D) { output.writeDouble(56, zAccelMin_); } if (zAccelPeakToPeak_ != 0D) { output.writeDouble(57, zAccelPeakToPeak_); } if (zAccelRms_ != 0D) { output.writeDouble(58, zAccelRms_); } if (zAccelSqSum_ != 0D) { output.writeDouble(59, zAccelSqSum_); } if (xHsCount_ != 0D) { output.writeDouble(60, xHsCount_); } if (xHsRmsAvg_ != 0D) { output.writeDouble(61, xHsRmsAvg_); } if (xHsRmsSum_ != 0D) { output.writeDouble(62, xHsRmsSum_); } if (xHsPeak_ != 0D) { output.writeDouble(63, xHsPeak_); } if (xHsPeakToPeak_ != 0D) { output.writeDouble(64, xHsPeakToPeak_); } if (yHsCount_ != 0D) { output.writeDouble(65, yHsCount_); } if (yHsRmsAvg_ != 0D) { output.writeDouble(66, yHsRmsAvg_); } if (yHsRmsSum_ != 0D) { output.writeDouble(67, yHsRmsSum_); } if (yHsPeak_ != 0D) { output.writeDouble(68, yHsPeak_); } if (yHsPeakToPeak_ != 0D) { output.writeDouble(69, yHsPeakToPeak_); } if (zHsCount_ != 0D) { output.writeDouble(70, zHsCount_); } if (zHsRmsAvg_ != 0D) { output.writeDouble(71, zHsRmsAvg_); } if (zHsRmsSum_ != 0D) { output.writeDouble(72, zHsRmsSum_); } if (zHsPeak_ != 0D) { output.writeDouble(73, zHsPeak_); } if (zHsPeakToPeak_ != 0D) { output.writeDouble(74, zHsPeakToPeak_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (batteryAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, batteryAvg_); } if (batteryCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(2, batteryCount_); } if (batteryPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, batteryPeak_); } if (batterySum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(4, batterySum_); } if (!getIDBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, iD_); } if (key_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, key_); } if (!getKeyAsStringBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, keyAsString_); } if (lumsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(8, lumsAvg_); } if (lumsCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(9, lumsCount_); } if (lumsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(10, lumsPeak_); } if (lumsSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(11, lumsSum_); } if (magStateAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(12, magStateAvg_); } if (magStateCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(13, magStateCount_); } if (magStatePeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(14, magStatePeak_); } if (magstateSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(15, magstateSum_); } if (rssiAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(16, rssiAvg_); } if (rssiCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(17, rssiCount_); } if (rssiPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(18, rssiPeak_); } if (rssiSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(19, rssiSum_); } if (tempAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(20, tempAvg_); } if (tempCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(21, tempCount_); } if (tempPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(22, tempPeak_); } if (tempSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(23, tempSum_); } if (xAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(24, xAccelAvg_); } if (xAccelCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(25, xAccelCount_); } if (xAccelPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(26, xAccelPeak_); } if (xAccelSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(27, xAccelSum_); } if (xMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(28, xMagAvg_); } if (xMagCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(29, xMagCount_); } if (xMagPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(30, xMagPeak_); } if (xMagSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(31, xMagSum_); } if (yAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(32, yAccelAvg_); } if (yAccelCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(33, yAccelCount_); } if (yAccelPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(34, yAccelPeak_); } if (yAccelSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(35, yAccelSum_); } if (yMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(36, yMagAvg_); } if (yMagCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(37, yMagCount_); } if (yMagPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(38, yMagPeak_); } if (yMagSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(39, yMagSum_); } if (zAccelAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(40, zAccelAvg_); } if (zAccelCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(41, zAccelCount_); } if (zAccelPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(42, zAccelPeak_); } if (zAccelSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(43, zAccelSum_); } if (zMagAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(44, zMagAvg_); } if (zMagCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(45, zMagCount_); } if (zMagPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(46, zMagPeak_); } if (zMagSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(47, zMagSum_); } if (xAccelMin_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(48, xAccelMin_); } if (xAccelPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(49, xAccelPeakToPeak_); } if (xAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(50, xAccelRms_); } if (xAccelSqSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(51, xAccelSqSum_); } if (yAccelMin_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(52, yAccelMin_); } if (yAccelPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(53, yAccelPeakToPeak_); } if (yAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(54, yAccelRms_); } if (yAccelSqSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(55, yAccelSqSum_); } if (zAccelMin_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(56, zAccelMin_); } if (zAccelPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(57, zAccelPeakToPeak_); } if (zAccelRms_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(58, zAccelRms_); } if (zAccelSqSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(59, zAccelSqSum_); } if (xHsCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(60, xHsCount_); } if (xHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(61, xHsRmsAvg_); } if (xHsRmsSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(62, xHsRmsSum_); } if (xHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(63, xHsPeak_); } if (xHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(64, xHsPeakToPeak_); } if (yHsCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(65, yHsCount_); } if (yHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(66, yHsRmsAvg_); } if (yHsRmsSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(67, yHsRmsSum_); } if (yHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(68, yHsPeak_); } if (yHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(69, yHsPeakToPeak_); } if (zHsCount_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(70, zHsCount_); } if (zHsRmsAvg_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(71, zHsRmsAvg_); } if (zHsRmsSum_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(72, zHsRmsSum_); } if (zHsPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(73, zHsPeak_); } if (zHsPeakToPeak_ != 0D) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(74, zHsPeakToPeak_); } 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.BeaconHistoryMetricGroup)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup other = (com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup) obj; boolean result = true; result = result && ( java.lang.Double.doubleToLongBits(getBatteryAvg()) == java.lang.Double.doubleToLongBits( other.getBatteryAvg())); result = result && ( java.lang.Double.doubleToLongBits(getBatteryCount()) == java.lang.Double.doubleToLongBits( other.getBatteryCount())); result = result && ( java.lang.Double.doubleToLongBits(getBatteryPeak()) == java.lang.Double.doubleToLongBits( other.getBatteryPeak())); result = result && ( java.lang.Double.doubleToLongBits(getBatterySum()) == java.lang.Double.doubleToLongBits( other.getBatterySum())); result = result && getID() .equals(other.getID()); result = result && (getKey() == other.getKey()); result = result && getKeyAsString() .equals(other.getKeyAsString()); result = result && ( java.lang.Double.doubleToLongBits(getLumsAvg()) == java.lang.Double.doubleToLongBits( other.getLumsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getLumsCount()) == java.lang.Double.doubleToLongBits( other.getLumsCount())); result = result && ( java.lang.Double.doubleToLongBits(getLumsPeak()) == java.lang.Double.doubleToLongBits( other.getLumsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getLumsSum()) == java.lang.Double.doubleToLongBits( other.getLumsSum())); result = result && ( java.lang.Double.doubleToLongBits(getMagStateAvg()) == java.lang.Double.doubleToLongBits( other.getMagStateAvg())); result = result && ( java.lang.Double.doubleToLongBits(getMagStateCount()) == java.lang.Double.doubleToLongBits( other.getMagStateCount())); result = result && ( java.lang.Double.doubleToLongBits(getMagStatePeak()) == java.lang.Double.doubleToLongBits( other.getMagStatePeak())); result = result && ( java.lang.Double.doubleToLongBits(getMagstateSum()) == java.lang.Double.doubleToLongBits( other.getMagstateSum())); result = result && ( java.lang.Double.doubleToLongBits(getRssiAvg()) == java.lang.Double.doubleToLongBits( other.getRssiAvg())); result = result && ( java.lang.Double.doubleToLongBits(getRssiCount()) == java.lang.Double.doubleToLongBits( other.getRssiCount())); result = result && ( java.lang.Double.doubleToLongBits(getRssiPeak()) == java.lang.Double.doubleToLongBits( other.getRssiPeak())); result = result && ( java.lang.Double.doubleToLongBits(getRssiSum()) == java.lang.Double.doubleToLongBits( other.getRssiSum())); result = result && ( java.lang.Double.doubleToLongBits(getTempAvg()) == java.lang.Double.doubleToLongBits( other.getTempAvg())); result = result && ( java.lang.Double.doubleToLongBits(getTempCount()) == java.lang.Double.doubleToLongBits( other.getTempCount())); result = result && ( java.lang.Double.doubleToLongBits(getTempPeak()) == java.lang.Double.doubleToLongBits( other.getTempPeak())); result = result && ( java.lang.Double.doubleToLongBits(getTempSum()) == java.lang.Double.doubleToLongBits( other.getTempSum())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelAvg()) == java.lang.Double.doubleToLongBits( other.getXAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelCount()) == java.lang.Double.doubleToLongBits( other.getXAccelCount())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelPeak()) == java.lang.Double.doubleToLongBits( other.getXAccelPeak())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelSum()) == java.lang.Double.doubleToLongBits( other.getXAccelSum())); result = result && ( java.lang.Double.doubleToLongBits(getXMagAvg()) == java.lang.Double.doubleToLongBits( other.getXMagAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXMagCount()) == java.lang.Double.doubleToLongBits( other.getXMagCount())); result = result && ( java.lang.Double.doubleToLongBits(getXMagPeak()) == java.lang.Double.doubleToLongBits( other.getXMagPeak())); result = result && ( java.lang.Double.doubleToLongBits(getXMagSum()) == java.lang.Double.doubleToLongBits( other.getXMagSum())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelAvg()) == java.lang.Double.doubleToLongBits( other.getYAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelCount()) == java.lang.Double.doubleToLongBits( other.getYAccelCount())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelPeak()) == java.lang.Double.doubleToLongBits( other.getYAccelPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelSum()) == java.lang.Double.doubleToLongBits( other.getYAccelSum())); result = result && ( java.lang.Double.doubleToLongBits(getYMagAvg()) == java.lang.Double.doubleToLongBits( other.getYMagAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYMagCount()) == java.lang.Double.doubleToLongBits( other.getYMagCount())); result = result && ( java.lang.Double.doubleToLongBits(getYMagPeak()) == java.lang.Double.doubleToLongBits( other.getYMagPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYMagSum()) == java.lang.Double.doubleToLongBits( other.getYMagSum())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelAvg()) == java.lang.Double.doubleToLongBits( other.getZAccelAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelCount()) == java.lang.Double.doubleToLongBits( other.getZAccelCount())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelPeak()) == java.lang.Double.doubleToLongBits( other.getZAccelPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelSum()) == java.lang.Double.doubleToLongBits( other.getZAccelSum())); result = result && ( java.lang.Double.doubleToLongBits(getZMagAvg()) == java.lang.Double.doubleToLongBits( other.getZMagAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZMagCount()) == java.lang.Double.doubleToLongBits( other.getZMagCount())); result = result && ( java.lang.Double.doubleToLongBits(getZMagPeak()) == java.lang.Double.doubleToLongBits( other.getZMagPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZMagSum()) == java.lang.Double.doubleToLongBits( other.getZMagSum())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelMin()) == java.lang.Double.doubleToLongBits( other.getXAccelMin())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getXAccelPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelRms()) == java.lang.Double.doubleToLongBits( other.getXAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getXAccelSqSum()) == java.lang.Double.doubleToLongBits( other.getXAccelSqSum())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelMin()) == java.lang.Double.doubleToLongBits( other.getYAccelMin())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getYAccelPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelRms()) == java.lang.Double.doubleToLongBits( other.getYAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getYAccelSqSum()) == java.lang.Double.doubleToLongBits( other.getYAccelSqSum())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelMin()) == java.lang.Double.doubleToLongBits( other.getZAccelMin())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getZAccelPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelRms()) == java.lang.Double.doubleToLongBits( other.getZAccelRms())); result = result && ( java.lang.Double.doubleToLongBits(getZAccelSqSum()) == java.lang.Double.doubleToLongBits( other.getZAccelSqSum())); result = result && ( java.lang.Double.doubleToLongBits(getXHsCount()) == java.lang.Double.doubleToLongBits( other.getXHsCount())); result = result && ( java.lang.Double.doubleToLongBits(getXHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getXHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getXHsRmsSum()) == java.lang.Double.doubleToLongBits( other.getXHsRmsSum())); result = result && ( java.lang.Double.doubleToLongBits(getXHsPeak()) == java.lang.Double.doubleToLongBits( other.getXHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getXHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getXHsPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYHsCount()) == java.lang.Double.doubleToLongBits( other.getYHsCount())); result = result && ( java.lang.Double.doubleToLongBits(getYHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getYHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getYHsRmsSum()) == java.lang.Double.doubleToLongBits( other.getYHsRmsSum())); result = result && ( java.lang.Double.doubleToLongBits(getYHsPeak()) == java.lang.Double.doubleToLongBits( other.getYHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getYHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getYHsPeakToPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZHsCount()) == java.lang.Double.doubleToLongBits( other.getZHsCount())); result = result && ( java.lang.Double.doubleToLongBits(getZHsRmsAvg()) == java.lang.Double.doubleToLongBits( other.getZHsRmsAvg())); result = result && ( java.lang.Double.doubleToLongBits(getZHsRmsSum()) == java.lang.Double.doubleToLongBits( other.getZHsRmsSum())); result = result && ( java.lang.Double.doubleToLongBits(getZHsPeak()) == java.lang.Double.doubleToLongBits( other.getZHsPeak())); result = result && ( java.lang.Double.doubleToLongBits(getZHsPeakToPeak()) == java.lang.Double.doubleToLongBits( other.getZHsPeakToPeak())); 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) + BATTERYAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryAvg())); hash = (37 * hash) + BATTERYCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryCount())); hash = (37 * hash) + BATTERYPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatteryPeak())); hash = (37 * hash) + BATTERYSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getBatterySum())); hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getID().hashCode(); hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getKey()); hash = (37 * hash) + KEYASSTRING_FIELD_NUMBER; hash = (53 * hash) + getKeyAsString().hashCode(); hash = (37 * hash) + LUMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsAvg())); hash = (37 * hash) + LUMSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsCount())); hash = (37 * hash) + LUMSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsPeak())); hash = (37 * hash) + LUMSSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getLumsSum())); hash = (37 * hash) + MAGSTATEAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStateAvg())); hash = (37 * hash) + MAGSTATECOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStateCount())); hash = (37 * hash) + MAGSTATEPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagStatePeak())); hash = (37 * hash) + MAGSTATESUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMagstateSum())); hash = (37 * hash) + RSSIAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiAvg())); hash = (37 * hash) + RSSICOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiCount())); hash = (37 * hash) + RSSIPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiPeak())); hash = (37 * hash) + RSSISUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getRssiSum())); hash = (37 * hash) + TEMPAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTempAvg())); hash = (37 * hash) + TEMPCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTempCount())); hash = (37 * hash) + TEMPPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTempPeak())); hash = (37 * hash) + TEMPSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTempSum())); hash = (37 * hash) + XACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelAvg())); hash = (37 * hash) + XACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelCount())); hash = (37 * hash) + XACCELPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelPeak())); hash = (37 * hash) + XACCELSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelSum())); hash = (37 * hash) + XMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagAvg())); hash = (37 * hash) + XMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagCount())); hash = (37 * hash) + XMAGPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagPeak())); hash = (37 * hash) + XMAGSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXMagSum())); hash = (37 * hash) + YACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelAvg())); hash = (37 * hash) + YACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelCount())); hash = (37 * hash) + YACCELPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelPeak())); hash = (37 * hash) + YACCELSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelSum())); hash = (37 * hash) + YMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagAvg())); hash = (37 * hash) + YMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagCount())); hash = (37 * hash) + YMAGPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagPeak())); hash = (37 * hash) + YMAGSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYMagSum())); hash = (37 * hash) + ZACCELAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelAvg())); hash = (37 * hash) + ZACCELCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelCount())); hash = (37 * hash) + ZACCELPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelPeak())); hash = (37 * hash) + ZACCELSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelSum())); hash = (37 * hash) + ZMAGAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagAvg())); hash = (37 * hash) + ZMAGCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagCount())); hash = (37 * hash) + ZMAGPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagPeak())); hash = (37 * hash) + ZMAGSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZMagSum())); hash = (37 * hash) + XACCELMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelMin())); hash = (37 * hash) + XACCELPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelPeakToPeak())); hash = (37 * hash) + XACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelRms())); hash = (37 * hash) + XACCELSQSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXAccelSqSum())); hash = (37 * hash) + YACCELMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelMin())); hash = (37 * hash) + YACCELPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelPeakToPeak())); hash = (37 * hash) + YACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelRms())); hash = (37 * hash) + YACCELSQSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYAccelSqSum())); hash = (37 * hash) + ZACCELMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelMin())); hash = (37 * hash) + ZACCELPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelPeakToPeak())); hash = (37 * hash) + ZACCELRMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelRms())); hash = (37 * hash) + ZACCELSQSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZAccelSqSum())); hash = (37 * hash) + XHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsCount())); hash = (37 * hash) + XHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsRmsAvg())); hash = (37 * hash) + XHSRMSSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsRmsSum())); hash = (37 * hash) + XHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsPeak())); hash = (37 * hash) + XHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getXHsPeakToPeak())); hash = (37 * hash) + YHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsCount())); hash = (37 * hash) + YHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsRmsAvg())); hash = (37 * hash) + YHSRMSSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsRmsSum())); hash = (37 * hash) + YHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsPeak())); hash = (37 * hash) + YHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getYHsPeakToPeak())); hash = (37 * hash) + ZHSCOUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsCount())); hash = (37 * hash) + ZHSRMSAVG_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsRmsAvg())); hash = (37 * hash) + ZHSRMSSUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsRmsSum())); hash = (37 * hash) + ZHSPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsPeak())); hash = (37 * hash) + ZHSPEAKTOPEAK_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getZHsPeakToPeak())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup 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.BeaconHistoryMetricGroup 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; } /** *
     * This also has a *models representation because we gen sdk from bluzone.
     * 
* * Protobuf type {@code BeaconHistoryMetricGroup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:BeaconHistoryMetricGroup) com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricGroup_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricGroup_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.class, com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.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(); batteryAvg_ = 0D; batteryCount_ = 0D; batteryPeak_ = 0D; batterySum_ = 0D; iD_ = ""; key_ = 0L; keyAsString_ = ""; lumsAvg_ = 0D; lumsCount_ = 0D; lumsPeak_ = 0D; lumsSum_ = 0D; magStateAvg_ = 0D; magStateCount_ = 0D; magStatePeak_ = 0D; magstateSum_ = 0D; rssiAvg_ = 0D; rssiCount_ = 0D; rssiPeak_ = 0D; rssiSum_ = 0D; tempAvg_ = 0D; tempCount_ = 0D; tempPeak_ = 0D; tempSum_ = 0D; xAccelAvg_ = 0D; xAccelCount_ = 0D; xAccelPeak_ = 0D; xAccelSum_ = 0D; xMagAvg_ = 0D; xMagCount_ = 0D; xMagPeak_ = 0D; xMagSum_ = 0D; yAccelAvg_ = 0D; yAccelCount_ = 0D; yAccelPeak_ = 0D; yAccelSum_ = 0D; yMagAvg_ = 0D; yMagCount_ = 0D; yMagPeak_ = 0D; yMagSum_ = 0D; zAccelAvg_ = 0D; zAccelCount_ = 0D; zAccelPeak_ = 0D; zAccelSum_ = 0D; zMagAvg_ = 0D; zMagCount_ = 0D; zMagPeak_ = 0D; zMagSum_ = 0D; xAccelMin_ = 0D; xAccelPeakToPeak_ = 0D; xAccelRms_ = 0D; xAccelSqSum_ = 0D; yAccelMin_ = 0D; yAccelPeakToPeak_ = 0D; yAccelRms_ = 0D; yAccelSqSum_ = 0D; zAccelMin_ = 0D; zAccelPeakToPeak_ = 0D; zAccelRms_ = 0D; zAccelSqSum_ = 0D; xHsCount_ = 0D; xHsRmsAvg_ = 0D; xHsRmsSum_ = 0D; xHsPeak_ = 0D; xHsPeakToPeak_ = 0D; yHsCount_ = 0D; yHsRmsAvg_ = 0D; yHsRmsSum_ = 0D; yHsPeak_ = 0D; yHsPeakToPeak_ = 0D; zHsCount_ = 0D; zHsRmsAvg_ = 0D; zHsRmsSum_ = 0D; zHsPeak_ = 0D; zHsPeakToPeak_ = 0D; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_BeaconHistoryMetricGroup_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup build() { com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup result = new com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup(this); result.batteryAvg_ = batteryAvg_; result.batteryCount_ = batteryCount_; result.batteryPeak_ = batteryPeak_; result.batterySum_ = batterySum_; result.iD_ = iD_; result.key_ = key_; result.keyAsString_ = keyAsString_; result.lumsAvg_ = lumsAvg_; result.lumsCount_ = lumsCount_; result.lumsPeak_ = lumsPeak_; result.lumsSum_ = lumsSum_; result.magStateAvg_ = magStateAvg_; result.magStateCount_ = magStateCount_; result.magStatePeak_ = magStatePeak_; result.magstateSum_ = magstateSum_; result.rssiAvg_ = rssiAvg_; result.rssiCount_ = rssiCount_; result.rssiPeak_ = rssiPeak_; result.rssiSum_ = rssiSum_; result.tempAvg_ = tempAvg_; result.tempCount_ = tempCount_; result.tempPeak_ = tempPeak_; result.tempSum_ = tempSum_; result.xAccelAvg_ = xAccelAvg_; result.xAccelCount_ = xAccelCount_; result.xAccelPeak_ = xAccelPeak_; result.xAccelSum_ = xAccelSum_; result.xMagAvg_ = xMagAvg_; result.xMagCount_ = xMagCount_; result.xMagPeak_ = xMagPeak_; result.xMagSum_ = xMagSum_; result.yAccelAvg_ = yAccelAvg_; result.yAccelCount_ = yAccelCount_; result.yAccelPeak_ = yAccelPeak_; result.yAccelSum_ = yAccelSum_; result.yMagAvg_ = yMagAvg_; result.yMagCount_ = yMagCount_; result.yMagPeak_ = yMagPeak_; result.yMagSum_ = yMagSum_; result.zAccelAvg_ = zAccelAvg_; result.zAccelCount_ = zAccelCount_; result.zAccelPeak_ = zAccelPeak_; result.zAccelSum_ = zAccelSum_; result.zMagAvg_ = zMagAvg_; result.zMagCount_ = zMagCount_; result.zMagPeak_ = zMagPeak_; result.zMagSum_ = zMagSum_; result.xAccelMin_ = xAccelMin_; result.xAccelPeakToPeak_ = xAccelPeakToPeak_; result.xAccelRms_ = xAccelRms_; result.xAccelSqSum_ = xAccelSqSum_; result.yAccelMin_ = yAccelMin_; result.yAccelPeakToPeak_ = yAccelPeakToPeak_; result.yAccelRms_ = yAccelRms_; result.yAccelSqSum_ = yAccelSqSum_; result.zAccelMin_ = zAccelMin_; result.zAccelPeakToPeak_ = zAccelPeakToPeak_; result.zAccelRms_ = zAccelRms_; result.zAccelSqSum_ = zAccelSqSum_; result.xHsCount_ = xHsCount_; result.xHsRmsAvg_ = xHsRmsAvg_; result.xHsRmsSum_ = xHsRmsSum_; result.xHsPeak_ = xHsPeak_; result.xHsPeakToPeak_ = xHsPeakToPeak_; result.yHsCount_ = yHsCount_; result.yHsRmsAvg_ = yHsRmsAvg_; result.yHsRmsSum_ = yHsRmsSum_; result.yHsPeak_ = yHsPeak_; result.yHsPeakToPeak_ = yHsPeakToPeak_; result.zHsCount_ = zHsCount_; result.zHsRmsAvg_ = zHsRmsAvg_; result.zHsRmsSum_ = zHsRmsSum_; result.zHsPeak_ = zHsPeak_; result.zHsPeakToPeak_ = zHsPeakToPeak_; 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.BeaconHistoryMetricGroup) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup.getDefaultInstance()) return this; if (other.getBatteryAvg() != 0D) { setBatteryAvg(other.getBatteryAvg()); } if (other.getBatteryCount() != 0D) { setBatteryCount(other.getBatteryCount()); } if (other.getBatteryPeak() != 0D) { setBatteryPeak(other.getBatteryPeak()); } if (other.getBatterySum() != 0D) { setBatterySum(other.getBatterySum()); } if (!other.getID().isEmpty()) { iD_ = other.iD_; onChanged(); } if (other.getKey() != 0L) { setKey(other.getKey()); } if (!other.getKeyAsString().isEmpty()) { keyAsString_ = other.keyAsString_; onChanged(); } if (other.getLumsAvg() != 0D) { setLumsAvg(other.getLumsAvg()); } if (other.getLumsCount() != 0D) { setLumsCount(other.getLumsCount()); } if (other.getLumsPeak() != 0D) { setLumsPeak(other.getLumsPeak()); } if (other.getLumsSum() != 0D) { setLumsSum(other.getLumsSum()); } if (other.getMagStateAvg() != 0D) { setMagStateAvg(other.getMagStateAvg()); } if (other.getMagStateCount() != 0D) { setMagStateCount(other.getMagStateCount()); } if (other.getMagStatePeak() != 0D) { setMagStatePeak(other.getMagStatePeak()); } if (other.getMagstateSum() != 0D) { setMagstateSum(other.getMagstateSum()); } if (other.getRssiAvg() != 0D) { setRssiAvg(other.getRssiAvg()); } if (other.getRssiCount() != 0D) { setRssiCount(other.getRssiCount()); } if (other.getRssiPeak() != 0D) { setRssiPeak(other.getRssiPeak()); } if (other.getRssiSum() != 0D) { setRssiSum(other.getRssiSum()); } if (other.getTempAvg() != 0D) { setTempAvg(other.getTempAvg()); } if (other.getTempCount() != 0D) { setTempCount(other.getTempCount()); } if (other.getTempPeak() != 0D) { setTempPeak(other.getTempPeak()); } if (other.getTempSum() != 0D) { setTempSum(other.getTempSum()); } if (other.getXAccelAvg() != 0D) { setXAccelAvg(other.getXAccelAvg()); } if (other.getXAccelCount() != 0D) { setXAccelCount(other.getXAccelCount()); } if (other.getXAccelPeak() != 0D) { setXAccelPeak(other.getXAccelPeak()); } if (other.getXAccelSum() != 0D) { setXAccelSum(other.getXAccelSum()); } if (other.getXMagAvg() != 0D) { setXMagAvg(other.getXMagAvg()); } if (other.getXMagCount() != 0D) { setXMagCount(other.getXMagCount()); } if (other.getXMagPeak() != 0D) { setXMagPeak(other.getXMagPeak()); } if (other.getXMagSum() != 0D) { setXMagSum(other.getXMagSum()); } if (other.getYAccelAvg() != 0D) { setYAccelAvg(other.getYAccelAvg()); } if (other.getYAccelCount() != 0D) { setYAccelCount(other.getYAccelCount()); } if (other.getYAccelPeak() != 0D) { setYAccelPeak(other.getYAccelPeak()); } if (other.getYAccelSum() != 0D) { setYAccelSum(other.getYAccelSum()); } if (other.getYMagAvg() != 0D) { setYMagAvg(other.getYMagAvg()); } if (other.getYMagCount() != 0D) { setYMagCount(other.getYMagCount()); } if (other.getYMagPeak() != 0D) { setYMagPeak(other.getYMagPeak()); } if (other.getYMagSum() != 0D) { setYMagSum(other.getYMagSum()); } if (other.getZAccelAvg() != 0D) { setZAccelAvg(other.getZAccelAvg()); } if (other.getZAccelCount() != 0D) { setZAccelCount(other.getZAccelCount()); } if (other.getZAccelPeak() != 0D) { setZAccelPeak(other.getZAccelPeak()); } if (other.getZAccelSum() != 0D) { setZAccelSum(other.getZAccelSum()); } if (other.getZMagAvg() != 0D) { setZMagAvg(other.getZMagAvg()); } if (other.getZMagCount() != 0D) { setZMagCount(other.getZMagCount()); } if (other.getZMagPeak() != 0D) { setZMagPeak(other.getZMagPeak()); } if (other.getZMagSum() != 0D) { setZMagSum(other.getZMagSum()); } if (other.getXAccelMin() != 0D) { setXAccelMin(other.getXAccelMin()); } if (other.getXAccelPeakToPeak() != 0D) { setXAccelPeakToPeak(other.getXAccelPeakToPeak()); } if (other.getXAccelRms() != 0D) { setXAccelRms(other.getXAccelRms()); } if (other.getXAccelSqSum() != 0D) { setXAccelSqSum(other.getXAccelSqSum()); } if (other.getYAccelMin() != 0D) { setYAccelMin(other.getYAccelMin()); } if (other.getYAccelPeakToPeak() != 0D) { setYAccelPeakToPeak(other.getYAccelPeakToPeak()); } if (other.getYAccelRms() != 0D) { setYAccelRms(other.getYAccelRms()); } if (other.getYAccelSqSum() != 0D) { setYAccelSqSum(other.getYAccelSqSum()); } if (other.getZAccelMin() != 0D) { setZAccelMin(other.getZAccelMin()); } if (other.getZAccelPeakToPeak() != 0D) { setZAccelPeakToPeak(other.getZAccelPeakToPeak()); } if (other.getZAccelRms() != 0D) { setZAccelRms(other.getZAccelRms()); } if (other.getZAccelSqSum() != 0D) { setZAccelSqSum(other.getZAccelSqSum()); } if (other.getXHsCount() != 0D) { setXHsCount(other.getXHsCount()); } if (other.getXHsRmsAvg() != 0D) { setXHsRmsAvg(other.getXHsRmsAvg()); } if (other.getXHsRmsSum() != 0D) { setXHsRmsSum(other.getXHsRmsSum()); } if (other.getXHsPeak() != 0D) { setXHsPeak(other.getXHsPeak()); } if (other.getXHsPeakToPeak() != 0D) { setXHsPeakToPeak(other.getXHsPeakToPeak()); } if (other.getYHsCount() != 0D) { setYHsCount(other.getYHsCount()); } if (other.getYHsRmsAvg() != 0D) { setYHsRmsAvg(other.getYHsRmsAvg()); } if (other.getYHsRmsSum() != 0D) { setYHsRmsSum(other.getYHsRmsSum()); } if (other.getYHsPeak() != 0D) { setYHsPeak(other.getYHsPeak()); } if (other.getYHsPeakToPeak() != 0D) { setYHsPeakToPeak(other.getYHsPeakToPeak()); } if (other.getZHsCount() != 0D) { setZHsCount(other.getZHsCount()); } if (other.getZHsRmsAvg() != 0D) { setZHsRmsAvg(other.getZHsRmsAvg()); } if (other.getZHsRmsSum() != 0D) { setZHsRmsSum(other.getZHsRmsSum()); } if (other.getZHsPeak() != 0D) { setZHsPeak(other.getZHsPeak()); } if (other.getZHsPeakToPeak() != 0D) { setZHsPeakToPeak(other.getZHsPeakToPeak()); } 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.BeaconHistoryMetricGroup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private double batteryAvg_ ; /** * double batteryAvg = 1; */ public double getBatteryAvg() { return batteryAvg_; } /** * double batteryAvg = 1; */ public Builder setBatteryAvg(double value) { batteryAvg_ = value; onChanged(); return this; } /** * double batteryAvg = 1; */ public Builder clearBatteryAvg() { batteryAvg_ = 0D; onChanged(); return this; } private double batteryCount_ ; /** * double batteryCount = 2; */ public double getBatteryCount() { return batteryCount_; } /** * double batteryCount = 2; */ public Builder setBatteryCount(double value) { batteryCount_ = value; onChanged(); return this; } /** * double batteryCount = 2; */ public Builder clearBatteryCount() { batteryCount_ = 0D; onChanged(); return this; } private double batteryPeak_ ; /** * double batteryPeak = 3; */ public double getBatteryPeak() { return batteryPeak_; } /** * double batteryPeak = 3; */ public Builder setBatteryPeak(double value) { batteryPeak_ = value; onChanged(); return this; } /** * double batteryPeak = 3; */ public Builder clearBatteryPeak() { batteryPeak_ = 0D; onChanged(); return this; } private double batterySum_ ; /** * double batterySum = 4; */ public double getBatterySum() { return batterySum_; } /** * double batterySum = 4; */ public Builder setBatterySum(double value) { batterySum_ = value; onChanged(); return this; } /** * double batterySum = 4; */ public Builder clearBatterySum() { batterySum_ = 0D; onChanged(); return this; } private java.lang.Object iD_ = ""; /** * string ID = 5; */ public java.lang.String getID() { java.lang.Object ref = iD_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); iD_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ID = 5; */ public com.google.protobuf.ByteString getIDBytes() { java.lang.Object ref = iD_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); iD_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ID = 5; */ public Builder setID( java.lang.String value) { if (value == null) { throw new NullPointerException(); } iD_ = value; onChanged(); return this; } /** * string ID = 5; */ public Builder clearID() { iD_ = getDefaultInstance().getID(); onChanged(); return this; } /** * string ID = 5; */ public Builder setIDBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); iD_ = value; onChanged(); return this; } private long key_ ; /** * int64 key = 6; */ public long getKey() { return key_; } /** * int64 key = 6; */ public Builder setKey(long value) { key_ = value; onChanged(); return this; } /** * int64 key = 6; */ public Builder clearKey() { key_ = 0L; onChanged(); return this; } private java.lang.Object keyAsString_ = ""; /** * string keyAsString = 7; */ public java.lang.String getKeyAsString() { java.lang.Object ref = keyAsString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); keyAsString_ = s; return s; } else { return (java.lang.String) ref; } } /** * string keyAsString = 7; */ public com.google.protobuf.ByteString getKeyAsStringBytes() { java.lang.Object ref = keyAsString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); keyAsString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string keyAsString = 7; */ public Builder setKeyAsString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } keyAsString_ = value; onChanged(); return this; } /** * string keyAsString = 7; */ public Builder clearKeyAsString() { keyAsString_ = getDefaultInstance().getKeyAsString(); onChanged(); return this; } /** * string keyAsString = 7; */ public Builder setKeyAsStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); keyAsString_ = value; onChanged(); return this; } private double lumsAvg_ ; /** * double lumsAvg = 8; */ public double getLumsAvg() { return lumsAvg_; } /** * double lumsAvg = 8; */ public Builder setLumsAvg(double value) { lumsAvg_ = value; onChanged(); return this; } /** * double lumsAvg = 8; */ public Builder clearLumsAvg() { lumsAvg_ = 0D; onChanged(); return this; } private double lumsCount_ ; /** * double lumsCount = 9; */ public double getLumsCount() { return lumsCount_; } /** * double lumsCount = 9; */ public Builder setLumsCount(double value) { lumsCount_ = value; onChanged(); return this; } /** * double lumsCount = 9; */ public Builder clearLumsCount() { lumsCount_ = 0D; onChanged(); return this; } private double lumsPeak_ ; /** * double lumsPeak = 10; */ public double getLumsPeak() { return lumsPeak_; } /** * double lumsPeak = 10; */ public Builder setLumsPeak(double value) { lumsPeak_ = value; onChanged(); return this; } /** * double lumsPeak = 10; */ public Builder clearLumsPeak() { lumsPeak_ = 0D; onChanged(); return this; } private double lumsSum_ ; /** * double lumsSum = 11; */ public double getLumsSum() { return lumsSum_; } /** * double lumsSum = 11; */ public Builder setLumsSum(double value) { lumsSum_ = value; onChanged(); return this; } /** * double lumsSum = 11; */ public Builder clearLumsSum() { lumsSum_ = 0D; onChanged(); return this; } private double magStateAvg_ ; /** * double magStateAvg = 12; */ public double getMagStateAvg() { return magStateAvg_; } /** * double magStateAvg = 12; */ public Builder setMagStateAvg(double value) { magStateAvg_ = value; onChanged(); return this; } /** * double magStateAvg = 12; */ public Builder clearMagStateAvg() { magStateAvg_ = 0D; onChanged(); return this; } private double magStateCount_ ; /** * double magStateCount = 13; */ public double getMagStateCount() { return magStateCount_; } /** * double magStateCount = 13; */ public Builder setMagStateCount(double value) { magStateCount_ = value; onChanged(); return this; } /** * double magStateCount = 13; */ public Builder clearMagStateCount() { magStateCount_ = 0D; onChanged(); return this; } private double magStatePeak_ ; /** * double magStatePeak = 14; */ public double getMagStatePeak() { return magStatePeak_; } /** * double magStatePeak = 14; */ public Builder setMagStatePeak(double value) { magStatePeak_ = value; onChanged(); return this; } /** * double magStatePeak = 14; */ public Builder clearMagStatePeak() { magStatePeak_ = 0D; onChanged(); return this; } private double magstateSum_ ; /** * double magstateSum = 15; */ public double getMagstateSum() { return magstateSum_; } /** * double magstateSum = 15; */ public Builder setMagstateSum(double value) { magstateSum_ = value; onChanged(); return this; } /** * double magstateSum = 15; */ public Builder clearMagstateSum() { magstateSum_ = 0D; onChanged(); return this; } private double rssiAvg_ ; /** * double rssiAvg = 16; */ public double getRssiAvg() { return rssiAvg_; } /** * double rssiAvg = 16; */ public Builder setRssiAvg(double value) { rssiAvg_ = value; onChanged(); return this; } /** * double rssiAvg = 16; */ public Builder clearRssiAvg() { rssiAvg_ = 0D; onChanged(); return this; } private double rssiCount_ ; /** * double rssiCount = 17; */ public double getRssiCount() { return rssiCount_; } /** * double rssiCount = 17; */ public Builder setRssiCount(double value) { rssiCount_ = value; onChanged(); return this; } /** * double rssiCount = 17; */ public Builder clearRssiCount() { rssiCount_ = 0D; onChanged(); return this; } private double rssiPeak_ ; /** * double rssiPeak = 18; */ public double getRssiPeak() { return rssiPeak_; } /** * double rssiPeak = 18; */ public Builder setRssiPeak(double value) { rssiPeak_ = value; onChanged(); return this; } /** * double rssiPeak = 18; */ public Builder clearRssiPeak() { rssiPeak_ = 0D; onChanged(); return this; } private double rssiSum_ ; /** * double rssiSum = 19; */ public double getRssiSum() { return rssiSum_; } /** * double rssiSum = 19; */ public Builder setRssiSum(double value) { rssiSum_ = value; onChanged(); return this; } /** * double rssiSum = 19; */ public Builder clearRssiSum() { rssiSum_ = 0D; onChanged(); return this; } private double tempAvg_ ; /** * double tempAvg = 20; */ public double getTempAvg() { return tempAvg_; } /** * double tempAvg = 20; */ public Builder setTempAvg(double value) { tempAvg_ = value; onChanged(); return this; } /** * double tempAvg = 20; */ public Builder clearTempAvg() { tempAvg_ = 0D; onChanged(); return this; } private double tempCount_ ; /** * double tempCount = 21; */ public double getTempCount() { return tempCount_; } /** * double tempCount = 21; */ public Builder setTempCount(double value) { tempCount_ = value; onChanged(); return this; } /** * double tempCount = 21; */ public Builder clearTempCount() { tempCount_ = 0D; onChanged(); return this; } private double tempPeak_ ; /** * double tempPeak = 22; */ public double getTempPeak() { return tempPeak_; } /** * double tempPeak = 22; */ public Builder setTempPeak(double value) { tempPeak_ = value; onChanged(); return this; } /** * double tempPeak = 22; */ public Builder clearTempPeak() { tempPeak_ = 0D; onChanged(); return this; } private double tempSum_ ; /** * double tempSum = 23; */ public double getTempSum() { return tempSum_; } /** * double tempSum = 23; */ public Builder setTempSum(double value) { tempSum_ = value; onChanged(); return this; } /** * double tempSum = 23; */ public Builder clearTempSum() { tempSum_ = 0D; onChanged(); return this; } private double xAccelAvg_ ; /** * double xAccelAvg = 24; */ public double getXAccelAvg() { return xAccelAvg_; } /** * double xAccelAvg = 24; */ public Builder setXAccelAvg(double value) { xAccelAvg_ = value; onChanged(); return this; } /** * double xAccelAvg = 24; */ public Builder clearXAccelAvg() { xAccelAvg_ = 0D; onChanged(); return this; } private double xAccelCount_ ; /** * double xAccelCount = 25; */ public double getXAccelCount() { return xAccelCount_; } /** * double xAccelCount = 25; */ public Builder setXAccelCount(double value) { xAccelCount_ = value; onChanged(); return this; } /** * double xAccelCount = 25; */ public Builder clearXAccelCount() { xAccelCount_ = 0D; onChanged(); return this; } private double xAccelPeak_ ; /** * double xAccelPeak = 26; */ public double getXAccelPeak() { return xAccelPeak_; } /** * double xAccelPeak = 26; */ public Builder setXAccelPeak(double value) { xAccelPeak_ = value; onChanged(); return this; } /** * double xAccelPeak = 26; */ public Builder clearXAccelPeak() { xAccelPeak_ = 0D; onChanged(); return this; } private double xAccelSum_ ; /** * double xAccelSum = 27; */ public double getXAccelSum() { return xAccelSum_; } /** * double xAccelSum = 27; */ public Builder setXAccelSum(double value) { xAccelSum_ = value; onChanged(); return this; } /** * double xAccelSum = 27; */ public Builder clearXAccelSum() { xAccelSum_ = 0D; onChanged(); return this; } private double xMagAvg_ ; /** * double xMagAvg = 28; */ public double getXMagAvg() { return xMagAvg_; } /** * double xMagAvg = 28; */ public Builder setXMagAvg(double value) { xMagAvg_ = value; onChanged(); return this; } /** * double xMagAvg = 28; */ public Builder clearXMagAvg() { xMagAvg_ = 0D; onChanged(); return this; } private double xMagCount_ ; /** * double xMagCount = 29; */ public double getXMagCount() { return xMagCount_; } /** * double xMagCount = 29; */ public Builder setXMagCount(double value) { xMagCount_ = value; onChanged(); return this; } /** * double xMagCount = 29; */ public Builder clearXMagCount() { xMagCount_ = 0D; onChanged(); return this; } private double xMagPeak_ ; /** * double xMagPeak = 30; */ public double getXMagPeak() { return xMagPeak_; } /** * double xMagPeak = 30; */ public Builder setXMagPeak(double value) { xMagPeak_ = value; onChanged(); return this; } /** * double xMagPeak = 30; */ public Builder clearXMagPeak() { xMagPeak_ = 0D; onChanged(); return this; } private double xMagSum_ ; /** * double xMagSum = 31; */ public double getXMagSum() { return xMagSum_; } /** * double xMagSum = 31; */ public Builder setXMagSum(double value) { xMagSum_ = value; onChanged(); return this; } /** * double xMagSum = 31; */ public Builder clearXMagSum() { xMagSum_ = 0D; onChanged(); return this; } private double yAccelAvg_ ; /** * double yAccelAvg = 32; */ public double getYAccelAvg() { return yAccelAvg_; } /** * double yAccelAvg = 32; */ public Builder setYAccelAvg(double value) { yAccelAvg_ = value; onChanged(); return this; } /** * double yAccelAvg = 32; */ public Builder clearYAccelAvg() { yAccelAvg_ = 0D; onChanged(); return this; } private double yAccelCount_ ; /** * double yAccelCount = 33; */ public double getYAccelCount() { return yAccelCount_; } /** * double yAccelCount = 33; */ public Builder setYAccelCount(double value) { yAccelCount_ = value; onChanged(); return this; } /** * double yAccelCount = 33; */ public Builder clearYAccelCount() { yAccelCount_ = 0D; onChanged(); return this; } private double yAccelPeak_ ; /** * double yAccelPeak = 34; */ public double getYAccelPeak() { return yAccelPeak_; } /** * double yAccelPeak = 34; */ public Builder setYAccelPeak(double value) { yAccelPeak_ = value; onChanged(); return this; } /** * double yAccelPeak = 34; */ public Builder clearYAccelPeak() { yAccelPeak_ = 0D; onChanged(); return this; } private double yAccelSum_ ; /** * double yAccelSum = 35; */ public double getYAccelSum() { return yAccelSum_; } /** * double yAccelSum = 35; */ public Builder setYAccelSum(double value) { yAccelSum_ = value; onChanged(); return this; } /** * double yAccelSum = 35; */ public Builder clearYAccelSum() { yAccelSum_ = 0D; onChanged(); return this; } private double yMagAvg_ ; /** * double yMagAvg = 36; */ public double getYMagAvg() { return yMagAvg_; } /** * double yMagAvg = 36; */ public Builder setYMagAvg(double value) { yMagAvg_ = value; onChanged(); return this; } /** * double yMagAvg = 36; */ public Builder clearYMagAvg() { yMagAvg_ = 0D; onChanged(); return this; } private double yMagCount_ ; /** * double yMagCount = 37; */ public double getYMagCount() { return yMagCount_; } /** * double yMagCount = 37; */ public Builder setYMagCount(double value) { yMagCount_ = value; onChanged(); return this; } /** * double yMagCount = 37; */ public Builder clearYMagCount() { yMagCount_ = 0D; onChanged(); return this; } private double yMagPeak_ ; /** * double yMagPeak = 38; */ public double getYMagPeak() { return yMagPeak_; } /** * double yMagPeak = 38; */ public Builder setYMagPeak(double value) { yMagPeak_ = value; onChanged(); return this; } /** * double yMagPeak = 38; */ public Builder clearYMagPeak() { yMagPeak_ = 0D; onChanged(); return this; } private double yMagSum_ ; /** * double yMagSum = 39; */ public double getYMagSum() { return yMagSum_; } /** * double yMagSum = 39; */ public Builder setYMagSum(double value) { yMagSum_ = value; onChanged(); return this; } /** * double yMagSum = 39; */ public Builder clearYMagSum() { yMagSum_ = 0D; onChanged(); return this; } private double zAccelAvg_ ; /** * double zAccelAvg = 40; */ public double getZAccelAvg() { return zAccelAvg_; } /** * double zAccelAvg = 40; */ public Builder setZAccelAvg(double value) { zAccelAvg_ = value; onChanged(); return this; } /** * double zAccelAvg = 40; */ public Builder clearZAccelAvg() { zAccelAvg_ = 0D; onChanged(); return this; } private double zAccelCount_ ; /** * double zAccelCount = 41; */ public double getZAccelCount() { return zAccelCount_; } /** * double zAccelCount = 41; */ public Builder setZAccelCount(double value) { zAccelCount_ = value; onChanged(); return this; } /** * double zAccelCount = 41; */ public Builder clearZAccelCount() { zAccelCount_ = 0D; onChanged(); return this; } private double zAccelPeak_ ; /** * double zAccelPeak = 42; */ public double getZAccelPeak() { return zAccelPeak_; } /** * double zAccelPeak = 42; */ public Builder setZAccelPeak(double value) { zAccelPeak_ = value; onChanged(); return this; } /** * double zAccelPeak = 42; */ public Builder clearZAccelPeak() { zAccelPeak_ = 0D; onChanged(); return this; } private double zAccelSum_ ; /** * double zAccelSum = 43; */ public double getZAccelSum() { return zAccelSum_; } /** * double zAccelSum = 43; */ public Builder setZAccelSum(double value) { zAccelSum_ = value; onChanged(); return this; } /** * double zAccelSum = 43; */ public Builder clearZAccelSum() { zAccelSum_ = 0D; onChanged(); return this; } private double zMagAvg_ ; /** * double zMagAvg = 44; */ public double getZMagAvg() { return zMagAvg_; } /** * double zMagAvg = 44; */ public Builder setZMagAvg(double value) { zMagAvg_ = value; onChanged(); return this; } /** * double zMagAvg = 44; */ public Builder clearZMagAvg() { zMagAvg_ = 0D; onChanged(); return this; } private double zMagCount_ ; /** * double zMagCount = 45; */ public double getZMagCount() { return zMagCount_; } /** * double zMagCount = 45; */ public Builder setZMagCount(double value) { zMagCount_ = value; onChanged(); return this; } /** * double zMagCount = 45; */ public Builder clearZMagCount() { zMagCount_ = 0D; onChanged(); return this; } private double zMagPeak_ ; /** * double zMagPeak = 46; */ public double getZMagPeak() { return zMagPeak_; } /** * double zMagPeak = 46; */ public Builder setZMagPeak(double value) { zMagPeak_ = value; onChanged(); return this; } /** * double zMagPeak = 46; */ public Builder clearZMagPeak() { zMagPeak_ = 0D; onChanged(); return this; } private double zMagSum_ ; /** * double zMagSum = 47; */ public double getZMagSum() { return zMagSum_; } /** * double zMagSum = 47; */ public Builder setZMagSum(double value) { zMagSum_ = value; onChanged(); return this; } /** * double zMagSum = 47; */ public Builder clearZMagSum() { zMagSum_ = 0D; onChanged(); return this; } private double xAccelMin_ ; /** * double xAccelMin = 48; */ public double getXAccelMin() { return xAccelMin_; } /** * double xAccelMin = 48; */ public Builder setXAccelMin(double value) { xAccelMin_ = value; onChanged(); return this; } /** * double xAccelMin = 48; */ public Builder clearXAccelMin() { xAccelMin_ = 0D; onChanged(); return this; } private double xAccelPeakToPeak_ ; /** * double xAccelPeakToPeak = 49; */ public double getXAccelPeakToPeak() { return xAccelPeakToPeak_; } /** * double xAccelPeakToPeak = 49; */ public Builder setXAccelPeakToPeak(double value) { xAccelPeakToPeak_ = value; onChanged(); return this; } /** * double xAccelPeakToPeak = 49; */ public Builder clearXAccelPeakToPeak() { xAccelPeakToPeak_ = 0D; onChanged(); return this; } private double xAccelRms_ ; /** * double xAccelRms = 50; */ public double getXAccelRms() { return xAccelRms_; } /** * double xAccelRms = 50; */ public Builder setXAccelRms(double value) { xAccelRms_ = value; onChanged(); return this; } /** * double xAccelRms = 50; */ public Builder clearXAccelRms() { xAccelRms_ = 0D; onChanged(); return this; } private double xAccelSqSum_ ; /** * double xAccelSqSum = 51; */ public double getXAccelSqSum() { return xAccelSqSum_; } /** * double xAccelSqSum = 51; */ public Builder setXAccelSqSum(double value) { xAccelSqSum_ = value; onChanged(); return this; } /** * double xAccelSqSum = 51; */ public Builder clearXAccelSqSum() { xAccelSqSum_ = 0D; onChanged(); return this; } private double yAccelMin_ ; /** * double yAccelMin = 52; */ public double getYAccelMin() { return yAccelMin_; } /** * double yAccelMin = 52; */ public Builder setYAccelMin(double value) { yAccelMin_ = value; onChanged(); return this; } /** * double yAccelMin = 52; */ public Builder clearYAccelMin() { yAccelMin_ = 0D; onChanged(); return this; } private double yAccelPeakToPeak_ ; /** * double yAccelPeakToPeak = 53; */ public double getYAccelPeakToPeak() { return yAccelPeakToPeak_; } /** * double yAccelPeakToPeak = 53; */ public Builder setYAccelPeakToPeak(double value) { yAccelPeakToPeak_ = value; onChanged(); return this; } /** * double yAccelPeakToPeak = 53; */ public Builder clearYAccelPeakToPeak() { yAccelPeakToPeak_ = 0D; onChanged(); return this; } private double yAccelRms_ ; /** * double yAccelRms = 54; */ public double getYAccelRms() { return yAccelRms_; } /** * double yAccelRms = 54; */ public Builder setYAccelRms(double value) { yAccelRms_ = value; onChanged(); return this; } /** * double yAccelRms = 54; */ public Builder clearYAccelRms() { yAccelRms_ = 0D; onChanged(); return this; } private double yAccelSqSum_ ; /** * double yAccelSqSum = 55; */ public double getYAccelSqSum() { return yAccelSqSum_; } /** * double yAccelSqSum = 55; */ public Builder setYAccelSqSum(double value) { yAccelSqSum_ = value; onChanged(); return this; } /** * double yAccelSqSum = 55; */ public Builder clearYAccelSqSum() { yAccelSqSum_ = 0D; onChanged(); return this; } private double zAccelMin_ ; /** * double zAccelMin = 56; */ public double getZAccelMin() { return zAccelMin_; } /** * double zAccelMin = 56; */ public Builder setZAccelMin(double value) { zAccelMin_ = value; onChanged(); return this; } /** * double zAccelMin = 56; */ public Builder clearZAccelMin() { zAccelMin_ = 0D; onChanged(); return this; } private double zAccelPeakToPeak_ ; /** * double zAccelPeakToPeak = 57; */ public double getZAccelPeakToPeak() { return zAccelPeakToPeak_; } /** * double zAccelPeakToPeak = 57; */ public Builder setZAccelPeakToPeak(double value) { zAccelPeakToPeak_ = value; onChanged(); return this; } /** * double zAccelPeakToPeak = 57; */ public Builder clearZAccelPeakToPeak() { zAccelPeakToPeak_ = 0D; onChanged(); return this; } private double zAccelRms_ ; /** * double zAccelRms = 58; */ public double getZAccelRms() { return zAccelRms_; } /** * double zAccelRms = 58; */ public Builder setZAccelRms(double value) { zAccelRms_ = value; onChanged(); return this; } /** * double zAccelRms = 58; */ public Builder clearZAccelRms() { zAccelRms_ = 0D; onChanged(); return this; } private double zAccelSqSum_ ; /** * double zAccelSqSum = 59; */ public double getZAccelSqSum() { return zAccelSqSum_; } /** * double zAccelSqSum = 59; */ public Builder setZAccelSqSum(double value) { zAccelSqSum_ = value; onChanged(); return this; } /** * double zAccelSqSum = 59; */ public Builder clearZAccelSqSum() { zAccelSqSum_ = 0D; onChanged(); return this; } private double xHsCount_ ; /** * double xHsCount = 60; */ public double getXHsCount() { return xHsCount_; } /** * double xHsCount = 60; */ public Builder setXHsCount(double value) { xHsCount_ = value; onChanged(); return this; } /** * double xHsCount = 60; */ public Builder clearXHsCount() { xHsCount_ = 0D; onChanged(); return this; } private double xHsRmsAvg_ ; /** * double xHsRmsAvg = 61; */ public double getXHsRmsAvg() { return xHsRmsAvg_; } /** * double xHsRmsAvg = 61; */ public Builder setXHsRmsAvg(double value) { xHsRmsAvg_ = value; onChanged(); return this; } /** * double xHsRmsAvg = 61; */ public Builder clearXHsRmsAvg() { xHsRmsAvg_ = 0D; onChanged(); return this; } private double xHsRmsSum_ ; /** * double xHsRmsSum = 62; */ public double getXHsRmsSum() { return xHsRmsSum_; } /** * double xHsRmsSum = 62; */ public Builder setXHsRmsSum(double value) { xHsRmsSum_ = value; onChanged(); return this; } /** * double xHsRmsSum = 62; */ public Builder clearXHsRmsSum() { xHsRmsSum_ = 0D; onChanged(); return this; } private double xHsPeak_ ; /** * double xHsPeak = 63; */ public double getXHsPeak() { return xHsPeak_; } /** * double xHsPeak = 63; */ public Builder setXHsPeak(double value) { xHsPeak_ = value; onChanged(); return this; } /** * double xHsPeak = 63; */ public Builder clearXHsPeak() { xHsPeak_ = 0D; onChanged(); return this; } private double xHsPeakToPeak_ ; /** * double xHsPeakToPeak = 64; */ public double getXHsPeakToPeak() { return xHsPeakToPeak_; } /** * double xHsPeakToPeak = 64; */ public Builder setXHsPeakToPeak(double value) { xHsPeakToPeak_ = value; onChanged(); return this; } /** * double xHsPeakToPeak = 64; */ public Builder clearXHsPeakToPeak() { xHsPeakToPeak_ = 0D; onChanged(); return this; } private double yHsCount_ ; /** * double yHsCount = 65; */ public double getYHsCount() { return yHsCount_; } /** * double yHsCount = 65; */ public Builder setYHsCount(double value) { yHsCount_ = value; onChanged(); return this; } /** * double yHsCount = 65; */ public Builder clearYHsCount() { yHsCount_ = 0D; onChanged(); return this; } private double yHsRmsAvg_ ; /** * double yHsRmsAvg = 66; */ public double getYHsRmsAvg() { return yHsRmsAvg_; } /** * double yHsRmsAvg = 66; */ public Builder setYHsRmsAvg(double value) { yHsRmsAvg_ = value; onChanged(); return this; } /** * double yHsRmsAvg = 66; */ public Builder clearYHsRmsAvg() { yHsRmsAvg_ = 0D; onChanged(); return this; } private double yHsRmsSum_ ; /** * double yHsRmsSum = 67; */ public double getYHsRmsSum() { return yHsRmsSum_; } /** * double yHsRmsSum = 67; */ public Builder setYHsRmsSum(double value) { yHsRmsSum_ = value; onChanged(); return this; } /** * double yHsRmsSum = 67; */ public Builder clearYHsRmsSum() { yHsRmsSum_ = 0D; onChanged(); return this; } private double yHsPeak_ ; /** * double yHsPeak = 68; */ public double getYHsPeak() { return yHsPeak_; } /** * double yHsPeak = 68; */ public Builder setYHsPeak(double value) { yHsPeak_ = value; onChanged(); return this; } /** * double yHsPeak = 68; */ public Builder clearYHsPeak() { yHsPeak_ = 0D; onChanged(); return this; } private double yHsPeakToPeak_ ; /** * double yHsPeakToPeak = 69; */ public double getYHsPeakToPeak() { return yHsPeakToPeak_; } /** * double yHsPeakToPeak = 69; */ public Builder setYHsPeakToPeak(double value) { yHsPeakToPeak_ = value; onChanged(); return this; } /** * double yHsPeakToPeak = 69; */ public Builder clearYHsPeakToPeak() { yHsPeakToPeak_ = 0D; onChanged(); return this; } private double zHsCount_ ; /** * double zHsCount = 70; */ public double getZHsCount() { return zHsCount_; } /** * double zHsCount = 70; */ public Builder setZHsCount(double value) { zHsCount_ = value; onChanged(); return this; } /** * double zHsCount = 70; */ public Builder clearZHsCount() { zHsCount_ = 0D; onChanged(); return this; } private double zHsRmsAvg_ ; /** * double zHsRmsAvg = 71; */ public double getZHsRmsAvg() { return zHsRmsAvg_; } /** * double zHsRmsAvg = 71; */ public Builder setZHsRmsAvg(double value) { zHsRmsAvg_ = value; onChanged(); return this; } /** * double zHsRmsAvg = 71; */ public Builder clearZHsRmsAvg() { zHsRmsAvg_ = 0D; onChanged(); return this; } private double zHsRmsSum_ ; /** * double zHsRmsSum = 72; */ public double getZHsRmsSum() { return zHsRmsSum_; } /** * double zHsRmsSum = 72; */ public Builder setZHsRmsSum(double value) { zHsRmsSum_ = value; onChanged(); return this; } /** * double zHsRmsSum = 72; */ public Builder clearZHsRmsSum() { zHsRmsSum_ = 0D; onChanged(); return this; } private double zHsPeak_ ; /** * double zHsPeak = 73; */ public double getZHsPeak() { return zHsPeak_; } /** * double zHsPeak = 73; */ public Builder setZHsPeak(double value) { zHsPeak_ = value; onChanged(); return this; } /** * double zHsPeak = 73; */ public Builder clearZHsPeak() { zHsPeak_ = 0D; onChanged(); return this; } private double zHsPeakToPeak_ ; /** * double zHsPeakToPeak = 74; */ public double getZHsPeakToPeak() { return zHsPeakToPeak_; } /** * double zHsPeakToPeak = 74; */ public Builder setZHsPeakToPeak(double value) { zHsPeakToPeak_ = value; onChanged(); return this; } /** * double zHsPeakToPeak = 74; */ public Builder clearZHsPeakToPeak() { zHsPeakToPeak_ = 0D; 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:BeaconHistoryMetricGroup) } // @@protoc_insertion_point(class_scope:BeaconHistoryMetricGroup) private static final com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup(); } public static com.bluvision.cloud.metric.Beaconmetrics.BeaconHistoryMetricGroup getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public BeaconHistoryMetricGroup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BeaconHistoryMetricGroup(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.BeaconHistoryMetricGroup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MetricByRangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:MetricByRangeRequest) com.google.protobuf.MessageOrBuilder { /** * int64 projectId = 1; */ long getProjectId(); /** * string beaconId = 2; */ java.lang.String getBeaconId(); /** * string beaconId = 2; */ com.google.protobuf.ByteString getBeaconIdBytes(); /** * repeated string blufiIds = 3; */ java.util.List getBlufiIdsList(); /** * repeated string blufiIds = 3; */ int getBlufiIdsCount(); /** * repeated string blufiIds = 3; */ java.lang.String getBlufiIds(int index); /** * repeated string blufiIds = 3; */ com.google.protobuf.ByteString getBlufiIdsBytes(int index); /** * .HistoryMetric metric = 4; */ int getMetricValue(); /** * .HistoryMetric metric = 4; */ com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric getMetric(); /** * .MetricInterval interval = 5; */ int getIntervalValue(); /** * .MetricInterval interval = 5; */ com.bluvision.cloud.metric.Beaconmetrics.MetricInterval getInterval(); /** * int64 beginMillis = 6; */ long getBeginMillis(); /** * int64 endMillis = 7; */ long getEndMillis(); /** * bool useZeros = 8; */ boolean getUseZeros(); /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 9; */ int getQueryHintValue(); /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 9; */ com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint(); /** *
     * date to start from takes prec over beginMillis
     * 
* * string startDate = 10; */ java.lang.String getStartDate(); /** *
     * date to start from takes prec over beginMillis
     * 
* * string startDate = 10; */ com.google.protobuf.ByteString getStartDateBytes(); /** *
     * date to end on takes prec over endMillis
     * 
* * string endDate = 11; */ java.lang.String getEndDate(); /** *
     * date to end on takes prec over endMillis
     * 
* * string endDate = 11; */ com.google.protobuf.ByteString getEndDateBytes(); } /** * Protobuf type {@code MetricByRangeRequest} */ public static final class MetricByRangeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:MetricByRangeRequest) MetricByRangeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MetricByRangeRequest.newBuilder() to construct. private MetricByRangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MetricByRangeRequest() { projectId_ = 0L; beaconId_ = ""; blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; metric_ = 0; 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 MetricByRangeRequest( 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 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } blufiIds_.add(s); break; } case 32: { int rawValue = input.readEnum(); metric_ = rawValue; break; } case 40: { int rawValue = input.readEnum(); interval_ = rawValue; break; } case 48: { beginMillis_ = input.readInt64(); break; } case 56: { endMillis_ = input.readInt64(); break; } case 64: { useZeros_ = input.readBool(); break; } case 72: { int rawValue = input.readEnum(); queryHint_ = rawValue; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); startDate_ = s; break; } case 90: { 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_ & 0x00000004) == 0x00000004)) { blufiIds_ = blufiIds_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.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 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 BLUFIIDS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList blufiIds_; /** * repeated string blufiIds = 3; */ public com.google.protobuf.ProtocolStringList getBlufiIdsList() { return blufiIds_; } /** * repeated string blufiIds = 3; */ public int getBlufiIdsCount() { return blufiIds_.size(); } /** * repeated string blufiIds = 3; */ public java.lang.String getBlufiIds(int index) { return blufiIds_.get(index); } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ByteString getBlufiIdsBytes(int index) { return blufiIds_.getByteString(index); } public static final int METRIC_FIELD_NUMBER = 4; private int metric_; /** * .HistoryMetric metric = 4; */ public int getMetricValue() { return metric_; } /** * .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; } public static final int INTERVAL_FIELD_NUMBER = 5; private int interval_; /** * .MetricInterval interval = 5; */ public int getIntervalValue() { return interval_; } /** * .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; } public static final int BEGINMILLIS_FIELD_NUMBER = 6; private long beginMillis_; /** * int64 beginMillis = 6; */ public long getBeginMillis() { return beginMillis_; } public static final int ENDMILLIS_FIELD_NUMBER = 7; private long endMillis_; /** * int64 endMillis = 7; */ public long getEndMillis() { return endMillis_; } public static final int USEZEROS_FIELD_NUMBER = 8; private boolean useZeros_; /** * bool useZeros = 8; */ public boolean getUseZeros() { return useZeros_; } public static final int QUERYHINT_FIELD_NUMBER = 9; private int queryHint_; /** *
     * 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 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 = 10; private volatile 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) { 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 = 10; */ 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 = 11; private volatile 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) { 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 = 11; */ 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_); } if (!getBeaconIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beaconId_); } for (int i = 0; i < blufiIds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, blufiIds_.getRaw(i)); } if (metric_ != com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.TEMP.getNumber()) { output.writeEnum(4, metric_); } if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) { output.writeEnum(5, interval_); } if (beginMillis_ != 0L) { output.writeInt64(6, beginMillis_); } if (endMillis_ != 0L) { output.writeInt64(7, endMillis_); } if (useZeros_ != false) { output.writeBool(8, useZeros_); } if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) { output.writeEnum(9, queryHint_); } if (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, startDate_); } if (!getEndDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, 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_); } if (!getBeaconIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, beaconId_); } { int dataSize = 0; for (int i = 0; i < blufiIds_.size(); i++) { dataSize += computeStringSizeNoTag(blufiIds_.getRaw(i)); } size += dataSize; size += 1 * getBlufiIdsList().size(); } if (metric_ != com.bluvision.cloud.metric.Beaconmetrics.HistoryMetric.TEMP.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, metric_); } if (interval_ != com.bluvision.cloud.metric.Beaconmetrics.MetricInterval.SECOND.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, interval_); } if (beginMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, beginMillis_); } if (endMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, endMillis_); } if (useZeros_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(8, useZeros_); } if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, queryHint_); } if (!getStartDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, startDate_); } if (!getEndDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, 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.MetricByRangeRequest)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest other = (com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest) obj; boolean result = true; result = result && (getProjectId() == other.getProjectId()); result = result && getBeaconId() .equals(other.getBeaconId()); result = result && getBlufiIdsList() .equals(other.getBlufiIdsList()); result = result && metric_ == other.metric_; 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()); hash = (37 * hash) + BEACONID_FIELD_NUMBER; hash = (53 * hash) + getBeaconId().hashCode(); if (getBlufiIdsCount() > 0) { hash = (37 * hash) + BLUFIIDS_FIELD_NUMBER; hash = (53 * hash) + getBlufiIdsList().hashCode(); } hash = (37 * hash) + METRIC_FIELD_NUMBER; hash = (53 * hash) + metric_; 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.MetricByRangeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest 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.MetricByRangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest 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.MetricByRangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest 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.MetricByRangeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest 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.MetricByRangeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest 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.MetricByRangeRequest 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.MetricByRangeRequest 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.MetricByRangeRequest 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 MetricByRangeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:MetricByRangeRequest) com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_MetricByRangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.class, com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.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_ = ""; blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); metric_ = 0; 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_MetricByRangeRequest_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest build() { com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest result = new com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.projectId_ = projectId_; result.beaconId_ = beaconId_; if (((bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = blufiIds_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.blufiIds_ = blufiIds_; result.metric_ = metric_; 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.MetricByRangeRequest) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (!other.getBeaconId().isEmpty()) { beaconId_ = other.beaconId_; onChanged(); } if (!other.blufiIds_.isEmpty()) { if (blufiIds_.isEmpty()) { blufiIds_ = other.blufiIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureBlufiIdsIsMutable(); blufiIds_.addAll(other.blufiIds_); } onChanged(); } if (other.metric_ != 0) { setMetricValue(other.getMetricValue()); } 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.MetricByRangeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.MetricByRangeRequest) 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 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 com.google.protobuf.LazyStringList blufiIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureBlufiIdsIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { blufiIds_ = new com.google.protobuf.LazyStringArrayList(blufiIds_); bitField0_ |= 0x00000004; } } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ProtocolStringList getBlufiIdsList() { return blufiIds_.getUnmodifiableView(); } /** * repeated string blufiIds = 3; */ public int getBlufiIdsCount() { return blufiIds_.size(); } /** * repeated string blufiIds = 3; */ public java.lang.String getBlufiIds(int index) { return blufiIds_.get(index); } /** * repeated string blufiIds = 3; */ public com.google.protobuf.ByteString getBlufiIdsBytes(int index) { return blufiIds_.getByteString(index); } /** * repeated string blufiIds = 3; */ public Builder setBlufiIds( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBlufiIdsIsMutable(); blufiIds_.set(index, value); onChanged(); return this; } /** * repeated string blufiIds = 3; */ public Builder addBlufiIds( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureBlufiIdsIsMutable(); blufiIds_.add(value); onChanged(); return this; } /** * repeated string blufiIds = 3; */ public Builder addAllBlufiIds( java.lang.Iterable 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 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 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 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 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 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 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 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 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 parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public com.bluvision.cloud.metric.Beaconmetrics.BeaconConditionSummary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RawMetricRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:RawMetricRequest) 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); /** * int64 beginMillis = 3; */ long getBeginMillis(); /** * int64 endMillis = 4; */ long getEndMillis(); /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 5; */ int getQueryHintValue(); /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 5; */ com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint getQueryHint(); /** * string dataType = 6; */ java.lang.String getDataType(); /** * string dataType = 6; */ com.google.protobuf.ByteString getDataTypeBytes(); /** * string startDate = 7; */ java.lang.String getStartDate(); /** * string startDate = 7; */ com.google.protobuf.ByteString getStartDateBytes(); /** * string endDate = 8; */ java.lang.String getEndDate(); /** * string endDate = 8; */ com.google.protobuf.ByteString getEndDateBytes(); /** * string format = 9; */ java.lang.String getFormat(); /** * string format = 9; */ com.google.protobuf.ByteString getFormatBytes(); /** * repeated .RawMetricFilter filters = 10; */ java.util.List getFiltersList(); /** * repeated .RawMetricFilter filters = 10; */ int getFiltersCount(); /** * repeated .RawMetricFilter filters = 10; */ com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter getFilters(int index); /** * repeated .RawMetricFilter filters = 10; */ java.util.List getFiltersValueList(); /** * repeated .RawMetricFilter filters = 10; */ int getFiltersValue(int index); /** * bool download = 11; */ boolean getDownload(); } /** * Protobuf type {@code RawMetricRequest} */ public static final class RawMetricRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:RawMetricRequest) RawMetricRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RawMetricRequest.newBuilder() to construct. private RawMetricRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RawMetricRequest() { projectId_ = 0L; beaconIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; beginMillis_ = 0L; endMillis_ = 0L; queryHint_ = 0; dataType_ = ""; startDate_ = ""; endDate_ = ""; format_ = ""; filters_ = java.util.Collections.emptyList(); download_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RawMetricRequest( 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: { beginMillis_ = input.readInt64(); break; } case 32: { endMillis_ = input.readInt64(); break; } case 40: { int rawValue = input.readEnum(); queryHint_ = rawValue; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); dataType_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); startDate_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); endDate_ = s; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); format_ = s; break; } case 80: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { filters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } filters_.add(rawValue); break; } case 82: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { filters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } filters_.add(rawValue); } input.popLimit(oldLimit); break; } case 88: { download_ = 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_ & 0x00000002) == 0x00000002)) { beaconIds_ = beaconIds_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { filters_ = java.util.Collections.unmodifiableList(filters_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.class, com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.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 BEGINMILLIS_FIELD_NUMBER = 3; private long beginMillis_; /** * int64 beginMillis = 3; */ public long getBeginMillis() { return beginMillis_; } public static final int ENDMILLIS_FIELD_NUMBER = 4; private long endMillis_; /** * int64 endMillis = 4; */ public long getEndMillis() { return endMillis_; } public static final int QUERYHINT_FIELD_NUMBER = 5; private int queryHint_; /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 5; */ public int getQueryHintValue() { return queryHint_; } /** *
     * way to indicate how long they are willing to wait.
     * 
* * .MetricQueryHint queryHint = 5; */ 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 DATATYPE_FIELD_NUMBER = 6; private volatile java.lang.Object dataType_; /** * string dataType = 6; */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; 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(); dataType_ = s; return s; } } /** * string dataType = 6; */ public com.google.protobuf.ByteString getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTDATE_FIELD_NUMBER = 7; private volatile java.lang.Object startDate_; /** * string startDate = 7; */ 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 = 7; */ 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 = 8; private volatile java.lang.Object endDate_; /** * string endDate = 8; */ 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 = 8; */ 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 FORMAT_FIELD_NUMBER = 9; private volatile java.lang.Object format_; /** * string format = 9; */ public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; } } /** * string format = 9; */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILTERS_FIELD_NUMBER = 10; private java.util.List filters_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter> filters_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter>() { public com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter convert(java.lang.Integer from) { com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter result = com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter.valueOf(from); return result == null ? com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter.UNRECOGNIZED : result; } }; /** * repeated .RawMetricFilter filters = 10; */ public java.util.List getFiltersList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter>(filters_, filters_converter_); } /** * repeated .RawMetricFilter filters = 10; */ public int getFiltersCount() { return filters_.size(); } /** * repeated .RawMetricFilter filters = 10; */ public com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter getFilters(int index) { return filters_converter_.convert(filters_.get(index)); } /** * repeated .RawMetricFilter filters = 10; */ public java.util.List getFiltersValueList() { return filters_; } /** * repeated .RawMetricFilter filters = 10; */ public int getFiltersValue(int index) { return filters_.get(index); } private int filtersMemoizedSerializedSize; public static final int DOWNLOAD_FIELD_NUMBER = 11; private boolean download_; /** * bool download = 11; */ public boolean getDownload() { return download_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (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 (beginMillis_ != 0L) { output.writeInt64(3, beginMillis_); } if (endMillis_ != 0L) { output.writeInt64(4, endMillis_); } if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) { output.writeEnum(5, queryHint_); } if (!getDataTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dataType_); } if (!getStartDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, startDate_); } if (!getEndDateBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, endDate_); } if (!getFormatBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, format_); } if (getFiltersList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(filtersMemoizedSerializedSize); } for (int i = 0; i < filters_.size(); i++) { output.writeEnumNoTag(filters_.get(i)); } if (download_ != false) { output.writeBool(11, download_); } 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 (beginMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, beginMillis_); } if (endMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, endMillis_); } if (queryHint_ != com.bluvision.cloud.metric.Beaconmetrics.MetricQueryHint.ALL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, queryHint_); } if (!getDataTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dataType_); } if (!getStartDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, startDate_); } if (!getEndDateBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, endDate_); } if (!getFormatBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, format_); } { int dataSize = 0; for (int i = 0; i < filters_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(filters_.get(i)); } size += dataSize; if (!getFiltersList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }filtersMemoizedSerializedSize = dataSize; } if (download_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(11, download_); } 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.RawMetricRequest)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest other = (com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest) obj; boolean result = true; result = result && (getProjectId() == other.getProjectId()); result = result && getBeaconIdsList() .equals(other.getBeaconIdsList()); result = result && (getBeginMillis() == other.getBeginMillis()); result = result && (getEndMillis() == other.getEndMillis()); result = result && queryHint_ == other.queryHint_; result = result && getDataType() .equals(other.getDataType()); result = result && getStartDate() .equals(other.getStartDate()); result = result && getEndDate() .equals(other.getEndDate()); result = result && getFormat() .equals(other.getFormat()); result = result && filters_.equals(other.filters_); result = result && (getDownload() == other.getDownload()); 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) + 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) + QUERYHINT_FIELD_NUMBER; hash = (53 * hash) + queryHint_; hash = (37 * hash) + DATATYPE_FIELD_NUMBER; hash = (53 * hash) + getDataType().hashCode(); hash = (37 * hash) + STARTDATE_FIELD_NUMBER; hash = (53 * hash) + getStartDate().hashCode(); hash = (37 * hash) + ENDDATE_FIELD_NUMBER; hash = (53 * hash) + getEndDate().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); if (getFiltersCount() > 0) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; hash = (53 * hash) + filters_.hashCode(); } hash = (37 * hash) + DOWNLOAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDownload()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest 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.RawMetricRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest 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.RawMetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest 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.RawMetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest 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.RawMetricRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest 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.RawMetricRequest 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.RawMetricRequest 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.RawMetricRequest 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 RawMetricRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:RawMetricRequest) com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.class, com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.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); beginMillis_ = 0L; endMillis_ = 0L; queryHint_ = 0; dataType_ = ""; startDate_ = ""; endDate_ = ""; format_ = ""; filters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); download_ = false; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricRequest_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest build() { com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest result = new com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest(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.beginMillis_ = beginMillis_; result.endMillis_ = endMillis_; result.queryHint_ = queryHint_; result.dataType_ = dataType_; result.startDate_ = startDate_; result.endDate_ = endDate_; result.format_ = format_; if (((bitField0_ & 0x00000200) == 0x00000200)) { filters_ = java.util.Collections.unmodifiableList(filters_); bitField0_ = (bitField0_ & ~0x00000200); } result.filters_ = filters_; result.download_ = download_; 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.RawMetricRequest) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest.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.getBeginMillis() != 0L) { setBeginMillis(other.getBeginMillis()); } if (other.getEndMillis() != 0L) { setEndMillis(other.getEndMillis()); } if (other.queryHint_ != 0) { setQueryHintValue(other.getQueryHintValue()); } if (!other.getDataType().isEmpty()) { dataType_ = other.dataType_; onChanged(); } if (!other.getStartDate().isEmpty()) { startDate_ = other.startDate_; onChanged(); } if (!other.getEndDate().isEmpty()) { endDate_ = other.endDate_; onChanged(); } if (!other.getFormat().isEmpty()) { format_ = other.format_; onChanged(); } if (!other.filters_.isEmpty()) { if (filters_.isEmpty()) { filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureFiltersIsMutable(); filters_.addAll(other.filters_); } onChanged(); } if (other.getDownload() != false) { setDownload(other.getDownload()); } 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.RawMetricRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest) 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 long beginMillis_ ; /** * int64 beginMillis = 3; */ public long getBeginMillis() { return beginMillis_; } /** * int64 beginMillis = 3; */ public Builder setBeginMillis(long value) { beginMillis_ = value; onChanged(); return this; } /** * int64 beginMillis = 3; */ public Builder clearBeginMillis() { beginMillis_ = 0L; onChanged(); return this; } private long endMillis_ ; /** * int64 endMillis = 4; */ public long getEndMillis() { return endMillis_; } /** * int64 endMillis = 4; */ public Builder setEndMillis(long value) { endMillis_ = value; onChanged(); return this; } /** * int64 endMillis = 4; */ public Builder clearEndMillis() { endMillis_ = 0L; onChanged(); return this; } private int queryHint_ = 0; /** *
       * way to indicate how long they are willing to wait.
       * 
* * .MetricQueryHint queryHint = 5; */ public int getQueryHintValue() { return queryHint_; } /** *
       * way to indicate how long they are willing to wait.
       * 
* * .MetricQueryHint queryHint = 5; */ public Builder setQueryHintValue(int value) { queryHint_ = value; onChanged(); return this; } /** *
       * way to indicate how long they are willing to wait.
       * 
* * .MetricQueryHint queryHint = 5; */ 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 = 5; */ 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 = 5; */ public Builder clearQueryHint() { queryHint_ = 0; onChanged(); return this; } private java.lang.Object dataType_ = ""; /** * string dataType = 6; */ public java.lang.String getDataType() { java.lang.Object ref = dataType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dataType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string dataType = 6; */ public com.google.protobuf.ByteString getDataTypeBytes() { java.lang.Object ref = dataType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); dataType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string dataType = 6; */ public Builder setDataType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } dataType_ = value; onChanged(); return this; } /** * string dataType = 6; */ public Builder clearDataType() { dataType_ = getDefaultInstance().getDataType(); onChanged(); return this; } /** * string dataType = 6; */ public Builder setDataTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); dataType_ = value; onChanged(); return this; } private java.lang.Object startDate_ = ""; /** * string startDate = 7; */ 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 = 7; */ 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 = 7; */ public Builder setStartDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } startDate_ = value; onChanged(); return this; } /** * string startDate = 7; */ public Builder clearStartDate() { startDate_ = getDefaultInstance().getStartDate(); onChanged(); return this; } /** * string startDate = 7; */ 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 = 8; */ 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 = 8; */ 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 = 8; */ public Builder setEndDate( java.lang.String value) { if (value == null) { throw new NullPointerException(); } endDate_ = value; onChanged(); return this; } /** * string endDate = 8; */ public Builder clearEndDate() { endDate_ = getDefaultInstance().getEndDate(); onChanged(); return this; } /** * string endDate = 8; */ public Builder setEndDateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); endDate_ = value; onChanged(); return this; } private java.lang.Object format_ = ""; /** * string format = 9; */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** * string format = 9; */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string format = 9; */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** * string format = 9; */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** * string format = 9; */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = value; onChanged(); return this; } private java.util.List filters_ = java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000200; } } /** * repeated .RawMetricFilter filters = 10; */ public java.util.List getFiltersList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter>(filters_, filters_converter_); } /** * repeated .RawMetricFilter filters = 10; */ public int getFiltersCount() { return filters_.size(); } /** * repeated .RawMetricFilter filters = 10; */ public com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter getFilters(int index) { return filters_converter_.convert(filters_.get(index)); } /** * repeated .RawMetricFilter filters = 10; */ public Builder setFilters( int index, com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter value) { if (value == null) { throw new NullPointerException(); } ensureFiltersIsMutable(); filters_.set(index, value.getNumber()); onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public Builder addFilters(com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter value) { if (value == null) { throw new NullPointerException(); } ensureFiltersIsMutable(); filters_.add(value.getNumber()); onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public Builder addAllFilters( java.lang.Iterable values) { ensureFiltersIsMutable(); for (com.bluvision.cloud.metric.Beaconmetrics.RawMetricFilter value : values) { filters_.add(value.getNumber()); } onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public Builder clearFilters() { filters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public java.util.List getFiltersValueList() { return java.util.Collections.unmodifiableList(filters_); } /** * repeated .RawMetricFilter filters = 10; */ public int getFiltersValue(int index) { return filters_.get(index); } /** * repeated .RawMetricFilter filters = 10; */ public Builder setFiltersValue( int index, int value) { ensureFiltersIsMutable(); filters_.set(index, value); onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public Builder addFiltersValue(int value) { ensureFiltersIsMutable(); filters_.add(value); onChanged(); return this; } /** * repeated .RawMetricFilter filters = 10; */ public Builder addAllFiltersValue( java.lang.Iterable values) { ensureFiltersIsMutable(); for (int value : values) { filters_.add(value); } onChanged(); return this; } private boolean download_ ; /** * bool download = 11; */ public boolean getDownload() { return download_; } /** * bool download = 11; */ public Builder setDownload(boolean value) { download_ = value; onChanged(); return this; } /** * bool download = 11; */ public Builder clearDownload() { download_ = 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:RawMetricRequest) } // @@protoc_insertion_point(class_scope:RawMetricRequest) private static final com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest(); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RawMetricRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RawMetricRequest(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.RawMetricRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RawMetricResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:RawMetricResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .BeaconRawMetric results = 1; */ java.util.List getResultsList(); /** * repeated .BeaconRawMetric results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResults(int index); /** * repeated .BeaconRawMetric results = 1; */ int getResultsCount(); /** * repeated .BeaconRawMetric results = 1; */ java.util.List getResultsOrBuilderList(); /** * repeated .BeaconRawMetric results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder getResultsOrBuilder( int index); } /** * Protobuf type {@code RawMetricResponse} */ public static final class RawMetricResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:RawMetricResponse) RawMetricResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RawMetricResponse.newBuilder() to construct. private RawMetricResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RawMetricResponse() { results_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RawMetricResponse( 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.BeaconRawMetric.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_RawMetricResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.class, com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** * repeated .BeaconRawMetric results = 1; */ public java.util.List getResultsList() { return results_; } /** * repeated .BeaconRawMetric results = 1; */ public java.util.List getResultsOrBuilderList() { return results_; } /** * repeated .BeaconRawMetric results = 1; */ public int getResultsCount() { return results_.size(); } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResults(int index) { return results_.get(index); } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder 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.RawMetricResponse)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse other = (com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse) 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.RawMetricResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse 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.RawMetricResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse 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.RawMetricResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse 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.RawMetricResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse 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.RawMetricResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse 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.RawMetricResponse 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.RawMetricResponse 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.RawMetricResponse 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 RawMetricResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:RawMetricResponse) com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_RawMetricResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.class, com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.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_RawMetricResponse_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse build() { com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse result = new com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse(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.RawMetricResponse) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse.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.RawMetricResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse) 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.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder> resultsBuilder_; /** * repeated .BeaconRawMetric results = 1; */ public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { return resultsBuilder_.getMessageList(); } } /** * repeated .BeaconRawMetric results = 1; */ public int getResultsCount() { if (resultsBuilder_ == null) { return results_.size(); } else { return resultsBuilder_.getCount(); } } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getResults(int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessage(index); } } /** * repeated .BeaconRawMetric results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.set(index, value); onChanged(); } else { resultsBuilder_.setMessage(index, value); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder addResults(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(value); onChanged(); } else { resultsBuilder_.addMessage(value); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(index, value); onChanged(); } else { resultsBuilder_.addMessage(index, value); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder addResults( com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public Builder removeResults(int index) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.remove(index); onChanged(); } else { resultsBuilder_.remove(index); } return this; } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder getResultsBuilder( int index) { return getResultsFieldBuilder().getBuilder(index); } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** * repeated .BeaconRawMetric results = 1; */ public java.util.List getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(results_); } } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance()); } /** * repeated .BeaconRawMetric results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder addResultsBuilder( int index) { return getResultsFieldBuilder().addBuilder( index, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance()); } /** * repeated .BeaconRawMetric results = 1; */ public java.util.List getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder>( 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:RawMetricResponse) } // @@protoc_insertion_point(class_scope:RawMetricResponse) private static final com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse(); } public static com.bluvision.cloud.metric.Beaconmetrics.RawMetricResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public RawMetricResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RawMetricResponse(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.RawMetricResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClusterDataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:ClusterDataRequest) 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 policyId = 3; */ long getPolicyId(); /** * int64 beginMillis = 4; */ long getBeginMillis(); /** * int64 endMillis = 5; */ long getEndMillis(); /** * int32 xClusterIndex = 6; */ int getXClusterIndex(); /** * int32 yClusterIndex = 7; */ int getYClusterIndex(); /** * int32 zClusterIndex = 8; */ int getZClusterIndex(); /** * bool highRes = 9; */ boolean getHighRes(); /** * bool download = 10; */ boolean getDownload(); } /** * Protobuf type {@code ClusterDataRequest} */ public static final class ClusterDataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ClusterDataRequest) ClusterDataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ClusterDataRequest.newBuilder() to construct. private ClusterDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClusterDataRequest() { projectId_ = 0L; beaconId_ = ""; policyId_ = 0L; beginMillis_ = 0L; endMillis_ = 0L; xClusterIndex_ = 0; yClusterIndex_ = 0; zClusterIndex_ = 0; highRes_ = false; download_ = false; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClusterDataRequest( 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: { policyId_ = input.readInt64(); break; } case 32: { beginMillis_ = input.readInt64(); break; } case 40: { endMillis_ = input.readInt64(); break; } case 48: { xClusterIndex_ = input.readInt32(); break; } case 56: { yClusterIndex_ = input.readInt32(); break; } case 64: { zClusterIndex_ = input.readInt32(); break; } case 72: { highRes_ = input.readBool(); break; } case 80: { download_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.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 POLICYID_FIELD_NUMBER = 3; private long policyId_; /** * int64 policyId = 3; */ public long getPolicyId() { return policyId_; } 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 XCLUSTERINDEX_FIELD_NUMBER = 6; private int xClusterIndex_; /** * int32 xClusterIndex = 6; */ public int getXClusterIndex() { return xClusterIndex_; } public static final int YCLUSTERINDEX_FIELD_NUMBER = 7; private int yClusterIndex_; /** * int32 yClusterIndex = 7; */ public int getYClusterIndex() { return yClusterIndex_; } public static final int ZCLUSTERINDEX_FIELD_NUMBER = 8; private int zClusterIndex_; /** * int32 zClusterIndex = 8; */ public int getZClusterIndex() { return zClusterIndex_; } public static final int HIGHRES_FIELD_NUMBER = 9; private boolean highRes_; /** * bool highRes = 9; */ public boolean getHighRes() { return highRes_; } public static final int DOWNLOAD_FIELD_NUMBER = 10; private boolean download_; /** * bool download = 10; */ public boolean getDownload() { return download_; } 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 (policyId_ != 0L) { output.writeInt64(3, policyId_); } if (beginMillis_ != 0L) { output.writeInt64(4, beginMillis_); } if (endMillis_ != 0L) { output.writeInt64(5, endMillis_); } if (xClusterIndex_ != 0) { output.writeInt32(6, xClusterIndex_); } if (yClusterIndex_ != 0) { output.writeInt32(7, yClusterIndex_); } if (zClusterIndex_ != 0) { output.writeInt32(8, zClusterIndex_); } if (highRes_ != false) { output.writeBool(9, highRes_); } if (download_ != false) { output.writeBool(10, download_); } 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 (policyId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, policyId_); } if (beginMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, beginMillis_); } if (endMillis_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, endMillis_); } if (xClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, xClusterIndex_); } if (yClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, yClusterIndex_); } if (zClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, zClusterIndex_); } if (highRes_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(9, highRes_); } if (download_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, download_); } 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.ClusterDataRequest)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest other = (com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest) obj; boolean result = true; result = result && (getProjectId() == other.getProjectId()); result = result && getBeaconId() .equals(other.getBeaconId()); result = result && (getPolicyId() == other.getPolicyId()); result = result && (getBeginMillis() == other.getBeginMillis()); result = result && (getEndMillis() == other.getEndMillis()); result = result && (getXClusterIndex() == other.getXClusterIndex()); result = result && (getYClusterIndex() == other.getYClusterIndex()); result = result && (getZClusterIndex() == other.getZClusterIndex()); result = result && (getHighRes() == other.getHighRes()); result = result && (getDownload() == other.getDownload()); 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) + POLICYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPolicyId()); 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) + XCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getXClusterIndex(); hash = (37 * hash) + YCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getYClusterIndex(); hash = (37 * hash) + ZCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getZClusterIndex(); hash = (37 * hash) + HIGHRES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHighRes()); hash = (37 * hash) + DOWNLOAD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDownload()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest 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.ClusterDataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest 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.ClusterDataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest 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.ClusterDataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest 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.ClusterDataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest 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.ClusterDataRequest 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.ClusterDataRequest 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.ClusterDataRequest 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 ClusterDataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ClusterDataRequest) com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.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_ = ""; policyId_ = 0L; beginMillis_ = 0L; endMillis_ = 0L; xClusterIndex_ = 0; yClusterIndex_ = 0; zClusterIndex_ = 0; highRes_ = false; download_ = false; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataRequest_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest build() { com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest result = new com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest(this); result.projectId_ = projectId_; result.beaconId_ = beaconId_; result.policyId_ = policyId_; result.beginMillis_ = beginMillis_; result.endMillis_ = endMillis_; result.xClusterIndex_ = xClusterIndex_; result.yClusterIndex_ = yClusterIndex_; result.zClusterIndex_ = zClusterIndex_; result.highRes_ = highRes_; result.download_ = download_; 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.ClusterDataRequest) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (!other.getBeaconId().isEmpty()) { beaconId_ = other.beaconId_; onChanged(); } if (other.getPolicyId() != 0L) { setPolicyId(other.getPolicyId()); } if (other.getBeginMillis() != 0L) { setBeginMillis(other.getBeginMillis()); } if (other.getEndMillis() != 0L) { setEndMillis(other.getEndMillis()); } if (other.getXClusterIndex() != 0) { setXClusterIndex(other.getXClusterIndex()); } if (other.getYClusterIndex() != 0) { setYClusterIndex(other.getYClusterIndex()); } if (other.getZClusterIndex() != 0) { setZClusterIndex(other.getZClusterIndex()); } if (other.getHighRes() != false) { setHighRes(other.getHighRes()); } if (other.getDownload() != false) { setDownload(other.getDownload()); } 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.ClusterDataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest) 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 policyId_ ; /** * int64 policyId = 3; */ public long getPolicyId() { return policyId_; } /** * int64 policyId = 3; */ public Builder setPolicyId(long value) { policyId_ = value; onChanged(); return this; } /** * int64 policyId = 3; */ public Builder clearPolicyId() { policyId_ = 0L; 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 int xClusterIndex_ ; /** * int32 xClusterIndex = 6; */ public int getXClusterIndex() { return xClusterIndex_; } /** * int32 xClusterIndex = 6; */ public Builder setXClusterIndex(int value) { xClusterIndex_ = value; onChanged(); return this; } /** * int32 xClusterIndex = 6; */ public Builder clearXClusterIndex() { xClusterIndex_ = 0; onChanged(); return this; } private int yClusterIndex_ ; /** * int32 yClusterIndex = 7; */ public int getYClusterIndex() { return yClusterIndex_; } /** * int32 yClusterIndex = 7; */ public Builder setYClusterIndex(int value) { yClusterIndex_ = value; onChanged(); return this; } /** * int32 yClusterIndex = 7; */ public Builder clearYClusterIndex() { yClusterIndex_ = 0; onChanged(); return this; } private int zClusterIndex_ ; /** * int32 zClusterIndex = 8; */ public int getZClusterIndex() { return zClusterIndex_; } /** * int32 zClusterIndex = 8; */ public Builder setZClusterIndex(int value) { zClusterIndex_ = value; onChanged(); return this; } /** * int32 zClusterIndex = 8; */ public Builder clearZClusterIndex() { zClusterIndex_ = 0; onChanged(); return this; } private boolean highRes_ ; /** * bool highRes = 9; */ public boolean getHighRes() { return highRes_; } /** * bool highRes = 9; */ public Builder setHighRes(boolean value) { highRes_ = value; onChanged(); return this; } /** * bool highRes = 9; */ public Builder clearHighRes() { highRes_ = false; onChanged(); return this; } private boolean download_ ; /** * bool download = 10; */ public boolean getDownload() { return download_; } /** * bool download = 10; */ public Builder setDownload(boolean value) { download_ = value; onChanged(); return this; } /** * bool download = 10; */ public Builder clearDownload() { download_ = 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:ClusterDataRequest) } // @@protoc_insertion_point(class_scope:ClusterDataRequest) private static final com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest(); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ClusterDataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClusterDataRequest(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.ClusterDataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClusterDataOrBuilder extends // @@protoc_insertion_point(interface_extends:ClusterData) com.google.protobuf.MessageOrBuilder { /** * int32 xClusterIndex = 1; */ int getXClusterIndex(); /** * int32 yClusterIndex = 2; */ int getYClusterIndex(); /** * int32 zClusterIndex = 3; */ int getZClusterIndex(); /** * .BeaconRawMetric metric = 4; */ boolean hasMetric(); /** * .BeaconRawMetric metric = 4; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getMetric(); /** * .BeaconRawMetric metric = 4; */ com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder getMetricOrBuilder(); } /** * Protobuf type {@code ClusterData} */ public static final class ClusterData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ClusterData) ClusterDataOrBuilder { private static final long serialVersionUID = 0L; // Use ClusterData.newBuilder() to construct. private ClusterData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClusterData() { xClusterIndex_ = 0; yClusterIndex_ = 0; zClusterIndex_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClusterData( 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: { xClusterIndex_ = input.readInt32(); break; } case 16: { yClusterIndex_ = input.readInt32(); break; } case 24: { zClusterIndex_ = input.readInt32(); break; } case 34: { com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder subBuilder = null; if (metric_ != null) { subBuilder = metric_.toBuilder(); } metric_ = input.readMessage(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metric_); metric_ = 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_ClusterData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterData.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder.class); } public static final int XCLUSTERINDEX_FIELD_NUMBER = 1; private int xClusterIndex_; /** * int32 xClusterIndex = 1; */ public int getXClusterIndex() { return xClusterIndex_; } public static final int YCLUSTERINDEX_FIELD_NUMBER = 2; private int yClusterIndex_; /** * int32 yClusterIndex = 2; */ public int getYClusterIndex() { return yClusterIndex_; } public static final int ZCLUSTERINDEX_FIELD_NUMBER = 3; private int zClusterIndex_; /** * int32 zClusterIndex = 3; */ public int getZClusterIndex() { return zClusterIndex_; } public static final int METRIC_FIELD_NUMBER = 4; private com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric metric_; /** * .BeaconRawMetric metric = 4; */ public boolean hasMetric() { return metric_ != null; } /** * .BeaconRawMetric metric = 4; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getMetric() { return metric_ == null ? com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance() : metric_; } /** * .BeaconRawMetric metric = 4; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder getMetricOrBuilder() { return getMetric(); } 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 (xClusterIndex_ != 0) { output.writeInt32(1, xClusterIndex_); } if (yClusterIndex_ != 0) { output.writeInt32(2, yClusterIndex_); } if (zClusterIndex_ != 0) { output.writeInt32(3, zClusterIndex_); } if (metric_ != null) { output.writeMessage(4, getMetric()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (xClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, xClusterIndex_); } if (yClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, yClusterIndex_); } if (zClusterIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, zClusterIndex_); } if (metric_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getMetric()); } 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.ClusterData)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.ClusterData other = (com.bluvision.cloud.metric.Beaconmetrics.ClusterData) obj; boolean result = true; result = result && (getXClusterIndex() == other.getXClusterIndex()); result = result && (getYClusterIndex() == other.getYClusterIndex()); result = result && (getZClusterIndex() == other.getZClusterIndex()); result = result && (hasMetric() == other.hasMetric()); if (hasMetric()) { result = result && getMetric() .equals(other.getMetric()); } 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) + XCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getXClusterIndex(); hash = (37 * hash) + YCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getYClusterIndex(); hash = (37 * hash) + ZCLUSTERINDEX_FIELD_NUMBER; hash = (53 * hash) + getZClusterIndex(); if (hasMetric()) { hash = (37 * hash) + METRIC_FIELD_NUMBER; hash = (53 * hash) + getMetric().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData 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.ClusterData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData 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.ClusterData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData 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.ClusterData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData 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.ClusterData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData 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.ClusterData 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.ClusterData 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.ClusterData 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 ClusterData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ClusterData) com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterData_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterData_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterData.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.ClusterData.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(); xClusterIndex_ = 0; yClusterIndex_ = 0; zClusterIndex_ = 0; if (metricBuilder_ == null) { metric_ = null; } else { metric_ = null; metricBuilder_ = null; } return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterData_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterData getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.ClusterData.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.ClusterData build() { com.bluvision.cloud.metric.Beaconmetrics.ClusterData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterData buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.ClusterData result = new com.bluvision.cloud.metric.Beaconmetrics.ClusterData(this); result.xClusterIndex_ = xClusterIndex_; result.yClusterIndex_ = yClusterIndex_; result.zClusterIndex_ = zClusterIndex_; if (metricBuilder_ == null) { result.metric_ = metric_; } else { result.metric_ = metricBuilder_.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.ClusterData) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.ClusterData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.ClusterData other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.ClusterData.getDefaultInstance()) return this; if (other.getXClusterIndex() != 0) { setXClusterIndex(other.getXClusterIndex()); } if (other.getYClusterIndex() != 0) { setYClusterIndex(other.getYClusterIndex()); } if (other.getZClusterIndex() != 0) { setZClusterIndex(other.getZClusterIndex()); } if (other.hasMetric()) { mergeMetric(other.getMetric()); } 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.ClusterData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.ClusterData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int xClusterIndex_ ; /** * int32 xClusterIndex = 1; */ public int getXClusterIndex() { return xClusterIndex_; } /** * int32 xClusterIndex = 1; */ public Builder setXClusterIndex(int value) { xClusterIndex_ = value; onChanged(); return this; } /** * int32 xClusterIndex = 1; */ public Builder clearXClusterIndex() { xClusterIndex_ = 0; onChanged(); return this; } private int yClusterIndex_ ; /** * int32 yClusterIndex = 2; */ public int getYClusterIndex() { return yClusterIndex_; } /** * int32 yClusterIndex = 2; */ public Builder setYClusterIndex(int value) { yClusterIndex_ = value; onChanged(); return this; } /** * int32 yClusterIndex = 2; */ public Builder clearYClusterIndex() { yClusterIndex_ = 0; onChanged(); return this; } private int zClusterIndex_ ; /** * int32 zClusterIndex = 3; */ public int getZClusterIndex() { return zClusterIndex_; } /** * int32 zClusterIndex = 3; */ public Builder setZClusterIndex(int value) { zClusterIndex_ = value; onChanged(); return this; } /** * int32 zClusterIndex = 3; */ public Builder clearZClusterIndex() { zClusterIndex_ = 0; onChanged(); return this; } private com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric metric_ = null; private com.google.protobuf.SingleFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder> metricBuilder_; /** * .BeaconRawMetric metric = 4; */ public boolean hasMetric() { return metricBuilder_ != null || metric_ != null; } /** * .BeaconRawMetric metric = 4; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric getMetric() { if (metricBuilder_ == null) { return metric_ == null ? com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance() : metric_; } else { return metricBuilder_.getMessage(); } } /** * .BeaconRawMetric metric = 4; */ public Builder setMetric(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) { if (metricBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metric_ = value; onChanged(); } else { metricBuilder_.setMessage(value); } return this; } /** * .BeaconRawMetric metric = 4; */ public Builder setMetric( com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder builderForValue) { if (metricBuilder_ == null) { metric_ = builderForValue.build(); onChanged(); } else { metricBuilder_.setMessage(builderForValue.build()); } return this; } /** * .BeaconRawMetric metric = 4; */ public Builder mergeMetric(com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric value) { if (metricBuilder_ == null) { if (metric_ != null) { metric_ = com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.newBuilder(metric_).mergeFrom(value).buildPartial(); } else { metric_ = value; } onChanged(); } else { metricBuilder_.mergeFrom(value); } return this; } /** * .BeaconRawMetric metric = 4; */ public Builder clearMetric() { if (metricBuilder_ == null) { metric_ = null; onChanged(); } else { metric_ = null; metricBuilder_ = null; } return this; } /** * .BeaconRawMetric metric = 4; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder getMetricBuilder() { onChanged(); return getMetricFieldBuilder().getBuilder(); } /** * .BeaconRawMetric metric = 4; */ public com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder getMetricOrBuilder() { if (metricBuilder_ != null) { return metricBuilder_.getMessageOrBuilder(); } else { return metric_ == null ? com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.getDefaultInstance() : metric_; } } /** * .BeaconRawMetric metric = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder> getMetricFieldBuilder() { if (metricBuilder_ == null) { metricBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetric.Builder, com.bluvision.cloud.metric.Beaconmetrics.BeaconRawMetricOrBuilder>( getMetric(), getParentForChildren(), isClean()); metric_ = null; } return metricBuilder_; } 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:ClusterData) } // @@protoc_insertion_point(class_scope:ClusterData) private static final com.bluvision.cloud.metric.Beaconmetrics.ClusterData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.ClusterData(); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ClusterData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClusterData(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.ClusterData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClusterDataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:ClusterDataResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .ClusterData results = 1; */ java.util.List getResultsList(); /** * repeated .ClusterData results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.ClusterData getResults(int index); /** * repeated .ClusterData results = 1; */ int getResultsCount(); /** * repeated .ClusterData results = 1; */ java.util.List getResultsOrBuilderList(); /** * repeated .ClusterData results = 1; */ com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder getResultsOrBuilder( int index); } /** * Protobuf type {@code ClusterDataResponse} */ public static final class ClusterDataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:ClusterDataResponse) ClusterDataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ClusterDataResponse.newBuilder() to construct. private ClusterDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClusterDataResponse() { results_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClusterDataResponse( 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.ClusterData.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_ClusterDataResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.Builder.class); } public static final int RESULTS_FIELD_NUMBER = 1; private java.util.List results_; /** * repeated .ClusterData results = 1; */ public java.util.List getResultsList() { return results_; } /** * repeated .ClusterData results = 1; */ public java.util.List getResultsOrBuilderList() { return results_; } /** * repeated .ClusterData results = 1; */ public int getResultsCount() { return results_.size(); } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterData getResults(int index) { return results_.get(index); } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder 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.ClusterDataResponse)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse other = (com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse) 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.ClusterDataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse 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.ClusterDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse 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.ClusterDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse 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.ClusterDataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse 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.ClusterDataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse 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.ClusterDataResponse 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.ClusterDataResponse 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.ClusterDataResponse 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 ClusterDataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:ClusterDataResponse) com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_ClusterDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.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_ClusterDataResponse_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse build() { com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse result = new com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse(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.ClusterDataResponse) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse.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.ClusterDataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse) 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.ClusterData, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder> resultsBuilder_; /** * repeated .ClusterData results = 1; */ public java.util.List getResultsList() { if (resultsBuilder_ == null) { return java.util.Collections.unmodifiableList(results_); } else { return resultsBuilder_.getMessageList(); } } /** * repeated .ClusterData results = 1; */ public int getResultsCount() { if (resultsBuilder_ == null) { return results_.size(); } else { return resultsBuilder_.getCount(); } } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterData getResults(int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessage(index); } } /** * repeated .ClusterData results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.ClusterData value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.set(index, value); onChanged(); } else { resultsBuilder_.setMessage(index, value); } return this; } /** * repeated .ClusterData results = 1; */ public Builder setResults( int index, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.set(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .ClusterData results = 1; */ public Builder addResults(com.bluvision.cloud.metric.Beaconmetrics.ClusterData value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(value); onChanged(); } else { resultsBuilder_.addMessage(value); } return this; } /** * repeated .ClusterData results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.ClusterData value) { if (resultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureResultsIsMutable(); results_.add(index, value); onChanged(); } else { resultsBuilder_.addMessage(index, value); } return this; } /** * repeated .ClusterData results = 1; */ public Builder addResults( com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .ClusterData results = 1; */ public Builder addResults( int index, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder builderForValue) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.add(index, builderForValue.build()); onChanged(); } else { resultsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .ClusterData results = 1; */ public Builder addAllResults( java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); } return this; } /** * repeated .ClusterData results = 1; */ public Builder clearResults() { if (resultsBuilder_ == null) { results_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { resultsBuilder_.clear(); } return this; } /** * repeated .ClusterData results = 1; */ public Builder removeResults(int index) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); results_.remove(index); onChanged(); } else { resultsBuilder_.remove(index); } return this; } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder getResultsBuilder( int index) { return getResultsFieldBuilder().getBuilder(index); } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder getResultsOrBuilder( int index) { if (resultsBuilder_ == null) { return results_.get(index); } else { return resultsBuilder_.getMessageOrBuilder(index); } } /** * repeated .ClusterData results = 1; */ public java.util.List getResultsOrBuilderList() { if (resultsBuilder_ != null) { return resultsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(results_); } } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder addResultsBuilder() { return getResultsFieldBuilder().addBuilder( com.bluvision.cloud.metric.Beaconmetrics.ClusterData.getDefaultInstance()); } /** * repeated .ClusterData results = 1; */ public com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder addResultsBuilder( int index) { return getResultsFieldBuilder().addBuilder( index, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.getDefaultInstance()); } /** * repeated .ClusterData results = 1; */ public java.util.List getResultsBuilderList() { return getResultsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.ClusterData, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder> getResultsFieldBuilder() { if (resultsBuilder_ == null) { resultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.bluvision.cloud.metric.Beaconmetrics.ClusterData, com.bluvision.cloud.metric.Beaconmetrics.ClusterData.Builder, com.bluvision.cloud.metric.Beaconmetrics.ClusterDataOrBuilder>( 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:ClusterDataResponse) } // @@protoc_insertion_point(class_scope:ClusterDataResponse) private static final com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse(); } public static com.bluvision.cloud.metric.Beaconmetrics.ClusterDataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public ClusterDataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClusterDataResponse(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.ClusterDataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SaveClusterInvalidDataRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:SaveClusterInvalidDataRequest) 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 policyId = 3; */ long getPolicyId(); /** * bool highRes = 4; */ boolean getHighRes(); /** * repeated int64 timestamps = 5; */ java.util.List getTimestampsList(); /** * repeated int64 timestamps = 5; */ int getTimestampsCount(); /** * repeated int64 timestamps = 5; */ long getTimestamps(int index); } /** * Protobuf type {@code SaveClusterInvalidDataRequest} */ public static final class SaveClusterInvalidDataRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:SaveClusterInvalidDataRequest) SaveClusterInvalidDataRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SaveClusterInvalidDataRequest.newBuilder() to construct. private SaveClusterInvalidDataRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SaveClusterInvalidDataRequest() { projectId_ = 0L; beaconId_ = ""; policyId_ = 0L; highRes_ = false; timestamps_ = java.util.Collections.emptyList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SaveClusterInvalidDataRequest( 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: { policyId_ = input.readInt64(); break; } case 32: { highRes_ = input.readBool(); break; } case 40: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { timestamps_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } timestamps_.add(input.readInt64()); break; } case 42: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010) && input.getBytesUntilLimit() > 0) { timestamps_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } while (input.getBytesUntilLimit() > 0) { timestamps_.add(input.readInt64()); } input.popLimit(limit); 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_ & 0x00000010) == 0x00000010)) { timestamps_ = java.util.Collections.unmodifiableList(timestamps_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.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 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 POLICYID_FIELD_NUMBER = 3; private long policyId_; /** * int64 policyId = 3; */ public long getPolicyId() { return policyId_; } public static final int HIGHRES_FIELD_NUMBER = 4; private boolean highRes_; /** * bool highRes = 4; */ public boolean getHighRes() { return highRes_; } public static final int TIMESTAMPS_FIELD_NUMBER = 5; private java.util.List timestamps_; /** * repeated int64 timestamps = 5; */ public java.util.List getTimestampsList() { return timestamps_; } /** * repeated int64 timestamps = 5; */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated int64 timestamps = 5; */ public long getTimestamps(int index) { return timestamps_.get(index); } private int timestampsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (projectId_ != 0L) { output.writeInt64(1, projectId_); } if (!getBeaconIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, beaconId_); } if (policyId_ != 0L) { output.writeInt64(3, policyId_); } if (highRes_ != false) { output.writeBool(4, highRes_); } if (getTimestampsList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(timestampsMemoizedSerializedSize); } for (int i = 0; i < timestamps_.size(); i++) { output.writeInt64NoTag(timestamps_.get(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 (!getBeaconIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, beaconId_); } if (policyId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, policyId_); } if (highRes_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, highRes_); } { int dataSize = 0; for (int i = 0; i < timestamps_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(timestamps_.get(i)); } size += dataSize; if (!getTimestampsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } timestampsMemoizedSerializedSize = dataSize; } 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.SaveClusterInvalidDataRequest)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest other = (com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest) obj; boolean result = true; result = result && (getProjectId() == other.getProjectId()); result = result && getBeaconId() .equals(other.getBeaconId()); result = result && (getPolicyId() == other.getPolicyId()); result = result && (getHighRes() == other.getHighRes()); result = result && getTimestampsList() .equals(other.getTimestampsList()); 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) + POLICYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPolicyId()); hash = (37 * hash) + HIGHRES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHighRes()); if (getTimestampsCount() > 0) { hash = (37 * hash) + TIMESTAMPS_FIELD_NUMBER; hash = (53 * hash) + getTimestampsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest 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.SaveClusterInvalidDataRequest 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 SaveClusterInvalidDataRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:SaveClusterInvalidDataRequest) com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataRequest_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.class, com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.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_ = ""; policyId_ = 0L; highRes_ = false; timestamps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataRequest_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest build() { com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest result = new com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.projectId_ = projectId_; result.beaconId_ = beaconId_; result.policyId_ = policyId_; result.highRes_ = highRes_; if (((bitField0_ & 0x00000010) == 0x00000010)) { timestamps_ = java.util.Collections.unmodifiableList(timestamps_); bitField0_ = (bitField0_ & ~0x00000010); } result.timestamps_ = timestamps_; 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.SaveClusterInvalidDataRequest) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest.getDefaultInstance()) return this; if (other.getProjectId() != 0L) { setProjectId(other.getProjectId()); } if (!other.getBeaconId().isEmpty()) { beaconId_ = other.beaconId_; onChanged(); } if (other.getPolicyId() != 0L) { setPolicyId(other.getPolicyId()); } if (other.getHighRes() != false) { setHighRes(other.getHighRes()); } if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } 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.SaveClusterInvalidDataRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest) 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 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 policyId_ ; /** * int64 policyId = 3; */ public long getPolicyId() { return policyId_; } /** * int64 policyId = 3; */ public Builder setPolicyId(long value) { policyId_ = value; onChanged(); return this; } /** * int64 policyId = 3; */ public Builder clearPolicyId() { policyId_ = 0L; onChanged(); return this; } private boolean highRes_ ; /** * bool highRes = 4; */ public boolean getHighRes() { return highRes_; } /** * bool highRes = 4; */ public Builder setHighRes(boolean value) { highRes_ = value; onChanged(); return this; } /** * bool highRes = 4; */ public Builder clearHighRes() { highRes_ = false; onChanged(); return this; } private java.util.List timestamps_ = java.util.Collections.emptyList(); private void ensureTimestampsIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { timestamps_ = new java.util.ArrayList(timestamps_); bitField0_ |= 0x00000010; } } /** * repeated int64 timestamps = 5; */ public java.util.List getTimestampsList() { return java.util.Collections.unmodifiableList(timestamps_); } /** * repeated int64 timestamps = 5; */ public int getTimestampsCount() { return timestamps_.size(); } /** * repeated int64 timestamps = 5; */ public long getTimestamps(int index) { return timestamps_.get(index); } /** * repeated int64 timestamps = 5; */ public Builder setTimestamps( int index, long value) { ensureTimestampsIsMutable(); timestamps_.set(index, value); onChanged(); return this; } /** * repeated int64 timestamps = 5; */ public Builder addTimestamps(long value) { ensureTimestampsIsMutable(); timestamps_.add(value); onChanged(); return this; } /** * repeated int64 timestamps = 5; */ public Builder addAllTimestamps( java.lang.Iterable values) { ensureTimestampsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, timestamps_); onChanged(); return this; } /** * repeated int64 timestamps = 5; */ public Builder clearTimestamps() { timestamps_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); 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:SaveClusterInvalidDataRequest) } // @@protoc_insertion_point(class_scope:SaveClusterInvalidDataRequest) private static final com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest(); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SaveClusterInvalidDataRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SaveClusterInvalidDataRequest(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.SaveClusterInvalidDataRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SaveClusterInvalidDataResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:SaveClusterInvalidDataResponse) com.google.protobuf.MessageOrBuilder { /** * int32 recordsAdded = 1; */ int getRecordsAdded(); /** * int32 recordsTotal = 2; */ int getRecordsTotal(); } /** * Protobuf type {@code SaveClusterInvalidDataResponse} */ public static final class SaveClusterInvalidDataResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:SaveClusterInvalidDataResponse) SaveClusterInvalidDataResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SaveClusterInvalidDataResponse.newBuilder() to construct. private SaveClusterInvalidDataResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SaveClusterInvalidDataResponse() { recordsAdded_ = 0; recordsTotal_ = 0; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SaveClusterInvalidDataResponse( 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: { recordsAdded_ = input.readInt32(); break; } case 16: { recordsTotal_ = input.readInt32(); break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).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_SaveClusterInvalidDataResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.Builder.class); } public static final int RECORDSADDED_FIELD_NUMBER = 1; private int recordsAdded_; /** * int32 recordsAdded = 1; */ public int getRecordsAdded() { return recordsAdded_; } public static final int RECORDSTOTAL_FIELD_NUMBER = 2; private int recordsTotal_; /** * int32 recordsTotal = 2; */ public int getRecordsTotal() { return recordsTotal_; } 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 (recordsAdded_ != 0) { output.writeInt32(1, recordsAdded_); } if (recordsTotal_ != 0) { output.writeInt32(2, recordsTotal_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (recordsAdded_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, recordsAdded_); } if (recordsTotal_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, recordsTotal_); } 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.SaveClusterInvalidDataResponse)) { return super.equals(obj); } com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse other = (com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse) obj; boolean result = true; result = result && (getRecordsAdded() == other.getRecordsAdded()); result = result && (getRecordsTotal() == other.getRecordsTotal()); 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) + RECORDSADDED_FIELD_NUMBER; hash = (53 * hash) + getRecordsAdded(); hash = (37 * hash) + RECORDSTOTAL_FIELD_NUMBER; hash = (53 * hash) + getRecordsTotal(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse 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.SaveClusterInvalidDataResponse 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 SaveClusterInvalidDataResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:SaveClusterInvalidDataResponse) com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataResponse_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.class, com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.Builder.class); } // Construct using com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.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(); recordsAdded_ = 0; recordsTotal_ = 0; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.bluvision.cloud.metric.Beaconmetrics.internal_static_SaveClusterInvalidDataResponse_descriptor; } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse getDefaultInstanceForType() { return com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.getDefaultInstance(); } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse build() { com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse buildPartial() { com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse result = new com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse(this); result.recordsAdded_ = recordsAdded_; result.recordsTotal_ = recordsTotal_; 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.SaveClusterInvalidDataResponse) { return mergeFrom((com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse other) { if (other == com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse.getDefaultInstance()) return this; if (other.getRecordsAdded() != 0) { setRecordsAdded(other.getRecordsAdded()); } if (other.getRecordsTotal() != 0) { setRecordsTotal(other.getRecordsTotal()); } 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.SaveClusterInvalidDataResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int recordsAdded_ ; /** * int32 recordsAdded = 1; */ public int getRecordsAdded() { return recordsAdded_; } /** * int32 recordsAdded = 1; */ public Builder setRecordsAdded(int value) { recordsAdded_ = value; onChanged(); return this; } /** * int32 recordsAdded = 1; */ public Builder clearRecordsAdded() { recordsAdded_ = 0; onChanged(); return this; } private int recordsTotal_ ; /** * int32 recordsTotal = 2; */ public int getRecordsTotal() { return recordsTotal_; } /** * int32 recordsTotal = 2; */ public Builder setRecordsTotal(int value) { recordsTotal_ = value; onChanged(); return this; } /** * int32 recordsTotal = 2; */ public Builder clearRecordsTotal() { recordsTotal_ = 0; 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:SaveClusterInvalidDataResponse) } // @@protoc_insertion_point(class_scope:SaveClusterInvalidDataResponse) private static final com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse(); } public static com.bluvision.cloud.metric.Beaconmetrics.SaveClusterInvalidDataResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public SaveClusterInvalidDataResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SaveClusterInvalidDataResponse(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.SaveClusterInvalidDataResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconAggregateMap_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconAggregateMap_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconAggregateMap_ResultsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconAggregateMap_ResultsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconAggregate_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconAggregate_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateMetricsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateMetricsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateMetricsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateMetricsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconHistoryMetricValue_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconHistoryMetricValue_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconHistoryMetricGroup_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconHistoryMetricGroup_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_MetricByRangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MetricByRangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_MetricByRangeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_MetricByRangeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AllMetricByRangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AllMetricByRangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AllMetricByRangeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AllMetricByRangeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DeleteMetricByRangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DeleteMetricByRangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DeleteMetricByRangeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DeleteMetricByRangeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_HealthResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_HealthResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ListStorageKeysRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ListStorageKeysRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ListStorageKeysResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ListStorageKeysResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DownloadStorageRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DownloadStorageRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DownloadStorageResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DownloadStorageResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AccelSecondDataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AccelSecondDataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AccelSecondDataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AccelSecondDataResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateProjectScanHistoryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateProjectScanHistoryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateProjectScanHistoryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateProjectScanHistoryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DeleteMetricHistoryCacheRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DeleteMetricHistoryCacheRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_DeleteMetricHistoryCacheResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_DeleteMetricHistoryCacheResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateBatchRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateBatchRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateBatchResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateBatchResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateAllProjectRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateAllProjectRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateAllProjectResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateAllProjectResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateByRcmIdRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateByRcmIdRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_AggregateByRcmIdResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_AggregateByRcmIdResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconRawMetricMap_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconRawMetricMap_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconRawMetricMap_ResultsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconRawMetricMap_ResultsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconRawMetric_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconRawMetric_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_BeaconConditionSummary_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_BeaconConditionSummary_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_RawMetricRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_RawMetricRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_RawMetricResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_RawMetricResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ClusterDataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ClusterDataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ClusterData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ClusterData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_ClusterDataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_ClusterDataResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_SaveClusterInvalidDataRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_SaveClusterInvalidDataRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_SaveClusterInvalidDataResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_SaveClusterInvalidDataResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\023beaconmetrics.proto\"\211\001\n\022BeaconAggregat" + "eMap\0221\n\007results\030\001 \003(\0132 .BeaconAggregateM" + "ap.ResultsEntry\032@\n\014ResultsEntry\022\013\n\003key\030\001" + " \001(\t\022\037\n\005value\030\002 \001(\0132\020.BeaconAggregate:\0028" + "\001\"\355\023\n\017BeaconAggregate\022\017\n\007dateKey\030\001 \001(\003\022\025" + "\n\rdateStringKey\030\002 \001(\t\022\021\n\tprojectId\030\003 \001(\003" + "\022\022\n\nbeaconId64\030\004 \001(\t\022\017\n\007blufiId\030\005 \001(\003\022\030\n" + "\020temperatureTotal\030\006 \001(\001\022\030\n\020temperatureCo" + "unt\030\007 \001(\003\022\032\n\022temperaturePeakVal\030\010 \001(\001\022\031\n" + "\021temperatureMinVal\030\t \001(\001\022\026\n\016temperatureA", "vg\030\n \001(\001\022\023\n\013xAccelTotal\030\013 \001(\001\022\023\n\013xAccelC" + "ount\030\014 \001(\003\022\025\n\rxAccelPeakVal\030\r \001(\001\022\024\n\014xAc" + "celMinVal\030\016 \001(\001\022\021\n\txAccelAvg\030\017 \001(\001\022\023\n\013yA" + "ccelTotal\030\020 \001(\001\022\023\n\013yAccelCount\030\021 \001(\003\022\025\n\r" + "yAccelPeakVal\030\022 \001(\001\022\024\n\014yAccelMinVal\030\023 \001(" + "\001\022\021\n\tyAccelAvg\030\024 \001(\001\022\023\n\013zAccelTotal\030\025 \001(" + "\001\022\023\n\013zAccelCount\030\026 \001(\003\022\025\n\rzAccelPeakVal\030" + "\027 \001(\001\022\024\n\014zAccelMinVal\030\030 \001(\001\022\021\n\tzAccelAvg" + "\030\031 \001(\001\022\021\n\trssiTotal\030\032 \001(\001\022\021\n\trssiCount\030\033" + " \001(\003\022\023\n\013rssiPeakVal\030\034 \001(\001\022\022\n\nrssiMinVal\030", "\035 \001(\001\022\017\n\007rssiAvg\030\036 \001(\001\022\024\n\014batteryTotal\030\037" + " \001(\001\022\024\n\014batteryCount\030 \001(\003\022\026\n\016batteryPea" + "kVal\030! \001(\001\022\025\n\rbatteryMinVal\030\" \001(\001\022\022\n\nbat" + "teryAvg\030# \001(\001\022\021\n\tlumsTotal\030$ \001(\001\022\021\n\tlums" + "Count\030% \001(\003\022\023\n\013lumsPeakVal\030& \001(\001\022\022\n\nlums" + "MinVal\030\' \001(\001\022\017\n\007lumsAvg\030( \001(\001\022\020\n\010bpmTota" + "l\030) \001(\001\022\020\n\010bpmCount\030* \001(\003\022\022\n\nbpmPeakVal\030" + "+ \001(\001\022\021\n\tbpmMinVal\030, \001(\001\022\016\n\006bpmAvg\0302 \001(\001" + "\022\027\n\017frameCountTotal\0303 \001(\001\022\027\n\017frameCountC" + "ount\0304 \001(\003\022\031\n\021frameCountPeakVal\0305 \001(\001\022\030\n", "\020frameCountMinVal\0306 \001(\001\022\025\n\rframeCountAvg" + "\0307 \001(\001\022\032\n\022measuredPowerTotal\0308 \001(\001\022\032\n\022me" + "asuredPowerCount\0309 \001(\003\022\034\n\024measuredPowerP" + "eakVal\030: \001(\001\022\033\n\023measuredPowerMinVal\030; \001(" + "\001\022\030\n\020measuredPowerAvg\030< \001(\001\022\021\n\txMagTotal" + "\030= \001(\001\022\021\n\txMagCount\030> \001(\003\022\023\n\013xMagPeakVal" + "\030? \001(\001\022\022\n\nxMagMinVal\030@ \001(\001\022\017\n\007xMagAvg\030A " + "\001(\001\022\021\n\tyMagTotal\030B \001(\001\022\021\n\tyMagCount\030C \001(" + "\003\022\023\n\013yMagPeakVal\030D \001(\001\022\022\n\nyMagMinVal\030E \001" + "(\001\022\017\n\007yMagAvg\030F \001(\001\022\021\n\tzMagTotal\030G \001(\001\022\021", "\n\tzMagCount\030H \001(\003\022\023\n\013zMagPeakVal\030I \001(\001\022\022" + "\n\nzMagMinVal\030J \001(\001\022\017\n\007zMagAvg\030K \001(\001\022\030\n\020t" + "otalPacketCount\030L \001(\003\022\037\n\027eddystoneTlmPac" + "ketCount\030M \001(\003\022\037\n\027eddystoneUidPacketCoun" + "t\030N \001(\003\022\037\n\027eddystoneUrlPacketCount\030O \001(\003" + "\022\033\n\023hearratePacketCount\030P \001(\003\022\032\n\022ibeacon" + "PacketCount\030Q \001(\003\022\026\n\016magPacketCount\030R \001(" + "\003\022\030\n\020probePacketCount\030S \001(\003\022\027\n\017sbv1Packe" + "tCount\030T \001(\003\022\027\n\017sbv2PacketCount\030U \001(\003\022\031\n" + "\021slightPacketCount\030V \001(\003\022\027\n\017ssnsPacketCo", "unt\030W \001(\003\022\027\n\017environmentName\030X \001(\t\022\027\n\017re" + "cordTimestamp\030Y \001(\t\022\025\n\rmagStateTotal\030Z \001" + "(\001\022\025\n\rmagStateCount\030[ \001(\003\022\027\n\017magStatePea" + "kVal\030\\ \001(\001\022\026\n\016magStateMinVal\030] \001(\001\022\023\n\013ma" + "gStateAvg\030^ \001(\001\022\031\n\021motionPacketCount\030_ \001" + "(\003\022\025\n\rxAccelSqTotal\030` \001(\001\022\021\n\txAccelRms\030a" + " \001(\001\022\022\n\nxAccelPkPk\030b \001(\001\022\025\n\ryAccelSqTota" + "l\030c \001(\001\022\021\n\tyAccelRms\030d \001(\001\022\022\n\nyAccelPkPk" + "\030e \001(\001\022\025\n\rzAccelSqTotal\030f \001(\001\022\021\n\tzAccelR" + "ms\030g \001(\001\022\022\n\nzAccelPkPk\030h \001(\001\022\023\n\013xHsRmsTo", "tal\030i \001(\001\022\020\n\010xHsCount\030j \001(\003\022\021\n\txHsRmsAvg" + "\030k \001(\001\022\017\n\007xHsPeak\030l \001(\001\022\025\n\rxHsPeakToPeak" + "\030m \001(\001\022\023\n\013yHsRmsTotal\030n \001(\001\022\020\n\010yHsCount\030" + "o \001(\003\022\021\n\tyHsRmsAvg\030p \001(\001\022\017\n\007yHsPeak\030q \001(" + "\001\022\025\n\ryHsPeakToPeak\030r \001(\001\022\023\n\013zHsRmsTotal\030" + "s \001(\001\022\020\n\010zHsCount\030t \001(\003\022\021\n\tzHsRmsAvg\030u \001" + "(\001\022\017\n\007zHsPeak\030v \001(\001\022\025\n\rzHsPeakToPeak\030w \001" + "(\001\022\025\n\rhsPacketCount\030x \001(\001\"=\n\030AggregateMe" + "tricsResponse\022!\n\007results\030\001 \003(\0132\020.BeaconA" + "ggregate\"\332\001\n\027AggregateMetricsRequest\022\021\n\t", "projectId\030\001 \001(\003\022\021\n\tbeaconIds\030\002 \003(\t\022\020\n\010bl" + "ufiIds\030\003 \003(\t\022!\n\010interval\030\004 \001(\0162\017.MetricI" + "nterval\022\036\n\006metric\030\005 \001(\0162\016.HistoryMetric\022" + "\021\n\tstartDate\030\006 \001(\t\022\017\n\007endDate\030\007 \001(\t\022\016\n\006f" + "ormat\030\010 \001(\t\022\020\n\010download\030\t \001(\010\"\314\001\n\030Beacon" + "HistoryMetricValue\022\013\n\003avg\030\001 \001(\001\022\r\n\005count" + "\030\002 \001(\003\022\n\n\002ID\030\003 \001(\t\022\013\n\003key\030\004 \001(\003\022\023\n\013keyAs" + "String\030\005 \001(\t\022\016\n\006metric\030\006 \001(\t\022\014\n\004peak\030\007 \001" + "(\001\022\013\n\003sum\030\010 \001(\001\022\013\n\003min\030\t \001(\001\022\022\n\npeakToPe" + "ak\030\n \001(\001\022\013\n\003rms\030\013 \001(\001\022\r\n\005sqSum\030\014 \001(\001\"\250\013\n", "\030BeaconHistoryMetricGroup\022\022\n\nbatteryAvg\030" + "\001 \001(\001\022\024\n\014batteryCount\030\002 \001(\001\022\023\n\013batteryPe" + "ak\030\003 \001(\001\022\022\n\nbatterySum\030\004 \001(\001\022\n\n\002ID\030\005 \001(\t" + "\022\013\n\003key\030\006 \001(\003\022\023\n\013keyAsString\030\007 \001(\t\022\017\n\007lu" + "msAvg\030\010 \001(\001\022\021\n\tlumsCount\030\t \001(\001\022\020\n\010lumsPe" + "ak\030\n \001(\001\022\017\n\007lumsSum\030\013 \001(\001\022\023\n\013magStateAvg" + "\030\014 \001(\001\022\025\n\rmagStateCount\030\r \001(\001\022\024\n\014magStat" + "ePeak\030\016 \001(\001\022\023\n\013magstateSum\030\017 \001(\001\022\017\n\007rssi" + "Avg\030\020 \001(\001\022\021\n\trssiCount\030\021 \001(\001\022\020\n\010rssiPeak" + "\030\022 \001(\001\022\017\n\007rssiSum\030\023 \001(\001\022\017\n\007tempAvg\030\024 \001(\001", "\022\021\n\ttempCount\030\025 \001(\001\022\020\n\010tempPeak\030\026 \001(\001\022\017\n" + "\007tempSum\030\027 \001(\001\022\021\n\txAccelAvg\030\030 \001(\001\022\023\n\013xAc" + "celCount\030\031 \001(\001\022\022\n\nxAccelPeak\030\032 \001(\001\022\021\n\txA" + "ccelSum\030\033 \001(\001\022\017\n\007xMagAvg\030\034 \001(\001\022\021\n\txMagCo" + "unt\030\035 \001(\001\022\020\n\010xMagPeak\030\036 \001(\001\022\017\n\007xMagSum\030\037" + " \001(\001\022\021\n\tyAccelAvg\030 \001(\001\022\023\n\013yAccelCount\030!" + " \001(\001\022\022\n\nyAccelPeak\030\" \001(\001\022\021\n\tyAccelSum\030# " + "\001(\001\022\017\n\007yMagAvg\030$ \001(\001\022\021\n\tyMagCount\030% \001(\001\022" + "\020\n\010yMagPeak\030& \001(\001\022\017\n\007yMagSum\030\' \001(\001\022\021\n\tzA" + "ccelAvg\030( \001(\001\022\023\n\013zAccelCount\030) \001(\001\022\022\n\nzA", "ccelPeak\030* \001(\001\022\021\n\tzAccelSum\030+ \001(\001\022\017\n\007zMa" + "gAvg\030, \001(\001\022\021\n\tzMagCount\030- \001(\001\022\020\n\010zMagPea" + "k\030. \001(\001\022\017\n\007zMagSum\030/ \001(\001\022\021\n\txAccelMin\0300 " + "\001(\001\022\030\n\020xAccelPeakToPeak\0301 \001(\001\022\021\n\txAccelR" + "ms\0302 \001(\001\022\023\n\013xAccelSqSum\0303 \001(\001\022\021\n\tyAccelM" + "in\0304 \001(\001\022\030\n\020yAccelPeakToPeak\0305 \001(\001\022\021\n\tyA" + "ccelRms\0306 \001(\001\022\023\n\013yAccelSqSum\0307 \001(\001\022\021\n\tzA" + "ccelMin\0308 \001(\001\022\030\n\020zAccelPeakToPeak\0309 \001(\001\022" + "\021\n\tzAccelRms\030: \001(\001\022\023\n\013zAccelSqSum\030; \001(\001\022" + "\020\n\010xHsCount\030< \001(\001\022\021\n\txHsRmsAvg\030= \001(\001\022\021\n\t", "xHsRmsSum\030> \001(\001\022\017\n\007xHsPeak\030? \001(\001\022\025\n\rxHsP" + "eakToPeak\030@ \001(\001\022\020\n\010yHsCount\030A \001(\001\022\021\n\tyHs" + "RmsAvg\030B \001(\001\022\021\n\tyHsRmsSum\030C \001(\001\022\017\n\007yHsPe" + "ak\030D \001(\001\022\025\n\ryHsPeakToPeak\030E \001(\001\022\020\n\010zHsCo" + "unt\030F \001(\001\022\021\n\tzHsRmsAvg\030G \001(\001\022\021\n\tzHsRmsSu" + "m\030H \001(\001\022\017\n\007zHsPeak\030I \001(\001\022\025\n\rzHsPeakToPea" + "k\030J \001(\001\"\223\002\n\024MetricByRangeRequest\022\021\n\tproj" + "ectId\030\001 \001(\003\022\020\n\010beaconId\030\002 \001(\t\022\020\n\010blufiId" + "s\030\003 \003(\t\022\036\n\006metric\030\004 \001(\0162\016.HistoryMetric\022" + "!\n\010interval\030\005 \001(\0162\017.MetricInterval\022\023\n\013be", "ginMillis\030\006 \001(\003\022\021\n\tendMillis\030\007 \001(\003\022\020\n\010us" + "eZeros\030\010 \001(\010\022#\n\tqueryHint\030\t \001(\0162\020.Metric" + "QueryHint\022\021\n\tstartDate\030\n \001(\t\022\017\n\007endDate\030" + "\013 \001(\t\"C\n\025MetricByRangeResponse\022*\n\007result" + "s\030\001 \003(\0132\031.BeaconHistoryMetricValue\"\345\001\n\027A" + "llMetricByRangeRequest\022\021\n\tprojectId\030\001 \001(" + "\003\022\021\n\tbeaconIds\030\002 \003(\t\022!\n\010interval\030\003 \001(\0162\017" + ".MetricInterval\022\023\n\013beginMillis\030\004 \001(\003\022\021\n\t" + "endMillis\030\005 \001(\003\022\020\n\010useZeros\030\006 \001(\010\022#\n\tque" + "ryHint\030\007 \001(\0162\020.MetricQueryHint\022\021\n\tstartD", "ate\030\010 \001(\t\022\017\n\007endDate\030\t \001(\t\"F\n\030AllMetricB" + "yRangeResponse\022*\n\007results\030\001 \003(\0132\031.Beacon" + "HistoryMetricGroup\"f\n\032DeleteMetricByRang" + "eRequest\022\021\n\tprojectId\030\001 \001(\003\022\021\n\tbeaconIds" + "\030\002 \003(\t\022\021\n\tstartDate\030\003 \001(\t\022\017\n\007endDate\030\004 \001" + "(\t\".\n\033DeleteMetricByRangeResponse\022\017\n\007res" + "ults\030\001 \001(\003\" \n\016HealthResponse\022\016\n\006result\030\001" + " \001(\t\"u\n\026ListStorageKeysRequest\022\021\n\tprojec" + "tId\030\001 \001(\003\022\021\n\tstartDate\030\002 \001(\t\022\017\n\007endDate\030" + "\003 \001(\t\022\021\n\tdataTypes\030\004 \003(\t\022\021\n\tbeaconIds\030\005 ", "\003(\t\"\'\n\027ListStorageKeysResponse\022\014\n\004keys\030\001" + " \003(\t\"u\n\026DownloadStorageRequest\022\021\n\tprojec" + "tId\030\001 \001(\003\022\021\n\tstartDate\030\002 \001(\t\022\017\n\007endDate\030" + "\003 \001(\t\022\021\n\tdataTypes\030\004 \003(\t\022\021\n\tbeaconIds\030\005 " + "\003(\t\")\n\027DownloadStorageResponse\022\016\n\006result" + "\030\001 \001(\t\"t\n\026AccelSecondDataRequest\022\021\n\tproj" + "ectId\030\001 \001(\003\022\021\n\tstartDate\030\002 \001(\t\022\017\n\007endDat" + "e\030\003 \001(\t\022\021\n\tbeaconIds\030\004 \003(\t\022\020\n\010allowAll\030\005" + " \001(\010\")\n\027AccelSecondDataResponse\022\016\n\006resul" + "t\030\001 \001(\t\"\205\001\n\"AggregateProjectScanHistoryR", "equest\022\021\n\tprojectId\030\001 \001(\003\022\021\n\tstartDate\030\002" + " \001(\t\022\017\n\007endDate\030\003 \001(\t\022\021\n\tbeaconIds\030\004 \003(\t" + "\022\025\n\rpurgeExisting\030\005 \001(\010\"5\n#AggregateProj" + "ectScanHistoryResponse\022\016\n\006result\030\001 \001(\t\"G" + "\n\037DeleteMetricHistoryCacheRequest\022\021\n\tpro" + "jectId\030\001 \001(\003\022\021\n\tbeaconIds\030\004 \003(\t\"2\n Delet" + "eMetricHistoryCacheResponse\022\016\n\006result\030\001 " + "\001(\t\"\313\001\n\025AggregateBatchRequest\022\021\n\tproject" + "Id\030\001 \001(\003\022\020\n\010beaconId\030\002 \001(\t\022\023\n\013rcmImportI" + "d\030\003 \001(\003\022\017\n\007blufiId\030\004 \001(\003\022\022\n\nblufiSid64\030\005", " \001(\t\022\027\n\017blufiMacAddress\030\006 \001(\t\022\016\n\006bucket\030" + "\007 \001(\t\022\013\n\003key\030\010 \001(\t\022\013\n\003raw\030\t \001(\010\022\020\n\010callb" + "ack\030\n \001(\t\"(\n\026AggregateBatchResponse\022\016\n\006r" + "esult\030\001 \001(\t\"/\n\032AggregateAllProjectReques" + "t\022\021\n\tprojectId\030\001 \001(\003\"-\n\033AggregateAllProj" + "ectResponse\022\016\n\006result\030\001 \001(\t\"A\n\027Aggregate" + "ByRcmIdRequest\022\021\n\tprojectId\030\001 \001(\003\022\023\n\013rcm" + "ImportId\030\002 \001(\003\"*\n\030AggregateByRcmIdRespon" + "se\022\016\n\006result\030\001 \001(\t\"\211\001\n\022BeaconRawMetricMa" + "p\0221\n\007results\030\001 \003(\0132 .BeaconRawMetricMap.", "ResultsEntry\032@\n\014ResultsEntry\022\013\n\003key\030\001 \001(" + "\t\022\037\n\005value\030\002 \001(\0132\020.BeaconRawMetric:\0028\001\"\244" + "\001\n\017BeaconRawMetric\022\017\n\007dateKey\030\001 \001(\003\022\025\n\rd" + "ateStringKey\030\002 \001(\t\022\021\n\tprojectId\030\003 \001(\003\022\022\n" + "\nbeaconId64\030\004 \001(\t\022\017\n\007blufiId\030\005 \001(\003\0221\n\020co" + "nditionSummary\030\006 \001(\0132\027.BeaconConditionSu" + "mmary\"\340\001\n\026BeaconConditionSummary\022\r\n\005xPea" + "k\030\001 \001(\001\022\023\n\013xPeakToPeak\030\002 \001(\001\022\014\n\004xRms\030\003 \001" + "(\001\022\r\n\005yPeak\030\004 \001(\001\022\023\n\013YPeakToPeak\030\005 \001(\001\022\014" + "\n\004yRms\030\006 \001(\001\022\r\n\005zPeak\030\007 \001(\001\022\023\n\013zPeakToPe", "ak\030\010 \001(\001\022\014\n\004zRms\030\t \001(\001\022\017\n\007highRes\030\n \001(\010\022" + "\013\n\003adv\030\013 \001(\010\022\022\n\nsourceTime\030\014 \001(\003\"\200\002\n\020Raw" + "MetricRequest\022\021\n\tprojectId\030\001 \001(\003\022\021\n\tbeac" + "onIds\030\002 \003(\t\022\023\n\013beginMillis\030\003 \001(\003\022\021\n\tendM" + "illis\030\004 \001(\003\022#\n\tqueryHint\030\005 \001(\0162\020.MetricQ" + "ueryHint\022\020\n\010dataType\030\006 \001(\t\022\021\n\tstartDate\030" + "\007 \001(\t\022\017\n\007endDate\030\010 \001(\t\022\016\n\006format\030\t \001(\t\022!" + "\n\007filters\030\n \003(\0162\020.RawMetricFilter\022\020\n\010dow" + "nload\030\013 \001(\010\"6\n\021RawMetricResponse\022!\n\007resu" + "lts\030\001 \003(\0132\020.BeaconRawMetric\"\333\001\n\022ClusterD", "ataRequest\022\021\n\tprojectId\030\001 \001(\003\022\020\n\010beaconI" + "d\030\002 \001(\t\022\020\n\010policyId\030\003 \001(\003\022\023\n\013beginMillis" + "\030\004 \001(\003\022\021\n\tendMillis\030\005 \001(\003\022\025\n\rxClusterInd" + "ex\030\006 \001(\005\022\025\n\ryClusterIndex\030\007 \001(\005\022\025\n\rzClus" + "terIndex\030\010 \001(\005\022\017\n\007highRes\030\t \001(\010\022\020\n\010downl" + "oad\030\n \001(\010\"t\n\013ClusterData\022\025\n\rxClusterInde" + "x\030\001 \001(\005\022\025\n\ryClusterIndex\030\002 \001(\005\022\025\n\rzClust" + "erIndex\030\003 \001(\005\022 \n\006metric\030\004 \001(\0132\020.BeaconRa" + "wMetric\"4\n\023ClusterDataResponse\022\035\n\007result" + "s\030\001 \003(\0132\014.ClusterData\"{\n\035SaveClusterInva", "lidDataRequest\022\021\n\tprojectId\030\001 \001(\003\022\020\n\010bea" + "conId\030\002 \001(\t\022\020\n\010policyId\030\003 \001(\003\022\017\n\007highRes" + "\030\004 \001(\010\022\022\n\ntimestamps\030\005 \003(\003\"L\n\036SaveCluste" + "rInvalidDataResponse\022\024\n\014recordsAdded\030\001 \001" + "(\005\022\024\n\014recordsTotal\030\002 \001(\005*\325\001\n\rHistoryMetr" + "ic\022\010\n\004TEMP\020\000\022\010\n\004RSSI\020\001\022\022\n\016PER_BLUFI_RSSI" + "\020\002\022\010\n\004LUMS\020\003\022\013\n\007X_ACCEL\020\004\022\013\n\007Y_ACCEL\020\005\022\013" + "\n\007Z_ACCEL\020\006\022\t\n\005X_MAG\020\007\022\t\n\005Y_MAG\020\010\022\t\n\005Z_M" + "AG\020\t\022\r\n\tMAG_STATE\020\n\022\013\n\007BATTERY\020\013\022\016\n\nX_AC" + "CEL_HS\020\014\022\016\n\nY_ACCEL_HS\020\r\022\016\n\nZ_ACCEL_HS\020\016", "*2\n\017MetricQueryHint\022\007\n\003ALL\020\000\022\t\n\005CACHE\020\001\022" + "\013\n\007STORAGE\020\002*P\n\016MetricInterval\022\n\n\006SECOND" + "\020\000\022\n\n\006MINUTE\020\001\022\010\n\004HOUR\020\002\022\007\n\003DAY\020\003\022\t\n\005MON" + "TH\020\004\022\010\n\004YEAR\020\005*B\n\017RawMetricFilter\022\013\n\007LOW" + "_RES\020\000\022\014\n\010HIGH_RES\020\001\022\007\n\003ADV\020\002\022\013\n\007NON_ADV" + "\020\003B$\n\032com.bluvision.cloud.metricZ\006metric" + "b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_BeaconAggregateMap_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_BeaconAggregateMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconAggregateMap_descriptor, new java.lang.String[] { "Results", }); internal_static_BeaconAggregateMap_ResultsEntry_descriptor = internal_static_BeaconAggregateMap_descriptor.getNestedTypes().get(0); internal_static_BeaconAggregateMap_ResultsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconAggregateMap_ResultsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_BeaconAggregate_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_BeaconAggregate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconAggregate_descriptor, new java.lang.String[] { "DateKey", "DateStringKey", "ProjectId", "BeaconId64", "BlufiId", "TemperatureTotal", "TemperatureCount", "TemperaturePeakVal", "TemperatureMinVal", "TemperatureAvg", "XAccelTotal", "XAccelCount", "XAccelPeakVal", "XAccelMinVal", "XAccelAvg", "YAccelTotal", "YAccelCount", "YAccelPeakVal", "YAccelMinVal", "YAccelAvg", "ZAccelTotal", "ZAccelCount", "ZAccelPeakVal", "ZAccelMinVal", "ZAccelAvg", "RssiTotal", "RssiCount", "RssiPeakVal", "RssiMinVal", "RssiAvg", "BatteryTotal", "BatteryCount", "BatteryPeakVal", "BatteryMinVal", "BatteryAvg", "LumsTotal", "LumsCount", "LumsPeakVal", "LumsMinVal", "LumsAvg", "BpmTotal", "BpmCount", "BpmPeakVal", "BpmMinVal", "BpmAvg", "FrameCountTotal", "FrameCountCount", "FrameCountPeakVal", "FrameCountMinVal", "FrameCountAvg", "MeasuredPowerTotal", "MeasuredPowerCount", "MeasuredPowerPeakVal", "MeasuredPowerMinVal", "MeasuredPowerAvg", "XMagTotal", "XMagCount", "XMagPeakVal", "XMagMinVal", "XMagAvg", "YMagTotal", "YMagCount", "YMagPeakVal", "YMagMinVal", "YMagAvg", "ZMagTotal", "ZMagCount", "ZMagPeakVal", "ZMagMinVal", "ZMagAvg", "TotalPacketCount", "EddystoneTlmPacketCount", "EddystoneUidPacketCount", "EddystoneUrlPacketCount", "HearratePacketCount", "IbeaconPacketCount", "MagPacketCount", "ProbePacketCount", "Sbv1PacketCount", "Sbv2PacketCount", "SlightPacketCount", "SsnsPacketCount", "EnvironmentName", "RecordTimestamp", "MagStateTotal", "MagStateCount", "MagStatePeakVal", "MagStateMinVal", "MagStateAvg", "MotionPacketCount", "XAccelSqTotal", "XAccelRms", "XAccelPkPk", "YAccelSqTotal", "YAccelRms", "YAccelPkPk", "ZAccelSqTotal", "ZAccelRms", "ZAccelPkPk", "XHsRmsTotal", "XHsCount", "XHsRmsAvg", "XHsPeak", "XHsPeakToPeak", "YHsRmsTotal", "YHsCount", "YHsRmsAvg", "YHsPeak", "YHsPeakToPeak", "ZHsRmsTotal", "ZHsCount", "ZHsRmsAvg", "ZHsPeak", "ZHsPeakToPeak", "HsPacketCount", }); internal_static_AggregateMetricsResponse_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_AggregateMetricsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateMetricsResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_AggregateMetricsRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_AggregateMetricsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateMetricsRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconIds", "BlufiIds", "Interval", "Metric", "StartDate", "EndDate", "Format", "Download", }); internal_static_BeaconHistoryMetricValue_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_BeaconHistoryMetricValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconHistoryMetricValue_descriptor, new java.lang.String[] { "Avg", "Count", "ID", "Key", "KeyAsString", "Metric", "Peak", "Sum", "Min", "PeakToPeak", "Rms", "SqSum", }); internal_static_BeaconHistoryMetricGroup_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_BeaconHistoryMetricGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconHistoryMetricGroup_descriptor, new java.lang.String[] { "BatteryAvg", "BatteryCount", "BatteryPeak", "BatterySum", "ID", "Key", "KeyAsString", "LumsAvg", "LumsCount", "LumsPeak", "LumsSum", "MagStateAvg", "MagStateCount", "MagStatePeak", "MagstateSum", "RssiAvg", "RssiCount", "RssiPeak", "RssiSum", "TempAvg", "TempCount", "TempPeak", "TempSum", "XAccelAvg", "XAccelCount", "XAccelPeak", "XAccelSum", "XMagAvg", "XMagCount", "XMagPeak", "XMagSum", "YAccelAvg", "YAccelCount", "YAccelPeak", "YAccelSum", "YMagAvg", "YMagCount", "YMagPeak", "YMagSum", "ZAccelAvg", "ZAccelCount", "ZAccelPeak", "ZAccelSum", "ZMagAvg", "ZMagCount", "ZMagPeak", "ZMagSum", "XAccelMin", "XAccelPeakToPeak", "XAccelRms", "XAccelSqSum", "YAccelMin", "YAccelPeakToPeak", "YAccelRms", "YAccelSqSum", "ZAccelMin", "ZAccelPeakToPeak", "ZAccelRms", "ZAccelSqSum", "XHsCount", "XHsRmsAvg", "XHsRmsSum", "XHsPeak", "XHsPeakToPeak", "YHsCount", "YHsRmsAvg", "YHsRmsSum", "YHsPeak", "YHsPeakToPeak", "ZHsCount", "ZHsRmsAvg", "ZHsRmsSum", "ZHsPeak", "ZHsPeakToPeak", }); internal_static_MetricByRangeRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_MetricByRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MetricByRangeRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconId", "BlufiIds", "Metric", "Interval", "BeginMillis", "EndMillis", "UseZeros", "QueryHint", "StartDate", "EndDate", }); internal_static_MetricByRangeResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_MetricByRangeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_MetricByRangeResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_AllMetricByRangeRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_AllMetricByRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AllMetricByRangeRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconIds", "Interval", "BeginMillis", "EndMillis", "UseZeros", "QueryHint", "StartDate", "EndDate", }); internal_static_AllMetricByRangeResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_AllMetricByRangeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AllMetricByRangeResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_DeleteMetricByRangeRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_DeleteMetricByRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DeleteMetricByRangeRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconIds", "StartDate", "EndDate", }); internal_static_DeleteMetricByRangeResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_DeleteMetricByRangeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DeleteMetricByRangeResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_HealthResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_HealthResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_HealthResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_ListStorageKeysRequest_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_ListStorageKeysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ListStorageKeysRequest_descriptor, new java.lang.String[] { "ProjectId", "StartDate", "EndDate", "DataTypes", "BeaconIds", }); internal_static_ListStorageKeysResponse_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_ListStorageKeysResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ListStorageKeysResponse_descriptor, new java.lang.String[] { "Keys", }); internal_static_DownloadStorageRequest_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_DownloadStorageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DownloadStorageRequest_descriptor, new java.lang.String[] { "ProjectId", "StartDate", "EndDate", "DataTypes", "BeaconIds", }); internal_static_DownloadStorageResponse_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_DownloadStorageResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DownloadStorageResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_AccelSecondDataRequest_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_AccelSecondDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AccelSecondDataRequest_descriptor, new java.lang.String[] { "ProjectId", "StartDate", "EndDate", "BeaconIds", "AllowAll", }); internal_static_AccelSecondDataResponse_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_AccelSecondDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AccelSecondDataResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_AggregateProjectScanHistoryRequest_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_AggregateProjectScanHistoryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateProjectScanHistoryRequest_descriptor, new java.lang.String[] { "ProjectId", "StartDate", "EndDate", "BeaconIds", "PurgeExisting", }); internal_static_AggregateProjectScanHistoryResponse_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_AggregateProjectScanHistoryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateProjectScanHistoryResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_DeleteMetricHistoryCacheRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_DeleteMetricHistoryCacheRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DeleteMetricHistoryCacheRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconIds", }); internal_static_DeleteMetricHistoryCacheResponse_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_DeleteMetricHistoryCacheResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_DeleteMetricHistoryCacheResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_AggregateBatchRequest_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_AggregateBatchRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateBatchRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconId", "RcmImportId", "BlufiId", "BlufiSid64", "BlufiMacAddress", "Bucket", "Key", "Raw", "Callback", }); internal_static_AggregateBatchResponse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_AggregateBatchResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateBatchResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_AggregateAllProjectRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_AggregateAllProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateAllProjectRequest_descriptor, new java.lang.String[] { "ProjectId", }); internal_static_AggregateAllProjectResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_AggregateAllProjectResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateAllProjectResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_AggregateByRcmIdRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_AggregateByRcmIdRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateByRcmIdRequest_descriptor, new java.lang.String[] { "ProjectId", "RcmImportId", }); internal_static_AggregateByRcmIdResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_AggregateByRcmIdResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_AggregateByRcmIdResponse_descriptor, new java.lang.String[] { "Result", }); internal_static_BeaconRawMetricMap_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_BeaconRawMetricMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconRawMetricMap_descriptor, new java.lang.String[] { "Results", }); internal_static_BeaconRawMetricMap_ResultsEntry_descriptor = internal_static_BeaconRawMetricMap_descriptor.getNestedTypes().get(0); internal_static_BeaconRawMetricMap_ResultsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconRawMetricMap_ResultsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_BeaconRawMetric_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_BeaconRawMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconRawMetric_descriptor, new java.lang.String[] { "DateKey", "DateStringKey", "ProjectId", "BeaconId64", "BlufiId", "ConditionSummary", }); internal_static_BeaconConditionSummary_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_BeaconConditionSummary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_BeaconConditionSummary_descriptor, new java.lang.String[] { "XPeak", "XPeakToPeak", "XRms", "YPeak", "YPeakToPeak", "YRms", "ZPeak", "ZPeakToPeak", "ZRms", "HighRes", "Adv", "SourceTime", }); internal_static_RawMetricRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_RawMetricRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_RawMetricRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconIds", "BeginMillis", "EndMillis", "QueryHint", "DataType", "StartDate", "EndDate", "Format", "Filters", "Download", }); internal_static_RawMetricResponse_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_RawMetricResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_RawMetricResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_ClusterDataRequest_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_ClusterDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ClusterDataRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconId", "PolicyId", "BeginMillis", "EndMillis", "XClusterIndex", "YClusterIndex", "ZClusterIndex", "HighRes", "Download", }); internal_static_ClusterData_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_ClusterData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ClusterData_descriptor, new java.lang.String[] { "XClusterIndex", "YClusterIndex", "ZClusterIndex", "Metric", }); internal_static_ClusterDataResponse_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_ClusterDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_ClusterDataResponse_descriptor, new java.lang.String[] { "Results", }); internal_static_SaveClusterInvalidDataRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_SaveClusterInvalidDataRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SaveClusterInvalidDataRequest_descriptor, new java.lang.String[] { "ProjectId", "BeaconId", "PolicyId", "HighRes", "Timestamps", }); internal_static_SaveClusterInvalidDataResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_SaveClusterInvalidDataResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_SaveClusterInvalidDataResponse_descriptor, new java.lang.String[] { "RecordsAdded", "RecordsTotal", }); } // @@protoc_insertion_point(outer_class_scope) }