|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.aiplatform.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Experimental parameters for video generation. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Vertex AI API. For a detailed explanation see: |
| 24 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class CloudAiLargeModelsVisionGenerateVideoExperiments extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Human pose parameters for Pose Control |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private CloudAiLargeModelsVisionHumanPose humanPose; |
| 38 | + |
| 39 | + /** |
| 40 | + * Model names, as defined in: xyz |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private java.lang.String modelName; |
| 45 | + |
| 46 | + /** |
| 47 | + * Number of diffusion steps |
| 48 | + * The value may be {@code null}. |
| 49 | + */ |
| 50 | + @com.google.api.client.util.Key |
| 51 | + private java.lang.Integer numDiffusionSteps; |
| 52 | + |
| 53 | + /** |
| 54 | + * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level |
| 55 | + * prompt ignored. |
| 56 | + * The value may be {@code null}. |
| 57 | + */ |
| 58 | + @com.google.api.client.util.Key |
| 59 | + private CloudAiLargeModelsVisionPromptInputs promptInputs; |
| 60 | + |
| 61 | + /** |
| 62 | + * GCS URI of the grayscale video mask for Differential Diffusion. Maps to |
| 63 | + * sdedit_video_tmax_scale_map |
| 64 | + * The value may be {@code null}. |
| 65 | + */ |
| 66 | + @com.google.api.client.util.Key |
| 67 | + private java.lang.String videoTransformMaskGcsUri; |
| 68 | + |
| 69 | + /** |
| 70 | + * SDEdit: Scalar noise level (0.0 to 1.0) Maps to sdedit_tmax |
| 71 | + * The value may be {@code null}. |
| 72 | + */ |
| 73 | + @com.google.api.client.util.Key |
| 74 | + private java.lang.Float videoTransformStrength; |
| 75 | + |
| 76 | + /** |
| 77 | + * Human pose parameters for Pose Control |
| 78 | + * @return value or {@code null} for none |
| 79 | + */ |
| 80 | + public CloudAiLargeModelsVisionHumanPose getHumanPose() { |
| 81 | + return humanPose; |
| 82 | + } |
| 83 | + |
| 84 | + /** |
| 85 | + * Human pose parameters for Pose Control |
| 86 | + * @param humanPose humanPose or {@code null} for none |
| 87 | + */ |
| 88 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setHumanPose(CloudAiLargeModelsVisionHumanPose humanPose) { |
| 89 | + this.humanPose = humanPose; |
| 90 | + return this; |
| 91 | + } |
| 92 | + |
| 93 | + /** |
| 94 | + * Model names, as defined in: xyz |
| 95 | + * @return value or {@code null} for none |
| 96 | + */ |
| 97 | + public java.lang.String getModelName() { |
| 98 | + return modelName; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Model names, as defined in: xyz |
| 103 | + * @param modelName modelName or {@code null} for none |
| 104 | + */ |
| 105 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setModelName(java.lang.String modelName) { |
| 106 | + this.modelName = modelName; |
| 107 | + return this; |
| 108 | + } |
| 109 | + |
| 110 | + /** |
| 111 | + * Number of diffusion steps |
| 112 | + * @return value or {@code null} for none |
| 113 | + */ |
| 114 | + public java.lang.Integer getNumDiffusionSteps() { |
| 115 | + return numDiffusionSteps; |
| 116 | + } |
| 117 | + |
| 118 | + /** |
| 119 | + * Number of diffusion steps |
| 120 | + * @param numDiffusionSteps numDiffusionSteps or {@code null} for none |
| 121 | + */ |
| 122 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setNumDiffusionSteps(java.lang.Integer numDiffusionSteps) { |
| 123 | + this.numDiffusionSteps = numDiffusionSteps; |
| 124 | + return this; |
| 125 | + } |
| 126 | + |
| 127 | + /** |
| 128 | + * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level |
| 129 | + * prompt ignored. |
| 130 | + * @return value or {@code null} for none |
| 131 | + */ |
| 132 | + public CloudAiLargeModelsVisionPromptInputs getPromptInputs() { |
| 133 | + return promptInputs; |
| 134 | + } |
| 135 | + |
| 136 | + /** |
| 137 | + * Prompt chunks for "ProModel" prompting. If set, the prompt will not be rewritten, and top-level |
| 138 | + * prompt ignored. |
| 139 | + * @param promptInputs promptInputs or {@code null} for none |
| 140 | + */ |
| 141 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setPromptInputs(CloudAiLargeModelsVisionPromptInputs promptInputs) { |
| 142 | + this.promptInputs = promptInputs; |
| 143 | + return this; |
| 144 | + } |
| 145 | + |
| 146 | + /** |
| 147 | + * GCS URI of the grayscale video mask for Differential Diffusion. Maps to |
| 148 | + * sdedit_video_tmax_scale_map |
| 149 | + * @return value or {@code null} for none |
| 150 | + */ |
| 151 | + public java.lang.String getVideoTransformMaskGcsUri() { |
| 152 | + return videoTransformMaskGcsUri; |
| 153 | + } |
| 154 | + |
| 155 | + /** |
| 156 | + * GCS URI of the grayscale video mask for Differential Diffusion. Maps to |
| 157 | + * sdedit_video_tmax_scale_map |
| 158 | + * @param videoTransformMaskGcsUri videoTransformMaskGcsUri or {@code null} for none |
| 159 | + */ |
| 160 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setVideoTransformMaskGcsUri(java.lang.String videoTransformMaskGcsUri) { |
| 161 | + this.videoTransformMaskGcsUri = videoTransformMaskGcsUri; |
| 162 | + return this; |
| 163 | + } |
| 164 | + |
| 165 | + /** |
| 166 | + * SDEdit: Scalar noise level (0.0 to 1.0) Maps to sdedit_tmax |
| 167 | + * @return value or {@code null} for none |
| 168 | + */ |
| 169 | + public java.lang.Float getVideoTransformStrength() { |
| 170 | + return videoTransformStrength; |
| 171 | + } |
| 172 | + |
| 173 | + /** |
| 174 | + * SDEdit: Scalar noise level (0.0 to 1.0) Maps to sdedit_tmax |
| 175 | + * @param videoTransformStrength videoTransformStrength or {@code null} for none |
| 176 | + */ |
| 177 | + public CloudAiLargeModelsVisionGenerateVideoExperiments setVideoTransformStrength(java.lang.Float videoTransformStrength) { |
| 178 | + this.videoTransformStrength = videoTransformStrength; |
| 179 | + return this; |
| 180 | + } |
| 181 | + |
| 182 | + @Override |
| 183 | + public CloudAiLargeModelsVisionGenerateVideoExperiments set(String fieldName, Object value) { |
| 184 | + return (CloudAiLargeModelsVisionGenerateVideoExperiments) super.set(fieldName, value); |
| 185 | + } |
| 186 | + |
| 187 | + @Override |
| 188 | + public CloudAiLargeModelsVisionGenerateVideoExperiments clone() { |
| 189 | + return (CloudAiLargeModelsVisionGenerateVideoExperiments) super.clone(); |
| 190 | + } |
| 191 | + |
| 192 | +} |
0 commit comments