Package com.google.api
Class CommonLanguageSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<CommonLanguageSettings,CommonLanguageSettings.Builder>
com.google.api.CommonLanguageSettings.Builder
- All Implemented Interfaces:
CommonLanguageSettingsOrBuilder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
- Enclosing class:
- CommonLanguageSettings
public static final class CommonLanguageSettings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<CommonLanguageSettings,CommonLanguageSettings.Builder>
implements CommonLanguageSettingsOrBuilder
Required information for every language.Protobuf type
google.api.CommonLanguageSettings
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDestinations
(Iterable<? extends ClientLibraryDestination> values) The destination where API teams want this client library to be published.addAllDestinationsValue
(Iterable<Integer> values) The destination where API teams want this client library to be published.The destination where API teams want this client library to be published.addDestinationsValue
(int value) The destination where API teams want this client library to be published.The destination where API teams want this client library to be published.Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.Configuration for which RPCs should be generated in the GAPIC client.getDestinations
(int index) The destination where API teams want this client library to be published.int
The destination where API teams want this client library to be published.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.The destination where API teams want this client library to be published.Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.com.google.protobuf.ByteString
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.Configuration for which RPCs should be generated in the GAPIC client.boolean
Configuration for which RPCs should be generated in the GAPIC client.Configuration for which RPCs should be generated in the GAPIC client.setDestinations
(int index, ClientLibraryDestination value) The destination where API teams want this client library to be published.setDestinationsValue
(int index, int value) The destination where API teams want this client library to be published.setReferenceDocsUri
(String value) Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.setReferenceDocsUriBytes
(com.google.protobuf.ByteString value) Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated.Configuration for which RPCs should be generated in the GAPIC client.setSelectiveGapicGeneration
(SelectiveGapicGeneration.Builder builderForValue) Configuration for which RPCs should be generated in the GAPIC client.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getReferenceDocsUri
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];
- Specified by:
getReferenceDocsUri
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- The referenceDocsUri.
-
getReferenceDocsUriBytes
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];
- Specified by:
getReferenceDocsUriBytes
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- The bytes for referenceDocsUri.
-
setReferenceDocsUri
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];
- Parameters:
value
- The referenceDocsUri to set.- Returns:
- This builder for chaining.
-
clearReferenceDocsUri
Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];
- Returns:
- This builder for chaining.
-
setReferenceDocsUriBytes
@Deprecated public CommonLanguageSettings.Builder setReferenceDocsUriBytes(com.google.protobuf.ByteString value) Deprecated.google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122Link to automatically generated reference documentation. Example: https://cloud.google.com/nodejs/docs/reference/asset/latest
string reference_docs_uri = 1 [json_name = "referenceDocsUri", deprecated = true];
- Parameters:
value
- The bytes for referenceDocsUri to set.- Returns:
- This builder for chaining.
-
getDestinationsList
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Specified by:
getDestinationsList
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- A list containing the destinations.
-
getDestinationsCount
public int getDestinationsCount()The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Specified by:
getDestinationsCount
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- The count of destinations.
-
getDestinations
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Specified by:
getDestinations
in interfaceCommonLanguageSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The destinations at the given index.
-
setDestinations
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Parameters:
index
- The index to set the value at.value
- The destinations to set.- Returns:
- This builder for chaining.
-
addDestinations
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Parameters:
value
- The destinations to add.- Returns:
- This builder for chaining.
-
addAllDestinations
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 [json_name = "destinations"];
- Parameters:
values
- The destinations to add.- Returns:
- This builder for chaining.
-
clearDestinations
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Returns:
- This builder for chaining.
-
getDestinationsValueList
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Specified by:
getDestinationsValueList
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for destinations.
-
getDestinationsValue
public int getDestinationsValue(int index) The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Specified by:
getDestinationsValue
in interfaceCommonLanguageSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of destinations at the given index.
-
setDestinationsValue
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for destinations to set.- Returns:
- This builder for chaining.
-
addDestinationsValue
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Parameters:
value
- The enum numeric value on the wire for destinations to add.- Returns:
- This builder for chaining.
-
addAllDestinationsValue
The destination where API teams want this client library to be published.
repeated .google.api.ClientLibraryDestination destinations = 2 [json_name = "destinations"];
- Parameters:
values
- The enum numeric values on the wire for destinations to add.- Returns:
- This builder for chaining.
-
hasSelectiveGapicGeneration
public boolean hasSelectiveGapicGeneration()Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
- Specified by:
hasSelectiveGapicGeneration
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- Whether the selectiveGapicGeneration field is set.
-
getSelectiveGapicGeneration
Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
- Specified by:
getSelectiveGapicGeneration
in interfaceCommonLanguageSettingsOrBuilder
- Returns:
- The selectiveGapicGeneration.
-
setSelectiveGapicGeneration
Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
-
setSelectiveGapicGeneration
public CommonLanguageSettings.Builder setSelectiveGapicGeneration(SelectiveGapicGeneration.Builder builderForValue) Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
-
mergeSelectiveGapicGeneration
Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
-
clearSelectiveGapicGeneration
Configuration for which RPCs should be generated in the GAPIC client.
.google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
-