Class ImportFileOperation.Builder
- Enclosing class:
- ImportFileOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ImportFileOperationbuild()Clears the value of done field.Clears the value of error field.Clears the value of metadata field.Clears the value of name field.Clears the value of response field.abstract ImportFileOperation.Builderdone(boolean done) Setter for done.abstract ImportFileOperation.BuilderSetter for error.abstract ImportFileOperation.BuilderSetter for metadata.abstract ImportFileOperation.BuilderSetter for name.abstract ImportFileOperation.Builderresponse(ImportFileResponse response) Setter for response.response(ImportFileResponse.Builder responseBuilder) Setter for response builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
Clears the value of name field. -
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
Clears the value of metadata field. -
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
Clears the value of done field. -
error
Setter for error.error: The error result of the operation in case of failure or cancellation.
-
clearError
Clears the value of error field. -
response
Setter for response.response: The result of the ImportFile operation, available when the operation is done.
-
response
@CanIgnoreReturnValue public ImportFileOperation.Builder response(ImportFileResponse.Builder responseBuilder) Setter for response builder.response: The result of the ImportFile operation, available when the operation is done.
-
clearResponse
Clears the value of response field. -
build
-