public static enum TransferTypes.NotificationConfig.EventType extends Enum<TransferTypes.NotificationConfig.EventType> implements com.google.protobuf.ProtocolMessageEnum
Enum for specifying event types for which notifications are to be published. Additional event types may be added in the future. Clients should either safely ignore unrecognized event types or explicitly specify which event types they are prepared to accept.Protobuf enum
google.storagetransfer.v1.NotificationConfig.EventType| Enum Constant and Description |
|---|
EVENT_TYPE_UNSPECIFIED
Illegal value, to avoid allowing a default.
|
TRANSFER_OPERATION_ABORTED
`TransferOperation` completed with status
[ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
|
TRANSFER_OPERATION_FAILED
`TransferOperation` completed with status
[FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
|
TRANSFER_OPERATION_SUCCESS
`TransferOperation` completed with status
[SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_TYPE_UNSPECIFIED_VALUE
Illegal value, to avoid allowing a default.
|
static int |
TRANSFER_OPERATION_ABORTED_VALUE
`TransferOperation` completed with status
[ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
|
static int |
TRANSFER_OPERATION_FAILED_VALUE
`TransferOperation` completed with status
[FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
|
static int |
TRANSFER_OPERATION_SUCCESS_VALUE
`TransferOperation` completed with status
[SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.NotificationConfig.EventType |
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.NotificationConfig.EventType> |
internalGetValueMap() |
static TransferTypes.NotificationConfig.EventType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.NotificationConfig.EventType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.NotificationConfig.EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.NotificationConfig.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.NotificationConfig.EventType EVENT_TYPE_UNSPECIFIED
Illegal value, to avoid allowing a default.
EVENT_TYPE_UNSPECIFIED = 0;public static final TransferTypes.NotificationConfig.EventType TRANSFER_OPERATION_SUCCESS
`TransferOperation` completed with status [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
TRANSFER_OPERATION_SUCCESS = 1;public static final TransferTypes.NotificationConfig.EventType TRANSFER_OPERATION_FAILED
`TransferOperation` completed with status [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
TRANSFER_OPERATION_FAILED = 2;public static final TransferTypes.NotificationConfig.EventType TRANSFER_OPERATION_ABORTED
`TransferOperation` completed with status [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
TRANSFER_OPERATION_ABORTED = 3;public static final TransferTypes.NotificationConfig.EventType UNRECOGNIZED
public static final int EVENT_TYPE_UNSPECIFIED_VALUE
Illegal value, to avoid allowing a default.
EVENT_TYPE_UNSPECIFIED = 0;public static final int TRANSFER_OPERATION_SUCCESS_VALUE
`TransferOperation` completed with status [SUCCESS][google.storagetransfer.v1.TransferOperation.Status.SUCCESS].
TRANSFER_OPERATION_SUCCESS = 1;public static final int TRANSFER_OPERATION_FAILED_VALUE
`TransferOperation` completed with status [FAILED][google.storagetransfer.v1.TransferOperation.Status.FAILED].
TRANSFER_OPERATION_FAILED = 2;public static final int TRANSFER_OPERATION_ABORTED_VALUE
`TransferOperation` completed with status [ABORTED][google.storagetransfer.v1.TransferOperation.Status.ABORTED].
TRANSFER_OPERATION_ABORTED = 3;public static TransferTypes.NotificationConfig.EventType[] values()
for (TransferTypes.NotificationConfig.EventType c : TransferTypes.NotificationConfig.EventType.values()) System.out.println(c);
public static TransferTypes.NotificationConfig.EventType 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.NotificationConfig.EventType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.NotificationConfig.EventType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.NotificationConfig.EventType> 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.NotificationConfig.EventType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.