Class UploadToFileSearchStoreOperation.Builder
-
- All Implemented Interfaces:
public abstract class UploadToFileSearchStoreOperation.BuilderBuilder for UploadToFileSearchStoreOperation.
-
-
Constructor Summary
Constructors Constructor Description UploadToFileSearchStoreOperation.Builder()
-
Method Summary
-
-
Method Detail
-
name
abstract UploadToFileSearchStoreOperation.Builder name(String name)
Setter for name.
name: The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
-
clearName
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder clearName()
Clears the value of name field.
-
metadata
abstract UploadToFileSearchStoreOperation.Builder metadata(Map<String, Object> metadata)
Setter for metadata.
metadata: Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
-
clearMetadata
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder clearMetadata()
Clears the value of metadata field.
-
done
abstract UploadToFileSearchStoreOperation.Builder done(boolean done)
Setter for done.
done: If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
-
clearDone
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder clearDone()
Clears the value of done field.
-
error
abstract UploadToFileSearchStoreOperation.Builder error(Map<String, Object> error)
Setter for error.
error: The error result of the operation in case of failure or cancellation.
-
clearError
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder clearError()
Clears the value of error field.
-
response
abstract UploadToFileSearchStoreOperation.Builder response(UploadToFileSearchStoreResponse response)
Setter for response.
response: The result of the UploadToFileSearchStore operation, available when the operation is done.
-
response
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder response(UploadToFileSearchStoreResponse.Builder responseBuilder)
Setter for response builder.
response: The result of the UploadToFileSearchStore operation, available when the operation is done.
-
clearResponse
@CanIgnoreReturnValue() UploadToFileSearchStoreOperation.Builder clearResponse()
Clears the value of response field.
-
build
abstract UploadToFileSearchStoreOperation build()
-
-
-
-