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
-
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"];
optional string page_token = 4 [json_name = "pageToken"];
optional string source = 9 [json_name = "source"];
optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
com.google.protobuf.Timestamp
getEnd()
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"];
getId()
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 emptycom.google.protobuf.ByteString
getLevelsBytes
(int index) logs of all levels are returned when the levels field is emptyint
logs of all levels are returned when the levels field is emptylogs of all levels are returned when the levels field is emptylong
getLimit()
optional int64 limit = 8 [json_name = "limit"];
optional string page_token = 4 [json_name = "pageToken"];
com.google.protobuf.ByteString
optional string page_token = 4 [json_name = "pageToken"];
optional string source = 9 [json_name = "source"];
com.google.protobuf.ByteString
optional string source = 9 [json_name = "source"];
com.google.protobuf.Timestamp
getStart()
optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
boolean
hasEnd()
optional .google.protobuf.Timestamp end = 7 [json_name = "end"];
boolean
optional string filter = 3 [json_name = "filter"];
boolean
hasLimit()
optional int64 limit = 8 [json_name = "limit"];
boolean
optional string page_token = 4 [json_name = "pageToken"];
boolean
optional string source = 9 [json_name = "source"];
boolean
hasStart()
optional .google.protobuf.Timestamp start = 6 [json_name = "start"];
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"];
setPageToken
(String value) optional string page_token = 4 [json_name = "pageToken"];
setPageTokenBytes
(com.google.protobuf.ByteString value) optional string page_token = 4 [json_name = "pageToken"];
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"];
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
string id = 1 [json_name = "id"];
- Specified by:
getId
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()string id = 1 [json_name = "id"];
- Specified by:
getIdBytes
in interfaceApp.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
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=720TODO(https://viam.atlassian.net/browse/APP-3877): Remove this field
bool errors_only = 2 [json_name = "errorsOnly", deprecated = true];
- Specified by:
getErrorsOnly
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The errorsOnly.
-
setErrorsOnly
Deprecated.viam.app.v1.GetRobotPartLogsRequest.errors_only is deprecated. See app/v1/app.proto;l=720TODO(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=720TODO(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 interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
optional string filter = 3 [json_name = "filter"];
- Specified by:
getFilter
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()optional string filter = 3 [json_name = "filter"];
- Specified by:
getFilterBytes
in interfaceApp.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
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 interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
optional string page_token = 4 [json_name = "pageToken"];
- Specified by:
getPageToken
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()optional string page_token = 4 [json_name = "pageToken"];
- Specified by:
getPageTokenBytes
in interfaceApp.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
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:
getLevelsList
in interfaceApp.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 interfaceApp.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:
getLevels
in interfaceApp.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 interfaceApp.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
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 interfaceApp.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 interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The start.
-
setStart
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
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 interfaceApp.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 interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The end.
-
setEnd
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
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 interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- Whether the limit field is set.
-
getLimit
public long getLimit()optional int64 limit = 8 [json_name = "limit"];
- Specified by:
getLimit
in interfaceApp.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:
hasSource
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
optional string source = 9 [json_name = "source"];
- Specified by:
getSource
in interfaceApp.GetRobotPartLogsRequestOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()optional string source = 9 [json_name = "source"];
- Specified by:
getSourceBytes
in interfaceApp.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
optional string source = 9 [json_name = "source"];
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-