Package viam.app.v1

Class App.RobotPartHistoryEntry.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.RobotPartHistoryEntry,App.RobotPartHistoryEntry.Builder>
viam.app.v1.App.RobotPartHistoryEntry.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.RobotPartHistoryEntryOrBuilder
Enclosing class:
App.RobotPartHistoryEntry

public static final class App.RobotPartHistoryEntry.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.RobotPartHistoryEntry,App.RobotPartHistoryEntry.Builder> implements App.RobotPartHistoryEntryOrBuilder
Protobuf type viam.app.v1.RobotPartHistoryEntry
  • Method Details

    • getPart

      public String getPart()
      string part = 1 [json_name = "part", (.tagger.v1.tags) = "bson:\"part\" json:\"part\""];
      Specified by:
      getPart in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The part.
    • getPartBytes

      public com.google.protobuf.ByteString getPartBytes()
      string part = 1 [json_name = "part", (.tagger.v1.tags) = "bson:\"part\" json:\"part\""];
      Specified by:
      getPartBytes in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The bytes for part.
    • setPart

      public App.RobotPartHistoryEntry.Builder setPart(String value)
      string part = 1 [json_name = "part", (.tagger.v1.tags) = "bson:\"part\" json:\"part\""];
      Parameters:
      value - The part to set.
      Returns:
      This builder for chaining.
    • clearPart

      string part = 1 [json_name = "part", (.tagger.v1.tags) = "bson:\"part\" json:\"part\""];
      Returns:
      This builder for chaining.
    • setPartBytes

      public App.RobotPartHistoryEntry.Builder setPartBytes(com.google.protobuf.ByteString value)
      string part = 1 [json_name = "part", (.tagger.v1.tags) = "bson:\"part\" json:\"part\""];
      Parameters:
      value - The bytes for part to set.
      Returns:
      This builder for chaining.
    • getRobot

      public String getRobot()
      string robot = 2 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Specified by:
      getRobot in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The robot.
    • getRobotBytes

      public com.google.protobuf.ByteString getRobotBytes()
      string robot = 2 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Specified by:
      getRobotBytes in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The bytes for robot.
    • setRobot

      public App.RobotPartHistoryEntry.Builder setRobot(String value)
      string robot = 2 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Parameters:
      value - The robot to set.
      Returns:
      This builder for chaining.
    • clearRobot

      public App.RobotPartHistoryEntry.Builder clearRobot()
      string robot = 2 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Returns:
      This builder for chaining.
    • setRobotBytes

      public App.RobotPartHistoryEntry.Builder setRobotBytes(com.google.protobuf.ByteString value)
      string robot = 2 [json_name = "robot", (.tagger.v1.tags) = "bson:\"robot\" json:\"robot\""];
      Parameters:
      value - The bytes for robot to set.
      Returns:
      This builder for chaining.
    • hasWhen

      public boolean hasWhen()
      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
      Specified by:
      hasWhen in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      Whether the when field is set.
    • getWhen

      public com.google.protobuf.Timestamp getWhen()
      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
      Specified by:
      getWhen in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The when.
    • setWhen

      public App.RobotPartHistoryEntry.Builder setWhen(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
    • setWhen

      public App.RobotPartHistoryEntry.Builder setWhen(com.google.protobuf.Timestamp.Builder builderForValue)
      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
    • mergeWhen

      public App.RobotPartHistoryEntry.Builder mergeWhen(com.google.protobuf.Timestamp value)
      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
    • clearWhen

      .google.protobuf.Timestamp when = 3 [json_name = "when", (.tagger.v1.tags) = "bson:\"when\" json:\"when\""];
    • hasOld

      public boolean hasOld()
      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
      Specified by:
      hasOld in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      Whether the old field is set.
    • getOld

      public App.RobotPart getOld()
      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
      Specified by:
      getOld in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The old.
    • setOld

      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
    • setOld

      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
    • mergeOld

      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
    • clearOld

      .viam.app.v1.RobotPart old = 4 [json_name = "old", (.tagger.v1.tags) = "bson:\"old\" json:\"old\""];
    • hasEditedBy

      public boolean hasEditedBy()
      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
      Specified by:
      hasEditedBy in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      Whether the editedBy field is set.
    • getEditedBy

      public App.AuthenticatorInfo getEditedBy()
      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
      Specified by:
      getEditedBy in interface App.RobotPartHistoryEntryOrBuilder
      Returns:
      The editedBy.
    • setEditedBy

      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
    • setEditedBy

      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
    • mergeEditedBy

      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];
    • clearEditedBy

      public App.RobotPartHistoryEntry.Builder clearEditedBy()
      .viam.app.v1.AuthenticatorInfo edited_by = 5 [json_name = "editedBy", (.tagger.v1.tags) = "bson:\"edited_by\" json:\"edited_by\""];