Package com.google.api
Class ClientLibrarySettings
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
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
public final class ClientLibrarySettings
extends com.google.protobuf.GeneratedMessageV3
implements ClientLibrarySettingsOrBuilder
Details about how and where to publish client libraries.Protobuf type
google.api.ClientLibrarySettings
- See Also:
-
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.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter 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.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Settings for C++ client libraries.Settings for C++ client libraries.static ClientLibrarySettings
static final com.google.protobuf.Descriptors.Descriptor
Settings 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.int
Launch 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.boolean
When using transport=rest, the client request will encode enums as numbers rather than strings.Settings for Ruby client libraries.Settings for Ruby client libraries.int
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.int
hashCode()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
newBuilder
(ClientLibrarySettings prototype) protected ClientLibrarySettings.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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:
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;
- 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;
- 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;
- 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;
- 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;
- 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;
- Specified by:
getJavaSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The javaSettings.
-
getJavaSettingsOrBuilder
Settings for legacy Java features, supported in the Service YAML.
.google.api.JavaSettings java_settings = 21;
- Specified by:
getJavaSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasCppSettings
public boolean hasCppSettings()Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
- Specified by:
hasCppSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the cppSettings field is set.
-
getCppSettings
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
- Specified by:
getCppSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The cppSettings.
-
getCppSettingsOrBuilder
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;
- Specified by:
getCppSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasPhpSettings
public boolean hasPhpSettings()Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
- Specified by:
hasPhpSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the phpSettings field is set.
-
getPhpSettings
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
- Specified by:
getPhpSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The phpSettings.
-
getPhpSettingsOrBuilder
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;
- Specified by:
getPhpSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasPythonSettings
public boolean hasPythonSettings()Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
- Specified by:
hasPythonSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the pythonSettings field is set.
-
getPythonSettings
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
- Specified by:
getPythonSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The pythonSettings.
-
getPythonSettingsOrBuilder
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;
- Specified by:
getPythonSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasNodeSettings
public boolean hasNodeSettings()Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
- Specified by:
hasNodeSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the nodeSettings field is set.
-
getNodeSettings
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
- Specified by:
getNodeSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The nodeSettings.
-
getNodeSettingsOrBuilder
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;
- Specified by:
getNodeSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasDotnetSettings
public boolean hasDotnetSettings()Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
- Specified by:
hasDotnetSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the dotnetSettings field is set.
-
getDotnetSettings
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
- Specified by:
getDotnetSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The dotnetSettings.
-
getDotnetSettingsOrBuilder
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;
- Specified by:
getDotnetSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasRubySettings
public boolean hasRubySettings()Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
- Specified by:
hasRubySettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the rubySettings field is set.
-
getRubySettings
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
- Specified by:
getRubySettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The rubySettings.
-
getRubySettingsOrBuilder
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;
- Specified by:
getRubySettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
hasGoSettings
public boolean hasGoSettings()Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
- Specified by:
hasGoSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- Whether the goSettings field is set.
-
getGoSettings
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
- Specified by:
getGoSettings
in interfaceClientLibrarySettingsOrBuilder
- Returns:
- The goSettings.
-
getGoSettingsOrBuilder
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;
- Specified by:
getGoSettingsOrBuilder
in interfaceClientLibrarySettingsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientLibrarySettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-