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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionaddAllLevels(Iterable<String> values) logs of all levels are returned when the levels field is emptylogs of all levels are returned when the levels field is emptyaddLevelsBytes(com.google.protobuf.ByteString value) logs of all levels are returned when the levels field is emptyclearEnd()optional .google.protobuf.Timestamp end = 7 [json_name = "end"];Deprecated.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.optional string filter = 3 [json_name = "filter"];clearId()string id = 1 [json_name = "id"];logs of all levels are returned when the levels field is emptyoptional int64 limit = 8 [json_name = "limit"];logs are returned newest first when the order field is emptyoptional string page_token = 4 [json_name = "pageToken"];range is a duration string in minutes, hours, or days (e.g.optional string source = 9 [json_name = "source"];optional .google.protobuf.Timestamp start = 6 [json_name = "start"];optional bool user_facing_only = 10 [json_name = "userFacingOnly"];com.google.protobuf.TimestampgetEnd()optional .google.protobuf.Timestamp end = 7 [json_name = "end"];booleanDeprecated.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.optional string filter = 3 [json_name = "filter"];com.google.protobuf.ByteStringoptional string filter = 3 [json_name = "filter"];getId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringstring id = 1 [json_name = "id"];getLevels(int index) logs of all levels are returned when the levels field is emptycom.google.protobuf.ByteStringgetLevelsBytes(int index) logs of all levels are returned when the levels field is emptyintlogs of all levels are returned when the levels field is emptylogs of all levels are returned when the levels field is emptylonggetLimit()optional int64 limit = 8 [json_name = "limit"];getOrder()logs are returned newest first when the order field is emptyintlogs are returned newest first when the order field is emptyoptional string page_token = 4 [json_name = "pageToken"];com.google.protobuf.ByteStringoptional string page_token = 4 [json_name = "pageToken"];getRange()range is a duration string in minutes, hours, or days (e.g.com.google.protobuf.ByteStringrange is a duration string in minutes, hours, or days (e.g.optional string source = 9 [json_name = "source"];com.google.protobuf.ByteStringoptional string source = 9 [json_name = "source"];com.google.protobuf.TimestampgetStart()optional .google.protobuf.Timestamp start = 6 [json_name = "start"];booleanoptional bool user_facing_only = 10 [json_name = "userFacingOnly"];booleanhasEnd()optional .google.protobuf.Timestamp end = 7 [json_name = "end"];booleanoptional string filter = 3 [json_name = "filter"];booleanhasLimit()optional int64 limit = 8 [json_name = "limit"];booleanhasOrder()logs are returned newest first when the order field is emptybooleanoptional string page_token = 4 [json_name = "pageToken"];booleanhasRange()range is a duration string in minutes, hours, or days (e.g.booleanoptional string source = 9 [json_name = "source"];booleanhasStart()optional .google.protobuf.Timestamp start = 6 [json_name = "start"];booleanoptional bool user_facing_only = 10 [json_name = "userFacingOnly"];mergeEnd(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp end = 7 [json_name = "end"];mergeStart(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp start = 6 [json_name = "start"];setEnd(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp end = 7 [json_name = "end"];setEnd(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp end = 7 [json_name = "end"];setErrorsOnly(boolean value) Deprecated.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated.optional string filter = 3 [json_name = "filter"];setFilterBytes(com.google.protobuf.ByteString value) optional string filter = 3 [json_name = "filter"];string id = 1 [json_name = "id"];setIdBytes(com.google.protobuf.ByteString value) string id = 1 [json_name = "id"];logs of all levels are returned when the levels field is emptysetLimit(long value) optional int64 limit = 8 [json_name = "limit"];setOrder(AppOuterClass.LogOrder value) logs are returned newest first when the order field is emptysetOrderValue(int value) logs are returned newest first when the order field is emptysetPageToken(String value) optional string page_token = 4 [json_name = "pageToken"];setPageTokenBytes(com.google.protobuf.ByteString value) optional string page_token = 4 [json_name = "pageToken"];range is a duration string in minutes, hours, or days (e.g.setRangeBytes(com.google.protobuf.ByteString value) range is a duration string in minutes, hours, or days (e.g.optional string source = 9 [json_name = "source"];setSourceBytes(com.google.protobuf.ByteString value) optional string source = 9 [json_name = "source"];setStart(com.google.protobuf.Timestamp value) optional .google.protobuf.Timestamp start = 6 [json_name = "start"];setStart(com.google.protobuf.Timestamp.Builder builderForValue) optional .google.protobuf.Timestamp start = 6 [json_name = "start"];setUserFacingOnly(boolean value) optional bool user_facing_only = 10 [json_name = "userFacingOnly"];Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceAppOuterClass.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.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=910TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field
bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];- Specified by:
getErrorsOnlyin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The errorsOnly.
-
setErrorsOnly
Deprecated.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=910TODO(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=910TODO(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:
hasFilterin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
optional string filter = 3 [json_name = "filter"];- Specified by:
getFilterin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()optional string filter = 3 [json_name = "filter"];- Specified by:
getFilterBytesin interfaceAppOuterClass.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:
hasPageTokenin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the pageToken field is set.
-
getPageToken
optional string page_token = 4 [json_name = "pageToken"];- Specified by:
getPageTokenin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()optional string page_token = 4 [json_name = "pageToken"];- Specified by:
getPageTokenBytesin interfaceAppOuterClass.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
logs of all levels are returned when the levels field is empty
repeated string levels = 5 [json_name = "levels"];- Specified by:
getLevelsListin interfaceAppOuterClass.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:
getLevelsCountin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The count of levels.
-
getLevels
logs of all levels are returned when the levels field is empty
repeated string levels = 5 [json_name = "levels"];- Specified by:
getLevelsin interfaceAppOuterClass.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:
getLevelsBytesin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the levels at the given index.
-
setLevels
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:
hasStartin interfaceAppOuterClass.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:
getStartin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The start.
-
setStart
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:
hasEndin interfaceAppOuterClass.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:
getEndin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The end.
-
setEnd
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
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:
hasLimitin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public long getLimit()optional int64 limit = 8 [json_name = "limit"];- Specified by:
getLimitin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The limit.
-
setLimit
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:
hasSourcein interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
optional string source = 9 [json_name = "source"];- Specified by:
getSourcein interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()optional string source = 9 [json_name = "source"];- Specified by:
getSourceBytesin interfaceAppOuterClass.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:
hasUserFacingOnlyin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the userFacingOnly field is set.
-
getUserFacingOnly
public boolean getUserFacingOnly()optional bool user_facing_only = 10 [json_name = "userFacingOnly"];- Specified by:
getUserFacingOnlyin interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The userFacingOnly.
-
setUserFacingOnly
optional bool user_facing_only = 10 [json_name = "userFacingOnly"];- Parameters:
value- The userFacingOnly to set.- Returns:
- This builder for chaining.
-
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:
hasOrderin interfaceAppOuterClass.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:
getOrderValuein interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- The enum numeric value on the wire for order.
-
setOrderValue
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
logs are returned newest first when the order field is empty
optional .viam.app.v1.LogOrder order = 11 [json_name = "order"];- Specified by:
getOrderin interfaceAppOuterClass.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:
hasRangein interfaceAppOuterClass.GetRobotPartLogsRequestOrBuilder- Returns:
- Whether the range field is set.
-
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:
getRangein interfaceAppOuterClass.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:
getRangeBytesin interfaceAppOuterClass.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.
-