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 Service Management API. 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 GoogleApiFieldInfo extends com.google.api.client.json.GenericJson { + + /** + * The standard format of a field value. This does not explicitly configure any API consumer, just + * documents the API's format for the field it is applied to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String format; + + /** + * The type(s) that the annotated, generic field may represent. Currently, this must only be used + * on fields of type `google.protobuf.Any`. Supporting other generic types may be considered in + * the future. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is + * transmitted over HTTP when working with the Service Management API. 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 TypeReference extends com.google.api.client.json.GenericJson { + + /** + * The name of the type that the annotated, generic field may represent. If the type is in the + * same protobuf package, the value can be the simple message name e.g., `"MyMessage"`. Otherwise, + * the value must be the fully-qualified message name e.g., `"google.library.v1.Book"`. If the + * type(s) are unknown to the service (e.g. the field accepts generic user input), use the + * wildcard `"*"` to denote this behavior. See [AIP-202](https://google.aip.dev/202#type- + * references) for more details. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String typeName; + + /** + * The name of the type that the annotated, generic field may represent. If the type is in the + * same protobuf package, the value can be the simple message name e.g., `"MyMessage"`. Otherwise, + * the value must be the fully-qualified message name e.g., `"google.library.v1.Book"`. If the + * type(s) are unknown to the service (e.g. the field accepts generic user input), use the + * wildcard `"*"` to denote this behavior. See [AIP-202](https://google.aip.dev/202#type- + * references) for more details. + * @return value or {@code null} for none + */ + public java.lang.String getTypeName() { + return typeName; + } + + /** + * The name of the type that the annotated, generic field may represent. If the type is in the + * same protobuf package, the value can be the simple message name e.g., `"MyMessage"`. Otherwise, + * the value must be the fully-qualified message name e.g., `"google.library.v1.Book"`. If the + * type(s) are unknown to the service (e.g. the field accepts generic user input), use the + * wildcard `"*"` to denote this behavior. See [AIP-202](https://google.aip.dev/202#type- + * references) for more details. + * @param typeName typeName or {@code null} for none + */ + public TypeReference setTypeName(java.lang.String typeName) { + this.typeName = typeName; + return this; + } + + @Override + public TypeReference set(String fieldName, Object value) { + return (TypeReference) super.set(fieldName, value); + } + + @Override + public TypeReference clone() { + return (TypeReference) super.clone(); + } + +} diff --git a/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml b/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml index 17f9614d599..3482036fa16 100644 --- a/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml +++ b/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@