Class ClientLibrarySettings (2.17.0)
public sealed class ClientLibrarySettings : IMessage<ClientLibrarySettings>, IEquatable<ClientLibrarySettings>, IDeepCloneable<ClientLibrarySettings>, IBufferMessage, IMessage
Details about how and where to publish client libraries.
Inheritance
object >
ClientLibrarySettings
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
ClientLibrarySettings()
public ClientLibrarySettings()
ClientLibrarySettings(ClientLibrarySettings)
public ClientLibrarySettings(ClientLibrarySettings other)
Fields
CppSettingsFieldNumber
public const int CppSettingsFieldNumber = 22
Field number for the "cpp_settings" field.
Field Value |
Type |
Description |
int |
|
DotnetSettingsFieldNumber
public const int DotnetSettingsFieldNumber = 26
Field number for the "dotnet_settings" field.
Field Value |
Type |
Description |
int |
|
GoSettingsFieldNumber
public const int GoSettingsFieldNumber = 28
Field number for the "go_settings" field.
Field Value |
Type |
Description |
int |
|
JavaSettingsFieldNumber
public const int JavaSettingsFieldNumber = 21
Field number for the "java_settings" field.
Field Value |
Type |
Description |
int |
|
LaunchStageFieldNumber
public const int LaunchStageFieldNumber = 2
Field number for the "launch_stage" field.
Field Value |
Type |
Description |
int |
|
NodeSettingsFieldNumber
public const int NodeSettingsFieldNumber = 25
Field number for the "node_settings" field.
Field Value |
Type |
Description |
int |
|
PhpSettingsFieldNumber
public const int PhpSettingsFieldNumber = 23
Field number for the "php_settings" field.
Field Value |
Type |
Description |
int |
|
PythonSettingsFieldNumber
public const int PythonSettingsFieldNumber = 24
Field number for the "python_settings" field.
Field Value |
Type |
Description |
int |
|
RestNumericEnumsFieldNumber
public const int RestNumericEnumsFieldNumber = 3
Field number for the "rest_numeric_enums" field.
Field Value |
Type |
Description |
int |
|
RubySettingsFieldNumber
public const int RubySettingsFieldNumber = 27
Field number for the "ruby_settings" field.
Field Value |
Type |
Description |
int |
|
VersionFieldNumber
public const int VersionFieldNumber = 1
Field number for the "version" field.
Field Value |
Type |
Description |
int |
|
Properties
CppSettings
public CppSettings CppSettings { get; set; }
Settings for C++ client libraries.
Descriptor
public static MessageDescriptor Descriptor { get; }
DotnetSettings
public DotnetSettings DotnetSettings { get; set; }
Settings for .NET client libraries.
GoSettings
public GoSettings GoSettings { get; set; }
Settings for Go client libraries.
JavaSettings
public JavaSettings JavaSettings { get; set; }
Settings for legacy Java features, supported in the Service YAML.
LaunchStage
public LaunchStage LaunchStage { get; set; }
Launch stage of this version of the API.
NodeSettings
public NodeSettings NodeSettings { get; set; }
Settings for Node client libraries.
Parser
public static MessageParser<ClientLibrarySettings> Parser { get; }
PhpSettings
public PhpSettings PhpSettings { get; set; }
Settings for PHP client libraries.
PythonSettings
public PythonSettings PythonSettings { get; set; }
Settings for Python client libraries.
RestNumericEnums
public bool RestNumericEnums { get; set; }
When using transport=rest, the client request will encode enums as
numbers rather than strings.
Property Value |
Type |
Description |
bool |
|
RubySettings
public RubySettings RubySettings { get; set; }
Settings for Ruby client libraries.
Version
public string Version { get; set; }
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".
Property Value |
Type |
Description |
string |
|
Methods
CalculateSize()
public int CalculateSize()
Returns |
Type |
Description |
int |
|
Clone()
public ClientLibrarySettings Clone()
Equals(ClientLibrarySettings)
public bool Equals(ClientLibrarySettings other)
Returns |
Type |
Description |
bool |
|
Equals(object)
public override bool Equals(object other)
Parameter |
Name |
Description |
other |
object
|
Returns |
Type |
Description |
bool |
|
Overrides
GetHashCode()
public override int GetHashCode()
Returns |
Type |
Description |
int |
|
Overrides
MergeFrom(ClientLibrarySettings)
public void MergeFrom(ClientLibrarySettings other)
public void MergeFrom(CodedInputStream input)
ToString()
public override string ToString()
Returns |
Type |
Description |
string |
|
Overrides
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]