Package viam.app.v1
Class Robot.JobConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Robot.JobConfig,Robot.JobConfig.Builder>
viam.app.v1.Robot.JobConfig
- All Implemented Interfaces:
com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,Robot.JobConfigOrBuilder
- Enclosing class:
- Robot
public static final class Robot.JobConfig
extends com.google.protobuf.GeneratedMessageLite<Robot.JobConfig,Robot.JobConfig.Builder>
implements Robot.JobConfigOrBuilder
Protobuf type
viam.app.v1.JobConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Protobuf typeviam.app.v1.JobConfig
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.Struct
in case method is "DoCommand", specifies the command argument of the gRPC request.static Robot.JobConfig
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.static Robot.JobConfig.Builder
static Robot.JobConfig.Builder
newBuilder
(Robot.JobConfig prototype) static Robot.JobConfig
parseDelimitedFrom
(InputStream input) static Robot.JobConfig
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfig
parseFrom
(byte[] data) static Robot.JobConfig
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfig
parseFrom
(com.google.protobuf.ByteString data) static Robot.JobConfig
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfig
parseFrom
(com.google.protobuf.CodedInputStream input) static Robot.JobConfig
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfig
parseFrom
(InputStream input) static Robot.JobConfig
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfig
parseFrom
(ByteBuffer data) static Robot.JobConfig
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Robot.JobConfig>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER- See Also:
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER- See Also:
-
METHOD_FIELD_NUMBER
public static final int METHOD_FIELD_NUMBER- See Also:
-
COMMAND_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
unique name of the job.
string name = 1 [json_name = "name"];
- Specified by:
getName
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()unique name of the job.
string name = 1 [json_name = "name"];
- Specified by:
getNameBytes
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The bytes for name.
-
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"];
- Specified by:
getSchedule
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The schedule.
-
getScheduleBytes
public 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"];
- Specified by:
getScheduleBytes
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The bytes for schedule.
-
getResource
the resource associated with this job.
string resource = 3 [json_name = "resource"];
- Specified by:
getResource
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()the resource associated with this job.
string resource = 3 [json_name = "resource"];
- Specified by:
getResourceBytes
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The bytes for resource.
-
getMethod
the gRPC request of this job's resource.
string method = 4 [json_name = "method"];
- Specified by:
getMethod
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()the gRPC request of this job's resource.
string method = 4 [json_name = "method"];
- Specified by:
getMethodBytes
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The bytes for method.
-
hasCommand
public boolean hasCommand()in case method is "DoCommand", specifies the command argument of the gRPC request.
.google.protobuf.Struct command = 5 [json_name = "command"];
- Specified by:
hasCommand
in interfaceRobot.JobConfigOrBuilder
- Returns:
- Whether the command field is set.
-
getCommand
public 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"];
- Specified by:
getCommand
in interfaceRobot.JobConfigOrBuilder
- Returns:
- The command.
-
parseFrom
public static Robot.JobConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.JobConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.JobConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.JobConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.JobConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Robot.JobConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Robot.JobConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Robot.JobConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.JobConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Robot.JobConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Robot.JobConfig,
Robot.JobConfig.Builder>
-
getDefaultInstance
-
parser
-