Class GenerateVideosOperation.Builder
- Enclosing class:
- GenerateVideosOperation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GenerateVideosOperationbuild()abstract GenerateVideosOperation.Builderdone(boolean done) Setter for done.abstract GenerateVideosOperation.BuilderSetter for error.abstract GenerateVideosOperation.BuilderSetter for metadata.abstract GenerateVideosOperation.BuilderSetter for name.abstract GenerateVideosOperation.Builderresponse(GenerateVideosResponse response) Setter for response.response(GenerateVideosResponse.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}`.
-
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.
-
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.
-
error
Setter for error.error: The error result of the operation in case of failure or cancellation.
-
response
Setter for response.response: The generated videos.
-
response
Setter for response builder.response: The generated videos.
-
build
-