Package com.google.api
Class ClientLibrarySettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<ClientLibrarySettings,ClientLibrarySettings.Builder>
com.google.api.ClientLibrarySettings.Builder
- All Implemented Interfaces:
ClientLibrarySettingsOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- ClientLibrarySettings
public static final class ClientLibrarySettings.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<ClientLibrarySettings,ClientLibrarySettings.Builder>
implements ClientLibrarySettingsOrBuilder
Details about how and where to publish client libraries.Protobuf type
google.api.ClientLibrarySettings-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionSettings for C++ client libraries.Settings for .NET client libraries.Settings for Go client libraries.Settings for legacy Java features, supported in the Service YAML.Launch stage of this version of the API.Settings for Node client libraries.Settings for PHP client libraries.Settings for Python client libraries.When using transport=rest, the client request will encode enums as numbers rather than strings.Settings for Ruby client libraries.Version of the API to apply these settings to.Settings for C++ client libraries.Settings for .NET client libraries.Settings for Go client libraries.Settings for legacy Java features, supported in the Service YAML.Launch stage of this version of the API.intLaunch stage of this version of the API.Settings for Node client libraries.Settings for PHP client libraries.Settings for Python client libraries.booleanWhen using transport=rest, the client request will encode enums as numbers rather than strings.Settings for Ruby client libraries.Version of the API to apply these settings to.com.google.protobuf.ByteStringVersion of the API to apply these settings to.booleanSettings for C++ client libraries.booleanSettings for .NET client libraries.booleanSettings for Go client libraries.booleanSettings for legacy Java features, supported in the Service YAML.booleanSettings for Node client libraries.booleanSettings for PHP client libraries.booleanSettings for Python client libraries.booleanSettings for Ruby client libraries.mergeCppSettings(CppSettings value) Settings for C++ client libraries.Settings for .NET client libraries.mergeGoSettings(GoSettings value) Settings for Go client libraries.mergeJavaSettings(JavaSettings value) Settings for legacy Java features, supported in the Service YAML.mergeNodeSettings(NodeSettings value) Settings for Node client libraries.mergePhpSettings(PhpSettings value) Settings for PHP client libraries.Settings for Python client libraries.mergeRubySettings(RubySettings value) Settings for Ruby client libraries.setCppSettings(CppSettings value) Settings for C++ client libraries.setCppSettings(CppSettings.Builder builderForValue) Settings for C++ client libraries.setDotnetSettings(DotnetSettings value) Settings for .NET client libraries.setDotnetSettings(DotnetSettings.Builder builderForValue) Settings for .NET client libraries.setGoSettings(GoSettings value) Settings for Go client libraries.setGoSettings(GoSettings.Builder builderForValue) Settings for Go client libraries.setJavaSettings(JavaSettings value) Settings for legacy Java features, supported in the Service YAML.setJavaSettings(JavaSettings.Builder builderForValue) Settings for legacy Java features, supported in the Service YAML.setLaunchStage(LaunchStage value) Launch stage of this version of the API.setLaunchStageValue(int value) Launch stage of this version of the API.setNodeSettings(NodeSettings value) Settings for Node client libraries.setNodeSettings(NodeSettings.Builder builderForValue) Settings for Node client libraries.setPhpSettings(PhpSettings value) Settings for PHP client libraries.setPhpSettings(PhpSettings.Builder builderForValue) Settings for PHP client libraries.setPythonSettings(PythonSettings value) Settings for Python client libraries.setPythonSettings(PythonSettings.Builder builderForValue) Settings for Python client libraries.setRestNumericEnums(boolean value) When using transport=rest, the client request will encode enums as numbers rather than strings.setRubySettings(RubySettings value) Settings for Ruby client libraries.setRubySettings(RubySettings.Builder builderForValue) Settings for Ruby client libraries.setVersion(String value) Version of the API to apply these settings to.setVersionBytes(com.google.protobuf.ByteString value) Version of the API to apply these settings to.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
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 [json_name = "version"];- Specified by:
getVersionin interfaceClientLibrarySettingsOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.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 [json_name = "version"];- Specified by:
getVersionBytesin interfaceClientLibrarySettingsOrBuilder- Returns:
- The bytes for version.
-
setVersion
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 [json_name = "version"];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
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 [json_name = "version"];- Returns:
- This builder for chaining.
-
setVersionBytes
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 [json_name = "version"];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getLaunchStageValue
public int getLaunchStageValue()Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];- Specified by:
getLaunchStageValuein interfaceClientLibrarySettingsOrBuilder- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];- Parameters:
value- The launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];- Specified by:
getLaunchStagein interfaceClientLibrarySettingsOrBuilder- Returns:
- The launchStage.
-
setLaunchStage
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];- Parameters:
value- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];- Returns:
- This builder for chaining.
-
getRestNumericEnums
public boolean getRestNumericEnums()When using transport=rest, the client request will encode enums as numbers rather than strings.
bool rest_numeric_enums = 3 [json_name = "restNumericEnums"];- Specified by:
getRestNumericEnumsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The restNumericEnums.
-
setRestNumericEnums
When using transport=rest, the client request will encode enums as numbers rather than strings.
bool rest_numeric_enums = 3 [json_name = "restNumericEnums"];- Parameters:
value- The restNumericEnums to set.- Returns:
- This builder for chaining.
-
clearRestNumericEnums
When using transport=rest, the client request will encode enums as numbers rather than strings.
bool rest_numeric_enums = 3 [json_name = "restNumericEnums"];- Returns:
- This builder for chaining.
-
hasJavaSettings
public boolean hasJavaSettings()Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"];- Specified by:
hasJavaSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the javaSettings field is set.
-
getJavaSettings
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"];- Specified by:
getJavaSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The javaSettings.
-
setJavaSettings
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"]; -
setJavaSettings
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"]; -
mergeJavaSettings
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"]; -
clearJavaSettings
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21 [json_name = "javaSettings"]; -
hasCppSettings
public boolean hasCppSettings()Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];- Specified by:
hasCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the cppSettings field is set.
-
getCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];- Specified by:
getCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The cppSettings.
-
setCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"]; -
setCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"]; -
mergeCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"]; -
clearCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"]; -
hasPhpSettings
public boolean hasPhpSettings()Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];- Specified by:
hasPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the phpSettings field is set.
-
getPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];- Specified by:
getPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The phpSettings.
-
setPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"]; -
setPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"]; -
mergePhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"]; -
clearPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"]; -
hasPythonSettings
public boolean hasPythonSettings()Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];- Specified by:
hasPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the pythonSettings field is set.
-
getPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];- Specified by:
getPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The pythonSettings.
-
setPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"]; -
setPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"]; -
mergePythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"]; -
clearPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"]; -
hasNodeSettings
public boolean hasNodeSettings()Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];- Specified by:
hasNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the nodeSettings field is set.
-
getNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];- Specified by:
getNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The nodeSettings.
-
setNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"]; -
setNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"]; -
mergeNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"]; -
clearNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"]; -
hasDotnetSettings
public boolean hasDotnetSettings()Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];- Specified by:
hasDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the dotnetSettings field is set.
-
getDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];- Specified by:
getDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The dotnetSettings.
-
setDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"]; -
setDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"]; -
mergeDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"]; -
clearDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"]; -
hasRubySettings
public boolean hasRubySettings()Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];- Specified by:
hasRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the rubySettings field is set.
-
getRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];- Specified by:
getRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The rubySettings.
-
setRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"]; -
setRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"]; -
mergeRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"]; -
clearRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"]; -
hasGoSettings
public boolean hasGoSettings()Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"];- Specified by:
hasGoSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the goSettings field is set.
-
getGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"];- Specified by:
getGoSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The goSettings.
-
setGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"]; -
setGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"]; -
mergeGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"]; -
clearGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"];
-