All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.servicemanagement.model.ClientLibrarySettings Maven / Gradle / Ivy

There is a newer version: v1-rev20241106-2.0.0
Show newest version
/*
 * 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.servicemanagement.model;

/**
 * Details about how and where to publish client libraries.
 *
 * 

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 ClientLibrarySettings extends com.google.api.client.json.GenericJson { /** * Settings for C++ client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private CppSettings cppSettings; /** * Settings for .NET client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private DotnetSettings dotnetSettings; /** * Settings for Go client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoSettings goSettings; /** * Settings for legacy Java features, supported in the Service YAML. * The value may be {@code null}. */ @com.google.api.client.util.Key private JavaSettings javaSettings; /** * Launch stage of this version of the API. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String launchStage; /** * Settings for Node client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private NodeSettings nodeSettings; /** * Settings for PHP client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private PhpSettings phpSettings; /** * Settings for Python client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private PythonSettings pythonSettings; /** * When using transport=rest, the client request will encode enums as numbers rather than strings. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean restNumericEnums; /** * Settings for Ruby client libraries. * The value may be {@code null}. */ @com.google.api.client.util.Key private RubySettings rubySettings; /** * Version of the API to apply these settings to. This is the full protobuf package for the API, * ending in the version element. Examples: "google.cloud.speech.v1" and * "google.spanner.admin.database.v1". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String version; /** * Settings for C++ client libraries. * @return value or {@code null} for none */ public CppSettings getCppSettings() { return cppSettings; } /** * Settings for C++ client libraries. * @param cppSettings cppSettings or {@code null} for none */ public ClientLibrarySettings setCppSettings(CppSettings cppSettings) { this.cppSettings = cppSettings; return this; } /** * Settings for .NET client libraries. * @return value or {@code null} for none */ public DotnetSettings getDotnetSettings() { return dotnetSettings; } /** * Settings for .NET client libraries. * @param dotnetSettings dotnetSettings or {@code null} for none */ public ClientLibrarySettings setDotnetSettings(DotnetSettings dotnetSettings) { this.dotnetSettings = dotnetSettings; return this; } /** * Settings for Go client libraries. * @return value or {@code null} for none */ public GoSettings getGoSettings() { return goSettings; } /** * Settings for Go client libraries. * @param goSettings goSettings or {@code null} for none */ public ClientLibrarySettings setGoSettings(GoSettings goSettings) { this.goSettings = goSettings; return this; } /** * Settings for legacy Java features, supported in the Service YAML. * @return value or {@code null} for none */ public JavaSettings getJavaSettings() { return javaSettings; } /** * Settings for legacy Java features, supported in the Service YAML. * @param javaSettings javaSettings or {@code null} for none */ public ClientLibrarySettings setJavaSettings(JavaSettings javaSettings) { this.javaSettings = javaSettings; return this; } /** * Launch stage of this version of the API. * @return value or {@code null} for none */ public java.lang.String getLaunchStage() { return launchStage; } /** * Launch stage of this version of the API. * @param launchStage launchStage or {@code null} for none */ public ClientLibrarySettings setLaunchStage(java.lang.String launchStage) { this.launchStage = launchStage; return this; } /** * Settings for Node client libraries. * @return value or {@code null} for none */ public NodeSettings getNodeSettings() { return nodeSettings; } /** * Settings for Node client libraries. * @param nodeSettings nodeSettings or {@code null} for none */ public ClientLibrarySettings setNodeSettings(NodeSettings nodeSettings) { this.nodeSettings = nodeSettings; return this; } /** * Settings for PHP client libraries. * @return value or {@code null} for none */ public PhpSettings getPhpSettings() { return phpSettings; } /** * Settings for PHP client libraries. * @param phpSettings phpSettings or {@code null} for none */ public ClientLibrarySettings setPhpSettings(PhpSettings phpSettings) { this.phpSettings = phpSettings; return this; } /** * Settings for Python client libraries. * @return value or {@code null} for none */ public PythonSettings getPythonSettings() { return pythonSettings; } /** * Settings for Python client libraries. * @param pythonSettings pythonSettings or {@code null} for none */ public ClientLibrarySettings setPythonSettings(PythonSettings pythonSettings) { this.pythonSettings = pythonSettings; return this; } /** * When using transport=rest, the client request will encode enums as numbers rather than strings. * @return value or {@code null} for none */ public java.lang.Boolean getRestNumericEnums() { return restNumericEnums; } /** * When using transport=rest, the client request will encode enums as numbers rather than strings. * @param restNumericEnums restNumericEnums or {@code null} for none */ public ClientLibrarySettings setRestNumericEnums(java.lang.Boolean restNumericEnums) { this.restNumericEnums = restNumericEnums; return this; } /** * Settings for Ruby client libraries. * @return value or {@code null} for none */ public RubySettings getRubySettings() { return rubySettings; } /** * Settings for Ruby client libraries. * @param rubySettings rubySettings or {@code null} for none */ public ClientLibrarySettings setRubySettings(RubySettings rubySettings) { this.rubySettings = rubySettings; return this; } /** * Version of the API to apply these settings to. This is the full protobuf package for the API, * ending in the version element. Examples: "google.cloud.speech.v1" and * "google.spanner.admin.database.v1". * @return value or {@code null} for none */ public java.lang.String getVersion() { return version; } /** * Version of the API to apply these settings to. This is the full protobuf package for the API, * ending in the version element. Examples: "google.cloud.speech.v1" and * "google.spanner.admin.database.v1". * @param version version or {@code null} for none */ public ClientLibrarySettings setVersion(java.lang.String version) { this.version = version; return this; } @Override public ClientLibrarySettings set(String fieldName, Object value) { return (ClientLibrarySettings) super.set(fieldName, value); } @Override public ClientLibrarySettings clone() { return (ClientLibrarySettings) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy