public static final class CommonLanguageSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder> implements CommonLanguageSettingsOrBuilder
Required information for every language.Protobuf type
google.api.CommonLanguageSettings| Modifier and Type | Method and Description |
|---|---|
CommonLanguageSettings.Builder |
addAllDestinations(Iterable<? extends ClientLibraryDestination> values)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
addAllDestinationsValue(Iterable<Integer> values)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
addDestinations(ClientLibraryDestination value)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
addDestinationsValue(int value)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonLanguageSettings |
build() |
CommonLanguageSettings |
buildPartial() |
CommonLanguageSettings.Builder |
clear() |
CommonLanguageSettings.Builder |
clearDestinations()
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CommonLanguageSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CommonLanguageSettings.Builder |
clearReferenceDocsUri()
Link to automatically generated reference documentation.
|
CommonLanguageSettings.Builder |
clone() |
CommonLanguageSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ClientLibraryDestination |
getDestinations(int index)
The destination where API teams want this client library to be published.
|
int |
getDestinationsCount()
The destination where API teams want this client library to be published.
|
List<ClientLibraryDestination> |
getDestinationsList()
The destination where API teams want this client library to be published.
|
int |
getDestinationsValue(int index)
The destination where API teams want this client library to be published.
|
List<Integer> |
getDestinationsValueList()
The destination where API teams want this client library to be published.
|
String |
getReferenceDocsUri()
Link to automatically generated reference documentation.
|
com.google.protobuf.ByteString |
getReferenceDocsUriBytes()
Link to automatically generated reference documentation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CommonLanguageSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CommonLanguageSettings.Builder |
mergeFrom(CommonLanguageSettings other) |
CommonLanguageSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
CommonLanguageSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CommonLanguageSettings.Builder |
setDestinations(int index,
ClientLibraryDestination value)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
setDestinationsValue(int index,
int value)
The destination where API teams want this client library to be published.
|
CommonLanguageSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CommonLanguageSettings.Builder |
setReferenceDocsUri(String value)
Link to automatically generated reference documentation.
|
CommonLanguageSettings.Builder |
setReferenceDocsUriBytes(com.google.protobuf.ByteString value)
Link to automatically generated reference documentation.
|
CommonLanguageSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CommonLanguageSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CommonLanguageSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CommonLanguageSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CommonLanguageSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder mergeFrom(CommonLanguageSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public CommonLanguageSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CommonLanguageSettings.Builder>IOExceptionpublic String getReferenceDocsUri()
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1;getReferenceDocsUri in interface CommonLanguageSettingsOrBuilderpublic com.google.protobuf.ByteString getReferenceDocsUriBytes()
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1;getReferenceDocsUriBytes in interface CommonLanguageSettingsOrBuilderpublic CommonLanguageSettings.Builder setReferenceDocsUri(String value)
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1;value - The referenceDocsUri to set.public CommonLanguageSettings.Builder clearReferenceDocsUri()
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1;public CommonLanguageSettings.Builder setReferenceDocsUriBytes(com.google.protobuf.ByteString value)
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1;value - The bytes for referenceDocsUri to set.public List<ClientLibraryDestination> getDestinationsList()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;getDestinationsList in interface CommonLanguageSettingsOrBuilderpublic int getDestinationsCount()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;getDestinationsCount in interface CommonLanguageSettingsOrBuilderpublic ClientLibraryDestination getDestinations(int index)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;getDestinations in interface CommonLanguageSettingsOrBuilderindex - The index of the element to return.public CommonLanguageSettings.Builder setDestinations(int index, ClientLibraryDestination value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;index - The index to set the value at.value - The destinations to set.public CommonLanguageSettings.Builder addDestinations(ClientLibraryDestination value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;value - The destinations to add.public CommonLanguageSettings.Builder addAllDestinations(Iterable<? extends ClientLibraryDestination> values)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;values - The destinations to add.public CommonLanguageSettings.Builder clearDestinations()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;public List<Integer> getDestinationsValueList()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;getDestinationsValueList in interface CommonLanguageSettingsOrBuilderpublic int getDestinationsValue(int index)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;getDestinationsValue in interface CommonLanguageSettingsOrBuilderindex - The index of the value to return.public CommonLanguageSettings.Builder setDestinationsValue(int index, int value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;index - The index to set the value at.value - The enum numeric value on the wire for destinations to set.public CommonLanguageSettings.Builder addDestinationsValue(int value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;value - The enum numeric value on the wire for destinations to add.public CommonLanguageSettings.Builder addAllDestinationsValue(Iterable<Integer> values)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;values - The enum numeric values on the wire for destinations to add.public final CommonLanguageSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>public final CommonLanguageSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CommonLanguageSettings.Builder>Copyright © 2022 Google LLC. All rights reserved.