com.google.api.services.youtube.model.VideoSuggestions Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.youtube.model;
/**
* Specifies suggestions on how to improve video content, including encoding hints, tag suggestions,
* and editor suggestions.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class VideoSuggestions extends com.google.api.client.json.GenericJson {
/**
* A list of video editing operations that might improve the video quality or playback experience
* of the uploaded video.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List editorSuggestions;
/**
* A list of errors that will prevent YouTube from successfully processing the uploaded video
* video. These errors indicate that, regardless of the video's current processing status,
* eventually, that status will almost certainly be failed.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List processingErrors;
/**
* A list of suggestions that may improve YouTube's ability to process the video.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List processingHints;
/**
* A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might
* result in an erroneous transcoding. These warnings are generated before YouTube actually
* processes the uploaded video file. In addition, they identify issues that are unlikely to cause
* the video processing to fail but that might cause problems such as sync issues, video
* artifacts, or a missing audio track.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List processingWarnings;
/**
* A list of keyword tags that could be added to the video's metadata to increase the likelihood
* that users will locate your video when searching or browsing on YouTube.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List tagSuggestions;
/**
* A list of video editing operations that might improve the video quality or playback experience
* of the uploaded video.
* @return value or {@code null} for none
*/
public java.util.List getEditorSuggestions() {
return editorSuggestions;
}
/**
* A list of video editing operations that might improve the video quality or playback experience
* of the uploaded video.
* @param editorSuggestions editorSuggestions or {@code null} for none
*/
public VideoSuggestions setEditorSuggestions(java.util.List editorSuggestions) {
this.editorSuggestions = editorSuggestions;
return this;
}
/**
* A list of errors that will prevent YouTube from successfully processing the uploaded video
* video. These errors indicate that, regardless of the video's current processing status,
* eventually, that status will almost certainly be failed.
* @return value or {@code null} for none
*/
public java.util.List getProcessingErrors() {
return processingErrors;
}
/**
* A list of errors that will prevent YouTube from successfully processing the uploaded video
* video. These errors indicate that, regardless of the video's current processing status,
* eventually, that status will almost certainly be failed.
* @param processingErrors processingErrors or {@code null} for none
*/
public VideoSuggestions setProcessingErrors(java.util.List processingErrors) {
this.processingErrors = processingErrors;
return this;
}
/**
* A list of suggestions that may improve YouTube's ability to process the video.
* @return value or {@code null} for none
*/
public java.util.List getProcessingHints() {
return processingHints;
}
/**
* A list of suggestions that may improve YouTube's ability to process the video.
* @param processingHints processingHints or {@code null} for none
*/
public VideoSuggestions setProcessingHints(java.util.List processingHints) {
this.processingHints = processingHints;
return this;
}
/**
* A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might
* result in an erroneous transcoding. These warnings are generated before YouTube actually
* processes the uploaded video file. In addition, they identify issues that are unlikely to cause
* the video processing to fail but that might cause problems such as sync issues, video
* artifacts, or a missing audio track.
* @return value or {@code null} for none
*/
public java.util.List getProcessingWarnings() {
return processingWarnings;
}
/**
* A list of reasons why YouTube may have difficulty transcoding the uploaded video or that might
* result in an erroneous transcoding. These warnings are generated before YouTube actually
* processes the uploaded video file. In addition, they identify issues that are unlikely to cause
* the video processing to fail but that might cause problems such as sync issues, video
* artifacts, or a missing audio track.
* @param processingWarnings processingWarnings or {@code null} for none
*/
public VideoSuggestions setProcessingWarnings(java.util.List processingWarnings) {
this.processingWarnings = processingWarnings;
return this;
}
/**
* A list of keyword tags that could be added to the video's metadata to increase the likelihood
* that users will locate your video when searching or browsing on YouTube.
* @return value or {@code null} for none
*/
public java.util.List getTagSuggestions() {
return tagSuggestions;
}
/**
* A list of keyword tags that could be added to the video's metadata to increase the likelihood
* that users will locate your video when searching or browsing on YouTube.
* @param tagSuggestions tagSuggestions or {@code null} for none
*/
public VideoSuggestions setTagSuggestions(java.util.List tagSuggestions) {
this.tagSuggestions = tagSuggestions;
return this;
}
@Override
public VideoSuggestions set(String fieldName, Object value) {
return (VideoSuggestions) super.set(fieldName, value);
}
@Override
public VideoSuggestions clone() {
return (VideoSuggestions) super.clone();
}
}