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
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) Settings for C++ client libraries.static ClientLibrarySettingsSettings 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.intLaunch stage of this version of the API.Settings for Node client libraries.Settings for PHP client libraries.Settings for Python client libraries.booleanWhen 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.ByteStringVersion of the API to apply these settings to.booleanSettings for C++ client libraries.booleanSettings for .NET client libraries.booleanSettings for Go client libraries.booleanSettings for legacy Java features, supported in the Service YAML.booleanSettings for Node client libraries.booleanSettings for PHP client libraries.booleanSettings for Python client libraries.booleanSettings for Ruby client libraries.newBuilder(ClientLibrarySettings prototype) static ClientLibrarySettingsparseDelimitedFrom(InputStream input) static ClientLibrarySettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettingsparseFrom(byte[] data) static ClientLibrarySettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettingsparseFrom(com.google.protobuf.ByteString data) static ClientLibrarySettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettingsparseFrom(com.google.protobuf.CodedInputStream input) static ClientLibrarySettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettingsparseFrom(InputStream input) static ClientLibrarySettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ClientLibrarySettingsparseFrom(ByteBuffer data) static ClientLibrarySettingsparseFrom(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, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getVersionin 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:
getVersionBytesin 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:
getLaunchStageValuein 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:
getLaunchStagein 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:
getRestNumericEnumsin 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:
hasJavaSettingsin 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:
getJavaSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The javaSettings.
-
hasCppSettings
public boolean hasCppSettings()Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22 [json_name = "cppSettings"];- Specified by:
hasCppSettingsin 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:
getCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The cppSettings.
-
hasPhpSettings
public boolean hasPhpSettings()Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23 [json_name = "phpSettings"];- Specified by:
hasPhpSettingsin 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:
getPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The phpSettings.
-
hasPythonSettings
public boolean hasPythonSettings()Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24 [json_name = "pythonSettings"];- Specified by:
hasPythonSettingsin 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:
getPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The pythonSettings.
-
hasNodeSettings
public boolean hasNodeSettings()Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25 [json_name = "nodeSettings"];- Specified by:
hasNodeSettingsin 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:
getNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The nodeSettings.
-
hasDotnetSettings
public boolean hasDotnetSettings()Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26 [json_name = "dotnetSettings"];- Specified by:
hasDotnetSettingsin 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:
getDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The dotnetSettings.
-
hasRubySettings
public boolean hasRubySettings()Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27 [json_name = "rubySettings"];- Specified by:
hasRubySettingsin 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:
getRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The rubySettings.
-
hasGoSettings
public boolean hasGoSettings()Settings for Go client libraries.
.google.api.GoSettings go_settings = 28 [json_name = "goSettings"];- Specified by:
hasGoSettingsin 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:
getGoSettingsin 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:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<ClientLibrarySettings,ClientLibrarySettings.Builder>
-
getDefaultInstance
-
parser
-