compile group: 'androidx.health.connect', name: 'connect-client-proto', version: '1.1.0-alpha08'
Artifact androidx.health.connect:connect-client-proto:1.1.0-alpha08 it located at Google repository (https://maven.google.com/)
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: response.proto
package androidx.health.platform.client.proto;
public final class ResponseProto {
private ResponseProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public interface ReadDataPointResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.ReadDataPointResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
* @return Whether the data field is set.
*/
boolean hasData();
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
* @return The data.
*/
androidx.health.platform.client.proto.DataProto.DataPoint getData();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataPointResponse}
*/
public static final class ReadDataPointResponse extends
com.google.protobuf.GeneratedMessageLite<
ReadDataPointResponse, ReadDataPointResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.ReadDataPointResponse)
ReadDataPointResponseOrBuilder {
private ReadDataPointResponse() {
}
private int bitField0_;
public static final int DATA_FIELD_NUMBER = 1;
private androidx.health.platform.client.proto.DataProto.DataPoint data_;
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getData() {
return data_ == null ? androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance() : data_;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
private void setData(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
if (data_ != null &&
data_ != androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance()) {
data_ =
androidx.health.platform.client.proto.DataProto.DataPoint.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataPointResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.ReadDataPointResponse)
androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getData() {
return instance.getData();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
public Builder setData(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
public Builder setData(
androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
public Builder mergeData(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data = 1;</code>
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.ReadDataPointResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.ReadDataPointResponse)
private static final androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse DEFAULT_INSTANCE;
static {
ReadDataPointResponse defaultInstance = new ReadDataPointResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ReadDataPointResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataPointResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<ReadDataPointResponse> PARSER;
public static com.google.protobuf.Parser<ReadDataPointResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface InsertDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.InsertDataResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>repeated string data_point_uid = 1;</code>
* @return A list containing the dataPointUid.
*/
java.util.List<java.lang.String>
getDataPointUidList();
/**
* <code>repeated string data_point_uid = 1;</code>
* @return The count of dataPointUid.
*/
int getDataPointUidCount();
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the element to return.
* @return The dataPointUid at the given index.
*/
java.lang.String getDataPointUid(int index);
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the element to return.
* @return The dataPointUid at the given index.
*/
com.google.protobuf.ByteString
getDataPointUidBytes(int index);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.InsertDataResponse}
*/
public static final class InsertDataResponse extends
com.google.protobuf.GeneratedMessageLite<
InsertDataResponse, InsertDataResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.InsertDataResponse)
InsertDataResponseOrBuilder {
private InsertDataResponse() {
dataPointUid_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
public static final int DATA_POINT_UID_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<java.lang.String> dataPointUid_;
/**
* <code>repeated string data_point_uid = 1;</code>
* @return A list containing the dataPointUid.
*/
@java.lang.Override
public java.util.List<java.lang.String> getDataPointUidList() {
return dataPointUid_;
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @return The count of dataPointUid.
*/
@java.lang.Override
public int getDataPointUidCount() {
return dataPointUid_.size();
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the element to return.
* @return The dataPointUid at the given index.
*/
@java.lang.Override
public java.lang.String getDataPointUid(int index) {
return dataPointUid_.get(index);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the dataPointUid at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataPointUidBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
dataPointUid_.get(index));
}
private void ensureDataPointUidIsMutable() {
com.google.protobuf.Internal.ProtobufList<java.lang.String> tmp =
dataPointUid_; if (!tmp.isModifiable()) {
dataPointUid_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index to set the value at.
* @param value The dataPointUid to set.
*/
private void setDataPointUid(
int index, java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureDataPointUidIsMutable();
dataPointUid_.set(index, value);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param value The dataPointUid to add.
*/
private void addDataPointUid(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
ensureDataPointUidIsMutable();
dataPointUid_.add(value);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param values The dataPointUid to add.
*/
private void addAllDataPointUid(
java.lang.Iterable<java.lang.String> values) {
ensureDataPointUidIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, dataPointUid_);
}
/**
* <code>repeated string data_point_uid = 1;</code>
*/
private void clearDataPointUid() {
dataPointUid_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param value The bytes of the dataPointUid to add.
*/
private void addDataPointUidBytes(
com.google.protobuf.ByteString value) {
ensureDataPointUidIsMutable();
dataPointUid_.add(value.toStringUtf8());
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.InsertDataResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.InsertDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.InsertDataResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.InsertDataResponse)
androidx.health.platform.client.proto.ResponseProto.InsertDataResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.InsertDataResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @return A list containing the dataPointUid.
*/
@java.lang.Override
public java.util.List<java.lang.String>
getDataPointUidList() {
return java.util.Collections.unmodifiableList(
instance.getDataPointUidList());
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @return The count of dataPointUid.
*/
@java.lang.Override
public int getDataPointUidCount() {
return instance.getDataPointUidCount();
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the element to return.
* @return The dataPointUid at the given index.
*/
@java.lang.Override
public java.lang.String getDataPointUid(int index) {
return instance.getDataPointUid(index);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index of the value to return.
* @return The bytes of the dataPointUid at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDataPointUidBytes(int index) {
return instance.getDataPointUidBytes(index);
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param index The index to set the value at.
* @param value The dataPointUid to set.
* @return This builder for chaining.
*/
public Builder setDataPointUid(
int index, java.lang.String value) {
copyOnWrite();
instance.setDataPointUid(index, value);
return this;
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param value The dataPointUid to add.
* @return This builder for chaining.
*/
public Builder addDataPointUid(
java.lang.String value) {
copyOnWrite();
instance.addDataPointUid(value);
return this;
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param values The dataPointUid to add.
* @return This builder for chaining.
*/
public Builder addAllDataPointUid(
java.lang.Iterable<java.lang.String> values) {
copyOnWrite();
instance.addAllDataPointUid(values);
return this;
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @return This builder for chaining.
*/
public Builder clearDataPointUid() {
copyOnWrite();
instance.clearDataPointUid();
return this;
}
/**
* <code>repeated string data_point_uid = 1;</code>
* @param value The bytes of the dataPointUid to add.
* @return This builder for chaining.
*/
public Builder addDataPointUidBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addDataPointUidBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.InsertDataResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.InsertDataResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"dataPointUid_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001a";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.InsertDataResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.InsertDataResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.InsertDataResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.InsertDataResponse)
private static final androidx.health.platform.client.proto.ResponseProto.InsertDataResponse DEFAULT_INSTANCE;
static {
InsertDataResponse defaultInstance = new InsertDataResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
InsertDataResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.InsertDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<InsertDataResponse> PARSER;
public static com.google.protobuf.Parser<InsertDataResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ReadDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.ReadDataResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
* @return Whether the dataPoint field is set.
*/
boolean hasDataPoint();
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
* @return The dataPoint.
*/
androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataResponse}
*/
public static final class ReadDataResponse extends
com.google.protobuf.GeneratedMessageLite<
ReadDataResponse, ReadDataResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.ReadDataResponse)
ReadDataResponseOrBuilder {
private ReadDataResponse() {
}
private int bitField0_;
public static final int DATA_POINT_FIELD_NUMBER = 1;
private androidx.health.platform.client.proto.DataProto.DataPoint dataPoint_;
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public boolean hasDataPoint() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint() {
return dataPoint_ == null ? androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance() : dataPoint_;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void setDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
dataPoint_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
if (dataPoint_ != null &&
dataPoint_ != androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance()) {
dataPoint_ =
androidx.health.platform.client.proto.DataProto.DataPoint.newBuilder(dataPoint_).mergeFrom(value).buildPartial();
} else {
dataPoint_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void clearDataPoint() { dataPoint_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.ReadDataResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.ReadDataResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.ReadDataResponse)
androidx.health.platform.client.proto.ResponseProto.ReadDataResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.ReadDataResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public boolean hasDataPoint() {
return instance.hasDataPoint();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint() {
return instance.getDataPoint();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.setDataPoint(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(
androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.setDataPoint(builderForValue.build());
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder mergeDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.mergeDataPoint(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder clearDataPoint() { copyOnWrite();
instance.clearDataPoint();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.ReadDataResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.ReadDataResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"dataPoint_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.ReadDataResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.ReadDataResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.ReadDataResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.ReadDataResponse)
private static final androidx.health.platform.client.proto.ResponseProto.ReadDataResponse DEFAULT_INSTANCE;
static {
ReadDataResponse defaultInstance = new ReadDataResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ReadDataResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<ReadDataResponse> PARSER;
public static com.google.protobuf.Parser<ReadDataResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ReadDataRangeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.ReadDataRangeResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
java.util.List<androidx.health.platform.client.proto.DataProto.DataPoint>
getDataPointList();
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint(int index);
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
int getDataPointCount();
/**
* <code>optional string page_token = 2;</code>
* @return Whether the pageToken field is set.
*/
boolean hasPageToken();
/**
* <code>optional string page_token = 2;</code>
* @return The pageToken.
*/
java.lang.String getPageToken();
/**
* <code>optional string page_token = 2;</code>
* @return The bytes for pageToken.
*/
com.google.protobuf.ByteString
getPageTokenBytes();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataRangeResponse}
*/
public static final class ReadDataRangeResponse extends
com.google.protobuf.GeneratedMessageLite<
ReadDataRangeResponse, ReadDataRangeResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.ReadDataRangeResponse)
ReadDataRangeResponseOrBuilder {
private ReadDataRangeResponse() {
dataPoint_ = emptyProtobufList();
pageToken_ = "";
}
private int bitField0_;
public static final int DATA_POINT_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.DataProto.DataPoint> dataPoint_;
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.DataProto.DataPoint> getDataPointList() {
return dataPoint_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public java.util.List<? extends androidx.health.platform.client.proto.DataProto.DataPointOrBuilder>
getDataPointOrBuilderList() {
return dataPoint_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public int getDataPointCount() {
return dataPoint_.size();
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint(int index) {
return dataPoint_.get(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public androidx.health.platform.client.proto.DataProto.DataPointOrBuilder getDataPointOrBuilder(
int index) {
return dataPoint_.get(index);
}
private void ensureDataPointIsMutable() {
com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.DataProto.DataPoint> tmp = dataPoint_;
if (!tmp.isModifiable()) {
dataPoint_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void setDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
ensureDataPointIsMutable();
dataPoint_.set(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void addDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
ensureDataPointIsMutable();
dataPoint_.add(value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void addDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
ensureDataPointIsMutable();
dataPoint_.add(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void addAllDataPoint(
java.lang.Iterable<? extends androidx.health.platform.client.proto.DataProto.DataPoint> values) {
ensureDataPointIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, dataPoint_);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void clearDataPoint() {
dataPoint_ = emptyProtobufList();
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void removeDataPoint(int index) {
ensureDataPointIsMutable();
dataPoint_.remove(index);
}
public static final int PAGE_TOKEN_FIELD_NUMBER = 2;
private java.lang.String pageToken_;
/**
* <code>optional string page_token = 2;</code>
* @return Whether the pageToken field is set.
*/
@java.lang.Override
public boolean hasPageToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string page_token = 2;</code>
* @return The pageToken.
*/
@java.lang.Override
public java.lang.String getPageToken() {
return pageToken_;
}
/**
* <code>optional string page_token = 2;</code>
* @return The bytes for pageToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPageTokenBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(pageToken_);
}
/**
* <code>optional string page_token = 2;</code>
* @param value The pageToken to set.
*/
private void setPageToken(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
pageToken_ = value;
}
/**
* <code>optional string page_token = 2;</code>
*/
private void clearPageToken() {
bitField0_ = (bitField0_ & ~0x00000001);
pageToken_ = getDefaultInstance().getPageToken();
}
/**
* <code>optional string page_token = 2;</code>
* @param value The bytes for pageToken to set.
*/
private void setPageTokenBytes(
com.google.protobuf.ByteString value) {
pageToken_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadDataRangeResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.ReadDataRangeResponse)
androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.DataProto.DataPoint> getDataPointList() {
return java.util.Collections.unmodifiableList(
instance.getDataPointList());
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public int getDataPointCount() {
return instance.getDataPointCount();
}/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint(int index) {
return instance.getDataPoint(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.setDataPoint(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.setDataPoint(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder addDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.addDataPoint(value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder addDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.addDataPoint(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder addDataPoint(
androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.addDataPoint(builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder addDataPoint(
int index, androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.addDataPoint(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder addAllDataPoint(
java.lang.Iterable<? extends androidx.health.platform.client.proto.DataProto.DataPoint> values) {
copyOnWrite();
instance.addAllDataPoint(values);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder clearDataPoint() {
copyOnWrite();
instance.clearDataPoint();
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder removeDataPoint(int index) {
copyOnWrite();
instance.removeDataPoint(index);
return this;
}
/**
* <code>optional string page_token = 2;</code>
* @return Whether the pageToken field is set.
*/
@java.lang.Override
public boolean hasPageToken() {
return instance.hasPageToken();
}
/**
* <code>optional string page_token = 2;</code>
* @return The pageToken.
*/
@java.lang.Override
public java.lang.String getPageToken() {
return instance.getPageToken();
}
/**
* <code>optional string page_token = 2;</code>
* @return The bytes for pageToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPageTokenBytes() {
return instance.getPageTokenBytes();
}
/**
* <code>optional string page_token = 2;</code>
* @param value The pageToken to set.
* @return This builder for chaining.
*/
public Builder setPageToken(
java.lang.String value) {
copyOnWrite();
instance.setPageToken(value);
return this;
}
/**
* <code>optional string page_token = 2;</code>
* @return This builder for chaining.
*/
public Builder clearPageToken() {
copyOnWrite();
instance.clearPageToken();
return this;
}
/**
* <code>optional string page_token = 2;</code>
* @param value The bytes for pageToken to set.
* @return This builder for chaining.
*/
public Builder setPageTokenBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPageTokenBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.ReadDataRangeResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"dataPoint_",
androidx.health.platform.client.proto.DataProto.DataPoint.class,
"pageToken_",
};
java.lang.String info =
"\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u1008" +
"\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.ReadDataRangeResponse)
private static final androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse DEFAULT_INSTANCE;
static {
ReadDataRangeResponse defaultInstance = new ReadDataRangeResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ReadDataRangeResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadDataRangeResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<ReadDataRangeResponse> PARSER;
public static com.google.protobuf.Parser<ReadDataRangeResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface ReadExerciseRouteResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.ReadExerciseRouteResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
* @return Whether the dataPoint field is set.
*/
boolean hasDataPoint();
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
* @return The dataPoint.
*/
androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadExerciseRouteResponse}
*/
public static final class ReadExerciseRouteResponse extends
com.google.protobuf.GeneratedMessageLite<
ReadExerciseRouteResponse, ReadExerciseRouteResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.ReadExerciseRouteResponse)
ReadExerciseRouteResponseOrBuilder {
private ReadExerciseRouteResponse() {
}
private int bitField0_;
public static final int DATA_POINT_FIELD_NUMBER = 1;
private androidx.health.platform.client.proto.DataProto.DataPoint dataPoint_;
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public boolean hasDataPoint() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint() {
return dataPoint_ == null ? androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance() : dataPoint_;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void setDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
dataPoint_ = value;
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
value.getClass();
if (dataPoint_ != null &&
dataPoint_ != androidx.health.platform.client.proto.DataProto.DataPoint.getDefaultInstance()) {
dataPoint_ =
androidx.health.platform.client.proto.DataProto.DataPoint.newBuilder(dataPoint_).mergeFrom(value).buildPartial();
} else {
dataPoint_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
private void clearDataPoint() { dataPoint_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.ReadExerciseRouteResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.ReadExerciseRouteResponse)
androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public boolean hasDataPoint() {
return instance.hasDataPoint();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.DataPoint getDataPoint() {
return instance.getDataPoint();
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.setDataPoint(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder setDataPoint(
androidx.health.platform.client.proto.DataProto.DataPoint.Builder builderForValue) {
copyOnWrite();
instance.setDataPoint(builderForValue.build());
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder mergeDataPoint(androidx.health.platform.client.proto.DataProto.DataPoint value) {
copyOnWrite();
instance.mergeDataPoint(value);
return this;
}
/**
* <code>optional .androidx.health.platform.client.proto.DataPoint data_point = 1;</code>
*/
public Builder clearDataPoint() { copyOnWrite();
instance.clearDataPoint();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.ReadExerciseRouteResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"dataPoint_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1009\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.ReadExerciseRouteResponse)
private static final androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse DEFAULT_INSTANCE;
static {
ReadExerciseRouteResponse defaultInstance = new ReadExerciseRouteResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ReadExerciseRouteResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.ReadExerciseRouteResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<ReadExerciseRouteResponse> PARSER;
public static com.google.protobuf.Parser<ReadExerciseRouteResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface AggregateDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.AggregateDataResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
java.util.List<androidx.health.platform.client.proto.DataProto.AggregateDataRow>
getRowsList();
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
androidx.health.platform.client.proto.DataProto.AggregateDataRow getRows(int index);
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
int getRowsCount();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.AggregateDataResponse}
*/
public static final class AggregateDataResponse extends
com.google.protobuf.GeneratedMessageLite<
AggregateDataResponse, AggregateDataResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.AggregateDataResponse)
AggregateDataResponseOrBuilder {
private AggregateDataResponse() {
rows_ = emptyProtobufList();
}
public static final int ROWS_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.DataProto.AggregateDataRow> rows_;
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.DataProto.AggregateDataRow> getRowsList() {
return rows_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public java.util.List<? extends androidx.health.platform.client.proto.DataProto.AggregateDataRowOrBuilder>
getRowsOrBuilderList() {
return rows_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public int getRowsCount() {
return rows_.size();
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.AggregateDataRow getRows(int index) {
return rows_.get(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public androidx.health.platform.client.proto.DataProto.AggregateDataRowOrBuilder getRowsOrBuilder(
int index) {
return rows_.get(index);
}
private void ensureRowsIsMutable() {
com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.DataProto.AggregateDataRow> tmp = rows_;
if (!tmp.isModifiable()) {
rows_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void setRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
value.getClass();
ensureRowsIsMutable();
rows_.set(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void addRows(androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
value.getClass();
ensureRowsIsMutable();
rows_.add(value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void addRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
value.getClass();
ensureRowsIsMutable();
rows_.add(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void addAllRows(
java.lang.Iterable<? extends androidx.health.platform.client.proto.DataProto.AggregateDataRow> values) {
ensureRowsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, rows_);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void clearRows() {
rows_ = emptyProtobufList();
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
private void removeRows(int index) {
ensureRowsIsMutable();
rows_.remove(index);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.AggregateDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.AggregateDataResponse)
androidx.health.platform.client.proto.ResponseProto.AggregateDataResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.DataProto.AggregateDataRow> getRowsList() {
return java.util.Collections.unmodifiableList(
instance.getRowsList());
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public int getRowsCount() {
return instance.getRowsCount();
}/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.DataProto.AggregateDataRow getRows(int index) {
return instance.getRows(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder setRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
copyOnWrite();
instance.setRows(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder setRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow.Builder builderForValue) {
copyOnWrite();
instance.setRows(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder addRows(androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
copyOnWrite();
instance.addRows(value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder addRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow value) {
copyOnWrite();
instance.addRows(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder addRows(
androidx.health.platform.client.proto.DataProto.AggregateDataRow.Builder builderForValue) {
copyOnWrite();
instance.addRows(builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder addRows(
int index, androidx.health.platform.client.proto.DataProto.AggregateDataRow.Builder builderForValue) {
copyOnWrite();
instance.addRows(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder addAllRows(
java.lang.Iterable<? extends androidx.health.platform.client.proto.DataProto.AggregateDataRow> values) {
copyOnWrite();
instance.addAllRows(values);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder clearRows() {
copyOnWrite();
instance.clearRows();
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.AggregateDataRow rows = 1;</code>
*/
public Builder removeRows(int index) {
copyOnWrite();
instance.removeRows(index);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.AggregateDataResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"rows_",
androidx.health.platform.client.proto.DataProto.AggregateDataRow.class,
};
java.lang.String info =
"\u0001\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.AggregateDataResponse)
private static final androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse DEFAULT_INSTANCE;
static {
AggregateDataResponse defaultInstance = new AggregateDataResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
AggregateDataResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.AggregateDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<AggregateDataResponse> PARSER;
public static com.google.protobuf.Parser<AggregateDataResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GetChangesTokenResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.GetChangesTokenResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>optional string changes_token = 1;</code>
* @return Whether the changesToken field is set.
*/
boolean hasChangesToken();
/**
* <code>optional string changes_token = 1;</code>
* @return The changesToken.
*/
java.lang.String getChangesToken();
/**
* <code>optional string changes_token = 1;</code>
* @return The bytes for changesToken.
*/
com.google.protobuf.ByteString
getChangesTokenBytes();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.GetChangesTokenResponse}
*/
public static final class GetChangesTokenResponse extends
com.google.protobuf.GeneratedMessageLite<
GetChangesTokenResponse, GetChangesTokenResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.GetChangesTokenResponse)
GetChangesTokenResponseOrBuilder {
private GetChangesTokenResponse() {
changesToken_ = "";
}
private int bitField0_;
public static final int CHANGES_TOKEN_FIELD_NUMBER = 1;
private java.lang.String changesToken_;
/**
* <code>optional string changes_token = 1;</code>
* @return Whether the changesToken field is set.
*/
@java.lang.Override
public boolean hasChangesToken() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional string changes_token = 1;</code>
* @return The changesToken.
*/
@java.lang.Override
public java.lang.String getChangesToken() {
return changesToken_;
}
/**
* <code>optional string changes_token = 1;</code>
* @return The bytes for changesToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChangesTokenBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(changesToken_);
}
/**
* <code>optional string changes_token = 1;</code>
* @param value The changesToken to set.
*/
private void setChangesToken(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000001;
changesToken_ = value;
}
/**
* <code>optional string changes_token = 1;</code>
*/
private void clearChangesToken() {
bitField0_ = (bitField0_ & ~0x00000001);
changesToken_ = getDefaultInstance().getChangesToken();
}
/**
* <code>optional string changes_token = 1;</code>
* @param value The bytes for changesToken to set.
*/
private void setChangesTokenBytes(
com.google.protobuf.ByteString value) {
changesToken_ = value.toStringUtf8();
bitField0_ |= 0x00000001;
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.GetChangesTokenResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.GetChangesTokenResponse)
androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>optional string changes_token = 1;</code>
* @return Whether the changesToken field is set.
*/
@java.lang.Override
public boolean hasChangesToken() {
return instance.hasChangesToken();
}
/**
* <code>optional string changes_token = 1;</code>
* @return The changesToken.
*/
@java.lang.Override
public java.lang.String getChangesToken() {
return instance.getChangesToken();
}
/**
* <code>optional string changes_token = 1;</code>
* @return The bytes for changesToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getChangesTokenBytes() {
return instance.getChangesTokenBytes();
}
/**
* <code>optional string changes_token = 1;</code>
* @param value The changesToken to set.
* @return This builder for chaining.
*/
public Builder setChangesToken(
java.lang.String value) {
copyOnWrite();
instance.setChangesToken(value);
return this;
}
/**
* <code>optional string changes_token = 1;</code>
* @return This builder for chaining.
*/
public Builder clearChangesToken() {
copyOnWrite();
instance.clearChangesToken();
return this;
}
/**
* <code>optional string changes_token = 1;</code>
* @param value The bytes for changesToken to set.
* @return This builder for chaining.
*/
public Builder setChangesTokenBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setChangesTokenBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.GetChangesTokenResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"changesToken_",
};
java.lang.String info =
"\u0001\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u1008\u0000";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.GetChangesTokenResponse)
private static final androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse DEFAULT_INSTANCE;
static {
GetChangesTokenResponse defaultInstance = new GetChangesTokenResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetChangesTokenResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesTokenResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<GetChangesTokenResponse> PARSER;
public static com.google.protobuf.Parser<GetChangesTokenResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface GetChangesResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:androidx.health.platform.client.proto.GetChangesResponse)
com.google.protobuf.MessageLiteOrBuilder {
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
java.util.List<androidx.health.platform.client.proto.ChangeProto.DataChange>
getChangesList();
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
androidx.health.platform.client.proto.ChangeProto.DataChange getChanges(int index);
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
int getChangesCount();
/**
* <code>optional bool has_more = 2;</code>
* @return Whether the hasMore field is set.
*/
boolean hasHasMore();
/**
* <code>optional bool has_more = 2;</code>
* @return The hasMore.
*/
boolean getHasMore();
/**
* <code>optional string next_changes_token = 3;</code>
* @return Whether the nextChangesToken field is set.
*/
boolean hasNextChangesToken();
/**
* <code>optional string next_changes_token = 3;</code>
* @return The nextChangesToken.
*/
java.lang.String getNextChangesToken();
/**
* <code>optional string next_changes_token = 3;</code>
* @return The bytes for nextChangesToken.
*/
com.google.protobuf.ByteString
getNextChangesTokenBytes();
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return Whether the changesTokenExpired field is set.
*/
boolean hasChangesTokenExpired();
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return The changesTokenExpired.
*/
boolean getChangesTokenExpired();
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.GetChangesResponse}
*/
public static final class GetChangesResponse extends
com.google.protobuf.GeneratedMessageLite<
GetChangesResponse, GetChangesResponse.Builder> implements
// @@protoc_insertion_point(message_implements:androidx.health.platform.client.proto.GetChangesResponse)
GetChangesResponseOrBuilder {
private GetChangesResponse() {
changes_ = emptyProtobufList();
nextChangesToken_ = "";
}
private int bitField0_;
public static final int CHANGES_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.ChangeProto.DataChange> changes_;
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.ChangeProto.DataChange> getChangesList() {
return changes_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public java.util.List<? extends androidx.health.platform.client.proto.ChangeProto.DataChangeOrBuilder>
getChangesOrBuilderList() {
return changes_;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public int getChangesCount() {
return changes_.size();
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.ChangeProto.DataChange getChanges(int index) {
return changes_.get(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public androidx.health.platform.client.proto.ChangeProto.DataChangeOrBuilder getChangesOrBuilder(
int index) {
return changes_.get(index);
}
private void ensureChangesIsMutable() {
com.google.protobuf.Internal.ProtobufList<androidx.health.platform.client.proto.ChangeProto.DataChange> tmp = changes_;
if (!tmp.isModifiable()) {
changes_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void setChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange value) {
value.getClass();
ensureChangesIsMutable();
changes_.set(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void addChanges(androidx.health.platform.client.proto.ChangeProto.DataChange value) {
value.getClass();
ensureChangesIsMutable();
changes_.add(value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void addChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange value) {
value.getClass();
ensureChangesIsMutable();
changes_.add(index, value);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void addAllChanges(
java.lang.Iterable<? extends androidx.health.platform.client.proto.ChangeProto.DataChange> values) {
ensureChangesIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, changes_);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void clearChanges() {
changes_ = emptyProtobufList();
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
private void removeChanges(int index) {
ensureChangesIsMutable();
changes_.remove(index);
}
public static final int HAS_MORE_FIELD_NUMBER = 2;
private boolean hasMore_;
/**
* <code>optional bool has_more = 2;</code>
* @return Whether the hasMore field is set.
*/
@java.lang.Override
public boolean hasHasMore() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* <code>optional bool has_more = 2;</code>
* @return The hasMore.
*/
@java.lang.Override
public boolean getHasMore() {
return hasMore_;
}
/**
* <code>optional bool has_more = 2;</code>
* @param value The hasMore to set.
*/
private void setHasMore(boolean value) {
bitField0_ |= 0x00000001;
hasMore_ = value;
}
/**
* <code>optional bool has_more = 2;</code>
*/
private void clearHasMore() {
bitField0_ = (bitField0_ & ~0x00000001);
hasMore_ = false;
}
public static final int NEXT_CHANGES_TOKEN_FIELD_NUMBER = 3;
private java.lang.String nextChangesToken_;
/**
* <code>optional string next_changes_token = 3;</code>
* @return Whether the nextChangesToken field is set.
*/
@java.lang.Override
public boolean hasNextChangesToken() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return The nextChangesToken.
*/
@java.lang.Override
public java.lang.String getNextChangesToken() {
return nextChangesToken_;
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return The bytes for nextChangesToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNextChangesTokenBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(nextChangesToken_);
}
/**
* <code>optional string next_changes_token = 3;</code>
* @param value The nextChangesToken to set.
*/
private void setNextChangesToken(
java.lang.String value) {
java.lang.Class<?> valueClass = value.getClass();
bitField0_ |= 0x00000002;
nextChangesToken_ = value;
}
/**
* <code>optional string next_changes_token = 3;</code>
*/
private void clearNextChangesToken() {
bitField0_ = (bitField0_ & ~0x00000002);
nextChangesToken_ = getDefaultInstance().getNextChangesToken();
}
/**
* <code>optional string next_changes_token = 3;</code>
* @param value The bytes for nextChangesToken to set.
*/
private void setNextChangesTokenBytes(
com.google.protobuf.ByteString value) {
nextChangesToken_ = value.toStringUtf8();
bitField0_ |= 0x00000002;
}
public static final int CHANGES_TOKEN_EXPIRED_FIELD_NUMBER = 4;
private boolean changesTokenExpired_;
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return Whether the changesTokenExpired field is set.
*/
@java.lang.Override
public boolean hasChangesTokenExpired() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return The changesTokenExpired.
*/
@java.lang.Override
public boolean getChangesTokenExpired() {
return changesTokenExpired_;
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @param value The changesTokenExpired to set.
*/
private void setChangesTokenExpired(boolean value) {
bitField0_ |= 0x00000004;
changesTokenExpired_ = value;
}
/**
* <code>optional bool changes_token_expired = 4;</code>
*/
private void clearChangesTokenExpired() {
bitField0_ = (bitField0_ & ~0x00000004);
changesTokenExpired_ = false;
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(androidx.health.platform.client.proto.ResponseProto.GetChangesResponse prototype) {
return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code androidx.health.platform.client.proto.GetChangesResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
androidx.health.platform.client.proto.ResponseProto.GetChangesResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:androidx.health.platform.client.proto.GetChangesResponse)
androidx.health.platform.client.proto.ResponseProto.GetChangesResponseOrBuilder {
// Construct using androidx.health.platform.client.proto.ResponseProto.GetChangesResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public java.util.List<androidx.health.platform.client.proto.ChangeProto.DataChange> getChangesList() {
return java.util.Collections.unmodifiableList(
instance.getChangesList());
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public int getChangesCount() {
return instance.getChangesCount();
}/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
@java.lang.Override
public androidx.health.platform.client.proto.ChangeProto.DataChange getChanges(int index) {
return instance.getChanges(index);
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder setChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange value) {
copyOnWrite();
instance.setChanges(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder setChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange.Builder builderForValue) {
copyOnWrite();
instance.setChanges(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder addChanges(androidx.health.platform.client.proto.ChangeProto.DataChange value) {
copyOnWrite();
instance.addChanges(value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder addChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange value) {
copyOnWrite();
instance.addChanges(index, value);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder addChanges(
androidx.health.platform.client.proto.ChangeProto.DataChange.Builder builderForValue) {
copyOnWrite();
instance.addChanges(builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder addChanges(
int index, androidx.health.platform.client.proto.ChangeProto.DataChange.Builder builderForValue) {
copyOnWrite();
instance.addChanges(index,
builderForValue.build());
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder addAllChanges(
java.lang.Iterable<? extends androidx.health.platform.client.proto.ChangeProto.DataChange> values) {
copyOnWrite();
instance.addAllChanges(values);
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder clearChanges() {
copyOnWrite();
instance.clearChanges();
return this;
}
/**
* <code>repeated .androidx.health.platform.client.proto.DataChange changes = 1;</code>
*/
public Builder removeChanges(int index) {
copyOnWrite();
instance.removeChanges(index);
return this;
}
/**
* <code>optional bool has_more = 2;</code>
* @return Whether the hasMore field is set.
*/
@java.lang.Override
public boolean hasHasMore() {
return instance.hasHasMore();
}
/**
* <code>optional bool has_more = 2;</code>
* @return The hasMore.
*/
@java.lang.Override
public boolean getHasMore() {
return instance.getHasMore();
}
/**
* <code>optional bool has_more = 2;</code>
* @param value The hasMore to set.
* @return This builder for chaining.
*/
public Builder setHasMore(boolean value) {
copyOnWrite();
instance.setHasMore(value);
return this;
}
/**
* <code>optional bool has_more = 2;</code>
* @return This builder for chaining.
*/
public Builder clearHasMore() {
copyOnWrite();
instance.clearHasMore();
return this;
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return Whether the nextChangesToken field is set.
*/
@java.lang.Override
public boolean hasNextChangesToken() {
return instance.hasNextChangesToken();
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return The nextChangesToken.
*/
@java.lang.Override
public java.lang.String getNextChangesToken() {
return instance.getNextChangesToken();
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return The bytes for nextChangesToken.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNextChangesTokenBytes() {
return instance.getNextChangesTokenBytes();
}
/**
* <code>optional string next_changes_token = 3;</code>
* @param value The nextChangesToken to set.
* @return This builder for chaining.
*/
public Builder setNextChangesToken(
java.lang.String value) {
copyOnWrite();
instance.setNextChangesToken(value);
return this;
}
/**
* <code>optional string next_changes_token = 3;</code>
* @return This builder for chaining.
*/
public Builder clearNextChangesToken() {
copyOnWrite();
instance.clearNextChangesToken();
return this;
}
/**
* <code>optional string next_changes_token = 3;</code>
* @param value The bytes for nextChangesToken to set.
* @return This builder for chaining.
*/
public Builder setNextChangesTokenBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNextChangesTokenBytes(value);
return this;
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return Whether the changesTokenExpired field is set.
*/
@java.lang.Override
public boolean hasChangesTokenExpired() {
return instance.hasChangesTokenExpired();
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return The changesTokenExpired.
*/
@java.lang.Override
public boolean getChangesTokenExpired() {
return instance.getChangesTokenExpired();
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @param value The changesTokenExpired to set.
* @return This builder for chaining.
*/
public Builder setChangesTokenExpired(boolean value) {
copyOnWrite();
instance.setChangesTokenExpired(value);
return this;
}
/**
* <code>optional bool changes_token_expired = 4;</code>
* @return This builder for chaining.
*/
public Builder clearChangesTokenExpired() {
copyOnWrite();
instance.clearChangesTokenExpired();
return this;
}
// @@protoc_insertion_point(builder_scope:androidx.health.platform.client.proto.GetChangesResponse)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new androidx.health.platform.client.proto.ResponseProto.GetChangesResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"changes_",
androidx.health.platform.client.proto.ChangeProto.DataChange.class,
"hasMore_",
"nextChangesToken_",
"changesTokenExpired_",
};
java.lang.String info =
"\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0001\u0000\u0001\u001b\u0002\u1007" +
"\u0000\u0003\u1008\u0001\u0004\u1007\u0002";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser<androidx.health.platform.client.proto.ResponseProto.GetChangesResponse> parser = PARSER;
if (parser == null) {
synchronized (androidx.health.platform.client.proto.ResponseProto.GetChangesResponse.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser<androidx.health.platform.client.proto.ResponseProto.GetChangesResponse>(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:androidx.health.platform.client.proto.GetChangesResponse)
private static final androidx.health.platform.client.proto.ResponseProto.GetChangesResponse DEFAULT_INSTANCE;
static {
GetChangesResponse defaultInstance = new GetChangesResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetChangesResponse.class, defaultInstance);
}
public static androidx.health.platform.client.proto.ResponseProto.GetChangesResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser<GetChangesResponse> PARSER;
public static com.google.protobuf.Parser<GetChangesResponse> parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
static {
}
// @@protoc_insertion_point(outer_class_scope)
}