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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ClientLibrarySettings.BuilderImplements
ClientLibrarySettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ClientLibrarySettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
build()
public ClientLibrarySettings build()
Returns | |
---|---|
Type | Description |
ClientLibrarySettings |
buildPartial()
public ClientLibrarySettings buildPartial()
Returns | |
---|---|
Type | Description |
ClientLibrarySettings |
clear()
public ClientLibrarySettings.Builder clear()
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearCppSettings()
public ClientLibrarySettings.Builder clearCppSettings()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearDotnetSettings()
public ClientLibrarySettings.Builder clearDotnetSettings()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public ClientLibrarySettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearGoSettings()
public ClientLibrarySettings.Builder clearGoSettings()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearJavaSettings()
public ClientLibrarySettings.Builder clearJavaSettings()
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearLaunchStage()
public ClientLibrarySettings.Builder clearLaunchStage()
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder | This builder for chaining. |
clearNodeSettings()
public ClientLibrarySettings.Builder clearNodeSettings()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ClientLibrarySettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearPhpSettings()
public ClientLibrarySettings.Builder clearPhpSettings()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
clearPythonSettings()
public ClientLibrarySettings.Builder clearPythonSettings()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ClientLibrarySettings.Builder | This builder for chaining. |
clearRubySettings()
public ClientLibrarySettings.Builder clearRubySettings()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ClientLibrarySettings.Builder | This builder for chaining. |
clone()
public ClientLibrarySettings.Builder clone()
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
getCppSettings()
public CppSettings getCppSettings()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns | |
---|---|
Type | Description |
CppSettings | The cppSettings. |
getCppSettingsBuilder()
public CppSettings.Builder getCppSettingsBuilder()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns | |
---|---|
Type | Description |
CppSettings.Builder |
getCppSettingsOrBuilder()
public CppSettingsOrBuilder getCppSettingsOrBuilder()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns | |
---|---|
Type | Description |
CppSettingsOrBuilder |
getDefaultInstanceForType()
public ClientLibrarySettings getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ClientLibrarySettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDotnetSettings()
public DotnetSettings getDotnetSettings()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns | |
---|---|
Type | Description |
DotnetSettings | The dotnetSettings. |
getDotnetSettingsBuilder()
public DotnetSettings.Builder getDotnetSettingsBuilder()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns | |
---|---|
Type | Description |
DotnetSettings.Builder |
getDotnetSettingsOrBuilder()
public DotnetSettingsOrBuilder getDotnetSettingsOrBuilder()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns | |
---|---|
Type | Description |
DotnetSettingsOrBuilder |
getGoSettings()
public GoSettings getGoSettings()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns | |
---|---|
Type | Description |
GoSettings | The goSettings. |
getGoSettingsBuilder()
public GoSettings.Builder getGoSettingsBuilder()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns | |
---|---|
Type | Description |
GoSettings.Builder |
getGoSettingsOrBuilder()
public GoSettingsOrBuilder getGoSettingsOrBuilder()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns | |
---|---|
Type | Description |
GoSettingsOrBuilder |
getJavaSettings()
public JavaSettings getJavaSettings()
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
JavaSettings.Builder |
getJavaSettingsOrBuilder()
public JavaSettingsOrBuilder getJavaSettingsOrBuilder()
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
Returns | |
---|---|
Type | Description |
JavaSettingsOrBuilder |
getLaunchStage()
public LaunchStage getLaunchStage()
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2;
Returns | |
---|---|
Type | Description |
LaunchStage | The launchStage. |
getLaunchStageValue()
public int getLaunchStageValue()
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
NodeSettings | The nodeSettings. |
getNodeSettingsBuilder()
public NodeSettings.Builder getNodeSettingsBuilder()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Returns | |
---|---|
Type | Description |
NodeSettings.Builder |
getNodeSettingsOrBuilder()
public NodeSettingsOrBuilder getNodeSettingsOrBuilder()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Returns | |
---|---|
Type | Description |
NodeSettingsOrBuilder |
getPhpSettings()
public PhpSettings getPhpSettings()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns | |
---|---|
Type | Description |
PhpSettings | The phpSettings. |
getPhpSettingsBuilder()
public PhpSettings.Builder getPhpSettingsBuilder()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns | |
---|---|
Type | Description |
PhpSettings.Builder |
getPhpSettingsOrBuilder()
public PhpSettingsOrBuilder getPhpSettingsOrBuilder()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns | |
---|---|
Type | Description |
PhpSettingsOrBuilder |
getPythonSettings()
public PythonSettings getPythonSettings()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns | |
---|---|
Type | Description |
PythonSettings | The pythonSettings. |
getPythonSettingsBuilder()
public PythonSettings.Builder getPythonSettingsBuilder()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns | |
---|---|
Type | Description |
PythonSettings.Builder |
getPythonSettingsOrBuilder()
public PythonSettingsOrBuilder getPythonSettingsOrBuilder()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | The restNumericEnums. |
getRubySettings()
public RubySettings getRubySettings()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns | |
---|---|
Type | Description |
RubySettings | The rubySettings. |
getRubySettingsBuilder()
public RubySettings.Builder getRubySettingsBuilder()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns | |
---|---|
Type | Description |
RubySettings.Builder |
getRubySettingsOrBuilder()
public RubySettingsOrBuilder getRubySettingsOrBuilder()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for version. |
hasCppSettings()
public boolean hasCppSettings()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns | |
---|---|
Type | Description |
boolean | Whether the cppSettings field is set. |
hasDotnetSettings()
public boolean hasDotnetSettings()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns | |
---|---|
Type | Description |
boolean | Whether the dotnetSettings field is set. |
hasGoSettings()
public boolean hasGoSettings()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the javaSettings field is set. |
hasNodeSettings()
public boolean hasNodeSettings()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Returns | |
---|---|
Type | Description |
boolean | Whether the nodeSettings field is set. |
hasPhpSettings()
public boolean hasPhpSettings()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns | |
---|---|
Type | Description |
boolean | Whether the phpSettings field is set. |
hasPythonSettings()
public boolean hasPythonSettings()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns | |
---|---|
Type | Description |
boolean | Whether the pythonSettings field is set. |
hasRubySettings()
public boolean hasRubySettings()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns | |
---|---|
Type | Description |
boolean | Whether the rubySettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCppSettings(CppSettings value)
public ClientLibrarySettings.Builder mergeCppSettings(CppSettings value)
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Parameter | |
---|---|
Name | Description |
value | CppSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeDotnetSettings(DotnetSettings value)
public ClientLibrarySettings.Builder mergeDotnetSettings(DotnetSettings value)
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Parameter | |
---|---|
Name | Description |
value | DotnetSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeFrom(ClientLibrarySettings other)
public ClientLibrarySettings.Builder mergeFrom(ClientLibrarySettings other)
Parameter | |
---|---|
Name | Description |
other | ClientLibrarySettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ClientLibrarySettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ClientLibrarySettings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeGoSettings(GoSettings value)
public ClientLibrarySettings.Builder mergeGoSettings(GoSettings value)
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Parameter | |
---|---|
Name | Description |
value | GoSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | JavaSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeNodeSettings(NodeSettings value)
public ClientLibrarySettings.Builder mergeNodeSettings(NodeSettings value)
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Parameter | |
---|---|
Name | Description |
value | NodeSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergePhpSettings(PhpSettings value)
public ClientLibrarySettings.Builder mergePhpSettings(PhpSettings value)
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Parameter | |
---|---|
Name | Description |
value | PhpSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergePythonSettings(PythonSettings value)
public ClientLibrarySettings.Builder mergePythonSettings(PythonSettings value)
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Parameter | |
---|---|
Name | Description |
value | PythonSettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeRubySettings(RubySettings value)
public ClientLibrarySettings.Builder mergeRubySettings(RubySettings value)
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Parameter | |
---|---|
Name | Description |
value | RubySettings |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ClientLibrarySettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setCppSettings(CppSettings value)
public ClientLibrarySettings.Builder setCppSettings(CppSettings value)
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Parameter | |
---|---|
Name | Description |
value | CppSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | CppSettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setDotnetSettings(DotnetSettings value)
public ClientLibrarySettings.Builder setDotnetSettings(DotnetSettings value)
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Parameter | |
---|---|
Name | Description |
value | DotnetSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | DotnetSettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ClientLibrarySettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setGoSettings(GoSettings value)
public ClientLibrarySettings.Builder setGoSettings(GoSettings value)
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Parameter | |
---|---|
Name | Description |
value | GoSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | GoSettings.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | JavaSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | JavaSettings.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | LaunchStage The launchStage to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for launchStage to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | NodeSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | NodeSettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setPhpSettings(PhpSettings value)
public ClientLibrarySettings.Builder setPhpSettings(PhpSettings value)
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Parameter | |
---|---|
Name | Description |
value | PhpSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | PhpSettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setPythonSettings(PythonSettings value)
public ClientLibrarySettings.Builder setPythonSettings(PythonSettings value)
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Parameter | |
---|---|
Name | Description |
value | PythonSettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | PythonSettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ClientLibrarySettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
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 | |
---|---|
Name | Description |
value | boolean The restNumericEnums to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | RubySettings |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | RubySettings.Builder |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ClientLibrarySettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder |
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 | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
ClientLibrarySettings.Builder | This builder for chaining. |