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 classProtobuf typeviam.app.v1.JobConfigNested 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 intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) com.google.protobuf.Structin case method is "DoCommand", specifies the command argument of the gRPC request.static Robot.JobConfigthe gRPC request of this job's resource.com.google.protobuf.ByteStringthe gRPC request of this job's resource.getName()unique name of the job.com.google.protobuf.ByteStringunique name of the job.the resource associated with this job.com.google.protobuf.ByteStringthe 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.ByteStringa unix-cron string or a Golang-parsable duration string, specifies the interval at which the job is run.booleanin case method is "DoCommand", specifies the command argument of the gRPC request.static Robot.JobConfig.Builderstatic Robot.JobConfig.BuildernewBuilder(Robot.JobConfig prototype) static Robot.JobConfigparseDelimitedFrom(InputStream input) static Robot.JobConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfigparseFrom(byte[] data) static Robot.JobConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfigparseFrom(com.google.protobuf.ByteString data) static Robot.JobConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfigparseFrom(com.google.protobuf.CodedInputStream input) static Robot.JobConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfigparseFrom(InputStream input) static Robot.JobConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Robot.JobConfigparseFrom(ByteBuffer data) static Robot.JobConfigparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getNamein 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:
getNameBytesin 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:
getSchedulein 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:
getScheduleBytesin interfaceRobot.JobConfigOrBuilder- Returns:
- The bytes for schedule.
-
getResource
the resource associated with this job.
string resource = 3 [json_name = "resource"];- Specified by:
getResourcein 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:
getResourceBytesin interfaceRobot.JobConfigOrBuilder- Returns:
- The bytes for resource.
-
getMethod
the gRPC request of this job's resource.
string method = 4 [json_name = "method"];- Specified by:
getMethodin 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:
getMethodBytesin 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:
hasCommandin 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:
getCommandin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Robot.JobConfig,Robot.JobConfig.Builder>
-
getDefaultInstance
-
parser
-