public static enum Conversation.Medium extends Enum<Conversation.Medium> implements com.google.protobuf.ProtocolMessageEnum
Possible media for the conversation.Protobuf enum
google.cloud.contactcenterinsights.v1.Conversation.Medium| Enum Constant and Description |
|---|
CHAT
The format for conversations that took place over chat.
|
MEDIUM_UNSPECIFIED
Default value, if unspecified will default to PHONE_CALL.
|
PHONE_CALL
The format for conversations that took place over the phone.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAT_VALUE
The format for conversations that took place over chat.
|
static int |
MEDIUM_UNSPECIFIED_VALUE
Default value, if unspecified will default to PHONE_CALL.
|
static int |
PHONE_CALL_VALUE
The format for conversations that took place over the phone.
|
| Modifier and Type | Method and Description |
|---|---|
static Conversation.Medium |
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<Conversation.Medium> |
internalGetValueMap() |
static Conversation.Medium |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Conversation.Medium |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Conversation.Medium |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Conversation.Medium[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Conversation.Medium MEDIUM_UNSPECIFIED
Default value, if unspecified will default to PHONE_CALL.
MEDIUM_UNSPECIFIED = 0;public static final Conversation.Medium PHONE_CALL
The format for conversations that took place over the phone.
PHONE_CALL = 1;public static final Conversation.Medium CHAT
The format for conversations that took place over chat.
CHAT = 2;public static final Conversation.Medium UNRECOGNIZED
public static final int MEDIUM_UNSPECIFIED_VALUE
Default value, if unspecified will default to PHONE_CALL.
MEDIUM_UNSPECIFIED = 0;public static final int PHONE_CALL_VALUE
The format for conversations that took place over the phone.
PHONE_CALL = 1;public static final int CHAT_VALUE
The format for conversations that took place over chat.
CHAT = 2;public static Conversation.Medium[] values()
for (Conversation.Medium c : Conversation.Medium.values()) System.out.println(c);
public static Conversation.Medium 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 Conversation.Medium valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Conversation.Medium forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Conversation.Medium> 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 Conversation.Medium valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.