public static enum OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType extends Enum<OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType> implements com.google.protobuf.ProtocolMessageEnum
Type of archive.Protobuf enum
google.cloud.osconfig.v1alpha.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType| Enum Constant and Description |
|---|
ARCHIVE_TYPE_UNSPECIFIED
Unspecified is invalid.
|
DEB
Deb indicates that the archive contains binary files.
|
DEB_SRC
Deb-src indicates that the archive contains source files.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARCHIVE_TYPE_UNSPECIFIED_VALUE
Unspecified is invalid.
|
static int |
DEB_SRC_VALUE
Deb-src indicates that the archive contains source files.
|
static int |
DEB_VALUE
Deb indicates that the archive contains binary files.
|
| Modifier and Type | Method and Description |
|---|---|
static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType |
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<OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType> |
internalGetValueMap() |
static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType ARCHIVE_TYPE_UNSPECIFIED
Unspecified is invalid.
ARCHIVE_TYPE_UNSPECIFIED = 0;public static final OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType DEB
Deb indicates that the archive contains binary files.
DEB = 1;public static final OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType DEB_SRC
Deb-src indicates that the archive contains source files.
DEB_SRC = 2;public static final OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType UNRECOGNIZED
public static final int ARCHIVE_TYPE_UNSPECIFIED_VALUE
Unspecified is invalid.
ARCHIVE_TYPE_UNSPECIFIED = 0;public static final int DEB_VALUE
Deb indicates that the archive contains binary files.
DEB = 1;public static final int DEB_SRC_VALUE
Deb-src indicates that the archive contains source files.
DEB_SRC = 2;public static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType[] values()
for (OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType c : OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType.values()) System.out.println(c);
public static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType 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 OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType> 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 OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.