Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://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.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/client.proto
package com.alibaba.nacos.shaded.com.google.api;
/**
*
*
*
* 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.
*
*
* Protobuf type {@code google.api.Publishing}
*/
public final class Publishing extends com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:google.api.Publishing)
PublishingOrBuilder {
private static final long serialVersionUID = 0L;
// Use Publishing.newBuilder() to construct.
private Publishing(com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Publishing() {
methodSettings_ = java.util.Collections.emptyList();
newIssueUri_ = "";
documentationUri_ = "";
apiShortName_ = "";
githubLabel_ = "";
codeownerGithubTeams_ = com.alibaba.nacos.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
docTagPrefix_ = "";
organization_ = 0;
librarySettings_ = java.util.Collections.emptyList();
protoReferenceDocumentationUri_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Publishing();
}
@java.lang.Override
public final com.alibaba.nacos.shaded.com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
public static final com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.alibaba.nacos.shaded.com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
}
@java.lang.Override
protected com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.shaded.com.google.api.ClientProto.internal_static_google_api_Publishing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.shaded.com.google.api.Publishing.class, com.alibaba.nacos.shaded.com.google.api.Publishing.Builder.class);
}
public static final int METHOD_SETTINGS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private java.util.List methodSettings_;
/**
*
*
*
* A list of API method settings, e.g. the behavior for methods that use the
* long-running operation pattern.
*
* Link to product home page. Example:
* https://cloud.google.com/asset-inventory/docs/overview
*
*
* string documentation_uri = 102;
*
* @return The bytes for documentationUri.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getDocumentationUriBytes() {
java.lang.Object ref = documentationUri_;
if (ref instanceof java.lang.String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
documentationUri_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int API_SHORT_NAME_FIELD_NUMBER = 103;
@SuppressWarnings("serial")
private volatile java.lang.Object 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".
*
* Used as a tracking tag when collecting data about the APIs developer
* relations artifacts like docs, packages delivered to package managers,
* etc. Example: "speech".
*
*
* string api_short_name = 103;
*
* @return The bytes for apiShortName.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getApiShortNameBytes() {
java.lang.Object ref = apiShortName_;
if (ref instanceof java.lang.String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
apiShortName_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int GITHUB_LABEL_FIELD_NUMBER = 104;
@SuppressWarnings("serial")
private volatile java.lang.Object githubLabel_ = "";
/**
*
*
*
* GitHub label to apply to issues and pull requests opened for this API.
*
* GitHub label to apply to issues and pull requests opened for this API.
*
*
* string github_label = 104;
*
* @return The bytes for githubLabel.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getGithubLabelBytes() {
java.lang.Object ref = githubLabel_;
if (ref instanceof java.lang.String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
githubLabel_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER = 105;
@SuppressWarnings("serial")
private com.alibaba.nacos.shaded.com.google.protobuf.LazyStringList codeownerGithubTeams_;
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @return A list containing the codeownerGithubTeams.
*/
public com.alibaba.nacos.shaded.com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList() {
return codeownerGithubTeams_;
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @return The count of codeownerGithubTeams.
*/
public int getCodeownerGithubTeamsCount() {
return codeownerGithubTeams_.size();
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param index The index of the element to return.
* @return The codeownerGithubTeams at the given index.
*/
public java.lang.String getCodeownerGithubTeams(int index) {
return codeownerGithubTeams_.get(index);
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param index The index of the value to return.
* @return The bytes of the codeownerGithubTeams at the given index.
*/
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getCodeownerGithubTeamsBytes(int index) {
return codeownerGithubTeams_.getByteString(index);
}
public static final int DOC_TAG_PREFIX_FIELD_NUMBER = 106;
@SuppressWarnings("serial")
private volatile java.lang.Object docTagPrefix_ = "";
/**
*
*
*
* A prefix used in sample code when demarking regions to be included in
* documentation.
*
* A prefix used in sample code when demarking regions to be included in
* documentation.
*
*
* string doc_tag_prefix = 106;
*
* @return The bytes for docTagPrefix.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getDocTagPrefixBytes() {
java.lang.Object ref = docTagPrefix_;
if (ref instanceof java.lang.String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
docTagPrefix_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
public static final int ORGANIZATION_FIELD_NUMBER = 107;
private int organization_ = 0;
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @return The enum numeric value on the wire for organization.
*/
@java.lang.Override
public int getOrganizationValue() {
return organization_;
}
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @return The organization.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization getOrganization() {
com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization result =
com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.forNumber(organization_);
return result == null ? com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.UNRECOGNIZED : result;
}
public static final int LIBRARY_SETTINGS_FIELD_NUMBER = 109;
@SuppressWarnings("serial")
private java.util.List 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.
*
* 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.
*
* 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.
*
*
* repeated .google.api.ClientLibrarySettings library_settings = 109;
*/
@java.lang.Override
public int getLibrarySettingsCount() {
return librarySettings_.size();
}
/**
*
*
*
* 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.
*
* 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.
*
*
* repeated .google.api.ClientLibrarySettings library_settings = 109;
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.ClientLibrarySettingsOrBuilder getLibrarySettingsOrBuilder(int index) {
return librarySettings_.get(index);
}
public static final int PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER = 110;
@SuppressWarnings("serial")
private volatile java.lang.Object protoReferenceDocumentationUri_ = "";
/**
*
*
*
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
*
* Optional link to proto reference documentation. Example:
* https://cloud.google.com/pubsub/lite/docs/reference/rpc
*
*
* string proto_reference_documentation_uri = 110;
*
* @return The bytes for protoReferenceDocumentationUri.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getProtoReferenceDocumentationUriBytes() {
java.lang.Object ref = protoReferenceDocumentationUri_;
if (ref instanceof java.lang.String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
protoReferenceDocumentationUri_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.alibaba.nacos.shaded.com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < methodSettings_.size(); i++) {
output.writeMessage(2, methodSettings_.get(i));
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(newIssueUri_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 101, newIssueUri_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationUri_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 102, documentationUri_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiShortName_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 103, apiShortName_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(githubLabel_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 104, githubLabel_);
}
for (int i = 0; i < codeownerGithubTeams_.size(); i++) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(
output, 105, codeownerGithubTeams_.getRaw(i));
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 106, docTagPrefix_);
}
if (organization_
!= com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED
.getNumber()) {
output.writeEnum(107, organization_);
}
for (int i = 0; i < librarySettings_.size(); i++) {
output.writeMessage(109, librarySettings_.get(i));
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) {
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.writeString(
output, 110, protoReferenceDocumentationUri_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < methodSettings_.size(); i++) {
size += com.alibaba.nacos.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(2, methodSettings_.get(i));
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(newIssueUri_)) {
size += com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(101, newIssueUri_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(documentationUri_)) {
size += com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(102, documentationUri_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiShortName_)) {
size += com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(103, apiShortName_);
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(githubLabel_)) {
size += com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(104, githubLabel_);
}
{
int dataSize = 0;
for (int i = 0; i < codeownerGithubTeams_.size(); i++) {
dataSize += computeStringSizeNoTag(codeownerGithubTeams_.getRaw(i));
}
size += dataSize;
size += 2 * getCodeownerGithubTeamsList().size();
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(docTagPrefix_)) {
size += com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(106, docTagPrefix_);
}
if (organization_
!= com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED
.getNumber()) {
size += com.alibaba.nacos.shaded.com.google.protobuf.CodedOutputStream.computeEnumSize(107, organization_);
}
for (int i = 0; i < librarySettings_.size(); i++) {
size +=
com.alibaba.nacos.shaded.com.google.protobuf.CodedOutputStream.computeMessageSize(109, librarySettings_.get(i));
}
if (!com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.isStringEmpty(protoReferenceDocumentationUri_)) {
size +=
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(
110, protoReferenceDocumentationUri_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.alibaba.nacos.shaded.com.google.api.Publishing)) {
return super.equals(obj);
}
com.alibaba.nacos.shaded.com.google.api.Publishing other = (com.alibaba.nacos.shaded.com.google.api.Publishing) obj;
if (!getMethodSettingsList().equals(other.getMethodSettingsList())) return false;
if (!getNewIssueUri().equals(other.getNewIssueUri())) return false;
if (!getDocumentationUri().equals(other.getDocumentationUri())) return false;
if (!getApiShortName().equals(other.getApiShortName())) return false;
if (!getGithubLabel().equals(other.getGithubLabel())) return false;
if (!getCodeownerGithubTeamsList().equals(other.getCodeownerGithubTeamsList())) return false;
if (!getDocTagPrefix().equals(other.getDocTagPrefix())) return false;
if (organization_ != other.organization_) return false;
if (!getLibrarySettingsList().equals(other.getLibrarySettingsList())) return false;
if (!getProtoReferenceDocumentationUri().equals(other.getProtoReferenceDocumentationUri()))
return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getMethodSettingsCount() > 0) {
hash = (37 * hash) + METHOD_SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getMethodSettingsList().hashCode();
}
hash = (37 * hash) + NEW_ISSUE_URI_FIELD_NUMBER;
hash = (53 * hash) + getNewIssueUri().hashCode();
hash = (37 * hash) + DOCUMENTATION_URI_FIELD_NUMBER;
hash = (53 * hash) + getDocumentationUri().hashCode();
hash = (37 * hash) + API_SHORT_NAME_FIELD_NUMBER;
hash = (53 * hash) + getApiShortName().hashCode();
hash = (37 * hash) + GITHUB_LABEL_FIELD_NUMBER;
hash = (53 * hash) + getGithubLabel().hashCode();
if (getCodeownerGithubTeamsCount() > 0) {
hash = (37 * hash) + CODEOWNER_GITHUB_TEAMS_FIELD_NUMBER;
hash = (53 * hash) + getCodeownerGithubTeamsList().hashCode();
}
hash = (37 * hash) + DOC_TAG_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getDocTagPrefix().hashCode();
hash = (37 * hash) + ORGANIZATION_FIELD_NUMBER;
hash = (53 * hash) + organization_;
if (getLibrarySettingsCount() > 0) {
hash = (37 * hash) + LIBRARY_SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getLibrarySettingsList().hashCode();
}
hash = (37 * hash) + PROTO_REFERENCE_DOCUMENTATION_URI_FIELD_NUMBER;
hash = (53 * hash) + getProtoReferenceDocumentationUri().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(java.nio.ByteBuffer data)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(
java.nio.ByteBuffer data, com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(com.alibaba.nacos.shaded.com.google.protobuf.ByteString data)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(
com.alibaba.nacos.shaded.com.google.protobuf.ByteString data,
com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(byte[] data)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(
byte[] data, com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(
java.io.InputStream input, com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseDelimitedFrom(
java.io.InputStream input, com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(com.alibaba.nacos.shaded.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static com.alibaba.nacos.shaded.com.google.api.Publishing parseFrom(
com.alibaba.nacos.shaded.com.google.protobuf.CodedInputStream input,
com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.alibaba.nacos.shaded.com.google.api.Publishing prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*
*
* 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.
*
*
* Protobuf type {@code google.api.Publishing}
*/
public static final class Builder extends com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:google.api.Publishing)
com.alibaba.nacos.shaded.com.google.api.PublishingOrBuilder {
public static final com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.alibaba.nacos.shaded.com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
}
@java.lang.Override
protected com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.alibaba.nacos.shaded.com.google.api.ClientProto.internal_static_google_api_Publishing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.alibaba.nacos.shaded.com.google.api.Publishing.class, com.alibaba.nacos.shaded.com.google.api.Publishing.Builder.class);
}
// Construct using com.alibaba.nacos.shaded.com.google.api.Publishing.newBuilder()
private Builder() {}
private Builder(com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (methodSettingsBuilder_ == null) {
methodSettings_ = java.util.Collections.emptyList();
} else {
methodSettings_ = null;
methodSettingsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
newIssueUri_ = "";
documentationUri_ = "";
apiShortName_ = "";
githubLabel_ = "";
codeownerGithubTeams_ = com.alibaba.nacos.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000020);
docTagPrefix_ = "";
organization_ = 0;
if (librarySettingsBuilder_ == null) {
librarySettings_ = java.util.Collections.emptyList();
} else {
librarySettings_ = null;
librarySettingsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
protoReferenceDocumentationUri_ = "";
return this;
}
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.alibaba.nacos.shaded.com.google.api.ClientProto.internal_static_google_api_Publishing_descriptor;
}
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.Publishing getDefaultInstanceForType() {
return com.alibaba.nacos.shaded.com.google.api.Publishing.getDefaultInstance();
}
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.Publishing build() {
com.alibaba.nacos.shaded.com.google.api.Publishing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.Publishing buildPartial() {
com.alibaba.nacos.shaded.com.google.api.Publishing result = new com.alibaba.nacos.shaded.com.google.api.Publishing(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.alibaba.nacos.shaded.com.google.api.Publishing result) {
if (methodSettingsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
methodSettings_ = java.util.Collections.unmodifiableList(methodSettings_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.methodSettings_ = methodSettings_;
} else {
result.methodSettings_ = methodSettingsBuilder_.build();
}
if (((bitField0_ & 0x00000020) != 0)) {
codeownerGithubTeams_ = codeownerGithubTeams_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000020);
}
result.codeownerGithubTeams_ = codeownerGithubTeams_;
if (librarySettingsBuilder_ == null) {
if (((bitField0_ & 0x00000100) != 0)) {
librarySettings_ = java.util.Collections.unmodifiableList(librarySettings_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.librarySettings_ = librarySettings_;
} else {
result.librarySettings_ = librarySettingsBuilder_.build();
}
}
private void buildPartial0(com.alibaba.nacos.shaded.com.google.api.Publishing result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.newIssueUri_ = newIssueUri_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.documentationUri_ = documentationUri_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.apiShortName_ = apiShortName_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.githubLabel_ = githubLabel_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.docTagPrefix_ = docTagPrefix_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.organization_ = organization_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.protoReferenceDocumentationUri_ = protoReferenceDocumentationUri_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.alibaba.nacos.shaded.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.alibaba.nacos.shaded.com.google.protobuf.Message other) {
if (other instanceof com.alibaba.nacos.shaded.com.google.api.Publishing) {
return mergeFrom((com.alibaba.nacos.shaded.com.google.api.Publishing) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.alibaba.nacos.shaded.com.google.api.Publishing other) {
if (other == com.alibaba.nacos.shaded.com.google.api.Publishing.getDefaultInstance()) return this;
if (methodSettingsBuilder_ == null) {
if (!other.methodSettings_.isEmpty()) {
if (methodSettings_.isEmpty()) {
methodSettings_ = other.methodSettings_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureMethodSettingsIsMutable();
methodSettings_.addAll(other.methodSettings_);
}
onChanged();
}
} else {
if (!other.methodSettings_.isEmpty()) {
if (methodSettingsBuilder_.isEmpty()) {
methodSettingsBuilder_.dispose();
methodSettingsBuilder_ = null;
methodSettings_ = other.methodSettings_;
bitField0_ = (bitField0_ & ~0x00000001);
methodSettingsBuilder_ =
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getMethodSettingsFieldBuilder()
: null;
} else {
methodSettingsBuilder_.addAllMessages(other.methodSettings_);
}
}
}
if (!other.getNewIssueUri().isEmpty()) {
newIssueUri_ = other.newIssueUri_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDocumentationUri().isEmpty()) {
documentationUri_ = other.documentationUri_;
bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getApiShortName().isEmpty()) {
apiShortName_ = other.apiShortName_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getGithubLabel().isEmpty()) {
githubLabel_ = other.githubLabel_;
bitField0_ |= 0x00000010;
onChanged();
}
if (!other.codeownerGithubTeams_.isEmpty()) {
if (codeownerGithubTeams_.isEmpty()) {
codeownerGithubTeams_ = other.codeownerGithubTeams_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureCodeownerGithubTeamsIsMutable();
codeownerGithubTeams_.addAll(other.codeownerGithubTeams_);
}
onChanged();
}
if (!other.getDocTagPrefix().isEmpty()) {
docTagPrefix_ = other.docTagPrefix_;
bitField0_ |= 0x00000040;
onChanged();
}
if (other.organization_ != 0) {
setOrganizationValue(other.getOrganizationValue());
}
if (librarySettingsBuilder_ == null) {
if (!other.librarySettings_.isEmpty()) {
if (librarySettings_.isEmpty()) {
librarySettings_ = other.librarySettings_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureLibrarySettingsIsMutable();
librarySettings_.addAll(other.librarySettings_);
}
onChanged();
}
} else {
if (!other.librarySettings_.isEmpty()) {
if (librarySettingsBuilder_.isEmpty()) {
librarySettingsBuilder_.dispose();
librarySettingsBuilder_ = null;
librarySettings_ = other.librarySettings_;
bitField0_ = (bitField0_ & ~0x00000100);
librarySettingsBuilder_ =
com.alibaba.nacos.shaded.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getLibrarySettingsFieldBuilder()
: null;
} else {
librarySettingsBuilder_.addAllMessages(other.librarySettings_);
}
}
}
if (!other.getProtoReferenceDocumentationUri().isEmpty()) {
protoReferenceDocumentationUri_ = other.protoReferenceDocumentationUri_;
bitField0_ |= 0x00000200;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.alibaba.nacos.shaded.com.google.protobuf.CodedInputStream input,
com.alibaba.nacos.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 18:
{
com.alibaba.nacos.shaded.com.google.api.MethodSettings m =
input.readMessage(com.alibaba.nacos.shaded.com.google.api.MethodSettings.parser(), extensionRegistry);
if (methodSettingsBuilder_ == null) {
ensureMethodSettingsIsMutable();
methodSettings_.add(m);
} else {
methodSettingsBuilder_.addMessage(m);
}
break;
} // case 18
case 810:
{
newIssueUri_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 810
case 818:
{
documentationUri_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000004;
break;
} // case 818
case 826:
{
apiShortName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 826
case 834:
{
githubLabel_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 834
case 842:
{
java.lang.String s = input.readStringRequireUtf8();
ensureCodeownerGithubTeamsIsMutable();
codeownerGithubTeams_.add(s);
break;
} // case 842
case 850:
{
docTagPrefix_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 850
case 856:
{
organization_ = input.readEnum();
bitField0_ |= 0x00000080;
break;
} // case 856
case 874:
{
com.alibaba.nacos.shaded.com.google.api.ClientLibrarySettings m =
input.readMessage(
com.alibaba.nacos.shaded.com.google.api.ClientLibrarySettings.parser(), extensionRegistry);
if (librarySettingsBuilder_ == null) {
ensureLibrarySettingsIsMutable();
librarySettings_.add(m);
} else {
librarySettingsBuilder_.addMessage(m);
}
break;
} // case 874
case 882:
{
protoReferenceDocumentationUri_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 882
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.alibaba.nacos.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List methodSettings_ =
java.util.Collections.emptyList();
private void ensureMethodSettingsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
methodSettings_ = new java.util.ArrayList(methodSettings_);
bitField0_ |= 0x00000001;
}
}
private com.alibaba.nacos.shaded.com.google.protobuf.RepeatedFieldBuilderV3<
com.alibaba.nacos.shaded.com.google.api.MethodSettings,
com.alibaba.nacos.shaded.com.google.api.MethodSettings.Builder,
com.alibaba.nacos.shaded.com.google.api.MethodSettingsOrBuilder>
methodSettingsBuilder_;
/**
*
*
*
* A list of API method settings, e.g. the behavior for methods that use the
* long-running operation pattern.
*
* Link to product home page. Example:
* https://cloud.google.com/asset-inventory/docs/overview
*
*
* string documentation_uri = 102;
*
* @param value The bytes for documentationUri to set.
* @return This builder for chaining.
*/
public Builder setDocumentationUriBytes(com.alibaba.nacos.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
documentationUri_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
private java.lang.Object 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".
*
* Used as a tracking tag when collecting data about the APIs developer
* relations artifacts like docs, packages delivered to package managers,
* etc. Example: "speech".
*
*
* string api_short_name = 103;
*
* @return The bytes for apiShortName.
*/
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getApiShortNameBytes() {
java.lang.Object ref = apiShortName_;
if (ref instanceof String) {
com.alibaba.nacos.shaded.com.google.protobuf.ByteString b =
com.alibaba.nacos.shaded.com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
apiShortName_ = b;
return b;
} else {
return (com.alibaba.nacos.shaded.com.google.protobuf.ByteString) ref;
}
}
/**
*
*
*
* Used as a tracking tag when collecting data about the APIs developer
* relations artifacts like docs, packages delivered to package managers,
* etc. Example: "speech".
*
*
* string api_short_name = 103;
*
* @param value The apiShortName to set.
* @return This builder for chaining.
*/
public Builder setApiShortName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
apiShortName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
*
*
* Used as a tracking tag when collecting data about the APIs developer
* relations artifacts like docs, packages delivered to package managers,
* etc. Example: "speech".
*
* Used as a tracking tag when collecting data about the APIs developer
* relations artifacts like docs, packages delivered to package managers,
* etc. Example: "speech".
*
*
* string api_short_name = 103;
*
* @param value The bytes for apiShortName to set.
* @return This builder for chaining.
*/
public Builder setApiShortNameBytes(com.alibaba.nacos.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
apiShortName_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object githubLabel_ = "";
/**
*
*
*
* GitHub label to apply to issues and pull requests opened for this API.
*
* GitHub label to apply to issues and pull requests opened for this API.
*
*
* string github_label = 104;
*
* @param value The bytes for githubLabel to set.
* @return This builder for chaining.
*/
public Builder setGithubLabelBytes(com.alibaba.nacos.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
githubLabel_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private com.alibaba.nacos.shaded.com.google.protobuf.LazyStringList codeownerGithubTeams_ =
com.alibaba.nacos.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureCodeownerGithubTeamsIsMutable() {
if (!((bitField0_ & 0x00000020) != 0)) {
codeownerGithubTeams_ = new com.alibaba.nacos.shaded.com.google.protobuf.LazyStringArrayList(codeownerGithubTeams_);
bitField0_ |= 0x00000020;
}
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @return A list containing the codeownerGithubTeams.
*/
public com.alibaba.nacos.shaded.com.google.protobuf.ProtocolStringList getCodeownerGithubTeamsList() {
return codeownerGithubTeams_.getUnmodifiableView();
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @return The count of codeownerGithubTeams.
*/
public int getCodeownerGithubTeamsCount() {
return codeownerGithubTeams_.size();
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param index The index of the element to return.
* @return The codeownerGithubTeams at the given index.
*/
public java.lang.String getCodeownerGithubTeams(int index) {
return codeownerGithubTeams_.get(index);
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param index The index of the value to return.
* @return The bytes of the codeownerGithubTeams at the given index.
*/
public com.alibaba.nacos.shaded.com.google.protobuf.ByteString getCodeownerGithubTeamsBytes(int index) {
return codeownerGithubTeams_.getByteString(index);
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param index The index to set the value at.
* @param value The codeownerGithubTeams to set.
* @return This builder for chaining.
*/
public Builder setCodeownerGithubTeams(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCodeownerGithubTeamsIsMutable();
codeownerGithubTeams_.set(index, value);
onChanged();
return this;
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param value The codeownerGithubTeams to add.
* @return This builder for chaining.
*/
public Builder addCodeownerGithubTeams(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureCodeownerGithubTeamsIsMutable();
codeownerGithubTeams_.add(value);
onChanged();
return this;
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
*
* repeated string codeowner_github_teams = 105;
*
* @param values The codeownerGithubTeams to add.
* @return This builder for chaining.
*/
public Builder addAllCodeownerGithubTeams(java.lang.Iterable values) {
ensureCodeownerGithubTeamsIsMutable();
com.alibaba.nacos.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll(values, codeownerGithubTeams_);
onChanged();
return this;
}
/**
*
*
*
* GitHub teams to be added to CODEOWNERS in the directory in GitHub
* containing source code for the client libraries for this API.
*
* A prefix used in sample code when demarking regions to be included in
* documentation.
*
*
* string doc_tag_prefix = 106;
*
* @param value The bytes for docTagPrefix to set.
* @return This builder for chaining.
*/
public Builder setDocTagPrefixBytes(com.alibaba.nacos.shaded.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
docTagPrefix_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private int organization_ = 0;
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @return The enum numeric value on the wire for organization.
*/
@java.lang.Override
public int getOrganizationValue() {
return organization_;
}
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @param value The enum numeric value on the wire for organization to set.
* @return This builder for chaining.
*/
public Builder setOrganizationValue(int value) {
organization_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @return The organization.
*/
@java.lang.Override
public com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization getOrganization() {
com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization result =
com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.forNumber(organization_);
return result == null ? com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization.UNRECOGNIZED : result;
}
/**
*
*
*
* For whom the client library is being published.
*
*
* .google.api.ClientLibraryOrganization organization = 107;
*
* @param value The organization to set.
* @return This builder for chaining.
*/
public Builder setOrganization(com.alibaba.nacos.shaded.com.google.api.ClientLibraryOrganization value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
organization_ = value.getNumber();
onChanged();
return this;
}
/**
*
*
*
* For whom the client library is being published.
*
* 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.
*
* 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.
*
*
* repeated .google.api.ClientLibrarySettings library_settings = 109;
*/
public int getLibrarySettingsCount() {
if (librarySettingsBuilder_ == null) {
return librarySettings_.size();
} else {
return librarySettingsBuilder_.getCount();
}
}
/**
*
*
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*