Package viam.app.v1
Class AppOuterClass.Robot.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Robot,AppOuterClass.Robot.Builder>
viam.app.v1.AppOuterClass.Robot.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,AppOuterClass.RobotOrBuilder
- Enclosing class:
- AppOuterClass.Robot
public static final class AppOuterClass.Robot.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.Robot,AppOuterClass.Robot.Builder>
implements AppOuterClass.RobotOrBuilder
Protobuf type
viam.app.v1.Robot-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];clearId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];int64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];com.google.protobuf.Timestamp.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];getId()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];com.google.protobuf.ByteStringstring id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];com.google.protobuf.Timestamp.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];com.google.protobuf.ByteStringstring location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];getName()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];com.google.protobuf.ByteStringstring name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];int.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];longint64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];boolean.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];boolean.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];mergeCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];mergeLastAccess(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];setCreatedOn(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];setLastAccess(com.google.protobuf.Timestamp value) .google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];setLastAccess(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];setLocation(String value) string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];setLocationBytes(com.google.protobuf.ByteString value) string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];setNameBytes(com.google.protobuf.ByteString value) string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];setOnlineStateValue(int value) .viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];setSecondsSinceOnline(long value) int64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Specified by:
getIdin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Specified by:
getIdBytesin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The bytes for id.
-
setId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Returns:
- This builder for chaining.
-
setIdBytes
string id = 1 [json_name = "id", (.tagger.v1.tags) = "bson:\"_id\" json:\"id,omitempty\""];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Specified by:
getNamein interfaceAppOuterClass.RobotOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Specified by:
getNameBytesin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The bytes for name.
-
setName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Returns:
- This builder for chaining.
-
setNameBytes
string name = 2 [json_name = "name", (.tagger.v1.tags) = "bson:\"name\" json:\"name\""];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLocation
string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];- Specified by:
getLocationin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];- Specified by:
getLocationBytesin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The bytes for location.
-
setLocation
string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];- Returns:
- This builder for chaining.
-
setLocationBytes
string location = 3 [json_name = "location", (.tagger.v1.tags) = "bson:\"location\" json:\"location\""];- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
hasLastAccess
public boolean hasLastAccess().google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];- Specified by:
hasLastAccessin interfaceAppOuterClass.RobotOrBuilder- Returns:
- Whether the lastAccess field is set.
-
getLastAccess
public com.google.protobuf.Timestamp getLastAccess().google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""];- Specified by:
getLastAccessin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The lastAccess.
-
setLastAccess
.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""]; -
setLastAccess
public AppOuterClass.Robot.Builder setLastAccess(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""]; -
mergeLastAccess
.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""]; -
clearLastAccess
.google.protobuf.Timestamp last_access = 4 [json_name = "lastAccess", (.tagger.v1.tags) = "bson:\"last_access\" json:\"last_access\""]; -
hasCreatedOn
public boolean hasCreatedOn().google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];- Specified by:
hasCreatedOnin interfaceAppOuterClass.RobotOrBuilder- Returns:
- Whether the createdOn field is set.
-
getCreatedOn
public com.google.protobuf.Timestamp getCreatedOn().google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""];- Specified by:
getCreatedOnin interfaceAppOuterClass.RobotOrBuilder- Returns:
- The createdOn.
-
setCreatedOn
.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
setCreatedOn
public AppOuterClass.Robot.Builder setCreatedOn(com.google.protobuf.Timestamp.Builder builderForValue) .google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
mergeCreatedOn
.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
clearCreatedOn
.google.protobuf.Timestamp created_on = 5 [json_name = "createdOn", (.tagger.v1.tags) = "bson:\"created_on\""]; -
getOnlineStateValue
public int getOnlineStateValue().viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];- Specified by:
getOnlineStateValuein interfaceAppOuterClass.RobotOrBuilder- Returns:
- The enum numeric value on the wire for onlineState.
-
setOnlineStateValue
.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];- Parameters:
value- The onlineState to set.- Returns:
- This builder for chaining.
-
getOnlineState
.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];- Specified by:
getOnlineStatein interfaceAppOuterClass.RobotOrBuilder- Returns:
- The onlineState.
-
setOnlineState
.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];- Parameters:
value- The enum numeric value on the wire for onlineState to set.- Returns:
- This builder for chaining.
-
clearOnlineState
.viam.app.v1.OnlineState online_state = 6 [json_name = "onlineState", (.tagger.v1.tags) = "bson:\"online_state\" json:\"online_state,omitempty\""];- Returns:
- This builder for chaining.
-
getSecondsSinceOnline
public long getSecondsSinceOnline()int64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];- Specified by:
getSecondsSinceOnlinein interfaceAppOuterClass.RobotOrBuilder- Returns:
- The secondsSinceOnline.
-
setSecondsSinceOnline
int64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];- Parameters:
value- The secondsSinceOnline to set.- Returns:
- This builder for chaining.
-
clearSecondsSinceOnline
int64 seconds_since_online = 7 [json_name = "secondsSinceOnline", (.tagger.v1.tags) = "bson:\"seconds_since_online\" json:\"seconds_since_online,omitempty\""];- Returns:
- This builder for chaining.
-