Class InputController.StreamEventsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<InputController.StreamEventsRequest,InputController.StreamEventsRequest.Builder>
com.viam.component.inputcontroller.v1.InputController.StreamEventsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,InputController.StreamEventsRequestOrBuilder
,Cloneable
- Enclosing class:
- InputController.StreamEventsRequest
public static final class InputController.StreamEventsRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<InputController.StreamEventsRequest,InputController.StreamEventsRequest.Builder>
implements InputController.StreamEventsRequestOrBuilder
Protobuf type
viam.component.inputcontroller.v1.StreamEventsRequest
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents
(Iterable<? extends InputController.StreamEventsRequest.Events> values) A list of EventsaddEvents
(int index, InputController.StreamEventsRequest.Events value) A list of EventsaddEvents
(int index, InputController.StreamEventsRequest.Events.Builder builderForValue) A list of EventsA list of EventsaddEvents
(InputController.StreamEventsRequest.Events.Builder builderForValue) A list of EventsName of an input controllerA list of EventsAdditional arguments to the methodName of an input controllercom.google.protobuf.ByteString
Name of an input controllergetEvents
(int index) A list of Eventsint
A list of EventsA list of Eventscom.google.protobuf.Struct
getExtra()
Additional arguments to the methodboolean
hasExtra()
Additional arguments to the methodmergeExtra
(com.google.protobuf.Struct value) Additional arguments to the methodremoveEvents
(int index) A list of EventssetController
(String value) Name of an input controllersetControllerBytes
(com.google.protobuf.ByteString value) Name of an input controllersetEvents
(int index, InputController.StreamEventsRequest.Events value) A list of EventssetEvents
(int index, InputController.StreamEventsRequest.Events.Builder builderForValue) A list of EventssetExtra
(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.StreamEventsRequestOrBuilder
- 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.StreamEventsRequestOrBuilder
- 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.StreamEventsRequest.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.
-
getEventsList
A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
- Specified by:
getEventsList
in interfaceInputController.StreamEventsRequestOrBuilder
-
getEventsCount
public int getEventsCount()A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
- Specified by:
getEventsCount
in interfaceInputController.StreamEventsRequestOrBuilder
-
getEvents
A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
- Specified by:
getEvents
in interfaceInputController.StreamEventsRequestOrBuilder
-
setEvents
public InputController.StreamEventsRequest.Builder setEvents(int index, InputController.StreamEventsRequest.Events value) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
setEvents
public InputController.StreamEventsRequest.Builder setEvents(int index, InputController.StreamEventsRequest.Events.Builder builderForValue) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
addEvents
public InputController.StreamEventsRequest.Builder addEvents(InputController.StreamEventsRequest.Events value) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
addEvents
public InputController.StreamEventsRequest.Builder addEvents(int index, InputController.StreamEventsRequest.Events value) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
addEvents
public InputController.StreamEventsRequest.Builder addEvents(InputController.StreamEventsRequest.Events.Builder builderForValue) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
addEvents
public InputController.StreamEventsRequest.Builder addEvents(int index, InputController.StreamEventsRequest.Events.Builder builderForValue) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
addAllEvents
public InputController.StreamEventsRequest.Builder addAllEvents(Iterable<? extends InputController.StreamEventsRequest.Events> values) A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
clearEvents
A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
removeEvents
A list of Events
repeated .viam.component.inputcontroller.v1.StreamEventsRequest.Events events = 2 [json_name = "events"];
-
hasExtra
public boolean hasExtra()Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
- Specified by:
hasExtra
in interfaceInputController.StreamEventsRequestOrBuilder
- 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.StreamEventsRequestOrBuilder
- Returns:
- The extra.
-
setExtra
Additional arguments to the method
.google.protobuf.Struct extra = 99 [json_name = "extra"];
-
setExtra
public InputController.StreamEventsRequest.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"];
-