|
| 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.securitycenter.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Contains information about the AI model associated with the finding. |
| 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 Security Command Center API. For a detailed |
| 24 | + * explanation see: |
| 25 | + * <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> |
| 26 | + * </p> |
| 27 | + * |
| 28 | + * @author Google, Inc. |
| 29 | + */ |
| 30 | +@SuppressWarnings("javadoc") |
| 31 | +public final class AiModel extends com.google.api.client.json.GenericJson { |
| 32 | + |
| 33 | + /** |
| 34 | + * The platform on which the model is deployed. |
| 35 | + * The value may be {@code null}. |
| 36 | + */ |
| 37 | + @com.google.api.client.util.Key |
| 38 | + private java.lang.String deploymentPlatform; |
| 39 | + |
| 40 | + /** |
| 41 | + * The user defined display name of model. Ex. baseline-classification-model |
| 42 | + * The value may be {@code null}. |
| 43 | + */ |
| 44 | + @com.google.api.client.util.Key |
| 45 | + private java.lang.String displayName; |
| 46 | + |
| 47 | + /** |
| 48 | + * The domain of the model, for example, “image-classification”. |
| 49 | + * The value may be {@code null}. |
| 50 | + */ |
| 51 | + @com.google.api.client.util.Key |
| 52 | + private java.lang.String domain; |
| 53 | + |
| 54 | + /** |
| 55 | + * The name of the model library, for example, “transformers”. |
| 56 | + * The value may be {@code null}. |
| 57 | + */ |
| 58 | + @com.google.api.client.util.Key |
| 59 | + private java.lang.String library; |
| 60 | + |
| 61 | + /** |
| 62 | + * The region in which the model is used, for example, “us-central1”. |
| 63 | + * The value may be {@code null}. |
| 64 | + */ |
| 65 | + @com.google.api.client.util.Key |
| 66 | + private java.lang.String location; |
| 67 | + |
| 68 | + /** |
| 69 | + * The name of the AI model, for example, "gemini:1.0.0". |
| 70 | + * The value may be {@code null}. |
| 71 | + */ |
| 72 | + @com.google.api.client.util.Key |
| 73 | + private java.lang.String name; |
| 74 | + |
| 75 | + /** |
| 76 | + * The publisher of the model, for example, “google” or “nvidia”. |
| 77 | + * The value may be {@code null}. |
| 78 | + */ |
| 79 | + @com.google.api.client.util.Key |
| 80 | + private java.lang.String publisher; |
| 81 | + |
| 82 | + /** |
| 83 | + * The platform on which the model is deployed. |
| 84 | + * @return value or {@code null} for none |
| 85 | + */ |
| 86 | + public java.lang.String getDeploymentPlatform() { |
| 87 | + return deploymentPlatform; |
| 88 | + } |
| 89 | + |
| 90 | + /** |
| 91 | + * The platform on which the model is deployed. |
| 92 | + * @param deploymentPlatform deploymentPlatform or {@code null} for none |
| 93 | + */ |
| 94 | + public AiModel setDeploymentPlatform(java.lang.String deploymentPlatform) { |
| 95 | + this.deploymentPlatform = deploymentPlatform; |
| 96 | + return this; |
| 97 | + } |
| 98 | + |
| 99 | + /** |
| 100 | + * The user defined display name of model. Ex. baseline-classification-model |
| 101 | + * @return value or {@code null} for none |
| 102 | + */ |
| 103 | + public java.lang.String getDisplayName() { |
| 104 | + return displayName; |
| 105 | + } |
| 106 | + |
| 107 | + /** |
| 108 | + * The user defined display name of model. Ex. baseline-classification-model |
| 109 | + * @param displayName displayName or {@code null} for none |
| 110 | + */ |
| 111 | + public AiModel setDisplayName(java.lang.String displayName) { |
| 112 | + this.displayName = displayName; |
| 113 | + return this; |
| 114 | + } |
| 115 | + |
| 116 | + /** |
| 117 | + * The domain of the model, for example, “image-classification”. |
| 118 | + * @return value or {@code null} for none |
| 119 | + */ |
| 120 | + public java.lang.String getDomain() { |
| 121 | + return domain; |
| 122 | + } |
| 123 | + |
| 124 | + /** |
| 125 | + * The domain of the model, for example, “image-classification”. |
| 126 | + * @param domain domain or {@code null} for none |
| 127 | + */ |
| 128 | + public AiModel setDomain(java.lang.String domain) { |
| 129 | + this.domain = domain; |
| 130 | + return this; |
| 131 | + } |
| 132 | + |
| 133 | + /** |
| 134 | + * The name of the model library, for example, “transformers”. |
| 135 | + * @return value or {@code null} for none |
| 136 | + */ |
| 137 | + public java.lang.String getLibrary() { |
| 138 | + return library; |
| 139 | + } |
| 140 | + |
| 141 | + /** |
| 142 | + * The name of the model library, for example, “transformers”. |
| 143 | + * @param library library or {@code null} for none |
| 144 | + */ |
| 145 | + public AiModel setLibrary(java.lang.String library) { |
| 146 | + this.library = library; |
| 147 | + return this; |
| 148 | + } |
| 149 | + |
| 150 | + /** |
| 151 | + * The region in which the model is used, for example, “us-central1”. |
| 152 | + * @return value or {@code null} for none |
| 153 | + */ |
| 154 | + public java.lang.String getLocation() { |
| 155 | + return location; |
| 156 | + } |
| 157 | + |
| 158 | + /** |
| 159 | + * The region in which the model is used, for example, “us-central1”. |
| 160 | + * @param location location or {@code null} for none |
| 161 | + */ |
| 162 | + public AiModel setLocation(java.lang.String location) { |
| 163 | + this.location = location; |
| 164 | + return this; |
| 165 | + } |
| 166 | + |
| 167 | + /** |
| 168 | + * The name of the AI model, for example, "gemini:1.0.0". |
| 169 | + * @return value or {@code null} for none |
| 170 | + */ |
| 171 | + public java.lang.String getName() { |
| 172 | + return name; |
| 173 | + } |
| 174 | + |
| 175 | + /** |
| 176 | + * The name of the AI model, for example, "gemini:1.0.0". |
| 177 | + * @param name name or {@code null} for none |
| 178 | + */ |
| 179 | + public AiModel setName(java.lang.String name) { |
| 180 | + this.name = name; |
| 181 | + return this; |
| 182 | + } |
| 183 | + |
| 184 | + /** |
| 185 | + * The publisher of the model, for example, “google” or “nvidia”. |
| 186 | + * @return value or {@code null} for none |
| 187 | + */ |
| 188 | + public java.lang.String getPublisher() { |
| 189 | + return publisher; |
| 190 | + } |
| 191 | + |
| 192 | + /** |
| 193 | + * The publisher of the model, for example, “google” or “nvidia”. |
| 194 | + * @param publisher publisher or {@code null} for none |
| 195 | + */ |
| 196 | + public AiModel setPublisher(java.lang.String publisher) { |
| 197 | + this.publisher = publisher; |
| 198 | + return this; |
| 199 | + } |
| 200 | + |
| 201 | + @Override |
| 202 | + public AiModel set(String fieldName, Object value) { |
| 203 | + return (AiModel) super.set(fieldName, value); |
| 204 | + } |
| 205 | + |
| 206 | + @Override |
| 207 | + public AiModel clone() { |
| 208 | + return (AiModel) super.clone(); |
| 209 | + } |
| 210 | + |
| 211 | +} |
0 commit comments