Package com.viam.robot.v1
Class Robot.ConfigStatus.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Robot.ConfigStatus,Robot.ConfigStatus.Builder>
com.viam.robot.v1.Robot.ConfigStatus.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Robot.ConfigStatusOrBuilder,Cloneable
- Enclosing class:
- Robot.ConfigStatus
public static final class Robot.ConfigStatus.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Robot.ConfigStatus,Robot.ConfigStatus.Builder>
implements Robot.ConfigStatusOrBuilder
Protobuf type
viam.robot.v1.ConfigStatus-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionconfig ingestion timestamp.revision of the last config that the machine successfully ingested.com.google.protobuf.Timestampconfig ingestion timestamp.revision of the last config that the machine successfully ingested.com.google.protobuf.ByteStringrevision of the last config that the machine successfully ingested.booleanconfig ingestion timestamp.mergeLastUpdated(com.google.protobuf.Timestamp value) config ingestion timestamp.setLastUpdated(com.google.protobuf.Timestamp value) config ingestion timestamp.setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) config ingestion timestamp.setRevision(String value) revision of the last config that the machine successfully ingested.setRevisionBytes(com.google.protobuf.ByteString value) revision of the last config that the machine successfully ingested.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
-
getRevision
revision of the last config that the machine successfully ingested.
string revision = 1 [json_name = "revision"];- Specified by:
getRevisionin interfaceRobot.ConfigStatusOrBuilder- Returns:
- The revision.
-
getRevisionBytes
public com.google.protobuf.ByteString getRevisionBytes()revision of the last config that the machine successfully ingested.
string revision = 1 [json_name = "revision"];- Specified by:
getRevisionBytesin interfaceRobot.ConfigStatusOrBuilder- Returns:
- The bytes for revision.
-
setRevision
revision of the last config that the machine successfully ingested.
string revision = 1 [json_name = "revision"];- Parameters:
value- The revision to set.- Returns:
- This builder for chaining.
-
clearRevision
revision of the last config that the machine successfully ingested.
string revision = 1 [json_name = "revision"];- Returns:
- This builder for chaining.
-
setRevisionBytes
revision of the last config that the machine successfully ingested.
string revision = 1 [json_name = "revision"];- Parameters:
value- The bytes for revision to set.- Returns:
- This builder for chaining.
-
hasLastUpdated
public boolean hasLastUpdated()config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"];- Specified by:
hasLastUpdatedin interfaceRobot.ConfigStatusOrBuilder- Returns:
- Whether the lastUpdated field is set.
-
getLastUpdated
public com.google.protobuf.Timestamp getLastUpdated()config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"];- Specified by:
getLastUpdatedin interfaceRobot.ConfigStatusOrBuilder- Returns:
- The lastUpdated.
-
setLastUpdated
config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"]; -
setLastUpdated
public Robot.ConfigStatus.Builder setLastUpdated(com.google.protobuf.Timestamp.Builder builderForValue) config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"]; -
mergeLastUpdated
config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"]; -
clearLastUpdated
config ingestion timestamp.
.google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"];
-