-
- All Implemented Interfaces:
-
com.google.android.horologist.data.UsageInfoOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class UsageInfo.Builder extends GeneratedMessageLite.Builder<UsageInfo, UsageInfo.Builder> implements UsageInfoOrBuilder
Protobuf type
{@code com.google.android.horologist.data.UsageInfo}
-
-
Method Summary
Modifier and Type Method Description intgetUsageStatusValue().com.google.android.horologist.data.UsageStatus usageStatus = 1;UsageInfo.BuildersetUsageStatusValue(int value).com.google.android.horologist.data.UsageStatus usageStatus = 1;UsageStatusgetUsageStatus().com.google.android.horologist.data.UsageStatus usageStatus = 1;UsageInfo.BuildersetUsageStatus(UsageStatus value).com.google.android.horologist.data.UsageStatus usageStatus = 1;UsageInfo.BuilderclearUsageStatus().com.google.android.horologist.data.UsageStatus usageStatus = 1;booleanhasTimestamp().google.protobuf.Timestamp timestamp = 2;TimestampgetTimestamp().google.protobuf.Timestamp timestamp = 2;UsageInfo.BuildersetTimestamp(Timestamp value).google.protobuf.Timestamp timestamp = 2;UsageInfo.BuildersetTimestamp(Timestamp.Builder builderForValue).google.protobuf.Timestamp timestamp = 2;UsageInfo.BuildermergeTimestamp(Timestamp value).google.protobuf.Timestamp timestamp = 2;UsageInfo.BuilderclearTimestamp().google.protobuf.Timestamp timestamp = 2;-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, getDefaultInstanceForType, isInitialized, mergeFrom -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial, clear, clone, mergeFrom -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getUsageStatusValue
int getUsageStatusValue()
.com.google.android.horologist.data.UsageStatus usageStatus = 1;
-
setUsageStatusValue
UsageInfo.Builder setUsageStatusValue(int value)
.com.google.android.horologist.data.UsageStatus usageStatus = 1;- Parameters:
value- The usageStatus to set.
-
getUsageStatus
UsageStatus getUsageStatus()
.com.google.android.horologist.data.UsageStatus usageStatus = 1;
-
setUsageStatus
UsageInfo.Builder setUsageStatus(UsageStatus value)
.com.google.android.horologist.data.UsageStatus usageStatus = 1;- Parameters:
value- The enum numeric value on the wire for usageStatus to set.
-
clearUsageStatus
UsageInfo.Builder clearUsageStatus()
.com.google.android.horologist.data.UsageStatus usageStatus = 1;
-
hasTimestamp
boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 2;
-
getTimestamp
Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 2;
-
setTimestamp
UsageInfo.Builder setTimestamp(Timestamp value)
.google.protobuf.Timestamp timestamp = 2;
-
setTimestamp
UsageInfo.Builder setTimestamp(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 2;
-
mergeTimestamp
UsageInfo.Builder mergeTimestamp(Timestamp value)
.google.protobuf.Timestamp timestamp = 2;
-
clearTimestamp
UsageInfo.Builder clearTimestamp()
.google.protobuf.Timestamp timestamp = 2;
-
-
-
-