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()
       TODO(APP-7642): Mark this field as deprecated
       
      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()
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      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()
       TODO(APP-7642): Mark this field as deprecated
       
      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)
       TODO(APP-7642): Mark this field as deprecated
       
      repeated string additional_fragment_ids = 2 [json_name = "additionalFragmentIds"];
      Parameters:
      value - The bytes of the additionalFragmentIds to add.
      Returns:
      This builder for chaining.
    • getAdditionalFragmentsList

      public List<App.AdditionalFragment> getAdditionalFragmentsList()
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
      Specified by:
      getAdditionalFragmentsList in interface App.ListMachineFragmentsRequestOrBuilder
    • getAdditionalFragmentsCount

      public int getAdditionalFragmentsCount()
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
      Specified by:
      getAdditionalFragmentsCount in interface App.ListMachineFragmentsRequestOrBuilder
    • getAdditionalFragments

      public App.AdditionalFragment getAdditionalFragments(int index)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
      Specified by:
      getAdditionalFragments in interface App.ListMachineFragmentsRequestOrBuilder
    • setAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder setAdditionalFragments(int index, App.AdditionalFragment value)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • setAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder setAdditionalFragments(int index, App.AdditionalFragment.Builder builderForValue)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • addAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragments(App.AdditionalFragment value)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • addAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragments(int index, App.AdditionalFragment value)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • addAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragments(App.AdditionalFragment.Builder builderForValue)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • addAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder addAdditionalFragments(int index, App.AdditionalFragment.Builder builderForValue)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • addAllAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder addAllAdditionalFragments(Iterable<? extends App.AdditionalFragment> values)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • clearAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder clearAdditionalFragments()
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];
    • removeAdditionalFragments

      public App.ListMachineFragmentsRequest.Builder removeAdditionalFragments(int index)
       additional fragments to append to the response. useful when needing to view fragments that will be
       provisionally added to the machine alongside existing fragments.
       
      repeated .viam.app.v1.AdditionalFragment additional_fragments = 3 [json_name = "additionalFragments"];