Package viam.app.v1

Class App.ListRegistryItemsRequest.Builder

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

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

    • hasOrganizationId

      public boolean hasOrganizationId()
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      hasOrganizationId in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      Whether the organizationId field is set.
    • getOrganizationId

      public String getOrganizationId()
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationId in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The organizationId.
    • getOrganizationIdBytes

      public com.google.protobuf.ByteString getOrganizationIdBytes()
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Specified by:
      getOrganizationIdBytes in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The bytes for organizationId.
    • setOrganizationId

      public App.ListRegistryItemsRequest.Builder setOrganizationId(String value)
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The organizationId to set.
      Returns:
      This builder for chaining.
    • clearOrganizationId

      public App.ListRegistryItemsRequest.Builder clearOrganizationId()
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Returns:
      This builder for chaining.
    • setOrganizationIdBytes

      public App.ListRegistryItemsRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
       The id of the organization to return registry items for.
       
      optional string organization_id = 1 [json_name = "organizationId"];
      Parameters:
      value - The bytes for organizationId to set.
      Returns:
      This builder for chaining.
    • getTypesList

      public List<Packages.PackageType> getTypesList()
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Specified by:
      getTypesList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the types.
    • getTypesCount

      public int getTypesCount()
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Specified by:
      getTypesCount in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The count of types.
    • getTypes

      public Packages.PackageType getTypes(int index)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Specified by:
      getTypes in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The types at the given index.
    • setTypes

      public App.ListRegistryItemsRequest.Builder setTypes(int index, Packages.PackageType value)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      index - The index to set the value at.
      value - The types to set.
      Returns:
      This builder for chaining.
    • addTypes

      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      value - The types to add.
      Returns:
      This builder for chaining.
    • addAllTypes

      public App.ListRegistryItemsRequest.Builder addAllTypes(Iterable<? extends Packages.PackageType> values)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      values - The types to add.
      Returns:
      This builder for chaining.
    • clearTypes

      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Returns:
      This builder for chaining.
    • getTypesValueList

      public List<Integer> getTypesValueList()
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Specified by:
      getTypesValueList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for types.
    • getTypesValue

      public int getTypesValue(int index)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Specified by:
      getTypesValue in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of types at the given index.
    • setTypesValue

      public App.ListRegistryItemsRequest.Builder setTypesValue(int index, int value)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for types to set.
      Returns:
      This builder for chaining.
    • addTypesValue

      public App.ListRegistryItemsRequest.Builder addTypesValue(int value)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      value - The enum numeric value on the wire for types to add.
      Returns:
      This builder for chaining.
    • addAllTypesValue

      public App.ListRegistryItemsRequest.Builder addAllTypesValue(Iterable<Integer> values)
      repeated .viam.app.packages.v1.PackageType types = 2 [json_name = "types"];
      Parameters:
      values - The enum numeric values on the wire for types to add.
      Returns:
      This builder for chaining.
    • getVisibilitiesList

      public List<App.Visibility> getVisibilitiesList()
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Specified by:
      getVisibilitiesList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the visibilities.
    • getVisibilitiesCount

      public int getVisibilitiesCount()
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Specified by:
      getVisibilitiesCount in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The count of visibilities.
    • getVisibilities

      public App.Visibility getVisibilities(int index)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Specified by:
      getVisibilities in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The visibilities at the given index.
    • setVisibilities

      public App.ListRegistryItemsRequest.Builder setVisibilities(int index, App.Visibility value)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      index - The index to set the value at.
      value - The visibilities to set.
      Returns:
      This builder for chaining.
    • addVisibilities

      public App.ListRegistryItemsRequest.Builder addVisibilities(App.Visibility value)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      value - The visibilities to add.
      Returns:
      This builder for chaining.
    • addAllVisibilities

      public App.ListRegistryItemsRequest.Builder addAllVisibilities(Iterable<? extends App.Visibility> values)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      values - The visibilities to add.
      Returns:
      This builder for chaining.
    • clearVisibilities

      public App.ListRegistryItemsRequest.Builder clearVisibilities()
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Returns:
      This builder for chaining.
    • getVisibilitiesValueList

      public List<Integer> getVisibilitiesValueList()
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Specified by:
      getVisibilitiesValueList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for visibilities.
    • getVisibilitiesValue

      public int getVisibilitiesValue(int index)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Specified by:
      getVisibilitiesValue in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of visibilities at the given index.
    • setVisibilitiesValue

      public App.ListRegistryItemsRequest.Builder setVisibilitiesValue(int index, int value)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for visibilities to set.
      Returns:
      This builder for chaining.
    • addVisibilitiesValue

      public App.ListRegistryItemsRequest.Builder addVisibilitiesValue(int value)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      value - The enum numeric value on the wire for visibilities to add.
      Returns:
      This builder for chaining.
    • addAllVisibilitiesValue

      public App.ListRegistryItemsRequest.Builder addAllVisibilitiesValue(Iterable<Integer> values)
      repeated .viam.app.v1.Visibility visibilities = 3 [json_name = "visibilities"];
      Parameters:
      values - The enum numeric values on the wire for visibilities to add.
      Returns:
      This builder for chaining.
    • getPlatformsList

      public List<String> getPlatformsList()
      repeated string platforms = 4 [json_name = "platforms"];
      Specified by:
      getPlatformsList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the platforms.
    • getPlatformsCount

      public int getPlatformsCount()
      repeated string platforms = 4 [json_name = "platforms"];
      Specified by:
      getPlatformsCount in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The count of platforms.
    • getPlatforms

      public String getPlatforms(int index)
      repeated string platforms = 4 [json_name = "platforms"];
      Specified by:
      getPlatforms in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The platforms at the given index.
    • getPlatformsBytes

      public com.google.protobuf.ByteString getPlatformsBytes(int index)
      repeated string platforms = 4 [json_name = "platforms"];
      Specified by:
      getPlatformsBytes in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the platforms at the given index.
    • setPlatforms

      public App.ListRegistryItemsRequest.Builder setPlatforms(int index, String value)
      repeated string platforms = 4 [json_name = "platforms"];
      Parameters:
      index - The index to set the value at.
      value - The platforms to set.
      Returns:
      This builder for chaining.
    • addPlatforms

      public App.ListRegistryItemsRequest.Builder addPlatforms(String value)
      repeated string platforms = 4 [json_name = "platforms"];
      Parameters:
      value - The platforms to add.
      Returns:
      This builder for chaining.
    • addAllPlatforms

      public App.ListRegistryItemsRequest.Builder addAllPlatforms(Iterable<String> values)
      repeated string platforms = 4 [json_name = "platforms"];
      Parameters:
      values - The platforms to add.
      Returns:
      This builder for chaining.
    • clearPlatforms

      public App.ListRegistryItemsRequest.Builder clearPlatforms()
      repeated string platforms = 4 [json_name = "platforms"];
      Returns:
      This builder for chaining.
    • addPlatformsBytes

      public App.ListRegistryItemsRequest.Builder addPlatformsBytes(com.google.protobuf.ByteString value)
      repeated string platforms = 4 [json_name = "platforms"];
      Parameters:
      value - The bytes of the platforms to add.
      Returns:
      This builder for chaining.
    • getStatusesList

      public List<App.RegistryItemStatus> getStatusesList()
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Specified by:
      getStatusesList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the statuses.
    • getStatusesCount

      public int getStatusesCount()
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Specified by:
      getStatusesCount in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The count of statuses.
    • getStatuses

      public App.RegistryItemStatus getStatuses(int index)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Specified by:
      getStatuses in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The statuses at the given index.
    • setStatuses

      public App.ListRegistryItemsRequest.Builder setStatuses(int index, App.RegistryItemStatus value)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      index - The index to set the value at.
      value - The statuses to set.
      Returns:
      This builder for chaining.
    • addStatuses

      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      value - The statuses to add.
      Returns:
      This builder for chaining.
    • addAllStatuses

      public App.ListRegistryItemsRequest.Builder addAllStatuses(Iterable<? extends App.RegistryItemStatus> values)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      values - The statuses to add.
      Returns:
      This builder for chaining.
    • clearStatuses

      public App.ListRegistryItemsRequest.Builder clearStatuses()
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Returns:
      This builder for chaining.
    • getStatusesValueList

      public List<Integer> getStatusesValueList()
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Specified by:
      getStatusesValueList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for statuses.
    • getStatusesValue

      public int getStatusesValue(int index)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Specified by:
      getStatusesValue in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of statuses at the given index.
    • setStatusesValue

      public App.ListRegistryItemsRequest.Builder setStatusesValue(int index, int value)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for statuses to set.
      Returns:
      This builder for chaining.
    • addStatusesValue

      public App.ListRegistryItemsRequest.Builder addStatusesValue(int value)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      value - The enum numeric value on the wire for statuses to add.
      Returns:
      This builder for chaining.
    • addAllStatusesValue

      public App.ListRegistryItemsRequest.Builder addAllStatusesValue(Iterable<Integer> values)
      repeated .viam.app.v1.RegistryItemStatus statuses = 5 [json_name = "statuses"];
      Parameters:
      values - The enum numeric values on the wire for statuses to add.
      Returns:
      This builder for chaining.
    • hasSearchTerm

      public boolean hasSearchTerm()
      optional string search_term = 6 [json_name = "searchTerm"];
      Specified by:
      hasSearchTerm in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      Whether the searchTerm field is set.
    • getSearchTerm

      public String getSearchTerm()
      optional string search_term = 6 [json_name = "searchTerm"];
      Specified by:
      getSearchTerm in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The searchTerm.
    • getSearchTermBytes

      public com.google.protobuf.ByteString getSearchTermBytes()
      optional string search_term = 6 [json_name = "searchTerm"];
      Specified by:
      getSearchTermBytes in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The bytes for searchTerm.
    • setSearchTerm

      public App.ListRegistryItemsRequest.Builder setSearchTerm(String value)
      optional string search_term = 6 [json_name = "searchTerm"];
      Parameters:
      value - The searchTerm to set.
      Returns:
      This builder for chaining.
    • clearSearchTerm

      public App.ListRegistryItemsRequest.Builder clearSearchTerm()
      optional string search_term = 6 [json_name = "searchTerm"];
      Returns:
      This builder for chaining.
    • setSearchTermBytes

      public App.ListRegistryItemsRequest.Builder setSearchTermBytes(com.google.protobuf.ByteString value)
      optional string search_term = 6 [json_name = "searchTerm"];
      Parameters:
      value - The bytes for searchTerm to set.
      Returns:
      This builder for chaining.
    • hasPageToken

      public boolean hasPageToken()
      optional string page_token = 7 [json_name = "pageToken"];
      Specified by:
      hasPageToken in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
      optional string page_token = 7 [json_name = "pageToken"];
      Specified by:
      getPageToken in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
      optional string page_token = 7 [json_name = "pageToken"];
      Specified by:
      getPageTokenBytes in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public App.ListRegistryItemsRequest.Builder setPageToken(String value)
      optional string page_token = 7 [json_name = "pageToken"];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public App.ListRegistryItemsRequest.Builder clearPageToken()
      optional string page_token = 7 [json_name = "pageToken"];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public App.ListRegistryItemsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
      optional string page_token = 7 [json_name = "pageToken"];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getPublicNamespacesList

      public List<String> getPublicNamespacesList()
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Specified by:
      getPublicNamespacesList in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      A list containing the publicNamespaces.
    • getPublicNamespacesCount

      public int getPublicNamespacesCount()
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Specified by:
      getPublicNamespacesCount in interface App.ListRegistryItemsRequestOrBuilder
      Returns:
      The count of publicNamespaces.
    • getPublicNamespaces

      public String getPublicNamespaces(int index)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Specified by:
      getPublicNamespaces in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The publicNamespaces at the given index.
    • getPublicNamespacesBytes

      public com.google.protobuf.ByteString getPublicNamespacesBytes(int index)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Specified by:
      getPublicNamespacesBytes in interface App.ListRegistryItemsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the publicNamespaces at the given index.
    • setPublicNamespaces

      public App.ListRegistryItemsRequest.Builder setPublicNamespaces(int index, String value)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Parameters:
      index - The index to set the value at.
      value - The publicNamespaces to set.
      Returns:
      This builder for chaining.
    • addPublicNamespaces

      public App.ListRegistryItemsRequest.Builder addPublicNamespaces(String value)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Parameters:
      value - The publicNamespaces to add.
      Returns:
      This builder for chaining.
    • addAllPublicNamespaces

      public App.ListRegistryItemsRequest.Builder addAllPublicNamespaces(Iterable<String> values)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Parameters:
      values - The publicNamespaces to add.
      Returns:
      This builder for chaining.
    • clearPublicNamespaces

      public App.ListRegistryItemsRequest.Builder clearPublicNamespaces()
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Returns:
      This builder for chaining.
    • addPublicNamespacesBytes

      public App.ListRegistryItemsRequest.Builder addPublicNamespacesBytes(com.google.protobuf.ByteString value)
       One or more public namespaces to return results for.
       
      repeated string public_namespaces = 8 [json_name = "publicNamespaces"];
      Parameters:
      value - The bytes of the publicNamespaces to add.
      Returns:
      This builder for chaining.