Class ClientLibrarySettings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.api.ClientLibrarySettings
All Implemented Interfaces:
ClientLibrarySettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class ClientLibrarySettings extends com.google.protobuf.GeneratedMessageV3 implements ClientLibrarySettingsOrBuilder
 Details about how and where to publish client libraries.
 
Protobuf type google.api.ClientLibrarySettings
See Also:
  • 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

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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;
      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;
      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;
      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;
      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;
      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;
      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;
      Specified by:
      getJavaSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The javaSettings.
    • getJavaSettingsOrBuilder

      public JavaSettingsOrBuilder getJavaSettingsOrBuilder()
       Settings for legacy Java features, supported in the Service YAML.
       
      .google.api.JavaSettings java_settings = 21;
      Specified by:
      getJavaSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasCppSettings

      public boolean hasCppSettings()
       Settings for C++ client libraries.
       
      .google.api.CppSettings cpp_settings = 22;
      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;
      Specified by:
      getCppSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The cppSettings.
    • getCppSettingsOrBuilder

      public CppSettingsOrBuilder getCppSettingsOrBuilder()
       Settings for C++ client libraries.
       
      .google.api.CppSettings cpp_settings = 22;
      Specified by:
      getCppSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasPhpSettings

      public boolean hasPhpSettings()
       Settings for PHP client libraries.
       
      .google.api.PhpSettings php_settings = 23;
      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;
      Specified by:
      getPhpSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The phpSettings.
    • getPhpSettingsOrBuilder

      public PhpSettingsOrBuilder getPhpSettingsOrBuilder()
       Settings for PHP client libraries.
       
      .google.api.PhpSettings php_settings = 23;
      Specified by:
      getPhpSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasPythonSettings

      public boolean hasPythonSettings()
       Settings for Python client libraries.
       
      .google.api.PythonSettings python_settings = 24;
      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;
      Specified by:
      getPythonSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The pythonSettings.
    • getPythonSettingsOrBuilder

      public PythonSettingsOrBuilder getPythonSettingsOrBuilder()
       Settings for Python client libraries.
       
      .google.api.PythonSettings python_settings = 24;
      Specified by:
      getPythonSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasNodeSettings

      public boolean hasNodeSettings()
       Settings for Node client libraries.
       
      .google.api.NodeSettings node_settings = 25;
      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;
      Specified by:
      getNodeSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The nodeSettings.
    • getNodeSettingsOrBuilder

      public NodeSettingsOrBuilder getNodeSettingsOrBuilder()
       Settings for Node client libraries.
       
      .google.api.NodeSettings node_settings = 25;
      Specified by:
      getNodeSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasDotnetSettings

      public boolean hasDotnetSettings()
       Settings for .NET client libraries.
       
      .google.api.DotnetSettings dotnet_settings = 26;
      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;
      Specified by:
      getDotnetSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The dotnetSettings.
    • getDotnetSettingsOrBuilder

      public DotnetSettingsOrBuilder getDotnetSettingsOrBuilder()
       Settings for .NET client libraries.
       
      .google.api.DotnetSettings dotnet_settings = 26;
      Specified by:
      getDotnetSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasRubySettings

      public boolean hasRubySettings()
       Settings for Ruby client libraries.
       
      .google.api.RubySettings ruby_settings = 27;
      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;
      Specified by:
      getRubySettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The rubySettings.
    • getRubySettingsOrBuilder

      public RubySettingsOrBuilder getRubySettingsOrBuilder()
       Settings for Ruby client libraries.
       
      .google.api.RubySettings ruby_settings = 27;
      Specified by:
      getRubySettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • hasGoSettings

      public boolean hasGoSettings()
       Settings for Go client libraries.
       
      .google.api.GoSettings go_settings = 28;
      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;
      Specified by:
      getGoSettings in interface ClientLibrarySettingsOrBuilder
      Returns:
      The goSettings.
    • getGoSettingsOrBuilder

      public GoSettingsOrBuilder getGoSettingsOrBuilder()
       Settings for Go client libraries.
       
      .google.api.GoSettings go_settings = 28;
      Specified by:
      getGoSettingsOrBuilder in interface ClientLibrarySettingsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • 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
    • newBuilderForType

      public ClientLibrarySettings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ClientLibrarySettings.Builder newBuilder()
    • newBuilder

      public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings prototype)
    • toBuilder

      public ClientLibrarySettings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ClientLibrarySettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ClientLibrarySettings getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ClientLibrarySettings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ClientLibrarySettings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder