Class ClientLibrarySettings (2.25.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
TypeDescription
int

DOTNET_SETTINGS_FIELD_NUMBER

public static final int DOTNET_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

GO_SETTINGS_FIELD_NUMBER

public static final int GO_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

JAVA_SETTINGS_FIELD_NUMBER

public static final int JAVA_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

LAUNCH_STAGE_FIELD_NUMBER

public static final int LAUNCH_STAGE_FIELD_NUMBER
Field Value
TypeDescription
int

NODE_SETTINGS_FIELD_NUMBER

public static final int NODE_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

PHP_SETTINGS_FIELD_NUMBER

public static final int PHP_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

PYTHON_SETTINGS_FIELD_NUMBER

public static final int PYTHON_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

REST_NUMERIC_ENUMS_FIELD_NUMBER

public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER
Field Value
TypeDescription
int

RUBY_SETTINGS_FIELD_NUMBER

public static final int RUBY_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ClientLibrarySettings getDefaultInstance()
Returns
TypeDescription
ClientLibrarySettings

getDescriptor()

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

newBuilder()

public static ClientLibrarySettings.Builder newBuilder()
Returns
TypeDescription
ClientLibrarySettings.Builder

newBuilder(ClientLibrarySettings prototype)

public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings prototype)
Parameter
NameDescription
prototypeClientLibrarySettings
Returns
TypeDescription
ClientLibrarySettings.Builder

parseDelimitedFrom(InputStream input)

public static ClientLibrarySettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ClientLibrarySettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ClientLibrarySettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ClientLibrarySettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ClientLibrarySettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ClientLibrarySettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ClientLibrarySettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ClientLibrarySettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ClientLibrarySettings> parser()
Returns
TypeDescription
Parser<ClientLibrarySettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCppSettings()

public CppSettings getCppSettings()

Settings for C++ client libraries.

.google.api.CppSettings cpp_settings = 22;

Returns
TypeDescription
CppSettings

The cppSettings.

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

getDotnetSettings()

public DotnetSettings getDotnetSettings()

Settings for .NET client libraries.

.google.api.DotnetSettings dotnet_settings = 26;

Returns
TypeDescription
DotnetSettings

The dotnetSettings.

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.

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.

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.

getNodeSettingsOrBuilder()

public NodeSettingsOrBuilder getNodeSettingsOrBuilder()

Settings for Node client libraries.

.google.api.NodeSettings node_settings = 25;

Returns
TypeDescription
NodeSettingsOrBuilder

getParserForType()

public Parser<ClientLibrarySettings> getParserForType()
Returns
TypeDescription
Parser<ClientLibrarySettings>
Overrides

getPhpSettings()

public PhpSettings getPhpSettings()

Settings for PHP client libraries.

.google.api.PhpSettings php_settings = 23;

Returns
TypeDescription
PhpSettings

The phpSettings.

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.

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.

getRubySettingsOrBuilder()

public RubySettingsOrBuilder getRubySettingsOrBuilder()

Settings for Ruby client libraries.

.google.api.RubySettings ruby_settings = 27;

Returns
TypeDescription
RubySettingsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ClientLibrarySettings.Builder newBuilderForType()
Returns
TypeDescription
ClientLibrarySettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ClientLibrarySettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ClientLibrarySettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ClientLibrarySettings.Builder toBuilder()
Returns
TypeDescription
ClientLibrarySettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException