Class InputController.GetEventsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<InputController.GetEventsResponse,InputController.GetEventsResponse.Builder>
com.viam.component.inputcontroller.v1.InputController.GetEventsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, InputController.GetEventsResponseOrBuilder, Cloneable
Enclosing class:
InputController.GetEventsResponse

public static final class InputController.GetEventsResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<InputController.GetEventsResponse,InputController.GetEventsResponse.Builder> implements InputController.GetEventsResponseOrBuilder
Protobuf type viam.component.inputcontroller.v1.GetEventsResponse
  • Method Details

    • getEventsList

      public List<InputController.Event> getEventsList()
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
      Specified by:
      getEventsList in interface InputController.GetEventsResponseOrBuilder
    • getEventsCount

      public int getEventsCount()
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
      Specified by:
      getEventsCount in interface InputController.GetEventsResponseOrBuilder
    • getEvents

      public InputController.Event getEvents(int index)
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
      Specified by:
      getEvents in interface InputController.GetEventsResponseOrBuilder
    • setEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • setEvents

      public InputController.GetEventsResponse.Builder setEvents(int index, InputController.Event.Builder builderForValue)
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • addEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • addEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • addEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • addEvents

      public InputController.GetEventsResponse.Builder addEvents(int index, InputController.Event.Builder builderForValue)
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • addAllEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • clearEvents

       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];
    • removeEvents

      public InputController.GetEventsResponse.Builder removeEvents(int index)
       Returns a list of the most recent event for each control on a given InputController. Effectively provides the current "state" of all
       buttons/axes on a given input controller
       
      repeated .viam.component.inputcontroller.v1.Event events = 1 [json_name = "events"];