public final class

RequestProto.AggregateMetricSpec.Builder

extends <any>

implements RequestProto.AggregateMetricSpecOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.RequestProto.AggregateMetricSpec.Builder

Overview

Protobuf type androidx.health.platform.client.proto.AggregateMetricSpec

Summary

Methods
public RequestProto.AggregateMetricSpec.BuilderclearAggregationType()

 count, duration, etc

public RequestProto.AggregateMetricSpec.BuilderclearDataTypeName()

optional string data_type_name = 1;

public RequestProto.AggregateMetricSpec.BuilderclearFieldName()

optional string field_name = 3;

public java.lang.StringgetAggregationType()

 count, duration, etc

public com.google.protobuf.ByteStringgetAggregationTypeBytes()

 count, duration, etc

public java.lang.StringgetDataTypeName()

optional string data_type_name = 1;

public com.google.protobuf.ByteStringgetDataTypeNameBytes()

optional string data_type_name = 1;

public java.lang.StringgetFieldName()

optional string field_name = 3;

public com.google.protobuf.ByteStringgetFieldNameBytes()

optional string field_name = 3;

public booleanhasAggregationType()

 count, duration, etc

public booleanhasDataTypeName()

optional string data_type_name = 1;

public booleanhasFieldName()

optional string field_name = 3;

public RequestProto.AggregateMetricSpec.BuildersetAggregationType(java.lang.String value)

 count, duration, etc

public RequestProto.AggregateMetricSpec.BuildersetAggregationTypeBytes(com.google.protobuf.ByteString value)

 count, duration, etc

public RequestProto.AggregateMetricSpec.BuildersetDataTypeName(java.lang.String value)

optional string data_type_name = 1;

public RequestProto.AggregateMetricSpec.BuildersetDataTypeNameBytes(com.google.protobuf.ByteString value)

optional string data_type_name = 1;

public RequestProto.AggregateMetricSpec.BuildersetFieldName(java.lang.String value)

optional string field_name = 3;

public RequestProto.AggregateMetricSpec.BuildersetFieldNameBytes(com.google.protobuf.ByteString value)

optional string field_name = 3;

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public boolean hasDataTypeName()

optional string data_type_name = 1;

Returns:

Whether the dataTypeName field is set.

public java.lang.String getDataTypeName()

optional string data_type_name = 1;

Returns:

The dataTypeName.

public com.google.protobuf.ByteString getDataTypeNameBytes()

optional string data_type_name = 1;

Returns:

The bytes for dataTypeName.

public RequestProto.AggregateMetricSpec.Builder setDataTypeName(java.lang.String value)

optional string data_type_name = 1;

Parameters:

value: The dataTypeName to set.

Returns:

This builder for chaining.

public RequestProto.AggregateMetricSpec.Builder clearDataTypeName()

optional string data_type_name = 1;

Returns:

This builder for chaining.

public RequestProto.AggregateMetricSpec.Builder setDataTypeNameBytes(com.google.protobuf.ByteString value)

optional string data_type_name = 1;

Parameters:

value: The bytes for dataTypeName to set.

Returns:

This builder for chaining.

public boolean hasAggregationType()

 count, duration, etc
 
optional string aggregation_type = 2;

Returns:

Whether the aggregationType field is set.

public java.lang.String getAggregationType()

 count, duration, etc
 
optional string aggregation_type = 2;

Returns:

The aggregationType.

public com.google.protobuf.ByteString getAggregationTypeBytes()

 count, duration, etc
 
optional string aggregation_type = 2;

Returns:

The bytes for aggregationType.

public RequestProto.AggregateMetricSpec.Builder setAggregationType(java.lang.String value)

 count, duration, etc
 
optional string aggregation_type = 2;

Parameters:

value: The aggregationType to set.

Returns:

This builder for chaining.

public RequestProto.AggregateMetricSpec.Builder clearAggregationType()

 count, duration, etc
 
optional string aggregation_type = 2;

Returns:

This builder for chaining.

public RequestProto.AggregateMetricSpec.Builder setAggregationTypeBytes(com.google.protobuf.ByteString value)

 count, duration, etc
 
optional string aggregation_type = 2;

Parameters:

value: The bytes for aggregationType to set.

Returns:

This builder for chaining.

public boolean hasFieldName()

optional string field_name = 3;

Returns:

Whether the fieldName field is set.

public java.lang.String getFieldName()

optional string field_name = 3;

Returns:

The fieldName.

public com.google.protobuf.ByteString getFieldNameBytes()

optional string field_name = 3;

Returns:

The bytes for fieldName.

public RequestProto.AggregateMetricSpec.Builder setFieldName(java.lang.String value)

optional string field_name = 3;

Parameters:

value: The fieldName to set.

Returns:

This builder for chaining.

optional string field_name = 3;

Returns:

This builder for chaining.

public RequestProto.AggregateMetricSpec.Builder setFieldNameBytes(com.google.protobuf.ByteString value)

optional string field_name = 3;

Parameters:

value: The bytes for fieldName to set.

Returns:

This builder for chaining.