@java.lang.Override public com.google.cloud.videointelligence.v1beta1.VideoContext getDefaultInstanceForType() { return com.google.cloud.videointelligence.v1beta1.VideoContext.getDefaultInstance(); }
/** * * * <pre> * Additional video context and/or feature-specific parameters. * </pre> * * <code>.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;</code> */ public com.google.cloud.videointelligence.v1beta1.VideoContext getVideoContext() { return videoContext_ == null ? com.google.cloud.videointelligence.v1beta1.VideoContext.getDefaultInstance() : videoContext_; } /**
/** * * * <pre> * Additional video context and/or feature-specific parameters. * </pre> * * <code>.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;</code> */ public com.google.cloud.videointelligence.v1beta1.VideoContextOrBuilder getVideoContextOrBuilder() { if (videoContextBuilder_ != null) { return videoContextBuilder_.getMessageOrBuilder(); } else { return videoContext_ == null ? com.google.cloud.videointelligence.v1beta1.VideoContext.getDefaultInstance() : videoContext_; } } /**
/** * * * <pre> * Additional video context and/or feature-specific parameters. * </pre> * * <code>.google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;</code> */ public com.google.cloud.videointelligence.v1beta1.VideoContext getVideoContext() { if (videoContextBuilder_ == null) { return videoContext_ == null ? com.google.cloud.videointelligence.v1beta1.VideoContext.getDefaultInstance() : videoContext_; } else { return videoContextBuilder_.getMessage(); } } /**
/** * * * <pre> * Model to use for face detection. * Supported values: "latest" and "stable" (the default). * </pre> * * <code>string face_detection_model = 5;</code> */ public Builder clearFaceDetectionModel() { faceDetectionModel_ = getDefaultInstance().getFaceDetectionModel(); onChanged(); return this; } /**
/** * * * <pre> * Model to use for safe search detection. * Supported values: "latest" and "stable" (the default). * </pre> * * <code>string safe_search_detection_model = 7;</code> */ public Builder clearSafeSearchDetectionModel() { safeSearchDetectionModel_ = getDefaultInstance().getSafeSearchDetectionModel(); onChanged(); return this; } /**
/** * * * <pre> * Model to use for label detection. * Supported values: "latest" and "stable" (the default). * </pre> * * <code>string label_detection_model = 4;</code> */ public Builder clearLabelDetectionModel() { labelDetectionModel_ = getDefaultInstance().getLabelDetectionModel(); onChanged(); return this; } /**
/** * * * <pre> * Model to use for shot change detection. * Supported values: "latest" and "stable" (the default). * </pre> * * <code>string shot_change_detection_model = 6;</code> */ public Builder clearShotChangeDetectionModel() { shotChangeDetectionModel_ = getDefaultInstance().getShotChangeDetectionModel(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.cloud.videointelligence.v1beta1.VideoContext other) { if (other == com.google.cloud.videointelligence.v1beta1.VideoContext.getDefaultInstance()) return this; if (segmentsBuilder_ == null) {