Class ListBackupsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBackupsRequest.Builder>
com.google.cloud.filestore.v1beta1.ListBackupsRequest.Builder
All Implemented Interfaces:
ListBackupsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListBackupsRequest

public static final class ListBackupsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBackupsRequest.Builder> implements ListBackupsRequestOrBuilder
 ListBackupsRequest lists backups.
 
Protobuf type google.cloud.filestore.v1beta1.ListBackupsRequest
  • 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<ListBackupsRequest.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<ListBackupsRequest.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<ListBackupsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListBackupsRequest.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<ListBackupsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public ListBackupsRequest.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<ListBackupsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The project and location for which to retrieve backup
       information, in the format `projects/{project_id}/locations/{location}`. In
       Filestore, backup locations map to Google Cloud regions, for example
       **us-west1**. To retrieve backup information for all locations, use "-" for
       the
       `{location}` value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListBackupsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The project and location for which to retrieve backup
       information, in the format `projects/{project_id}/locations/{location}`. In
       Filestore, backup locations map to Google Cloud regions, for example
       **us-west1**. To retrieve backup information for all locations, use "-" for
       the
       `{location}` value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListBackupsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListBackupsRequest.Builder setParent(String value)
       Required. The project and location for which to retrieve backup
       information, in the format `projects/{project_id}/locations/{location}`. In
       Filestore, backup locations map to Google Cloud regions, for example
       **us-west1**. To retrieve backup information for all locations, use "-" for
       the
       `{location}` value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public ListBackupsRequest.Builder clearParent()
       Required. The project and location for which to retrieve backup
       information, in the format `projects/{project_id}/locations/{location}`. In
       Filestore, backup locations map to Google Cloud regions, for example
       **us-west1**. To retrieve backup information for all locations, use "-" for
       the
       `{location}` value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListBackupsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The project and location for which to retrieve backup
       information, in the format `projects/{project_id}/locations/{location}`. In
       Filestore, backup locations map to Google Cloud regions, for example
       **us-west1**. To retrieve backup information for all locations, use "-" for
       the
       `{location}` value.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

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

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

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

      public String getPageToken()
       The next_page_token value to use if there are additional
       results to retrieve for this list request.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListBackupsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       The next_page_token value to use if there are additional
       results to retrieve for this list request.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListBackupsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListBackupsRequest.Builder setPageToken(String value)
       The next_page_token value to use if there are additional
       results to retrieve for this list request.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListBackupsRequest.Builder clearPageToken()
       The next_page_token value to use if there are additional
       results to retrieve for this list request.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListBackupsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       The next_page_token value to use if there are additional
       results to retrieve for this list request.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getOrderBy

      public String getOrderBy()
       Sort results. Supported values are "name", "name desc" or "" (unsorted).
       
      string order_by = 4;
      Specified by:
      getOrderBy in interface ListBackupsRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Sort results. Supported values are "name", "name desc" or "" (unsorted).
       
      string order_by = 4;
      Specified by:
      getOrderByBytes in interface ListBackupsRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

      public ListBackupsRequest.Builder setOrderBy(String value)
       Sort results. Supported values are "name", "name desc" or "" (unsorted).
       
      string order_by = 4;
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

      public ListBackupsRequest.Builder clearOrderBy()
       Sort results. Supported values are "name", "name desc" or "" (unsorted).
       
      string order_by = 4;
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public ListBackupsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Sort results. Supported values are "name", "name desc" or "" (unsorted).
       
      string order_by = 4;
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       List filter.
       
      string filter = 5;
      Specified by:
      getFilter in interface ListBackupsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       List filter.
       
      string filter = 5;
      Specified by:
      getFilterBytes in interface ListBackupsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListBackupsRequest.Builder setFilter(String value)
       List filter.
       
      string filter = 5;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListBackupsRequest.Builder clearFilter()
       List filter.
       
      string filter = 5;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListBackupsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       List filter.
       
      string filter = 5;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.