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.firestore.admin.v1.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
 The request for
 [FirestoreAdmin.ListBackups][google.firestore.admin.v1.FirestoreAdmin.ListBackups].
 
Protobuf type google.firestore.admin.v1.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 location to list backups from.
      
       Format is `projects/{project}/locations/{location}`.
       Use `{location} = '-'` to list backups from all locations for the given
       project. This allows listing backups from a single location or from all
       locations.
       
      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 location to list backups from.
      
       Format is `projects/{project}/locations/{location}`.
       Use `{location} = '-'` to list backups from all locations for the given
       project. This allows listing backups from a single location or from all
       locations.
       
      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 location to list backups from.
      
       Format is `projects/{project}/locations/{location}`.
       Use `{location} = '-'` to list backups from all locations for the given
       project. This allows listing backups from a single location or from all
       locations.
       
      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 location to list backups from.
      
       Format is `projects/{project}/locations/{location}`.
       Use `{location} = '-'` to list backups from all locations for the given
       project. This allows listing backups from a single location or from all
       locations.
       
      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 location to list backups from.
      
       Format is `projects/{project}/locations/{location}`.
       Use `{location} = '-'` to list backups from all locations for the given
       project. This allows listing backups from a single location or from all
       locations.
       
      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.
    • getFilter

      public String getFilter()
       An expression that filters the list of returned backups.
      
       A filter expression consists of a field name, a comparison operator, and a
       value for filtering.
       The value must be a string, a number, or a boolean. The comparison operator
       must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
       Colon `:` is the contains operator. Filter rules are not case sensitive.
      
       The following fields in the [Backup][google.firestore.admin.v1.Backup] are
       eligible for filtering:
      
       * `database_uid` (supports `=` only)
       
      string filter = 2;
      Specified by:
      getFilter in interface ListBackupsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       An expression that filters the list of returned backups.
      
       A filter expression consists of a field name, a comparison operator, and a
       value for filtering.
       The value must be a string, a number, or a boolean. The comparison operator
       must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
       Colon `:` is the contains operator. Filter rules are not case sensitive.
      
       The following fields in the [Backup][google.firestore.admin.v1.Backup] are
       eligible for filtering:
      
       * `database_uid` (supports `=` only)
       
      string filter = 2;
      Specified by:
      getFilterBytes in interface ListBackupsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListBackupsRequest.Builder setFilter(String value)
       An expression that filters the list of returned backups.
      
       A filter expression consists of a field name, a comparison operator, and a
       value for filtering.
       The value must be a string, a number, or a boolean. The comparison operator
       must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
       Colon `:` is the contains operator. Filter rules are not case sensitive.
      
       The following fields in the [Backup][google.firestore.admin.v1.Backup] are
       eligible for filtering:
      
       * `database_uid` (supports `=` only)
       
      string filter = 2;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListBackupsRequest.Builder clearFilter()
       An expression that filters the list of returned backups.
      
       A filter expression consists of a field name, a comparison operator, and a
       value for filtering.
       The value must be a string, a number, or a boolean. The comparison operator
       must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
       Colon `:` is the contains operator. Filter rules are not case sensitive.
      
       The following fields in the [Backup][google.firestore.admin.v1.Backup] are
       eligible for filtering:
      
       * `database_uid` (supports `=` only)
       
      string filter = 2;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListBackupsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       An expression that filters the list of returned backups.
      
       A filter expression consists of a field name, a comparison operator, and a
       value for filtering.
       The value must be a string, a number, or a boolean. The comparison operator
       must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
       Colon `:` is the contains operator. Filter rules are not case sensitive.
      
       The following fields in the [Backup][google.firestore.admin.v1.Backup] are
       eligible for filtering:
      
       * `database_uid` (supports `=` only)
       
      string filter = 2;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.