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
  • Method Details

    • getReferenceDocsUri

      @Deprecated public String getReferenceDocsUri()
      Deprecated.
      google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
       Link 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 interface CommonLanguageSettingsOrBuilder
      Returns:
      The referenceDocsUri.
    • getReferenceDocsUriBytes

      @Deprecated public com.google.protobuf.ByteString getReferenceDocsUriBytes()
      Deprecated.
      google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
       Link 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 interface CommonLanguageSettingsOrBuilder
      Returns:
      The bytes for referenceDocsUri.
    • setReferenceDocsUri

      @Deprecated public CommonLanguageSettings.Builder setReferenceDocsUri(String value)
      Deprecated.
      google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
       Link 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 public CommonLanguageSettings.Builder clearReferenceDocsUri()
      Deprecated.
      google.api.CommonLanguageSettings.reference_docs_uri is deprecated. See google/api/client.proto;l=122
       Link 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=122
       Link 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

      public List<ClientLibraryDestination> 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 interface CommonLanguageSettingsOrBuilder
      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 interface CommonLanguageSettingsOrBuilder
      Returns:
      The count of destinations.
    • getDestinations

      public ClientLibraryDestination getDestinations(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:
      getDestinations in interface CommonLanguageSettingsOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The destinations at the given index.
    • setDestinations

      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 [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

      public CommonLanguageSettings.Builder 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

      public List<Integer> 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 interface CommonLanguageSettingsOrBuilder
      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 interface CommonLanguageSettingsOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of destinations at the given index.
    • setDestinationsValue

      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 [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

      public CommonLanguageSettings.Builder addDestinationsValue(int value)
       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

      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 [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 interface CommonLanguageSettingsOrBuilder
      Returns:
      Whether the selectiveGapicGeneration field is set.
    • getSelectiveGapicGeneration

      public SelectiveGapicGeneration 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 interface CommonLanguageSettingsOrBuilder
      Returns:
      The selectiveGapicGeneration.
    • setSelectiveGapicGeneration

      public CommonLanguageSettings.Builder setSelectiveGapicGeneration(SelectiveGapicGeneration value)
       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

      public CommonLanguageSettings.Builder mergeSelectiveGapicGeneration(SelectiveGapicGeneration value)
       Configuration for which RPCs should be generated in the GAPIC client.
       
      .google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];
    • clearSelectiveGapicGeneration

      public CommonLanguageSettings.Builder clearSelectiveGapicGeneration()
       Configuration for which RPCs should be generated in the GAPIC client.
       
      .google.api.SelectiveGapicGeneration selective_gapic_generation = 3 [json_name = "selectiveGapicGeneration"];