public enum ClientLibraryDestination extends Enum<ClientLibraryDestination> implements com.google.protobuf.ProtocolMessageEnum
To where should client libraries be published?Protobuf enum
google.api.ClientLibraryDestination| Enum Constant and Description |
|---|
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED
Client libraries will neither be generated nor published to package
managers.
|
GITHUB
Generate the client library in a repo under github.com/googleapis,
but don't publish it to package managers.
|
PACKAGE_MANAGER
Publish the library to package managers like nuget.org and npmjs.com.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED_VALUE
Client libraries will neither be generated nor published to package
managers.
|
static int |
GITHUB_VALUE
Generate the client library in a repo under github.com/googleapis,
but don't publish it to package managers.
|
static int |
PACKAGE_MANAGER_VALUE
Publish the library to package managers like nuget.org and npmjs.com.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientLibraryDestination |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ClientLibraryDestination> |
internalGetValueMap() |
static ClientLibraryDestination |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ClientLibraryDestination |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ClientLibraryDestination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientLibraryDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientLibraryDestination CLIENT_LIBRARY_DESTINATION_UNSPECIFIED
Client libraries will neither be generated nor published to package managers.
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;public static final ClientLibraryDestination GITHUB
Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.
GITHUB = 10;public static final ClientLibraryDestination PACKAGE_MANAGER
Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20;public static final ClientLibraryDestination UNRECOGNIZED
public static final int CLIENT_LIBRARY_DESTINATION_UNSPECIFIED_VALUE
Client libraries will neither be generated nor published to package managers.
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0;public static final int GITHUB_VALUE
Generate the client library in a repo under github.com/googleapis, but don't publish it to package managers.
GITHUB = 10;public static final int PACKAGE_MANAGER_VALUE
Publish the library to package managers like nuget.org and npmjs.com.
PACKAGE_MANAGER = 20;public static ClientLibraryDestination[] values()
for (ClientLibraryDestination c : ClientLibraryDestination.values()) System.out.println(c);
public static ClientLibraryDestination valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ClientLibraryDestination valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ClientLibraryDestination forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ClientLibraryDestination> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ClientLibraryDestination valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.