Class InputController.TriggerEventRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<InputController.TriggerEventRequest,InputController.TriggerEventRequest.Builder>
com.viam.component.inputcontroller.v1.InputController.TriggerEventRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,InputController.TriggerEventRequestOrBuilder
,Cloneable
- Enclosing class:
- InputController.TriggerEventRequest
public static final class InputController.TriggerEventRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<InputController.TriggerEventRequest,InputController.TriggerEventRequest.Builder>
implements InputController.TriggerEventRequestOrBuilder
Protobuf type
viam.component.inputcontroller.v1.TriggerEventRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionName of an input controllerDigitally assert a given eventAdditional arguments to the methodName of an input controllercom.google.protobuf.ByteString
Name of an input controllergetEvent()
Digitally assert a given eventcom.google.protobuf.Struct
getExtra()
Additional arguments to the methodboolean
hasEvent()
Digitally assert a given eventboolean
hasExtra()
Additional arguments to the methodmergeEvent
(InputController.Event value) Digitally assert a given eventmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetController
(String value) Name of an input controllersetControllerBytes
(com.google.protobuf.ByteString value) Name of an input controllersetEvent
(InputController.Event value) Digitally assert a given eventsetEvent
(InputController.Event.Builder builderForValue) Digitally assert a given eventsetExtra
(com.google.protobuf.Struct value) Additional arguments to the methodsetExtra
(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the methodMethods 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
-
getController
Name of an input controller
string controller = 1 [json_name = "controller"];
- Specified by:
getController
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- The controller.
-
getControllerBytes
public com.google.protobuf.ByteString getControllerBytes()Name of an input controller
string controller = 1 [json_name = "controller"];
- Specified by:
getControllerBytes
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- The bytes for controller.
-
setController
Name of an input controller
string controller = 1 [json_name = "controller"];
- Parameters:
value
- The controller to set.- Returns:
- This builder for chaining.
-
clearController
Name of an input controller
string controller = 1 [json_name = "controller"];
- Returns:
- This builder for chaining.
-
setControllerBytes
public InputController.TriggerEventRequest.Builder setControllerBytes(com.google.protobuf.ByteString value) Name of an input controller
string controller = 1 [json_name = "controller"];
- Parameters:
value
- The bytes for controller to set.- Returns:
- This builder for chaining.
-
hasEvent
public boolean hasEvent()Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
- Specified by:
hasEvent
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- Whether the event field is set.
-
getEvent
Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
- Specified by:
getEvent
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- The event.
-
setEvent
Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
-
setEvent
public InputController.TriggerEventRequest.Builder setEvent(InputController.Event.Builder builderForValue) Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
-
mergeEvent
Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
-
clearEvent
Digitally assert a given event
.viam.component.inputcontroller.v1.Event event = 2 [json_name = "event"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- Whether the extra field is set.
-
getExtra
public com.google.protobuf.Struct getExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
getExtra
in interfaceInputController.TriggerEventRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public InputController.TriggerEventRequest.Builder setExtra(com.google.protobuf.Struct.Builder builderForValue) Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
mergeExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
clearExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-