Package viam.app.v1

Class App.GetRobotPartLogsRequest.Builder

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

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

    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      string id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      string id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public App.GetRobotPartLogsRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getErrorsOnly

      @Deprecated public boolean getErrorsOnly()
      Deprecated.
      viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=720
       TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field
       
      bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
      Specified by:
      getErrorsOnly in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The errorsOnly.
    • setErrorsOnly

      @Deprecated public App.GetRobotPartLogsRequest.Builder setErrorsOnly(boolean value)
      Deprecated.
      viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=720
       TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field
       
      bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
      Parameters:
      value - The errorsOnly to set.
      Returns:
      This builder for chaining.
    • clearErrorsOnly

      Deprecated.
      viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=720
       TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field
       
      bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
      Returns:
      This builder for chaining.
    • hasFilter

      public boolean hasFilter()
      optional string filter = 3 [json_name = "filter"];
      Specified by:
      hasFilter in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
      optional string filter = 3 [json_name = "filter"];
      Specified by:
      getFilter in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
      optional string filter = 3 [json_name = "filter"];
      Specified by:
      getFilterBytes in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public App.GetRobotPartLogsRequest.Builder setFilter(String value)
      optional string filter = 3 [json_name = "filter"];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      optional string filter = 3 [json_name = "filter"];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public App.GetRobotPartLogsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
      optional string filter = 3 [json_name = "filter"];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • hasPageToken

      public boolean hasPageToken()
      optional string page_token = 4 [json_name = "pageToken"];
      Specified by:
      hasPageToken in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
      optional string page_token = 4 [json_name = "pageToken"];
      Specified by:
      getPageToken in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
      optional string page_token = 4 [json_name = "pageToken"];
      Specified by:
      getPageTokenBytes in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public App.GetRobotPartLogsRequest.Builder setPageToken(String value)
      optional string page_token = 4 [json_name = "pageToken"];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public App.GetRobotPartLogsRequest.Builder clearPageToken()
      optional string page_token = 4 [json_name = "pageToken"];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public App.GetRobotPartLogsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
      optional string page_token = 4 [json_name = "pageToken"];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getLevelsList

      public List<String> getLevelsList()
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Specified by:
      getLevelsList in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      A list containing the levels.
    • getLevelsCount

      public int getLevelsCount()
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Specified by:
      getLevelsCount in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The count of levels.
    • getLevels

      public String getLevels(int index)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Specified by:
      getLevels in interface App.GetRobotPartLogsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The levels at the given index.
    • getLevelsBytes

      public com.google.protobuf.ByteString getLevelsBytes(int index)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Specified by:
      getLevelsBytes in interface App.GetRobotPartLogsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the levels at the given index.
    • setLevels

      public App.GetRobotPartLogsRequest.Builder setLevels(int index, String value)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Parameters:
      index - The index to set the value at.
      value - The levels to set.
      Returns:
      This builder for chaining.
    • addLevels

      public App.GetRobotPartLogsRequest.Builder addLevels(String value)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Parameters:
      value - The levels to add.
      Returns:
      This builder for chaining.
    • addAllLevels

      public App.GetRobotPartLogsRequest.Builder addAllLevels(Iterable<String> values)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Parameters:
      values - The levels to add.
      Returns:
      This builder for chaining.
    • clearLevels

       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Returns:
      This builder for chaining.
    • addLevelsBytes

      public App.GetRobotPartLogsRequest.Builder addLevelsBytes(com.google.protobuf.ByteString value)
       logs of all levels are returned when the levels field is empty
       
      repeated string levels = 5 [json_name = "levels"];
      Parameters:
      value - The bytes of the levels to add.
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
      Specified by:
      hasStart in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
      Specified by:
      getStart in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public App.GetRobotPartLogsRequest.Builder setStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    • setStart

      public App.GetRobotPartLogsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    • mergeStart

      public App.GetRobotPartLogsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    • clearStart

      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    • hasEnd

      public boolean hasEnd()
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
      Specified by:
      hasEnd in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the end field is set.
    • getEnd

      public com.google.protobuf.Timestamp getEnd()
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
      Specified by:
      getEnd in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The end.
    • setEnd

      public App.GetRobotPartLogsRequest.Builder setEnd(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    • setEnd

      public App.GetRobotPartLogsRequest.Builder setEnd(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    • mergeEnd

      public App.GetRobotPartLogsRequest.Builder mergeEnd(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    • clearEnd

      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    • hasLimit

      public boolean hasLimit()
      optional int64 limit = 8 [json_name = "limit"];
      Specified by:
      hasLimit in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public long getLimit()
      optional int64 limit = 8 [json_name = "limit"];
      Specified by:
      getLimit in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public App.GetRobotPartLogsRequest.Builder setLimit(long value)
      optional int64 limit = 8 [json_name = "limit"];
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      optional int64 limit = 8 [json_name = "limit"];
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
      optional string source = 9 [json_name = "source"];
      Specified by:
      hasSource in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
      optional string source = 9 [json_name = "source"];
      Specified by:
      getSource in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      optional string source = 9 [json_name = "source"];
      Specified by:
      getSourceBytes in interface App.GetRobotPartLogsRequestOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public App.GetRobotPartLogsRequest.Builder setSource(String value)
      optional string source = 9 [json_name = "source"];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      optional string source = 9 [json_name = "source"];
      Returns:
      This builder for chaining.
    • setSourceBytes

      public App.GetRobotPartLogsRequest.Builder setSourceBytes(com.google.protobuf.ByteString value)
      optional string source = 9 [json_name = "source"];
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.