public final class ClientLibrarySettings extends GeneratedMessageV3 implements ClientLibrarySettingsOrBuilder
Details about how and where to publish client libraries.
Protobuf type google.api.ClientLibrarySettings
Static Fields
CPP_SETTINGS_FIELD_NUMBER
public static final int CPP_SETTINGS_FIELD_NUMBER
Field Value
DOTNET_SETTINGS_FIELD_NUMBER
public static final int DOTNET_SETTINGS_FIELD_NUMBER
Field Value
GO_SETTINGS_FIELD_NUMBER
public static final int GO_SETTINGS_FIELD_NUMBER
Field Value
JAVA_SETTINGS_FIELD_NUMBER
public static final int JAVA_SETTINGS_FIELD_NUMBER
Field Value
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
Field Value
NODE_SETTINGS_FIELD_NUMBER
public static final int NODE_SETTINGS_FIELD_NUMBER
Field Value
PHP_SETTINGS_FIELD_NUMBER
public static final int PHP_SETTINGS_FIELD_NUMBER
Field Value
PYTHON_SETTINGS_FIELD_NUMBER
public static final int PYTHON_SETTINGS_FIELD_NUMBER
Field Value
REST_NUMERIC_ENUMS_FIELD_NUMBER
public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER
Field Value
RUBY_SETTINGS_FIELD_NUMBER
public static final int RUBY_SETTINGS_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ClientLibrarySettings getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ClientLibrarySettings.Builder newBuilder()
Returns
newBuilder(ClientLibrarySettings prototype)
public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings prototype)
Parameter
Returns
public static ClientLibrarySettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClientLibrarySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ClientLibrarySettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClientLibrarySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ClientLibrarySettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientLibrarySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClientLibrarySettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ClientLibrarySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ClientLibrarySettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ClientLibrarySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ClientLibrarySettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClientLibrarySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ClientLibrarySettings> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCppSettings()
public CppSettings getCppSettings()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns
getCppSettingsOrBuilder()
public CppSettingsOrBuilder getCppSettingsOrBuilder()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
Returns
getDefaultInstanceForType()
public ClientLibrarySettings getDefaultInstanceForType()
Returns
getDotnetSettings()
public DotnetSettings getDotnetSettings()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns
getDotnetSettingsOrBuilder()
public DotnetSettingsOrBuilder getDotnetSettingsOrBuilder()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
Returns
getGoSettings()
public GoSettings getGoSettings()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns
getGoSettingsOrBuilder()
public GoSettingsOrBuilder getGoSettingsOrBuilder()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
Returns
getJavaSettings()
public JavaSettings getJavaSettings()
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
Returns
getJavaSettingsOrBuilder()
public JavaSettingsOrBuilder getJavaSettingsOrBuilder()
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
Returns
getLaunchStage()
public LaunchStage getLaunchStage()
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2;
Returns
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
getNodeSettingsOrBuilder()
public NodeSettingsOrBuilder getNodeSettingsOrBuilder()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
Returns
getParserForType()
public Parser<ClientLibrarySettings> getParserForType()
Returns
Overrides
getPhpSettings()
public PhpSettings getPhpSettings()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns
getPhpSettingsOrBuilder()
public PhpSettingsOrBuilder getPhpSettingsOrBuilder()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
Returns
getPythonSettings()
public PythonSettings getPythonSettings()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns
getPythonSettingsOrBuilder()
public PythonSettingsOrBuilder getPythonSettingsOrBuilder()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
Returns
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
getRubySettingsOrBuilder()
public RubySettingsOrBuilder getRubySettingsOrBuilder()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
Version of the API to apply these settings to.
string version = 1;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Version of the API to apply these settings to.
string version = 1;
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ClientLibrarySettings.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ClientLibrarySettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ClientLibrarySettings.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions