public static enum TransferTypes.MetadataOptions.Symlink extends Enum<TransferTypes.MetadataOptions.Symlink> implements com.google.protobuf.ProtocolMessageEnum
Whether symlinks should be skipped or preserved during a transfer job.Protobuf enum
google.storagetransfer.v1.MetadataOptions.Symlink| Enum Constant and Description |
|---|
SYMLINK_PRESERVE
Preserve symlinks during a transfer job.
|
SYMLINK_SKIP
Do not preserve symlinks during a transfer job.
|
SYMLINK_UNSPECIFIED
Symlink behavior is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SYMLINK_PRESERVE_VALUE
Preserve symlinks during a transfer job.
|
static int |
SYMLINK_SKIP_VALUE
Do not preserve symlinks during a transfer job.
|
static int |
SYMLINK_UNSPECIFIED_VALUE
Symlink behavior is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.MetadataOptions.Symlink |
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<TransferTypes.MetadataOptions.Symlink> |
internalGetValueMap() |
static TransferTypes.MetadataOptions.Symlink |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.MetadataOptions.Symlink |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.MetadataOptions.Symlink |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.MetadataOptions.Symlink[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.MetadataOptions.Symlink SYMLINK_UNSPECIFIED
Symlink behavior is unspecified.
SYMLINK_UNSPECIFIED = 0;public static final TransferTypes.MetadataOptions.Symlink SYMLINK_SKIP
Do not preserve symlinks during a transfer job.
SYMLINK_SKIP = 1;public static final TransferTypes.MetadataOptions.Symlink SYMLINK_PRESERVE
Preserve symlinks during a transfer job.
SYMLINK_PRESERVE = 2;public static final TransferTypes.MetadataOptions.Symlink UNRECOGNIZED
public static final int SYMLINK_UNSPECIFIED_VALUE
Symlink behavior is unspecified.
SYMLINK_UNSPECIFIED = 0;public static final int SYMLINK_SKIP_VALUE
Do not preserve symlinks during a transfer job.
SYMLINK_SKIP = 1;public static final int SYMLINK_PRESERVE_VALUE
Preserve symlinks during a transfer job.
SYMLINK_PRESERVE = 2;public static TransferTypes.MetadataOptions.Symlink[] values()
for (TransferTypes.MetadataOptions.Symlink c : TransferTypes.MetadataOptions.Symlink.values()) System.out.println(c);
public static TransferTypes.MetadataOptions.Symlink 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 TransferTypes.MetadataOptions.Symlink valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.MetadataOptions.Symlink forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.MetadataOptions.Symlink> 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 TransferTypes.MetadataOptions.Symlink valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.