Class ClientLibrarySettings (2.38.0)

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
Type Description
int

DOTNET_SETTINGS_FIELD_NUMBER

public static final int DOTNET_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

GO_SETTINGS_FIELD_NUMBER

public static final int GO_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

JAVA_SETTINGS_FIELD_NUMBER

public static final int JAVA_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

LAUNCH_STAGE_FIELD_NUMBER

public static final int LAUNCH_STAGE_FIELD_NUMBER
Field Value
Type Description
int

NODE_SETTINGS_FIELD_NUMBER

public static final int NODE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

PHP_SETTINGS_FIELD_NUMBER

public static final int PHP_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

PYTHON_SETTINGS_FIELD_NUMBER

public static final int PYTHON_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

REST_NUMERIC_ENUMS_FIELD_NUMBER

public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER
Field Value
Type Description
int

RUBY_SETTINGS_FIELD_NUMBER

public static final int RUBY_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ClientLibrarySettings getDefaultInstance()
Returns
Type Description
ClientLibrarySettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ClientLibrarySettings.Builder newBuilder()
Returns
Type Description
ClientLibrarySettings.Builder

newBuilder(ClientLibrarySettings prototype)

public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings prototype)
Parameter
Name Description
prototype ClientLibrarySettings
Returns
Type Description
ClientLibrarySettings.Builder

parseDelimitedFrom(InputStream input)

public static ClientLibrarySettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ClientLibrarySettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientLibrarySettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientLibrarySettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ClientLibrarySettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ClientLibrarySettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ClientLibrarySettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ClientLibrarySettings> parser()
Returns
Type Description
Parser<ClientLibrarySettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCppSettings()

public CppSettings getCppSettings()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
Type Description
CppSettings

The cppSettings.

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

getDotnetSettings()

public DotnetSettings getDotnetSettings()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
Type Description
DotnetSettings

The dotnetSettings.

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.

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.

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.

getNodeSettingsOrBuilder()

public NodeSettingsOrBuilder getNodeSettingsOrBuilder()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
Type Description
NodeSettingsOrBuilder

getParserForType()

public Parser<ClientLibrarySettings> getParserForType()
Returns
Type Description
Parser<ClientLibrarySettings>
Overrides

getPhpSettings()

public PhpSettings getPhpSettings()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
Type Description
PhpSettings

The phpSettings.

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.

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.

getRubySettingsOrBuilder()

public RubySettingsOrBuilder getRubySettingsOrBuilder()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
Type Description
RubySettingsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ClientLibrarySettings.Builder newBuilderForType()
Returns
Type Description
ClientLibrarySettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClientLibrarySettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ClientLibrarySettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ClientLibrarySettings.Builder toBuilder()
Returns
Type Description
ClientLibrarySettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException