@java.lang.Override public com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest.getDefaultInstance(); }
/** * * * <pre> * The video data bytes. Encoding: base64. If unset, the input video(s) * should be specified via `input_uri`. If set, `input_uri` should be unset. * </pre> * * <code>string input_content = 6;</code> */ public Builder clearInputContent() { inputContent_ = getDefaultInstance().getInputContent(); onChanged(); return this; } /**
/** * * * <pre> * Optional cloud region where annotation should take place. Supported cloud * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region * is specified, a region will be determined based on video file location. * </pre> * * <code>string location_id = 5;</code> */ public Builder clearLocationId() { locationId_ = getDefaultInstance().getLocationId(); onChanged(); return this; } /**
/** * * * <pre> * Optional location where the output (in JSON format) should be stored. * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) * URIs are supported, which must be specified in the following format: * `gs://bucket-id/object-id` (other URI formats return * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see * [Request URIs](/storage/docs/reference-uris). * </pre> * * <code>string output_uri = 4;</code> */ public Builder clearOutputUri() { outputUri_ = getDefaultInstance().getOutputUri(); onChanged(); return this; } /**
/** * * * <pre> * Input video location. Currently, only * [Google Cloud Storage](https://cloud.google.com/storage/) URIs are * supported, which must be specified in the following format: * `gs://bucket-id/object-id` (other URI formats return * [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see * [Request URIs](/storage/docs/reference-uris). * A video URI may include wildcards in `object-id`, and thus identify * multiple videos. Supported wildcards: '*' to match 0 or more characters; * '?' to match 1 character. If unset, the input video should be embedded * in the request as `input_content`. If set, `input_content` should be unset. * </pre> * * <code>string input_uri = 1;</code> */ public Builder clearInputUri() { inputUri_ = getDefaultInstance().getInputUri(); onChanged(); return this; } /**
public Builder mergeFrom( com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest other) { if (other == com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest.getDefaultInstance()) return this; if (!other.getInputUri().isEmpty()) {
io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(
io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller(