Package viam.app.v1

Class AppOuterClass.ListMachineSummariesRequest.Builder

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

public static final class AppOuterClass.ListMachineSummariesRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<AppOuterClass.ListMachineSummariesRequest,AppOuterClass.ListMachineSummariesRequest.Builder> implements AppOuterClass.ListMachineSummariesRequestOrBuilder
Protobuf type viam.app.v1.ListMachineSummariesRequest
  • Method Details

    • getOrganizationId

      public String getOrganizationId()
       Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
       
      string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

       Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

       Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
       
      string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public AppOuterClass.ListMachineSummariesRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
       Optional organization ID. If no value is set it will search among all the organanizations the caller has access to
       
      string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getFragmentIdsList

      public List<String> getFragmentIdsList()
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsList in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      A list containing the fragmentIds.
    • getFragmentIdsCount

      public int getFragmentIdsCount()
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsCount in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      The count of fragmentIds.
    • getFragmentIds

      public String getFragmentIds(int index)
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIds in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fragmentIds at the given index.
    • getFragmentIdsBytes

      public com.google.protobuf.ByteString getFragmentIdsBytes(int index)
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Specified by:
      getFragmentIdsBytes in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fragmentIds at the given index.
    • setFragmentIds

      public AppOuterClass.ListMachineSummariesRequest.Builder setFragmentIds(int index, String value)
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Parameters:
      index - The index to set the value at.
      value - The fragmentIds to set.
      Returns:
      This builder for chaining.
    • addFragmentIds

       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Parameters:
      value - The fragmentIds to add.
      Returns:
      This builder for chaining.
    • addAllFragmentIds

       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Parameters:
      values - The fragmentIds to add.
      Returns:
      This builder for chaining.
    • clearFragmentIds

       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Returns:
      This builder for chaining.
    • addFragmentIdsBytes

      public AppOuterClass.ListMachineSummariesRequest.Builder addFragmentIdsBytes(com.google.protobuf.ByteString value)
       Optional list of fragment IDs to filter machines that use any of these fragments
       
      repeated string fragment_ids = 2 [json_name = "fragmentIds"];
      Parameters:
      value - The bytes of the fragmentIds to add.
      Returns:
      This builder for chaining.
    • getLocationIdsList

      public List<String> getLocationIdsList()
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Specified by:
      getLocationIdsList in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      A list containing the locationIds.
    • getLocationIdsCount

      public int getLocationIdsCount()
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Specified by:
      getLocationIdsCount in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      The count of locationIds.
    • getLocationIds

      public String getLocationIds(int index)
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Specified by:
      getLocationIds in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The locationIds at the given index.
    • getLocationIdsBytes

      public com.google.protobuf.ByteString getLocationIdsBytes(int index)
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Specified by:
      getLocationIdsBytes in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the locationIds at the given index.
    • setLocationIds

      public AppOuterClass.ListMachineSummariesRequest.Builder setLocationIds(int index, String value)
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Parameters:
      index - The index to set the value at.
      value - The locationIds to set.
      Returns:
      This builder for chaining.
    • addLocationIds

       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Parameters:
      value - The locationIds to add.
      Returns:
      This builder for chaining.
    • addAllLocationIds

       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Parameters:
      values - The locationIds to add.
      Returns:
      This builder for chaining.
    • clearLocationIds

       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Returns:
      This builder for chaining.
    • addLocationIdsBytes

      public AppOuterClass.ListMachineSummariesRequest.Builder addLocationIdsBytes(com.google.protobuf.ByteString value)
       Optional list of location IDs to filter machines that are in any of these locations.
       
      repeated string location_ids = 3 [json_name = "locationIds"];
      Parameters:
      value - The bytes of the locationIds to add.
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       Optional max number of machines to return; default to 100 if unset
       
      optional int32 limit = 4 [json_name = "limit"];
      Specified by:
      hasLimit in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       Optional max number of machines to return; default to 100 if unset
       
      optional int32 limit = 4 [json_name = "limit"];
      Specified by:
      getLimit in interface AppOuterClass.ListMachineSummariesRequestOrBuilder
      Returns:
      The limit.
    • setLimit

       Optional max number of machines to return; default to 100 if unset
       
      optional int32 limit = 4 [json_name = "limit"];
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

       Optional max number of machines to return; default to 100 if unset
       
      optional int32 limit = 4 [json_name = "limit"];
      Returns:
      This builder for chaining.