Class ListObjectsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
com.google.storage.v2.ListObjectsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListObjectsRequestOrBuilder, Cloneable
Enclosing class:
ListObjectsRequest

public static final class ListObjectsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder> implements ListObjectsRequestOrBuilder
 Request message for ListObjects.
 
Protobuf type google.storage.v2.ListObjectsRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.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.GeneratedMessageV3.Builder<ListObjectsRequest.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.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • setField

      public ListObjectsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • clearField

      public ListObjectsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • clearOneof

      public ListObjectsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • setRepeatedField

      public ListObjectsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • addRepeatedField

      public ListObjectsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • mergeFrom

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

    • isInitialized

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

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

      public String getParent()
       Required. Name of the bucket in which to look for objects.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListObjectsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. Name of the bucket in which to look for objects.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListObjectsRequest.Builder setParent(String value)
       Required. Name of the bucket in which to look for objects.
       
      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 ListObjectsRequest.Builder clearParent()
       Required. Name of the bucket in which to look for objects.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListObjectsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. Name of the bucket in which to look for objects.
       
      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()
       Maximum number of `items` plus `prefixes` to return
       in a single page of responses. As duplicate `prefixes` are
       omitted, fewer total results may be returned than requested. The service
       will use this parameter or 1,000 items, whichever is smaller.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListObjectsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListObjectsRequest.Builder setPageSize(int value)
       Maximum number of `items` plus `prefixes` to return
       in a single page of responses. As duplicate `prefixes` are
       omitted, fewer total results may be returned than requested. The service
       will use this parameter or 1,000 items, whichever is smaller.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListObjectsRequest.Builder clearPageSize()
       Maximum number of `items` plus `prefixes` to return
       in a single page of responses. As duplicate `prefixes` are
       omitted, fewer total results may be returned than requested. The service
       will use this parameter or 1,000 items, whichever is smaller.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A previously-returned page token representing part of the larger set of
       results to view.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListObjectsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A previously-returned page token representing part of the larger set of
       results to view.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListObjectsRequest.Builder setPageToken(String value)
       A previously-returned page token representing part of the larger set of
       results to view.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListObjectsRequest.Builder clearPageToken()
       A previously-returned page token representing part of the larger set of
       results to view.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListObjectsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A previously-returned page token representing part of the larger set of
       results to view.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getDelimiter

      public String getDelimiter()
       If set, returns results in a directory-like mode. `items` will contain
       only objects whose names, aside from the `prefix`, do not
       contain `delimiter`. Objects whose names, aside from the
       `prefix`, contain `delimiter` will have their name,
       truncated after the `delimiter`, returned in
       `prefixes`. Duplicate `prefixes` are omitted.
       
      string delimiter = 4;
      Specified by:
      getDelimiter in interface ListObjectsRequestOrBuilder
      Returns:
      The delimiter.
    • getDelimiterBytes

      public com.google.protobuf.ByteString getDelimiterBytes()
       If set, returns results in a directory-like mode. `items` will contain
       only objects whose names, aside from the `prefix`, do not
       contain `delimiter`. Objects whose names, aside from the
       `prefix`, contain `delimiter` will have their name,
       truncated after the `delimiter`, returned in
       `prefixes`. Duplicate `prefixes` are omitted.
       
      string delimiter = 4;
      Specified by:
      getDelimiterBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for delimiter.
    • setDelimiter

      public ListObjectsRequest.Builder setDelimiter(String value)
       If set, returns results in a directory-like mode. `items` will contain
       only objects whose names, aside from the `prefix`, do not
       contain `delimiter`. Objects whose names, aside from the
       `prefix`, contain `delimiter` will have their name,
       truncated after the `delimiter`, returned in
       `prefixes`. Duplicate `prefixes` are omitted.
       
      string delimiter = 4;
      Parameters:
      value - The delimiter to set.
      Returns:
      This builder for chaining.
    • clearDelimiter

      public ListObjectsRequest.Builder clearDelimiter()
       If set, returns results in a directory-like mode. `items` will contain
       only objects whose names, aside from the `prefix`, do not
       contain `delimiter`. Objects whose names, aside from the
       `prefix`, contain `delimiter` will have their name,
       truncated after the `delimiter`, returned in
       `prefixes`. Duplicate `prefixes` are omitted.
       
      string delimiter = 4;
      Returns:
      This builder for chaining.
    • setDelimiterBytes

      public ListObjectsRequest.Builder setDelimiterBytes(com.google.protobuf.ByteString value)
       If set, returns results in a directory-like mode. `items` will contain
       only objects whose names, aside from the `prefix`, do not
       contain `delimiter`. Objects whose names, aside from the
       `prefix`, contain `delimiter` will have their name,
       truncated after the `delimiter`, returned in
       `prefixes`. Duplicate `prefixes` are omitted.
       
      string delimiter = 4;
      Parameters:
      value - The bytes for delimiter to set.
      Returns:
      This builder for chaining.
    • getIncludeTrailingDelimiter

      public boolean getIncludeTrailingDelimiter()
       If true, objects that end in exactly one instance of `delimiter`
       will have their metadata included in `items` in addition to
       `prefixes`.
       
      bool include_trailing_delimiter = 5;
      Specified by:
      getIncludeTrailingDelimiter in interface ListObjectsRequestOrBuilder
      Returns:
      The includeTrailingDelimiter.
    • setIncludeTrailingDelimiter

      public ListObjectsRequest.Builder setIncludeTrailingDelimiter(boolean value)
       If true, objects that end in exactly one instance of `delimiter`
       will have their metadata included in `items` in addition to
       `prefixes`.
       
      bool include_trailing_delimiter = 5;
      Parameters:
      value - The includeTrailingDelimiter to set.
      Returns:
      This builder for chaining.
    • clearIncludeTrailingDelimiter

      public ListObjectsRequest.Builder clearIncludeTrailingDelimiter()
       If true, objects that end in exactly one instance of `delimiter`
       will have their metadata included in `items` in addition to
       `prefixes`.
       
      bool include_trailing_delimiter = 5;
      Returns:
      This builder for chaining.
    • getPrefix

      public String getPrefix()
       Filter results to objects whose names begin with this prefix.
       
      string prefix = 6;
      Specified by:
      getPrefix in interface ListObjectsRequestOrBuilder
      Returns:
      The prefix.
    • getPrefixBytes

      public com.google.protobuf.ByteString getPrefixBytes()
       Filter results to objects whose names begin with this prefix.
       
      string prefix = 6;
      Specified by:
      getPrefixBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for prefix.
    • setPrefix

      public ListObjectsRequest.Builder setPrefix(String value)
       Filter results to objects whose names begin with this prefix.
       
      string prefix = 6;
      Parameters:
      value - The prefix to set.
      Returns:
      This builder for chaining.
    • clearPrefix

      public ListObjectsRequest.Builder clearPrefix()
       Filter results to objects whose names begin with this prefix.
       
      string prefix = 6;
      Returns:
      This builder for chaining.
    • setPrefixBytes

      public ListObjectsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
       Filter results to objects whose names begin with this prefix.
       
      string prefix = 6;
      Parameters:
      value - The bytes for prefix to set.
      Returns:
      This builder for chaining.
    • getVersions

      public boolean getVersions()
       If `true`, lists all versions of an object as distinct results.
       For more information, see
       [Object
       Versioning](https://cloud.google.com/storage/docs/object-versioning).
       
      bool versions = 7;
      Specified by:
      getVersions in interface ListObjectsRequestOrBuilder
      Returns:
      The versions.
    • setVersions

      public ListObjectsRequest.Builder setVersions(boolean value)
       If `true`, lists all versions of an object as distinct results.
       For more information, see
       [Object
       Versioning](https://cloud.google.com/storage/docs/object-versioning).
       
      bool versions = 7;
      Parameters:
      value - The versions to set.
      Returns:
      This builder for chaining.
    • clearVersions

      public ListObjectsRequest.Builder clearVersions()
       If `true`, lists all versions of an object as distinct results.
       For more information, see
       [Object
       Versioning](https://cloud.google.com/storage/docs/object-versioning).
       
      bool versions = 7;
      Returns:
      This builder for chaining.
    • hasReadMask

      public boolean hasReadMask()
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
      Specified by:
      hasReadMask in interface ListObjectsRequestOrBuilder
      Returns:
      Whether the readMask field is set.
    • getReadMask

      public com.google.protobuf.FieldMask getReadMask()
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
      Specified by:
      getReadMask in interface ListObjectsRequestOrBuilder
      Returns:
      The readMask.
    • setReadMask

      public ListObjectsRequest.Builder setReadMask(com.google.protobuf.FieldMask value)
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
    • setReadMask

      public ListObjectsRequest.Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
    • mergeReadMask

      public ListObjectsRequest.Builder mergeReadMask(com.google.protobuf.FieldMask value)
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
    • clearReadMask

      public ListObjectsRequest.Builder clearReadMask()
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
    • getReadMaskBuilder

      public com.google.protobuf.FieldMask.Builder getReadMaskBuilder()
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
    • getReadMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder()
       Mask specifying which fields to read from each result.
       If no mask is specified, will default to all fields except items.acl and
       items.owner.
       * may be used to mean "all fields".
       
      optional .google.protobuf.FieldMask read_mask = 8;
      Specified by:
      getReadMaskOrBuilder in interface ListObjectsRequestOrBuilder
    • getLexicographicStart

      public String getLexicographicStart()
       Optional. Filter results to objects whose names are lexicographically equal
       to or after lexicographic_start. If lexicographic_end is also set, the
       objects listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLexicographicStart in interface ListObjectsRequestOrBuilder
      Returns:
      The lexicographicStart.
    • getLexicographicStartBytes

      public com.google.protobuf.ByteString getLexicographicStartBytes()
       Optional. Filter results to objects whose names are lexicographically equal
       to or after lexicographic_start. If lexicographic_end is also set, the
       objects listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLexicographicStartBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for lexicographicStart.
    • setLexicographicStart

      public ListObjectsRequest.Builder setLexicographicStart(String value)
       Optional. Filter results to objects whose names are lexicographically equal
       to or after lexicographic_start. If lexicographic_end is also set, the
       objects listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The lexicographicStart to set.
      Returns:
      This builder for chaining.
    • clearLexicographicStart

      public ListObjectsRequest.Builder clearLexicographicStart()
       Optional. Filter results to objects whose names are lexicographically equal
       to or after lexicographic_start. If lexicographic_end is also set, the
       objects listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setLexicographicStartBytes

      public ListObjectsRequest.Builder setLexicographicStartBytes(com.google.protobuf.ByteString value)
       Optional. Filter results to objects whose names are lexicographically equal
       to or after lexicographic_start. If lexicographic_end is also set, the
       objects listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for lexicographicStart to set.
      Returns:
      This builder for chaining.
    • getLexicographicEnd

      public String getLexicographicEnd()
       Optional. Filter results to objects whose names are lexicographically
       before lexicographic_end. If lexicographic_start is also set, the objects
       listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLexicographicEnd in interface ListObjectsRequestOrBuilder
      Returns:
      The lexicographicEnd.
    • getLexicographicEndBytes

      public com.google.protobuf.ByteString getLexicographicEndBytes()
       Optional. Filter results to objects whose names are lexicographically
       before lexicographic_end. If lexicographic_start is also set, the objects
       listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLexicographicEndBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for lexicographicEnd.
    • setLexicographicEnd

      public ListObjectsRequest.Builder setLexicographicEnd(String value)
       Optional. Filter results to objects whose names are lexicographically
       before lexicographic_end. If lexicographic_start is also set, the objects
       listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The lexicographicEnd to set.
      Returns:
      This builder for chaining.
    • clearLexicographicEnd

      public ListObjectsRequest.Builder clearLexicographicEnd()
       Optional. Filter results to objects whose names are lexicographically
       before lexicographic_end. If lexicographic_start is also set, the objects
       listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setLexicographicEndBytes

      public ListObjectsRequest.Builder setLexicographicEndBytes(com.google.protobuf.ByteString value)
       Optional. Filter results to objects whose names are lexicographically
       before lexicographic_end. If lexicographic_start is also set, the objects
       listed have names between lexicographic_start (inclusive) and
       lexicographic_end (exclusive).
       
      string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for lexicographicEnd to set.
      Returns:
      This builder for chaining.
    • getSoftDeleted

      public boolean getSoftDeleted()
       Optional. If true, only list all soft-deleted versions of the object.
       Soft delete policy is required to set this option.
       
      bool soft_deleted = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSoftDeleted in interface ListObjectsRequestOrBuilder
      Returns:
      The softDeleted.
    • setSoftDeleted

      public ListObjectsRequest.Builder setSoftDeleted(boolean value)
       Optional. If true, only list all soft-deleted versions of the object.
       Soft delete policy is required to set this option.
       
      bool soft_deleted = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The softDeleted to set.
      Returns:
      This builder for chaining.
    • clearSoftDeleted

      public ListObjectsRequest.Builder clearSoftDeleted()
       Optional. If true, only list all soft-deleted versions of the object.
       Soft delete policy is required to set this option.
       
      bool soft_deleted = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIncludeFoldersAsPrefixes

      public boolean getIncludeFoldersAsPrefixes()
       Optional. If true, will also include folders and managed folders (besides
       objects) in the returned `prefixes`. Requires `delimiter` to be set to '/'.
       
      bool include_folders_as_prefixes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIncludeFoldersAsPrefixes in interface ListObjectsRequestOrBuilder
      Returns:
      The includeFoldersAsPrefixes.
    • setIncludeFoldersAsPrefixes

      public ListObjectsRequest.Builder setIncludeFoldersAsPrefixes(boolean value)
       Optional. If true, will also include folders and managed folders (besides
       objects) in the returned `prefixes`. Requires `delimiter` to be set to '/'.
       
      bool include_folders_as_prefixes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The includeFoldersAsPrefixes to set.
      Returns:
      This builder for chaining.
    • clearIncludeFoldersAsPrefixes

      public ListObjectsRequest.Builder clearIncludeFoldersAsPrefixes()
       Optional. If true, will also include folders and managed folders (besides
       objects) in the returned `prefixes`. Requires `delimiter` to be set to '/'.
       
      bool include_folders_as_prefixes = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getMatchGlob

      public String getMatchGlob()
       Optional. Filter results to objects and prefixes that match this glob
       pattern. See [List Objects Using
       Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
       for the full syntax.
       
      string match_glob = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchGlob in interface ListObjectsRequestOrBuilder
      Returns:
      The matchGlob.
    • getMatchGlobBytes

      public com.google.protobuf.ByteString getMatchGlobBytes()
       Optional. Filter results to objects and prefixes that match this glob
       pattern. See [List Objects Using
       Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
       for the full syntax.
       
      string match_glob = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMatchGlobBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for matchGlob.
    • setMatchGlob

      public ListObjectsRequest.Builder setMatchGlob(String value)
       Optional. Filter results to objects and prefixes that match this glob
       pattern. See [List Objects Using
       Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
       for the full syntax.
       
      string match_glob = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The matchGlob to set.
      Returns:
      This builder for chaining.
    • clearMatchGlob

      public ListObjectsRequest.Builder clearMatchGlob()
       Optional. Filter results to objects and prefixes that match this glob
       pattern. See [List Objects Using
       Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
       for the full syntax.
       
      string match_glob = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setMatchGlobBytes

      public ListObjectsRequest.Builder setMatchGlobBytes(com.google.protobuf.ByteString value)
       Optional. Filter results to objects and prefixes that match this glob
       pattern. See [List Objects Using
       Glob](https://cloud.google.com/storage/docs/json_api/v1/objects/list#list-objects-and-prefixes-using-glob)
       for the full syntax.
       
      string match_glob = 14 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for matchGlob to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListObjectsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
    • mergeUnknownFields

      public final ListObjectsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>