com.google.api.services.serviceusage.v1.model.Publishing 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;
/**
* This message configures the settings for publishing [Google Cloud Client
* libraries](https://cloud.google.com/apis/docs/cloud-client-libraries) generated from the service
* config.
*
* 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 Publishing extends com.google.api.client.json.GenericJson {
/**
* Used as a tracking tag when collecting data about the APIs developer relations artifacts like
* docs, packages delivered to package managers, etc. Example: "speech".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String apiShortName;
/**
* GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for
* the client libraries for this API.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List codeownerGithubTeams;
/**
* A prefix used in sample code when demarking regions to be included in documentation.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String docTagPrefix;
/**
* Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String documentationUri;
/**
* GitHub label to apply to issues and pull requests opened for this API.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String githubLabel;
/**
* Client library settings. If the same version string appears multiple times in this list, then
* the last one wins. Settings from earlier settings with the same version string are discarded.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List librarySettings;
static {
// hack to force ProGuard to consider ClientLibrarySettings used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(ClientLibrarySettings.class);
}
/**
* A list of API method settings, e.g. the behavior for methods that use the long-running
* operation pattern.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List methodSettings;
static {
// hack to force ProGuard to consider MethodSettings used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(MethodSettings.class);
}
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String newIssueUri;
/**
* For whom the client library is being published.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String organization;
/**
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String protoReferenceDocumentationUri;
/**
* Optional link to REST reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rest
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String restReferenceDocumentationUri;
/**
* Used as a tracking tag when collecting data about the APIs developer relations artifacts like
* docs, packages delivered to package managers, etc. Example: "speech".
* @return value or {@code null} for none
*/
public java.lang.String getApiShortName() {
return apiShortName;
}
/**
* Used as a tracking tag when collecting data about the APIs developer relations artifacts like
* docs, packages delivered to package managers, etc. Example: "speech".
* @param apiShortName apiShortName or {@code null} for none
*/
public Publishing setApiShortName(java.lang.String apiShortName) {
this.apiShortName = apiShortName;
return this;
}
/**
* GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for
* the client libraries for this API.
* @return value or {@code null} for none
*/
public java.util.List getCodeownerGithubTeams() {
return codeownerGithubTeams;
}
/**
* GitHub teams to be added to CODEOWNERS in the directory in GitHub containing source code for
* the client libraries for this API.
* @param codeownerGithubTeams codeownerGithubTeams or {@code null} for none
*/
public Publishing setCodeownerGithubTeams(java.util.List codeownerGithubTeams) {
this.codeownerGithubTeams = codeownerGithubTeams;
return this;
}
/**
* A prefix used in sample code when demarking regions to be included in documentation.
* @return value or {@code null} for none
*/
public java.lang.String getDocTagPrefix() {
return docTagPrefix;
}
/**
* A prefix used in sample code when demarking regions to be included in documentation.
* @param docTagPrefix docTagPrefix or {@code null} for none
*/
public Publishing setDocTagPrefix(java.lang.String docTagPrefix) {
this.docTagPrefix = docTagPrefix;
return this;
}
/**
* Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
* @return value or {@code null} for none
*/
public java.lang.String getDocumentationUri() {
return documentationUri;
}
/**
* Link to product home page. Example: https://cloud.google.com/asset-inventory/docs/overview
* @param documentationUri documentationUri or {@code null} for none
*/
public Publishing setDocumentationUri(java.lang.String documentationUri) {
this.documentationUri = documentationUri;
return this;
}
/**
* GitHub label to apply to issues and pull requests opened for this API.
* @return value or {@code null} for none
*/
public java.lang.String getGithubLabel() {
return githubLabel;
}
/**
* GitHub label to apply to issues and pull requests opened for this API.
* @param githubLabel githubLabel or {@code null} for none
*/
public Publishing setGithubLabel(java.lang.String githubLabel) {
this.githubLabel = githubLabel;
return this;
}
/**
* Client library settings. If the same version string appears multiple times in this list, then
* the last one wins. Settings from earlier settings with the same version string are discarded.
* @return value or {@code null} for none
*/
public java.util.List getLibrarySettings() {
return librarySettings;
}
/**
* Client library settings. If the same version string appears multiple times in this list, then
* the last one wins. Settings from earlier settings with the same version string are discarded.
* @param librarySettings librarySettings or {@code null} for none
*/
public Publishing setLibrarySettings(java.util.List librarySettings) {
this.librarySettings = librarySettings;
return this;
}
/**
* A list of API method settings, e.g. the behavior for methods that use the long-running
* operation pattern.
* @return value or {@code null} for none
*/
public java.util.List getMethodSettings() {
return methodSettings;
}
/**
* A list of API method settings, e.g. the behavior for methods that use the long-running
* operation pattern.
* @param methodSettings methodSettings or {@code null} for none
*/
public Publishing setMethodSettings(java.util.List methodSettings) {
this.methodSettings = methodSettings;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getNewIssueUri() {
return newIssueUri;
}
/**
* @param newIssueUri newIssueUri or {@code null} for none
*/
public Publishing setNewIssueUri(java.lang.String newIssueUri) {
this.newIssueUri = newIssueUri;
return this;
}
/**
* For whom the client library is being published.
* @return value or {@code null} for none
*/
public java.lang.String getOrganization() {
return organization;
}
/**
* For whom the client library is being published.
* @param organization organization or {@code null} for none
*/
public Publishing setOrganization(java.lang.String organization) {
this.organization = organization;
return this;
}
/**
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
* @return value or {@code null} for none
*/
public java.lang.String getProtoReferenceDocumentationUri() {
return protoReferenceDocumentationUri;
}
/**
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
* @param protoReferenceDocumentationUri protoReferenceDocumentationUri or {@code null} for none
*/
public Publishing setProtoReferenceDocumentationUri(java.lang.String protoReferenceDocumentationUri) {
this.protoReferenceDocumentationUri = protoReferenceDocumentationUri;
return this;
}
/**
* Optional link to REST reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rest
* @return value or {@code null} for none
*/
public java.lang.String getRestReferenceDocumentationUri() {
return restReferenceDocumentationUri;
}
/**
* Optional link to REST reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rest
* @param restReferenceDocumentationUri restReferenceDocumentationUri or {@code null} for none
*/
public Publishing setRestReferenceDocumentationUri(java.lang.String restReferenceDocumentationUri) {
this.restReferenceDocumentationUri = restReferenceDocumentationUri;
return this;
}
@Override
public Publishing set(String fieldName, Object value) {
return (Publishing) super.set(fieldName, value);
}
@Override
public Publishing clone() {
return (Publishing) super.clone();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy