public static enum TransferTypes.NotificationConfig.PayloadFormat extends Enum<TransferTypes.NotificationConfig.PayloadFormat> implements com.google.protobuf.ProtocolMessageEnum
Enum for specifying the format of a notification message's payload.Protobuf enum
google.storagetransfer.v1.NotificationConfig.PayloadFormat| Enum Constant and Description |
|---|
JSON
`TransferOperation` is [formatted as a JSON
response](https://developers.google.com/protocol-buffers/docs/proto3#json),
in application/json.
|
NONE
No payload is included with the notification.
|
PAYLOAD_FORMAT_UNSPECIFIED
Illegal value, to avoid allowing a default.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
JSON_VALUE
`TransferOperation` is [formatted as a JSON
response](https://developers.google.com/protocol-buffers/docs/proto3#json),
in application/json.
|
static int |
NONE_VALUE
No payload is included with the notification.
|
static int |
PAYLOAD_FORMAT_UNSPECIFIED_VALUE
Illegal value, to avoid allowing a default.
|
| Modifier and Type | Method and Description |
|---|---|
static TransferTypes.NotificationConfig.PayloadFormat |
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.PayloadFormat> |
internalGetValueMap() |
static TransferTypes.NotificationConfig.PayloadFormat |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransferTypes.NotificationConfig.PayloadFormat |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransferTypes.NotificationConfig.PayloadFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferTypes.NotificationConfig.PayloadFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferTypes.NotificationConfig.PayloadFormat PAYLOAD_FORMAT_UNSPECIFIED
Illegal value, to avoid allowing a default.
PAYLOAD_FORMAT_UNSPECIFIED = 0;public static final TransferTypes.NotificationConfig.PayloadFormat NONE
No payload is included with the notification.
NONE = 1;public static final TransferTypes.NotificationConfig.PayloadFormat JSON
`TransferOperation` is [formatted as a JSON response](https://developers.google.com/protocol-buffers/docs/proto3#json), in application/json.
JSON = 2;public static final TransferTypes.NotificationConfig.PayloadFormat UNRECOGNIZED
public static final int PAYLOAD_FORMAT_UNSPECIFIED_VALUE
Illegal value, to avoid allowing a default.
PAYLOAD_FORMAT_UNSPECIFIED = 0;public static final int NONE_VALUE
No payload is included with the notification.
NONE = 1;public static final int JSON_VALUE
`TransferOperation` is [formatted as a JSON response](https://developers.google.com/protocol-buffers/docs/proto3#json), in application/json.
JSON = 2;public static TransferTypes.NotificationConfig.PayloadFormat[] values()
for (TransferTypes.NotificationConfig.PayloadFormat c : TransferTypes.NotificationConfig.PayloadFormat.values()) System.out.println(c);
public static TransferTypes.NotificationConfig.PayloadFormat 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.PayloadFormat valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransferTypes.NotificationConfig.PayloadFormat forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransferTypes.NotificationConfig.PayloadFormat> 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.PayloadFormat valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.