/** * * * <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; } /**
@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; }
@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; }
onChanged(); if (!other.getInputContent().isEmpty()) { inputContent_ = other.inputContent_; onChanged();