Class ClientLibrarySettings (2.10.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)
Parameter
Name Description
other ClientLibrarySettings

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.

Property Value
Type Description
CppSettings

Descriptor

public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

DotnetSettings

public DotnetSettings DotnetSettings { get; set; }

Settings for .NET client libraries.

Property Value
Type Description
DotnetSettings

GoSettings

public GoSettings GoSettings { get; set; }

Settings for Go client libraries.

Property Value
Type Description
GoSettings

JavaSettings

public JavaSettings JavaSettings { get; set; }

Settings for legacy Java features, supported in the Service YAML.

Property Value
Type Description
JavaSettings

LaunchStage

public LaunchStage LaunchStage { get; set; }

Launch stage of this version of the API.

Property Value
Type Description
LaunchStage

NodeSettings

public NodeSettings NodeSettings { get; set; }

Settings for Node client libraries.

Property Value
Type Description
NodeSettings

Parser

public static MessageParser<ClientLibrarySettings> Parser { get; }
Property Value
Type Description
MessageParserClientLibrarySettings

PhpSettings

public PhpSettings PhpSettings { get; set; }

Settings for PHP client libraries.

Property Value
Type Description
PhpSettings

PythonSettings

public PythonSettings PythonSettings { get; set; }

Settings for Python client libraries.

Property Value
Type Description
PythonSettings

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.

Property Value
Type Description
RubySettings

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()
Returns
Type Description
ClientLibrarySettings

Equals(ClientLibrarySettings)

public bool Equals(ClientLibrarySettings other)
Parameter
Name Description
other ClientLibrarySettings
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)
Parameter
Name Description
other ClientLibrarySettings

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream

ToString()

public override string ToString()
Returns
Type Description
string
Overrides

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream