com.google.api.services.serviceusage.v1.model.DotnetSettings 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.serviceusage.v1.model;
/**
* Settings for Dotnet 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 Usage 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 DotnetSettings extends com.google.api.client.json.GenericJson {
/**
* Some settings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CommonLanguageSettings common;
/**
* Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
* naming collision
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List forcedNamespaceAliases;
/**
* Method signatures (in the form "service.method(signature)") which are provided separately, so
* shouldn't be generated. Snippets *calling* these methods are still generated, however.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List handwrittenSignatures;
/**
* List of full resource types to ignore during generation. This is typically used for API-
* specific Location resources, which should be handled by the generator as if they were actually
* the common Location resources. Example entry: "documentai.googleapis.com/Location"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List ignoredResources;
/**
* Map from full resource types to the effective short name for the resource. This is used when
* otherwise resource named from different services would cause naming collisions. Example entry:
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map renamedResources;
/**
* Map from original service names to renamed versions. This is used when the default generated
* types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to
* SubscriberServiceApi.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map renamedServices;
/**
* Some settings.
* @return value or {@code null} for none
*/
public CommonLanguageSettings getCommon() {
return common;
}
/**
* Some settings.
* @param common common or {@code null} for none
*/
public DotnetSettings setCommon(CommonLanguageSettings common) {
this.common = common;
return this;
}
/**
* Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
* naming collision
* @return value or {@code null} for none
*/
public java.util.List getForcedNamespaceAliases() {
return forcedNamespaceAliases;
}
/**
* Namespaces which must be aliased in snippets due to a known (but non-generator-predictable)
* naming collision
* @param forcedNamespaceAliases forcedNamespaceAliases or {@code null} for none
*/
public DotnetSettings setForcedNamespaceAliases(java.util.List forcedNamespaceAliases) {
this.forcedNamespaceAliases = forcedNamespaceAliases;
return this;
}
/**
* Method signatures (in the form "service.method(signature)") which are provided separately, so
* shouldn't be generated. Snippets *calling* these methods are still generated, however.
* @return value or {@code null} for none
*/
public java.util.List getHandwrittenSignatures() {
return handwrittenSignatures;
}
/**
* Method signatures (in the form "service.method(signature)") which are provided separately, so
* shouldn't be generated. Snippets *calling* these methods are still generated, however.
* @param handwrittenSignatures handwrittenSignatures or {@code null} for none
*/
public DotnetSettings setHandwrittenSignatures(java.util.List handwrittenSignatures) {
this.handwrittenSignatures = handwrittenSignatures;
return this;
}
/**
* List of full resource types to ignore during generation. This is typically used for API-
* specific Location resources, which should be handled by the generator as if they were actually
* the common Location resources. Example entry: "documentai.googleapis.com/Location"
* @return value or {@code null} for none
*/
public java.util.List getIgnoredResources() {
return ignoredResources;
}
/**
* List of full resource types to ignore during generation. This is typically used for API-
* specific Location resources, which should be handled by the generator as if they were actually
* the common Location resources. Example entry: "documentai.googleapis.com/Location"
* @param ignoredResources ignoredResources or {@code null} for none
*/
public DotnetSettings setIgnoredResources(java.util.List ignoredResources) {
this.ignoredResources = ignoredResources;
return this;
}
/**
* Map from full resource types to the effective short name for the resource. This is used when
* otherwise resource named from different services would cause naming collisions. Example entry:
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
* @return value or {@code null} for none
*/
public java.util.Map getRenamedResources() {
return renamedResources;
}
/**
* Map from full resource types to the effective short name for the resource. This is used when
* otherwise resource named from different services would cause naming collisions. Example entry:
* "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
* @param renamedResources renamedResources or {@code null} for none
*/
public DotnetSettings setRenamedResources(java.util.Map renamedResources) {
this.renamedResources = renamedResources;
return this;
}
/**
* Map from original service names to renamed versions. This is used when the default generated
* types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to
* SubscriberServiceApi.
* @return value or {@code null} for none
*/
public java.util.Map getRenamedServices() {
return renamedServices;
}
/**
* Map from original service names to renamed versions. This is used when the default generated
* types would cause a naming conflict. (Neither name is fully-qualified.) Example: Subscriber to
* SubscriberServiceApi.
* @param renamedServices renamedServices or {@code null} for none
*/
public DotnetSettings setRenamedServices(java.util.Map renamedServices) {
this.renamedServices = renamedServices;
return this;
}
@Override
public DotnetSettings set(String fieldName, Object value) {
return (DotnetSettings) super.set(fieldName, value);
}
@Override
public DotnetSettings clone() {
return (DotnetSettings) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy