Class ClientLibrarySettings.Builder (2.23.1)

public static final class ClientLibrarySettings.Builder extends GeneratedMessageV3.Builder<ClientLibrarySettings.Builder> implements ClientLibrarySettingsOrBuilder

Details about how and where to publish client libraries.

Protobuf type google.api.ClientLibrarySettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ClientLibrarySettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

build()

public ClientLibrarySettings build()
Returns
TypeDescription
ClientLibrarySettings

buildPartial()

public ClientLibrarySettings buildPartial()
Returns
TypeDescription
ClientLibrarySettings

clear()

public ClientLibrarySettings.Builder clear()
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

clearCppSettings()

public ClientLibrarySettings.Builder clearCppSettings()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearDotnetSettings()

public ClientLibrarySettings.Builder clearDotnetSettings()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearField(Descriptors.FieldDescriptor field)

public ClientLibrarySettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

clearGoSettings()

public ClientLibrarySettings.Builder clearGoSettings()

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearJavaSettings()

public ClientLibrarySettings.Builder clearJavaSettings()

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

.google.api.JavaSettings java_settings = 21;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearLaunchStage()

public ClientLibrarySettings.Builder clearLaunchStage()

Launch stage of this version of the API.

.google.api.LaunchStage launch_stage = 2;

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

clearNodeSettings()

public ClientLibrarySettings.Builder clearNodeSettings()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ClientLibrarySettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

clearPhpSettings()

public ClientLibrarySettings.Builder clearPhpSettings()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearPythonSettings()

public ClientLibrarySettings.Builder clearPythonSettings()

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearRestNumericEnums()

public ClientLibrarySettings.Builder clearRestNumericEnums()

When using transport=rest, the client request will encode enums as numbers rather than strings.

bool rest_numeric_enums = 3;

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

clearRubySettings()

public ClientLibrarySettings.Builder clearRubySettings()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
ClientLibrarySettings.Builder

clearVersion()

public ClientLibrarySettings.Builder clearVersion()

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;

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

clone()

public ClientLibrarySettings.Builder clone()
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

getCppSettings()

public CppSettings getCppSettings()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
CppSettings

The cppSettings.

getCppSettingsBuilder()

public CppSettings.Builder getCppSettingsBuilder()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
CppSettings.Builder

getCppSettingsOrBuilder()

public CppSettingsOrBuilder getCppSettingsOrBuilder()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
CppSettingsOrBuilder

getDefaultInstanceForType()

public ClientLibrarySettings getDefaultInstanceForType()
Returns
TypeDescription
ClientLibrarySettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDotnetSettings()

public DotnetSettings getDotnetSettings()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
DotnetSettings

The dotnetSettings.

getDotnetSettingsBuilder()

public DotnetSettings.Builder getDotnetSettingsBuilder()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
DotnetSettings.Builder

getDotnetSettingsOrBuilder()

public DotnetSettingsOrBuilder getDotnetSettingsOrBuilder()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
DotnetSettingsOrBuilder

getGoSettings()

public GoSettings getGoSettings()

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Returns
TypeDescription
GoSettings

The goSettings.

getGoSettingsBuilder()

public GoSettings.Builder getGoSettingsBuilder()

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Returns
TypeDescription
GoSettings.Builder

getGoSettingsOrBuilder()

public GoSettingsOrBuilder getGoSettingsOrBuilder()

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Returns
TypeDescription
GoSettingsOrBuilder

getJavaSettings()

public JavaSettings getJavaSettings()

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

.google.api.JavaSettings java_settings = 21;

Returns
TypeDescription
JavaSettings

The javaSettings.

getJavaSettingsBuilder()

public JavaSettings.Builder getJavaSettingsBuilder()

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

.google.api.JavaSettings java_settings = 21;

Returns
TypeDescription
JavaSettings.Builder

getJavaSettingsOrBuilder()

public JavaSettingsOrBuilder getJavaSettingsOrBuilder()

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

.google.api.JavaSettings java_settings = 21;

Returns
TypeDescription
JavaSettingsOrBuilder

getLaunchStage()

public LaunchStage getLaunchStage()

Launch stage of this version of the API.

.google.api.LaunchStage launch_stage = 2;

Returns
TypeDescription
LaunchStage

The launchStage.

getLaunchStageValue()

public int getLaunchStageValue()

Launch stage of this version of the API.

.google.api.LaunchStage launch_stage = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for launchStage.

getNodeSettings()

public NodeSettings getNodeSettings()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
NodeSettings

