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 typegoogle.api.ClientLibrarySettings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientLibrarySettings.BuilderDetails 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCPP_SETTINGS_FIELD_NUMBERstatic intDOTNET_SETTINGS_FIELD_NUMBERstatic intGO_SETTINGS_FIELD_NUMBERstatic intJAVA_SETTINGS_FIELD_NUMBERstatic intLAUNCH_STAGE_FIELD_NUMBERstatic intNODE_SETTINGS_FIELD_NUMBERstatic intPHP_SETTINGS_FIELD_NUMBERstatic intPYTHON_SETTINGS_FIELD_NUMBERstatic intREST_NUMERIC_ENUMS_FIELD_NUMBERstatic intRUBY_SETTINGS_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)CppSettingsgetCppSettings()Settings for C++ client libraries.CppSettingsOrBuildergetCppSettingsOrBuilder()Settings for C++ client libraries.static ClientLibrarySettingsgetDefaultInstance()ClientLibrarySettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DotnetSettingsgetDotnetSettings()Settings for .NET client libraries.DotnetSettingsOrBuildergetDotnetSettingsOrBuilder()Settings for .NET client libraries.GoSettingsgetGoSettings()Settings for Go client libraries.GoSettingsOrBuildergetGoSettingsOrBuilder()Settings for Go client libraries.JavaSettingsgetJavaSettings()Settings for legacy Java features, supported in the Service YAML.JavaSettingsOrBuildergetJavaSettingsOrBuilder()Settings for legacy Java features, supported in the Service YAML.LaunchStagegetLaunchStage()Launch stage of this version of the API.intgetLaunchStageValue()Launch stage of this version of the API.NodeSettingsgetNodeSettings()Settings for Node client libraries.NodeSettingsOrBuildergetNodeSettingsOrBuilder()Settings for Node client libraries.com.google.protobuf.Parser<ClientLibrarySettings>getParserForType()PhpSettingsgetPhpSettings()Settings for PHP client libraries.PhpSettingsOrBuildergetPhpSettingsOrBuilder()Settings for PHP client libraries.PythonSettingsgetPythonSettings()Settings for Python client libraries.PythonSettingsOrBuildergetPythonSettingsOrBuilder()Settings for Python client libraries.booleangetRestNumericEnums()When using transport=rest, the client request will encode enums as numbers rather than strings.RubySettingsgetRubySettings()Settings for Ruby client libraries.RubySettingsOrBuildergetRubySettingsOrBuilder()Settings for Ruby client libraries.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetVersion()Version of the API to apply these settings to.com.google.protobuf.ByteStringgetVersionBytes()Version of the API to apply these settings to.booleanhasCppSettings()Settings for C++ client libraries.booleanhasDotnetSettings()Settings for .NET client libraries.booleanhasGoSettings()Settings for Go client libraries.inthashCode()booleanhasJavaSettings()Settings for legacy Java features, supported in the Service YAML.booleanhasNodeSettings()Settings for Node client libraries.booleanhasPhpSettings()Settings for PHP client libraries.booleanhasPythonSettings()Settings for Python client libraries.booleanhasRubySettings()Settings for Ruby client libraries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ClientLibrarySettings.BuildernewBuilder()static ClientLibrarySettings.BuildernewBuilder(ClientLibrarySettings prototype)ClientLibrarySettings.BuildernewBuilderForType()protected ClientLibrarySettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)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()ClientLibrarySettings.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
Field Detail
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAUNCH_STAGE_FIELD_NUMBER
public static final int LAUNCH_STAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REST_NUMERIC_ENUMS_FIELD_NUMBER
public static final int REST_NUMERIC_ENUMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JAVA_SETTINGS_FIELD_NUMBER
public static final int JAVA_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CPP_SETTINGS_FIELD_NUMBER
public static final int CPP_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHP_SETTINGS_FIELD_NUMBER
public static final int PHP_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PYTHON_SETTINGS_FIELD_NUMBER
public static final int PYTHON_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODE_SETTINGS_FIELD_NUMBER
public static final int NODE_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DOTNET_SETTINGS_FIELD_NUMBER
public static final int DOTNET_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUBY_SETTINGS_FIELD_NUMBER
public static final int RUBY_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GO_SETTINGS_FIELD_NUMBER
public static final int GO_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVersion
public String getVersion()
Version of the API to apply these settings to.
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.
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
public 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
public JavaSettings 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
public JavaSettingsOrBuilder 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
public CppSettings getCppSettings()
Settings for C++ client libraries.
.google.api.CppSettings cpp_settings = 22;- Specified by:
getCppSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The cppSettings.
-
getCppSettingsOrBuilder
public CppSettingsOrBuilder 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
public PhpSettings getPhpSettings()
Settings for PHP client libraries.
.google.api.PhpSettings php_settings = 23;- Specified by:
getPhpSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The phpSettings.
-
getPhpSettingsOrBuilder
public PhpSettingsOrBuilder 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
public PythonSettings getPythonSettings()
Settings for Python client libraries.
.google.api.PythonSettings python_settings = 24;- Specified by:
getPythonSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The pythonSettings.
-
getPythonSettingsOrBuilder
public PythonSettingsOrBuilder 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
public NodeSettings getNodeSettings()
Settings for Node client libraries.
.google.api.NodeSettings node_settings = 25;- Specified by:
getNodeSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The nodeSettings.
-
getNodeSettingsOrBuilder
public NodeSettingsOrBuilder 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
public DotnetSettings getDotnetSettings()
Settings for .NET client libraries.
.google.api.DotnetSettings dotnet_settings = 26;- Specified by:
getDotnetSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The dotnetSettings.
-
getDotnetSettingsOrBuilder
public DotnetSettingsOrBuilder 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
public RubySettings getRubySettings()
Settings for Ruby client libraries.
.google.api.RubySettings ruby_settings = 27;- Specified by:
getRubySettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The rubySettings.
-
getRubySettingsOrBuilder
public RubySettingsOrBuilder 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
public GoSettings getGoSettings()
Settings for Go client libraries.
.google.api.GoSettings go_settings = 28;- Specified by:
getGoSettingsin interfaceClientLibrarySettingsOrBuilder- Returns:
- The goSettings.
-
getGoSettingsOrBuilder
public GoSettingsOrBuilder 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.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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
public static ClientLibrarySettings parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ClientLibrarySettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ClientLibrarySettings parseDelimitedFrom(InputStream input) throws IOException
- 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
public ClientLibrarySettings.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ClientLibrarySettings.Builder newBuilder()
-
newBuilder
public static ClientLibrarySettings.Builder newBuilder(ClientLibrarySettings prototype)
-
toBuilder
public ClientLibrarySettings.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ClientLibrarySettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ClientLibrarySettings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ClientLibrarySettings> parser()
-
getParserForType
public com.google.protobuf.Parser<ClientLibrarySettings> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ClientLibrarySettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-