Class GoSettings.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<GoSettings,GoSettings.Builder>
com.google.api.GoSettings.Builder
All Implemented Interfaces:
GoSettingsOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
GoSettings

public static final class GoSettings.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<GoSettings,GoSettings.Builder> implements GoSettingsOrBuilder
 Settings for Go client libraries.
 
Protobuf type google.api.GoSettings
  • Method Details

    • hasCommon

      public boolean hasCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
      Specified by:
      hasCommon in interface GoSettingsOrBuilder
      Returns:
      Whether the common field is set.
    • getCommon

      public CommonLanguageSettings getCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
      Specified by:
      getCommon in interface GoSettingsOrBuilder
      Returns:
      The common.
    • setCommon

      public GoSettings.Builder setCommon(CommonLanguageSettings value)
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
    • setCommon

      public GoSettings.Builder setCommon(CommonLanguageSettings.Builder builderForValue)
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
    • mergeCommon

      public GoSettings.Builder mergeCommon(CommonLanguageSettings value)
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
    • clearCommon

      public GoSettings.Builder clearCommon()
       Some settings.
       
      .google.api.CommonLanguageSettings common = 1 [json_name = "common"];
    • getRenamedServicesCount

      public int getRenamedServicesCount()
      Description copied from interface: GoSettingsOrBuilder
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
      Specified by:
      getRenamedServicesCount in interface GoSettingsOrBuilder
    • containsRenamedServices

      public boolean containsRenamedServices(String key)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
      Specified by:
      containsRenamedServices in interface GoSettingsOrBuilder
    • clearRenamedServices

      public GoSettings.Builder clearRenamedServices()
    • removeRenamedServices

      public GoSettings.Builder removeRenamedServices(String key)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
    • getRenamedServices

      @Deprecated public Map<String,String> getRenamedServices()
      Deprecated.
      Specified by:
      getRenamedServices in interface GoSettingsOrBuilder
    • getRenamedServicesMap

      public Map<String,String> getRenamedServicesMap()
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
      Specified by:
      getRenamedServicesMap in interface GoSettingsOrBuilder
    • getRenamedServicesOrDefault

      public String getRenamedServicesOrDefault(String key, String defaultValue)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
      Specified by:
      getRenamedServicesOrDefault in interface GoSettingsOrBuilder
    • getRenamedServicesOrThrow

      public String getRenamedServicesOrThrow(String key)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
      Specified by:
      getRenamedServicesOrThrow in interface GoSettingsOrBuilder
    • putRenamedServices

      public GoSettings.Builder putRenamedServices(String key, String value)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];
    • putAllRenamedServices

      public GoSettings.Builder putAllRenamedServices(Map<String,String> values)
       Map of service names to renamed services. Keys are the package relative
       service names and values are the name to be used for the service client
       and call options.
      
       publishing:
       go_settings:
       renamed_services:
       Publisher: TopicAdmin
       
      map<string, string> renamed_services = 2 [json_name = "renamedServices"];