The nodeSettings.

getNodeSettingsBuilder()

public NodeSettings.Builder getNodeSettingsBuilder()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
NodeSettings.Builder

getNodeSettingsOrBuilder()

public NodeSettingsOrBuilder getNodeSettingsOrBuilder()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
NodeSettingsOrBuilder

getPhpSettings()

public PhpSettings getPhpSettings()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
PhpSettings

The phpSettings.

getPhpSettingsBuilder()

public PhpSettings.Builder getPhpSettingsBuilder()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
PhpSettings.Builder

getPhpSettingsOrBuilder()

public PhpSettingsOrBuilder getPhpSettingsOrBuilder()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
PhpSettingsOrBuilder

getPythonSettings()

public PythonSettings getPythonSettings()

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Returns
TypeDescription
PythonSettings

The pythonSettings.

getPythonSettingsBuilder()

public PythonSettings.Builder getPythonSettingsBuilder()

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Returns
TypeDescription
PythonSettings.Builder

getPythonSettingsOrBuilder()

public PythonSettingsOrBuilder getPythonSettingsOrBuilder()

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Returns
TypeDescription
PythonSettingsOrBuilder

getRestNumericEnums()

public boolean getRestNumericEnums()

When using transport=rest, the client request will encode enums as numbers rather than strings.

bool rest_numeric_enums = 3;

Returns
TypeDescription
boolean

The restNumericEnums.

getRubySettings()

public RubySettings getRubySettings()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
RubySettings

The rubySettings.

getRubySettingsBuilder()

public RubySettings.Builder getRubySettingsBuilder()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
RubySettings.Builder

getRubySettingsOrBuilder()

public RubySettingsOrBuilder getRubySettingsOrBuilder()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
RubySettingsOrBuilder

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;

Returns
TypeDescription
String

The version.

getVersionBytes()

public 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;

Returns
TypeDescription
ByteString

The bytes for version.

hasCppSettings()

public boolean hasCppSettings()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
boolean

Whether the cppSettings field is set.

hasDotnetSettings()

public boolean hasDotnetSettings()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
boolean

Whether the dotnetSettings field is set.

hasGoSettings()

public boolean hasGoSettings()

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Returns
TypeDescription
boolean

Whether the goSettings field is set.

hasJavaSettings()

public boolean hasJavaSettings()

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

.google.api.JavaSettings java_settings = 21;

Returns
TypeDescription
boolean

Whether the javaSettings field is set.

hasNodeSettings()

public boolean hasNodeSettings()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
boolean

Whether the nodeSettings field is set.

hasPhpSettings()

public boolean hasPhpSettings()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
boolean

Whether the phpSettings field is set.

hasPythonSettings()

public boolean hasPythonSettings()

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Returns
TypeDescription
boolean

Whether the pythonSettings field is set.

hasRubySettings()

public boolean hasRubySettings()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
boolean

Whether the rubySettings field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCppSettings(CppSettings value)

public ClientLibrarySettings.Builder mergeCppSettings(CppSettings value)

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Parameter
NameDescription
valueCppSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeDotnetSettings(DotnetSettings value)

public ClientLibrarySettings.Builder mergeDotnetSettings(DotnetSettings value)

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Parameter
NameDescription
valueDotnetSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeFrom(ClientLibrarySettings other)

public ClientLibrarySettings.Builder mergeFrom(ClientLibrarySettings other)
Parameter
NameDescription
otherClientLibrarySettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ClientLibrarySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ClientLibrarySettings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

mergeGoSettings(GoSettings value)

public ClientLibrarySettings.Builder mergeGoSettings(GoSettings value)

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Parameter
NameDescription
valueGoSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeJavaSettings(JavaSettings value)

public ClientLibrarySettings.Builder mergeJavaSettings(JavaSettings value)

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

.google.api.JavaSettings java_settings = 21;

Parameter
NameDescription
valueJavaSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeNodeSettings(NodeSettings value)

public ClientLibrarySettings.Builder mergeNodeSettings(NodeSettings value)

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Parameter
NameDescription
valueNodeSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergePhpSettings(PhpSettings value)

public ClientLibrarySettings.Builder mergePhpSettings(PhpSettings value)

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Parameter
NameDescription
valuePhpSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergePythonSettings(PythonSettings value)

public ClientLibrarySettings.Builder mergePythonSettings(PythonSettings value)

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Parameter
NameDescription
valuePythonSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeRubySettings(RubySettings value)

