@java.lang.Override public com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.getDefaultInstance(); }
/** * * * <pre> * Safe search annotations. * </pre> * * <code> * repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6; * </code> */ public com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.Builder addSafeSearchAnnotationsBuilder() { return getSafeSearchAnnotationsFieldBuilder() .addBuilder( com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.getDefaultInstance()); } /**
/** * * * <pre> * Safe search annotations. * </pre> * * <code> * repeated .google.cloud.videointelligence.v1beta1.SafeSearchAnnotation safe_search_annotations = 6; * </code> */ public com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.Builder addSafeSearchAnnotationsBuilder(int index) { return getSafeSearchAnnotationsFieldBuilder() .addBuilder( index, com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.getDefaultInstance()); } /**
public Builder mergeFrom( com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation other) { if (other == com.google.cloud.videointelligence.v1beta1.SafeSearchAnnotation.getDefaultInstance()) return this; if (other.adult_ != 0) { setAdultValue(other.getAdultValue()); } if (other.spoof_ != 0) { setSpoofValue(other.getSpoofValue()); } if (other.medical_ != 0) { setMedicalValue(other.getMedicalValue()); } if (other.violent_ != 0) { setViolentValue(other.getViolentValue()); } if (other.racy_ != 0) { setRacyValue(other.getRacyValue()); } if (other.getTimeOffset() != 0L) { setTimeOffset(other.getTimeOffset()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }