/** * * * <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; } /**
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INPUT_URI_FIELD_NUMBER; hash = (53 * hash) + getInputUri().hashCode(); hash = (37 * hash) + INPUT_CONTENT_FIELD_NUMBER; hash = (53 * hash) + getInputContent().hashCode(); if (getFeaturesCount() > 0) { hash = (37 * hash) + FEATURES_FIELD_NUMBER; hash = (53 * hash) + features_.hashCode(); } if (hasVideoContext()) { hash = (37 * hash) + VIDEO_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getVideoContext().hashCode(); } hash = (37 * hash) + OUTPUT_URI_FIELD_NUMBER; hash = (53 * hash) + getOutputUri().hashCode(); hash = (37 * hash) + LOCATION_ID_FIELD_NUMBER; hash = (53 * hash) + getLocationId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest)) { return super.equals(obj); } com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest other = (com.google.cloud.videointelligence.v1beta1.AnnotateVideoRequest) obj; boolean result = true; result = result && getInputUri().equals(other.getInputUri()); result = result && getInputContent().equals(other.getInputContent()); result = result && features_.equals(other.features_); result = result && (hasVideoContext() == other.hasVideoContext()); if (hasVideoContext()) { result = result && getVideoContext().equals(other.getVideoContext()); } result = result && getOutputUri().equals(other.getOutputUri()); result = result && getLocationId().equals(other.getLocationId()); result = result && unknownFields.equals(other.unknownFields); return result; }
mergeVideoContext(other.getVideoContext()); if (!other.getOutputUri().isEmpty()) { outputUri_ = other.outputUri_; onChanged();