-
- All Implemented Interfaces:
-
com.google.android.horologist.data.ComplicationInfoOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,java.lang.Cloneable
public final class ComplicationInfo.Builder extends GeneratedMessageLite.Builder<ComplicationInfo, ComplicationInfo.Builder> implements ComplicationInfoOrBuilder
Protobuf type
{@code com.google.android.horologist.data.ComplicationInfo}
-
-
Method Summary
Modifier and Type Method Description StringgetName()string name = 1;ByteStringgetNameBytes()string name = 1;ComplicationInfo.BuildersetName(String value)string name = 1;ComplicationInfo.BuilderclearName()string name = 1;ComplicationInfo.BuildersetNameBytes(ByteString value)string name = 1;intgetInstanceId()int32 instanceId = 2;ComplicationInfo.BuildersetInstanceId(int value)int32 instanceId = 2;ComplicationInfo.BuilderclearInstanceId()int32 instanceId = 2;StringgetType()string type = 3;ByteStringgetTypeBytes()string type = 3;ComplicationInfo.BuildersetType(String value)string type = 3;ComplicationInfo.BuilderclearType()string type = 3;ComplicationInfo.BuildersetTypeBytes(ByteString value)string type = 3;booleanhasTimestamp().google.protobuf.Timestamp timestamp = 5;TimestampgetTimestamp().google.protobuf.Timestamp timestamp = 5;ComplicationInfo.BuildersetTimestamp(Timestamp value).google.protobuf.Timestamp timestamp = 5;ComplicationInfo.BuildersetTimestamp(Timestamp.Builder builderForValue).google.protobuf.Timestamp timestamp = 5;ComplicationInfo.BuildermergeTimestamp(Timestamp value).google.protobuf.Timestamp timestamp = 5;ComplicationInfo.BuilderclearTimestamp().google.protobuf.Timestamp timestamp = 5;-
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
-
getNameBytes
ByteString getNameBytes()
string name = 1;
-
setName
ComplicationInfo.Builder setName(String value)
string name = 1;- Parameters:
value- The name to set.
-
clearName
ComplicationInfo.Builder clearName()
string name = 1;
-
setNameBytes
ComplicationInfo.Builder setNameBytes(ByteString value)
string name = 1;- Parameters:
value- The bytes for name to set.
-
getInstanceId
int getInstanceId()
int32 instanceId = 2;
-
setInstanceId
ComplicationInfo.Builder setInstanceId(int value)
int32 instanceId = 2;- Parameters:
value- The instanceId to set.
-
clearInstanceId
ComplicationInfo.Builder clearInstanceId()
int32 instanceId = 2;
-
getTypeBytes
ByteString getTypeBytes()
string type = 3;
-
setType
ComplicationInfo.Builder setType(String value)
string type = 3;- Parameters:
value- The type to set.
-
clearType
ComplicationInfo.Builder clearType()
string type = 3;
-
setTypeBytes
ComplicationInfo.Builder setTypeBytes(ByteString value)
string type = 3;- Parameters:
value- The bytes for type to set.
-
hasTimestamp
boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 5;
-
getTimestamp
Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 5;
-
setTimestamp
ComplicationInfo.Builder setTimestamp(Timestamp value)
.google.protobuf.Timestamp timestamp = 5;
-
setTimestamp
ComplicationInfo.Builder setTimestamp(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 5;
-
mergeTimestamp
ComplicationInfo.Builder mergeTimestamp(Timestamp value)
.google.protobuf.Timestamp timestamp = 5;
-
clearTimestamp
ComplicationInfo.Builder clearTimestamp()
.google.protobuf.Timestamp timestamp = 5;
-
-
-
-