Class GoSettings

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

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Settings for Go client libraries.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite

    com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageLite

    unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Map of service names to renamed services.
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    Some settings.
    static GoSettings
     
    Deprecated.
    int
    Map of service names to renamed services.
    Map of service names to renamed services.
    Map of service names to renamed services.
    Map of service names to renamed services.
    boolean
    Some settings.
     
     
    static GoSettings
     
    static GoSettings
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static GoSettings
    parseFrom(byte[] data)
     
    static GoSettings
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static GoSettings
    parseFrom(com.google.protobuf.ByteString data)
     
    static GoSettings
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static GoSettings
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static GoSettings
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static GoSettings
     
    static GoSettings
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static GoSettings
     
    static GoSettings
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<GoSettings>
     

    Methods inherited from class com.google.protobuf.GeneratedMessageLite

    createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Field Details

    • COMMON_FIELD_NUMBER

      public static final int COMMON_FIELD_NUMBER
      See Also:
    • RENAMED_SERVICES_FIELD_NUMBER

      public static final int RENAMED_SERVICES_FIELD_NUMBER
      See Also:
  • 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.
    • 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
    • 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
    • parseFrom

      public static GoSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GoSettings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GoSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GoSettings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GoSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GoSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GoSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static GoSettings.Builder newBuilder()
    • newBuilder

      public static GoSettings.Builder newBuilder(GoSettings prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<GoSettings,GoSettings.Builder>
    • getDefaultInstance

      public static GoSettings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GoSettings> parser()