Package com.google.api
Class ClientLibrarySettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.ClientLibrarySettings
- All Implemented Interfaces:
ClientLibrarySettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class ClientLibrarySettings
extends com.google.protobuf.GeneratedMessage
implements ClientLibrarySettingsOrBuilder
Details about how and where to publish client libraries.Protobuf type
google.api.ClientLibrarySettings- See Also:
-
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.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanSettings for C++ client libraries.Settings for C++ client libraries.static ClientLibrarySettingsstatic final com.google.protobuf.Descriptors.DescriptorSettings for .NET client libraries.Settings for .NET client libraries.Settings for Go client libraries.Settings for Go client libraries.Settings for legacy Java features, supported in the Service YAML.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 Node client libraries.com.google.protobuf.Parser<ClientLibrarySettings>Settings for PHP client libraries.Settings for PHP client libraries.Settings for Python 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.Settings for Ruby client libraries.intVersion 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(ClientLibrarySettings prototype) protected ClientLibrarySettings.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods 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.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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;- 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;- 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;- 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;- 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;- 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;- 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;- Specified by:
getJavaSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The javaSettings.
-
getJavaSettingsOrBuilder
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;- Specified by:
getJavaSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasCppSettings
public boolean hasCppSettings()Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;- Specified by:
hasCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the cppSettings field is set.
-
getCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;- Specified by:
getCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The cppSettings.
-
getCppSettingsOrBuilder
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;- Specified by:
getCppSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasPhpSettings
public boolean hasPhpSettings()Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;- Specified by:
hasPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the phpSettings field is set.
-
getPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;- Specified by:
getPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The phpSettings.
-
getPhpSettingsOrBuilder
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;- Specified by:
getPhpSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasPythonSettings
public boolean hasPythonSettings()Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;- Specified by:
hasPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the pythonSettings field is set.
-
getPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;- Specified by:
getPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The pythonSettings.
-
getPythonSettingsOrBuilder
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;- Specified by:
getPythonSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasNodeSettings
public boolean hasNodeSettings()Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;- Specified by:
hasNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the nodeSettings field is set.
-
getNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;- Specified by:
getNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The nodeSettings.
-
getNodeSettingsOrBuilder
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;- Specified by:
getNodeSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasDotnetSettings
public boolean hasDotnetSettings()Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;- Specified by:
hasDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the dotnetSettings field is set.
-
getDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;- Specified by:
getDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The dotnetSettings.
-
getDotnetSettingsOrBuilder
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;- Specified by:
getDotnetSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasRubySettings
public boolean hasRubySettings()Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;- Specified by:
hasRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the rubySettings field is set.
-
getRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;- Specified by:
getRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The rubySettings.
-
getRubySettingsOrBuilder
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;- Specified by:
getRubySettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
hasGoSettings
public boolean hasGoSettings()Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;- Specified by:
hasGoSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- Whether the goSettings field is set.
-
getGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;- Specified by:
getGoSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The goSettings.
-
getGoSettingsOrBuilder
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;- Specified by:
getGoSettingsOrBuilderin interfaceClientLibrarySettingsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
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
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientLibrarySettings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-