Package viam.app.v1
Interface Robot.JobConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Robot.JobConfig
,Robot.JobConfig.Builder
- Enclosing class:
- Robot
public static interface Robot.JobConfigOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
in case method is "DoCommand", specifies the command argument of the gRPC request.the gRPC request of this job's resource.com.google.protobuf.ByteString
the gRPC request of this job's resource.getName()
unique name of the job.com.google.protobuf.ByteString
unique name of the job.the resource associated with this job.com.google.protobuf.ByteString
the resource associated with this job.a unix-cron string or a Golang-parsable duration string, specifies the interval at which the job is run.com.google.protobuf.ByteString
a unix-cron string or a Golang-parsable duration string, specifies the interval at which the job is run.boolean
in case method is "DoCommand", specifies the command argument of the gRPC request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getName
String getName()unique name of the job.
string name = 1 [json_name = "name"];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()unique name of the job.
string name = 1 [json_name = "name"];
- Returns:
- The bytes for name.
-
getSchedule
String getSchedule()a unix-cron string or a Golang-parsable duration string, specifies the interval at which the job is run.
string schedule = 2 [json_name = "schedule"];
- Returns:
- The schedule.
-
getScheduleBytes
com.google.protobuf.ByteString getScheduleBytes()a unix-cron string or a Golang-parsable duration string, specifies the interval at which the job is run.
string schedule = 2 [json_name = "schedule"];
- Returns:
- The bytes for schedule.
-
getResource
String getResource()the resource associated with this job.
string resource = 3 [json_name = "resource"];
- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.ByteString getResourceBytes()the resource associated with this job.
string resource = 3 [json_name = "resource"];
- Returns:
- The bytes for resource.
-
getMethod
String getMethod()the gRPC request of this job's resource.
string method = 4 [json_name = "method"];
- Returns:
- The method.
-
getMethodBytes
com.google.protobuf.ByteString getMethodBytes()the gRPC request of this job's resource.
string method = 4 [json_name = "method"];
- Returns:
- The bytes for method.
-
hasCommand
boolean hasCommand()in case method is "DoCommand", specifies the command argument of the gRPC request.
.google.protobuf.Struct command = 5 [json_name = "command"];
- Returns:
- Whether the command field is set.
-
getCommand
com.google.protobuf.Struct getCommand()in case method is "DoCommand", specifies the command argument of the gRPC request.
.google.protobuf.Struct command = 5 [json_name = "command"];
- Returns:
- The command.
-