Package viam.app.v1

Class AppOuterClass.GetRobotPartLogsRequest.Builder

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

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

    • getId

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

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface AppOuterClass.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 AppOuterClass.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=910
       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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The errorsOnly.
    • setErrorsOnly

      @Deprecated public AppOuterClass.GetRobotPartLogsRequest.Builder setErrorsOnly(boolean value)
      Deprecated.
      viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=910
       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=910
       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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

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

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

      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 AppOuterClass.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 AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

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

      optional string page_token = 4 [json_name = "pageToken"];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      optional string page_token = 4 [json_name = "pageToken"];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public AppOuterClass.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 AppOuterClass.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 AppOuterClass.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 AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the levels at the given index.
    • setLevels

      public AppOuterClass.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

       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

       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 AppOuterClass.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 AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The start.
    • setStart

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

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

      public AppOuterClass.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 AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The end.
    • setEnd

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

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

      public AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

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

      public AppOuterClass.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 AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

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

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

      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 AppOuterClass.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.
    • hasUserFacingOnly

      public boolean hasUserFacingOnly()
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Specified by:
      hasUserFacingOnly in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the userFacingOnly field is set.
    • getUserFacingOnly

      public boolean getUserFacingOnly()
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Specified by:
      getUserFacingOnly in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The userFacingOnly.
    • setUserFacingOnly

      public AppOuterClass.GetRobotPartLogsRequest.Builder setUserFacingOnly(boolean value)
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Parameters:
      value - The userFacingOnly to set.
      Returns:
      This builder for chaining.
    • clearUserFacingOnly

      public AppOuterClass.GetRobotPartLogsRequest.Builder clearUserFacingOnly()
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Returns:
      This builder for chaining.
    • hasOrder

      public boolean hasOrder()
       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Specified by:
      hasOrder in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the order field is set.
    • getOrderValue

      public int getOrderValue()
       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Specified by:
      getOrderValue in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The enum numeric value on the wire for order.
    • setOrderValue

      public AppOuterClass.GetRobotPartLogsRequest.Builder setOrderValue(int value)
       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Parameters:
      value - The order to set.
      Returns:
      This builder for chaining.
    • getOrder

      public AppOuterClass.LogOrder getOrder()
       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Specified by:
      getOrder in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The order.
    • setOrder

       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Parameters:
      value - The enum numeric value on the wire for order to set.
      Returns:
      This builder for chaining.
      Throws:
      IllegalArgumentException - if UNRECOGNIZED is provided.
    • clearOrder

       logs are returned newest first when the order field is empty
       
      optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];
      Returns:
      This builder for chaining.
    • hasRange

      public boolean hasRange()
       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Specified by:
      hasRange in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      Whether the range field is set.
    • getRange

      public String getRange()
       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Specified by:
      getRange in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The range.
    • getRangeBytes

      public com.google.protobuf.ByteString getRangeBytes()
       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Specified by:
      getRangeBytes in interface AppOuterClass.GetRobotPartLogsRequestOrBuilder
      Returns:
      The bytes for range.
    • setRange

       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Parameters:
      value - The range to set.
      Returns:
      This builder for chaining.
    • clearRange

       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Returns:
      This builder for chaining.
    • setRangeBytes

      public AppOuterClass.GetRobotPartLogsRequest.Builder setRangeBytes(com.google.protobuf.ByteString value)
       range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
       that is resolved against whichever of start and end is present:
       end only:     [end - range, end]
       start only:   [start, start + range]
       neither:      [now - range, now]
       Specifying range together with both start and end is an error.
       
      optional string range = 12 [json_name = "range"];
      Parameters:
      value - The bytes for range to set.
      Returns:
      This builder for chaining.