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