Package viam.app.v1

Interface AppOuterClass.GetRobotPartLogsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
AppOuterClass.GetRobotPartLogsRequest, AppOuterClass.GetRobotPartLogsRequest.Builder
Enclosing class:
AppOuterClass

public static interface AppOuterClass.GetRobotPartLogsRequestOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    boolean
    Deprecated.
    viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.
    optional string filter = 3 [json_name = "filter"];
    com.google.protobuf.ByteString
    optional string filter = 3 [json_name = "filter"];
    string id = 1 [json_name = "id"];
    com.google.protobuf.ByteString
    string id = 1 [json_name = "id"];
    getLevels(int index)
    logs of all levels are returned when the levels field is empty
    com.google.protobuf.ByteString
    getLevelsBytes(int index)
    logs of all levels are returned when the levels field is empty
    int
    logs of all levels are returned when the levels field is empty
    logs of all levels are returned when the levels field is empty
    long
    optional int64 limit = 8 [json_name = "limit"];
    logs are returned newest first when the order field is empty
    int
    logs are returned newest first when the order field is empty
    optional string page_token = 4 [json_name = "pageToken"];
    com.google.protobuf.ByteString
    optional string page_token = 4 [json_name = "pageToken"];
    range is a duration string in minutes, hours, or days (e.g.
    com.google.protobuf.ByteString
    range is a duration string in minutes, hours, or days (e.g.
    optional string source = 9 [json_name = "source"];
    com.google.protobuf.ByteString
    optional string source = 9 [json_name = "source"];
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    boolean
    optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
    boolean
    optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
    boolean
    optional string filter = 3 [json_name = "filter"];
    boolean
    optional int64 limit = 8 [json_name = "limit"];
    boolean
    logs are returned newest first when the order field is empty
    boolean
    optional string page_token = 4 [json_name = "pageToken"];
    boolean
    range is a duration string in minutes, hours, or days (e.g.
    boolean
    optional string source = 9 [json_name = "source"];
    boolean
    optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
    boolean
    optional bool user_facing_only = 10 [json_name = "userFacingOnly"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getId

      String getId()
      string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • getErrorsOnly

      @Deprecated 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];
      Returns:
      The errorsOnly.
    • hasFilter

      boolean hasFilter()
      optional string filter = 3 [json_name = "filter"];
      Returns:
      Whether the filter field is set.
    • getFilter

      String getFilter()
      optional string filter = 3 [json_name = "filter"];
      Returns:
      The filter.
    • getFilterBytes

      com.google.protobuf.ByteString getFilterBytes()
      optional string filter = 3 [json_name = "filter"];
      Returns:
      The bytes for filter.
    • hasPageToken

      boolean hasPageToken()
      optional string page_token = 4 [json_name = "pageToken"];
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      String getPageToken()
      optional string page_token = 4 [json_name = "pageToken"];
      Returns:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.ByteString getPageTokenBytes()
      optional string page_token = 4 [json_name = "pageToken"];
      Returns:
      The bytes for pageToken.
    • getLevelsList

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

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

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

      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"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The levels at the given index.
    • hasStart

      boolean hasStart()
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
      Returns:
      Whether the start field is set.
    • getStart

      com.google.protobuf.Timestamp getStart()
      optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
      Returns:
      The start.
    • hasEnd

      boolean hasEnd()
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
      Returns:
      Whether the end field is set.
    • getEnd

      com.google.protobuf.Timestamp getEnd()
      optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
      Returns:
      The end.
    • hasLimit

      boolean hasLimit()
      optional int64 limit = 8 [json_name = "limit"];
      Returns:
      Whether the limit field is set.
    • getLimit

      long getLimit()
      optional int64 limit = 8 [json_name = "limit"];
      Returns:
      The limit.
    • hasSource

      boolean hasSource()
      optional string source = 9 [json_name = "source"];
      Returns:
      Whether the source field is set.
    • getSource

      String getSource()
      optional string source = 9 [json_name = "source"];
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
      optional string source = 9 [json_name = "source"];
      Returns:
      The bytes for source.
    • hasUserFacingOnly

      boolean hasUserFacingOnly()
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Returns:
      Whether the userFacingOnly field is set.
    • getUserFacingOnly

      boolean getUserFacingOnly()
      optional bool user_facing_only = 10 [json_name = "userFacingOnly"];
      Returns:
      The userFacingOnly.
    • hasOrder

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

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

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

      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"];
      Returns:
      Whether the range field is set.
    • getRange

      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"];
      Returns:
      The range.
    • getRangeBytes

      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"];
      Returns:
      The bytes for range.