public static final class CommonLanguageSettings.Builder extends GeneratedMessageV3.Builder<CommonLanguageSettings.Builder> implements CommonLanguageSettingsOrBuilder
Required information for every language.
Protobuf type google.api.CommonLanguageSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommonLanguageSettings.BuilderImplements
CommonLanguageSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllDestinations(Iterable<? extends ClientLibraryDestination> values)
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;
Name | Description |
values | Iterable<? extends com.google.api.ClientLibraryDestination> The destinations to add. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
addAllDestinationsValue(Iterable<Integer> values)
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;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for destinations to add. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
addDestinations(ClientLibraryDestination value)
public CommonLanguageSettings.Builder addDestinations(ClientLibraryDestination value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Name | Description |
value | ClientLibraryDestination The destinations to add. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
addDestinationsValue(int value)
public CommonLanguageSettings.Builder addDestinationsValue(int value)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Name | Description |
value | int The enum numeric value on the wire for destinations to add. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonLanguageSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonLanguageSettings.Builder |
build()
public CommonLanguageSettings build()
Type | Description |
CommonLanguageSettings |
buildPartial()
public CommonLanguageSettings buildPartial()
Type | Description |
CommonLanguageSettings |
clear()
public CommonLanguageSettings.Builder clear()
Type | Description |
CommonLanguageSettings.Builder |
clearDestinations()
public CommonLanguageSettings.Builder clearDestinations()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CommonLanguageSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CommonLanguageSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonLanguageSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CommonLanguageSettings.Builder |
clearReferenceDocsUri() (deprecated)
public CommonLanguageSettings.Builder clearReferenceDocsUri()
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
clone()
public CommonLanguageSettings.Builder clone()
Type | Description |
CommonLanguageSettings.Builder |
getDefaultInstanceForType()
public CommonLanguageSettings getDefaultInstanceForType()
Type | Description |
CommonLanguageSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDestinations(int index)
public ClientLibraryDestination getDestinations(int index)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
ClientLibraryDestination | The destinations at the given index. |
getDestinationsCount()
public int getDestinationsCount()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Type | Description |
int | The count of destinations. |
getDestinationsList()
public List<ClientLibraryDestination> getDestinationsList()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Type | Description |
List<ClientLibraryDestination> | A list containing the destinations. |
getDestinationsValue(int index)
public int getDestinationsValue(int index)
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of destinations at the given index. |
getDestinationsValueList()
public List<Integer> getDestinationsValueList()
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for destinations. |
getReferenceDocsUri() (deprecated)
public String getReferenceDocsUri()
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Type | Description |
String | The referenceDocsUri. |
getReferenceDocsUriBytes() (deprecated)
public ByteString getReferenceDocsUriBytes()
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Type | Description |
ByteString | The bytes for referenceDocsUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CommonLanguageSettings other)
public CommonLanguageSettings.Builder mergeFrom(CommonLanguageSettings other)
Name | Description |
other | CommonLanguageSettings |
Type | Description |
CommonLanguageSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommonLanguageSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CommonLanguageSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CommonLanguageSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CommonLanguageSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonLanguageSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonLanguageSettings.Builder |
setDestinations(int index, ClientLibraryDestination value)
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;
Name | Description |
index | int The index to set the value at. |
value | ClientLibraryDestination The destinations to set. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
setDestinationsValue(int index, int value)
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;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for destinations to set. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CommonLanguageSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CommonLanguageSettings.Builder |
setReferenceDocsUri(String value) (deprecated)
public CommonLanguageSettings.Builder setReferenceDocsUri(String value)
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Name | Description |
value | String The referenceDocsUri to set. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
setReferenceDocsUriBytes(ByteString value) (deprecated)
public CommonLanguageSettings.Builder setReferenceDocsUriBytes(ByteString value)
Deprecated. google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=106
Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [deprecated = true];
Name | Description |
value | ByteString The bytes for referenceDocsUri to set. |
Type | Description |
CommonLanguageSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonLanguageSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CommonLanguageSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonLanguageSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CommonLanguageSettings.Builder |