Class ClientLibrarySettings

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

public final class ClientLibrarySettings extends com.google.protobuf.GeneratedMessageLite<ClientLibrarySettings,ClientLibrarySettings.Builder> implements ClientLibrarySettingsOrBuilder
 Details about how and where to publish client libraries.
 
Protobuf type google.api.ClientLibrarySettings
  • Field Details

    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • LAUNCH_STAGE_FIELD_NUMBER

      public static final int LAUNCH_STAGE_FIELD_NUMBER
      See Also:
    • REST_NUMERIC_ENUMS_FIELD_NUMBER

      public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER
      See Also:
    • JAVA_SETTINGS_FIELD_NUMBER

      public static final int JAVA_SETTINGS_FIELD_NUMBER
      See Also:
    • CPP_SETTINGS_FIELD_NUMBER

      public static final int CPP_SETTINGS_FIELD_NUMBER
      See Also:
    • PHP_SETTINGS_FIELD_NUMBER

      public static final int PHP_SETTINGS_FIELD_NUMBER
      See Also:
    • PYTHON_SETTINGS_FIELD_NUMBER

      public static final int PYTHON_SETTINGS_FIELD_NUMBER
      See Also:
    • NODE_SETTINGS_FIELD_NUMBER

      public static final int NODE_SETTINGS_FIELD_NUMBER
      See Also:
    • DOTNET_SETTINGS_FIELD_NUMBER

      public static final int DOTNET_SETTINGS_FIELD_NUMBER
      See Also:
    • RUBY_SETTINGS_FIELD_NUMBER

      public static final int RUBY_SETTINGS_FIELD_NUMBER
      See Also:
    • GO_SETTINGS_FIELD_NUMBER

      public static final int GO_SETTINGS_FIELD_NUMBER
      See Also:
  • Method Details

    • getVersion

      public String getVersion()
       Version of the API to apply these settings to. This is the full protobuf
       package for the API, ending in the version element.
       Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
       
      string version = 1 [json_name = "version"];
      Specified by:
      getVersion in interface ClientLibrarySettingsOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Version of the API to apply these settings to. This is the full protobuf
       package for the API, ending in the version element.
       Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
       
      string version = 1 [json_name = "version"];
      Specified by:
      getVersionBytes in interface ClientLibrarySettingsOrBuilder
      Returns:
      The bytes for version.
    • getLaunchStageValue

      public int getLaunchStageValue()
       Launch stage of this version of the API.
       
      .google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];
      Specified by:
      getLaunchStageValue in interface ClientLibrarySettingsOrBuilder
      Returns:
      The enum numeric value on the wire for launchStage.
    • getLaunchStage

      public LaunchStage getLaunchStage()
       Launch stage of this version of the API.
       
      .google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];
      Specified by:
      getLaunchStage in interface ClientLibrarySettingsOrBuilder
      Returns:
      The launchStage.
    • getRestNumericEnums

      public boolean getRestNumericEnums()
       When using transport=rest, the client request will encode enums as
       numbers rather than strings.
       
      bool rest_numeric_enums = 3 [json_name = "restNumericEnums"];
      Specified by:
      getRestNumericEnums in interface ClientLibrarySettingsOrBuilder
      Returns:
      The restNumericEnums.
    • hasJavaSettings

      public boolean hasJavaSettings()
       Settings for legacy Java features, supported in the Service YAML.
       
      .google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"];
      Specified by:
      hasJavaSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the javaSettings field is set.
    • getJavaSettings

      public JavaSettings getJavaSettings()
       Settings for legacy Java features, supported in the Service YAML.
       
      .google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"];
      Specified by:
      getJavaSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The javaSettings.
    • hasCppSettings

      public boolean hasCppSettings()
       Settings for C++ client libraries.
       
      .google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];
      Specified by:
      hasCppSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the cppSettings field is set.
    • getCppSettings

      public CppSettings getCppSettings()
       Settings for C++ client libraries.
       
      .google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];
      Specified by:
      getCppSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The cppSettings.
    • hasPhpSettings

      public boolean hasPhpSettings()
       Settings for PHP client libraries.
       
      .google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];
      Specified by:
      hasPhpSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the phpSettings field is set.
    • getPhpSettings

      public PhpSettings getPhpSettings()
       Settings for PHP client libraries.
       
      .google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];
      Specified by:
      getPhpSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The phpSettings.
    • hasPythonSettings

      public boolean hasPythonSettings()
       Settings for Python client libraries.
       
      .google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];
      Specified by:
      hasPythonSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the pythonSettings field is set.
    • getPythonSettings

      public PythonSettings getPythonSettings()
       Settings for Python client libraries.
       
      .google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];
      Specified by:
      getPythonSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The pythonSettings.
    • hasNodeSettings

      public boolean hasNodeSettings()
       Settings for Node client libraries.
       
      .google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];
      Specified by:
      hasNodeSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the nodeSettings field is set.
    • getNodeSettings

      public NodeSettings getNodeSettings()
       Settings for Node client libraries.
       
      .google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];
      Specified by:
      getNodeSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The nodeSettings.
    • hasDotnetSettings

      public boolean hasDotnetSettings()
       Settings for .NET client libraries.
       
      .google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];
      Specified by:
      hasDotnetSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the dotnetSettings field is set.
    • getDotnetSettings

      public DotnetSettings getDotnetSettings()
       Settings for .NET client libraries.
       
      .google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];
      Specified by:
      getDotnetSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The dotnetSettings.
    • hasRubySettings

      public boolean hasRubySettings()
       Settings for Ruby client libraries.
       
      .google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];
      Specified by:
      hasRubySettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the rubySettings field is set.
    • getRubySettings

      public RubySettings getRubySettings()
       Settings for Ruby client libraries.
       
      .google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];
      Specified by:
      getRubySettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The rubySettings.
    • hasGoSettings

      public boolean hasGoSettings()
       Settings for Go client libraries.
       
      .google.api.GoSettings go_settings = 28 [json_name = "goSettings"];
      Specified by:
      hasGoSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      Whether the goSettings field is set.
    • getGoSettings

      public GoSettings getGoSettings()
       Settings for Go client libraries.
       
      .google.api.GoSettings go_settings = 28 [json_name = "goSettings"];
      Specified by:
      getGoSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The goSettings.
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ClientLibrarySettings.Builder newBuilder()
    • newBuilder

      public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings 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<ClientLibrarySettings,ClientLibrarySettings.Builder>
    • getDefaultInstance

      public static ClientLibrarySettings getDefaultInstance()
    • parser

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