Package com.google.api
Class ClientLibrarySettings
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<ClientLibrarySettings,ClientLibrarySettings.Builder>
com.google.api.ClientLibrarySettings
- All Implemented Interfaces:
ClientLibrarySettingsOrBuilder
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
public final class ClientLibrarySettings
extends com.google.protobuf.GeneratedMessageLite<ClientLibrarySettings,ClientLibrarySettings.Builder>
implements ClientLibrarySettingsOrBuilder
Details about how and where to publish client libraries.Protobuf type
google.api.ClientLibrarySettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Details about how and where to publish client libraries.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Settings for C++ client libraries.static ClientLibrarySettings
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.int
Launch stage of this version of the API.Settings for Node client libraries.Settings for PHP client libraries.Settings for Python client libraries.boolean
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.com.google.protobuf.ByteString
Version of the API to apply these settings to.boolean
Settings for C++ client libraries.boolean
Settings for .NET client libraries.boolean
Settings for Go client libraries.boolean
Settings for legacy Java features, supported in the Service YAML.boolean
Settings for Node client libraries.boolean
Settings for PHP client libraries.boolean
Settings for Python client libraries.boolean
Settings for Ruby client libraries.newBuilder
(ClientLibrarySettings prototype) static ClientLibrarySettings
parseDelimitedFrom
(InputStream input) static ClientLibrarySettings
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettings
parseFrom
(byte[] data) static ClientLibrarySettings
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettings
parseFrom
(com.google.protobuf.ByteString data) static ClientLibrarySettings
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettings
parseFrom
(com.google.protobuf.CodedInputStream input) static ClientLibrarySettings
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettings
parseFrom
(InputStream input) static ClientLibrarySettings
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettings
parseFrom
(ByteBuffer data) static ClientLibrarySettings
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ClientLibrarySettings>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER- See Also:
-
REST_NUMERIC_ENUMS_FIELD_NUMBER
public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER- See Also:
-
JAVA_SETTINGS_FIELD_NUMBER
public static final int JAVA_SETTINGS_FIELD_NUMBER- See Also:
-
CPP_SETTINGS_FIELD_NUMBER
public static final int CPP_SETTINGS_FIELD_NUMBER- See Also:
-
PHP_SETTINGS_FIELD_NUMBER
public static final int PHP_SETTINGS_FIELD_NUMBER- See Also:
-
PYTHON_SETTINGS_FIELD_NUMBER
public static final int PYTHON_SETTINGS_FIELD_NUMBER- See Also:
-
NODE_SETTINGS_FIELD_NUMBER
public static final int NODE_SETTINGS_FIELD_NUMBER- See Also:
-
DOTNET_SETTINGS_FIELD_NUMBER
public static final int DOTNET_SETTINGS_FIELD_NUMBER- See Also:
-
RUBY_SETTINGS_FIELD_NUMBER
public static final int RUBY_SETTINGS_FIELD_NUMBER- See Also:
-
GO_SETTINGS_FIELD_NUMBER
public static final int GO_SETTINGS_FIELD_NUMBER- See Also:
-
-
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:
getVersion
in 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:
getVersionBytes
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The bytes for version.
-
getLaunchStageValue
public int getLaunchStageValue()Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];
- Specified by:
getLaunchStageValue
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
getLaunchStage
Launch stage of this version of the API.
.google.api.LaunchStage launch_stage = 2 [json_name = "launchStage"];
- Specified by:
getLaunchStage
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The launchStage.
-
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:
getRestNumericEnums
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The restNumericEnums.
-
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:
hasJavaSettings
in 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:
getJavaSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The javaSettings.
-
hasCppSettings
public boolean hasCppSettings()Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];
- Specified by:
hasCppSettings
in 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:
getCppSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The cppSettings.
-
hasPhpSettings
public boolean hasPhpSettings()Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];
- Specified by:
hasPhpSettings
in 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:
getPhpSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The phpSettings.
-
hasPythonSettings
public boolean hasPythonSettings()Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];
- Specified by:
hasPythonSettings
in 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:
getPythonSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The pythonSettings.
-
hasNodeSettings
public boolean hasNodeSettings()Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];
- Specified by:
hasNodeSettings
in 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:
getNodeSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The nodeSettings.
-
hasDotnetSettings
public boolean hasDotnetSettings()Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];
- Specified by:
hasDotnetSettings
in 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:
getDotnetSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The dotnetSettings.
-
hasRubySettings
public boolean hasRubySettings()Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];
- Specified by:
hasRubySettings
in 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:
getRubySettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The rubySettings.
-
hasGoSettings
public boolean hasGoSettings()Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"];
- Specified by:
hasGoSettings
in 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:
getGoSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The goSettings.
-
parseFrom
public static ClientLibrarySettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientLibrarySettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientLibrarySettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientLibrarySettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientLibrarySettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ClientLibrarySettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ClientLibrarySettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ClientLibrarySettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ClientLibrarySettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ClientLibrarySettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<ClientLibrarySettings,
ClientLibrarySettings.Builder>
-
getDefaultInstance
-
parser
-