Send feedback
Class ClientLibrarySettings (2.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
Returns
Type
Description
int
The number of bytes required to write this message
to a coded output stream.
Clone()
public ClientLibrarySettings Clone()
Creates a deep clone of this object.
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)
Merges the given message into this one.
Remarks
public void MergeFrom(CodedInputStream input)
Merges the data from the specified coded input stream with the current message.
Remarks
ToString()
public override string ToString()
Returns
Type
Description
string
Overrides
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Writes the data to the given coded output stream.
Parameter
Name
Description
output
CodedOutputStream
Coded output stream to write the data to. Must not be null.
Send feedback
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-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]