Class ListFilesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder
All Implemented Interfaces:
ListFilesRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListFilesRequest

public static final class ListFilesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder> implements ListFilesRequestOrBuilder
 The request to list files.
 
Protobuf type google.devtools.artifactregistry.v1beta2.ListFilesRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
    • clear

      public ListFilesRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
    • getDefaultInstanceForType

      public ListFilesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListFilesRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListFilesRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListFilesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListFilesRequest.Builder>
    • mergeFrom

      public ListFilesRequest.Builder mergeFrom(ListFilesRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
    • mergeFrom

      public ListFilesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListFilesRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       The name of the repository whose files will be listed. For example:
       "projects/p1/locations/us-central1/repositories/repo1
       
      string parent = 1;
      Specified by:
      getParent in interface ListFilesRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       The name of the repository whose files will be listed. For example:
       "projects/p1/locations/us-central1/repositories/repo1
       
      string parent = 1;
      Specified by:
      getParentBytes in interface ListFilesRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListFilesRequest.Builder setParent(String value)
       The name of the repository whose files will be listed. For example:
       "projects/p1/locations/us-central1/repositories/repo1
       
      string parent = 1;
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListFilesRequest.Builder clearParent()
       The name of the repository whose files will be listed. For example:
       "projects/p1/locations/us-central1/repositories/repo1
       
      string parent = 1;
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListFilesRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       The name of the repository whose files will be listed. For example:
       "projects/p1/locations/us-central1/repositories/repo1
       
      string parent = 1;
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       An expression for filtering the results of the request. Filter rules are
       case insensitive. The fields eligible for filtering are:
      
       * `name`
       * `owner`
      
       An example of using a filter:
      
       * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
       ID starting with "a/b/".
       * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
       Files owned by the version `1.0` in package `pkg1`.
       
      string filter = 4;
      Specified by:
      getFilter in interface ListFilesRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       An expression for filtering the results of the request. Filter rules are
       case insensitive. The fields eligible for filtering are:
      
       * `name`
       * `owner`
      
       An example of using a filter:
      
       * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
       ID starting with "a/b/".
       * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
       Files owned by the version `1.0` in package `pkg1`.
       
      string filter = 4;
      Specified by:
      getFilterBytes in interface ListFilesRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListFilesRequest.Builder setFilter(String value)
       An expression for filtering the results of the request. Filter rules are
       case insensitive. The fields eligible for filtering are:
      
       * `name`
       * `owner`
      
       An example of using a filter:
      
       * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
       ID starting with "a/b/".
       * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
       Files owned by the version `1.0` in package `pkg1`.
       
      string filter = 4;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListFilesRequest.Builder clearFilter()
       An expression for filtering the results of the request. Filter rules are
       case insensitive. The fields eligible for filtering are:
      
       * `name`
       * `owner`
      
       An example of using a filter:
      
       * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
       ID starting with "a/b/".
       * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
       Files owned by the version `1.0` in package `pkg1`.
       
      string filter = 4;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListFilesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       An expression for filtering the results of the request. Filter rules are
       case insensitive. The fields eligible for filtering are:
      
       * `name`
       * `owner`
      
       An example of using a filter:
      
       * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an
       ID starting with "a/b/".
       * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` -->
       Files owned by the version `1.0` in package `pkg1`.
       
      string filter = 4;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of files to return.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListFilesRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListFilesRequest.Builder setPageSize(int value)
       The maximum number of files to return.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListFilesRequest.Builder clearPageSize()
       The maximum number of files to return.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       The next_page_token value returned from a previous list request, if any.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListFilesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The next_page_token value returned from a previous list request, if any.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListFilesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListFilesRequest.Builder setPageToken(String value)
       The next_page_token value returned from a previous list request, if any.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListFilesRequest.Builder clearPageToken()
       The next_page_token value returned from a previous list request, if any.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListFilesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The next_page_token value returned from a previous list request, if any.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.