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
  • Method Details

    • getRevision

      public String getRevision()
       revision of the last config that the machine successfully ingested.
       
      string revision = 1 [json_name = "revision"];
      Specified by:
      getRevision in interface Robot.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:
      getRevisionBytes in interface Robot.ConfigStatusOrBuilder
      Returns:
      The bytes for revision.
    • setRevision

      public Robot.ConfigStatus.Builder setRevision(String value)
       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

      public Robot.ConfigStatus.Builder clearRevision()
       revision of the last config that the machine successfully ingested.
       
      string revision = 1 [json_name = "revision"];
      Returns:
      This builder for chaining.
    • setRevisionBytes

      public Robot.ConfigStatus.Builder setRevisionBytes(com.google.protobuf.ByteString value)
       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:
      hasLastUpdated in interface Robot.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:
      getLastUpdated in interface Robot.ConfigStatusOrBuilder
      Returns:
      The lastUpdated.
    • setLastUpdated

      public Robot.ConfigStatus.Builder setLastUpdated(com.google.protobuf.Timestamp value)
       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

      public Robot.ConfigStatus.Builder mergeLastUpdated(com.google.protobuf.Timestamp value)
       config ingestion timestamp.
       
      .google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"];
    • clearLastUpdated

      public Robot.ConfigStatus.Builder clearLastUpdated()
       config ingestion timestamp.
       
      .google.protobuf.Timestamp last_updated = 2 [json_name = "lastUpdated"];