Class SearchFilesRequest.Builder

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

public static final class SearchFilesRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchFilesRequest.Builder> implements SearchFilesRequestOrBuilder
 Configuration containing file search request parameters.
 
Protobuf type google.cloud.dataform.v1beta1.SearchFilesRequest
  • 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<SearchFilesRequest.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<SearchFilesRequest.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<SearchFilesRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SearchFilesRequest.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<SearchFilesRequest.Builder>
      Throws:
      IOException
    • getWorkspace

      public String getWorkspace()
       Required. The workspace's name.
       
      string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkspace in interface SearchFilesRequestOrBuilder
      Returns:
      The workspace.
    • getWorkspaceBytes

      public com.google.protobuf.ByteString getWorkspaceBytes()
       Required. The workspace's name.
       
      string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getWorkspaceBytes in interface SearchFilesRequestOrBuilder
      Returns:
      The bytes for workspace.
    • setWorkspace

      public SearchFilesRequest.Builder setWorkspace(String value)
       Required. The workspace's name.
       
      string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The workspace to set.
      Returns:
      This builder for chaining.
    • clearWorkspace

      public SearchFilesRequest.Builder clearWorkspace()
       Required. The workspace's name.
       
      string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setWorkspaceBytes

      public SearchFilesRequest.Builder setWorkspaceBytes(com.google.protobuf.ByteString value)
       Required. The workspace's name.
       
      string workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for workspace to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. Maximum number of search results to return. The server may return
       fewer items than requested. If unspecified, the server will pick an
       appropriate default.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface SearchFilesRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public SearchFilesRequest.Builder setPageSize(int value)
       Optional. Maximum number of search results to return. The server may return
       fewer items than requested. If unspecified, the server will pick an
       appropriate default.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public SearchFilesRequest.Builder clearPageSize()
       Optional. Maximum number of search results to return. The server may return
       fewer items than requested. If unspecified, the server will pick an
       appropriate default.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. Page token received from a previous `SearchFilesRequest`
       call. Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `SearchFilesRequest`,
       with the exception of `page_size`, must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface SearchFilesRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. Page token received from a previous `SearchFilesRequest`
       call. Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `SearchFilesRequest`,
       with the exception of `page_size`, must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface SearchFilesRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public SearchFilesRequest.Builder setPageToken(String value)
       Optional. Page token received from a previous `SearchFilesRequest`
       call. Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `SearchFilesRequest`,
       with the exception of `page_size`, must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public SearchFilesRequest.Builder clearPageToken()
       Optional. Page token received from a previous `SearchFilesRequest`
       call. Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `SearchFilesRequest`,
       with the exception of `page_size`, must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public SearchFilesRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. Page token received from a previous `SearchFilesRequest`
       call. Provide this to retrieve the subsequent page.
      
       When paginating, all other parameters provided to `SearchFilesRequest`,
       with the exception of `page_size`, must match the call that provided the
       page token.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. Optional filter for the returned list in filtering format.
       Filtering is only currently supported on the `path` field.
       See https://google.aip.dev/160 for details.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface SearchFilesRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. Optional filter for the returned list in filtering format.
       Filtering is only currently supported on the `path` field.
       See https://google.aip.dev/160 for details.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface SearchFilesRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public SearchFilesRequest.Builder setFilter(String value)
       Optional. Optional filter for the returned list in filtering format.
       Filtering is only currently supported on the `path` field.
       See https://google.aip.dev/160 for details.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public SearchFilesRequest.Builder clearFilter()
       Optional. Optional filter for the returned list in filtering format.
       Filtering is only currently supported on the `path` field.
       See https://google.aip.dev/160 for details.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public SearchFilesRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. Optional filter for the returned list in filtering format.
       Filtering is only currently supported on the `path` field.
       See https://google.aip.dev/160 for details.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.