Package viam.app.v1

Class App.ListMachineFragmentsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<App.ListMachineFragmentsRequest,App.ListMachineFragmentsRequest.Builder>
viam.app.v1.App.ListMachineFragmentsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, App.ListMachineFragmentsRequestOrBuilder
Enclosing class:
App.ListMachineFragmentsRequest

public static final class App.ListMachineFragmentsRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<App.ListMachineFragmentsRequest,App.ListMachineFragmentsRequest.Builder> implements App.ListMachineFragmentsRequestOrBuilder
Protobuf type viam.app.v1.ListMachineFragmentsRequest
  • Method Details

    • getMachineId

      public String getMachineId()
       the machine_id used to filter fragments defined in a machine's parts.
       Also returns any fragments nested within the fragments defined in parts.
       
      string machine_id = 1 [json_name = "machineId"];
      Specified by:
      getMachineId in interface App.ListMachineFragmentsRequestOrBuilder
      Returns:
      The machineId.
    • getMachineIdBytes

      public com.google.protobuf.ByteString getMachineIdBytes()
       the machine_id used to filter fragments defined in a machine's parts.
       Also returns any fragments nested within the fragments defined in parts.
       
      string machine_id = 1 [json_name = "machineId"];
      Specified by:
      getMachineIdBytes in interface App.ListMachineFragmentsRequestOrBuilder
      Returns:
      The bytes for machineId.
    • setMachineId

      public App.ListMachineFragmentsRequest.Builder setMachineId(String value)
       the machine_id used to filter fragments defined in a machine's parts.
       Also returns any fragments nested within the fragments defined in parts.
       
      string machine_id = 1 [json_name = "machineId"];
      Parameters:
      value - The machineId to set.
      Returns:
      This builder for chaining.
    • clearMachineId

      public App.ListMachineFragmentsRequest.Builder clearMachineId()
       the machine_id used to filter fragments defined in a machine's parts.
       Also returns any fragments nested within the fragments defined in parts.
       
      string machine_id = 1 [json_name = "machineId"];
      Returns:
      This builder for chaining.
    • setMachineIdBytes

      public App.ListMachineFragmentsRequest.Builder setMachineIdBytes(com.google.protobuf.ByteString value)
       the machine_id used to filter fragments defined in a machine's parts.
       Also returns any fragments nested within the fragments defined in parts.
       
      string machine_id = 1 [json_name = "machineId"];
      Parameters:
      value - The bytes for machineId to set.
      Returns:
      This builder for chaining.
    • getAdditionalFragmentIdsList

      public List<String> getAdditionalFragmentIdsList()
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Specified by:
      getAdditionalFragmentIdsList in interface App.ListMachineFragmentsRequestOrBuilder
      Returns:
      A list containing the additionalFragmentIds.
    • getAdditionalFragmentIdsCount

      public int getAdditionalFragmentIdsCount()
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Specified by:
      getAdditionalFragmentIdsCount in interface App.ListMachineFragmentsRequestOrBuilder
      Returns:
      The count of additionalFragmentIds.
    • getAdditionalFragmentIds

      public String getAdditionalFragmentIds(int index)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Specified by:
      getAdditionalFragmentIds in interface App.ListMachineFragmentsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The additionalFragmentIds at the given index.
    • getAdditionalFragmentIdsBytes

      public com.google.protobuf.ByteString getAdditionalFragmentIdsBytes(int index)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Specified by:
      getAdditionalFragmentIdsBytes in interface App.ListMachineFragmentsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the additionalFragmentIds at the given index.
    • setAdditionalFragmentIds

      public App.ListMachineFragmentsRequest.Builder setAdditionalFragmentIds(int index, String value)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Parameters:
      index - The index to set the value at.
      value - The additionalFragmentIds to set.
      Returns:
      This builder for chaining.
    • addAdditionalFragmentIds

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragmentIds(String value)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Parameters:
      value - The additionalFragmentIds to add.
      Returns:
      This builder for chaining.
    • addAllAdditionalFragmentIds

      public App.ListMachineFragmentsRequest.Builder addAllAdditionalFragmentIds(Iterable<String> values)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Parameters:
      values - The additionalFragmentIds to add.
      Returns:
      This builder for chaining.
    • clearAdditionalFragmentIds

      public App.ListMachineFragmentsRequest.Builder clearAdditionalFragmentIds()
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Returns:
      This builder for chaining.
    • addAdditionalFragmentIdsBytes

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragmentIdsBytes(com.google.protobuf.ByteString value)
       additional fragment_ids to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Parameters:
      value - The bytes of the additionalFragmentIds to add.
      Returns:
      This builder for chaining.