public ClientLibrarySettings.Builder mergeRubySettings(RubySettings value)

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Parameter
NameDescription
valueRubySettings
Returns
TypeDescription
ClientLibrarySettings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ClientLibrarySettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

setCppSettings(CppSettings value)

public ClientLibrarySettings.Builder setCppSettings(CppSettings value)

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Parameter
NameDescription
valueCppSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setCppSettings(CppSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setCppSettings(CppSettings.Builder builderForValue)

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Parameter
NameDescription
builderForValueCppSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setDotnetSettings(DotnetSettings value)

public ClientLibrarySettings.Builder setDotnetSettings(DotnetSettings value)

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Parameter
NameDescription
valueDotnetSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setDotnetSettings(DotnetSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setDotnetSettings(DotnetSettings.Builder builderForValue)

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Parameter
NameDescription
builderForValueDotnetSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ClientLibrarySettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

setGoSettings(GoSettings value)

public ClientLibrarySettings.Builder setGoSettings(GoSettings value)

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Parameter
NameDescription
valueGoSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setGoSettings(GoSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setGoSettings(GoSettings.Builder builderForValue)

Settings for Go client libraries.

.google.api.GoSettings go_settings = 28;

Parameter
NameDescription
builderForValueGoSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setJavaSettings(JavaSettings value)

public ClientLibrarySettings.Builder setJavaSettings(JavaSettings value)

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

.google.api.JavaSettings java_settings = 21;

Parameter
NameDescription
valueJavaSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setJavaSettings(JavaSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setJavaSettings(JavaSettings.Builder builderForValue)

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

.google.api.JavaSettings java_settings = 21;

Parameter
NameDescription
builderForValueJavaSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setLaunchStage(LaunchStage value)

public ClientLibrarySettings.Builder setLaunchStage(LaunchStage value)

Launch stage of this version of the API.

.google.api.LaunchStage launch_stage = 2;

Parameter
NameDescription
valueLaunchStage

The launchStage to set.

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

setLaunchStageValue(int value)

public ClientLibrarySettings.Builder setLaunchStageValue(int value)

Launch stage of this version of the API.

.google.api.LaunchStage launch_stage = 2;

Parameter
NameDescription
valueint

The enum numeric value on the wire for launchStage to set.

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

setNodeSettings(NodeSettings value)

public ClientLibrarySettings.Builder setNodeSettings(NodeSettings value)

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Parameter
NameDescription
valueNodeSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setNodeSettings(NodeSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setNodeSettings(NodeSettings.Builder builderForValue)

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Parameter
NameDescription
builderForValueNodeSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setPhpSettings(PhpSettings value)

public ClientLibrarySettings.Builder setPhpSettings(PhpSettings value)

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Parameter
NameDescription
valuePhpSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setPhpSettings(PhpSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setPhpSettings(PhpSettings.Builder builderForValue)

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Parameter
NameDescription
builderForValuePhpSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setPythonSettings(PythonSettings value)

public ClientLibrarySettings.Builder setPythonSettings(PythonSettings value)

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Parameter
NameDescription
valuePythonSettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setPythonSettings(PythonSettings.Builder builderForValue)

public ClientLibrarySettings.Builder setPythonSettings(PythonSettings.Builder builderForValue)

Settings for Python client libraries.

.google.api.PythonSettings python_settings = 24;

Parameter
NameDescription
builderForValuePythonSettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ClientLibrarySettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

setRestNumericEnums(boolean value)

public ClientLibrarySettings.Builder setRestNumericEnums(boolean value)

When using transport=rest, the client request will encode enums as numbers rather than strings.

bool rest_numeric_enums = 3;

Parameter
NameDescription
valueboolean

The restNumericEnums to set.

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

setRubySettings(RubySettings value)

public ClientLibrarySettings.Builder setRubySettings(RubySettings value)

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Parameter
NameDescription
valueRubySettings
Returns
TypeDescription
ClientLibrarySettings.Builder

setRubySettings(RubySettings.Builder builderForValue)

public ClientLibrarySettings.Builder setRubySettings(RubySettings.Builder builderForValue)

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Parameter
NameDescription
builderForValueRubySettings.Builder
Returns
TypeDescription
ClientLibrarySettings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ClientLibrarySettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

setVersion(String value)

public ClientLibrarySettings.Builder setVersion(String value)

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;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ClientLibrarySettings.Builder setVersionBytes(ByteString value)

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;

Parameter
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
ClientLibrarySettings.Builder

This builder for chaining.