Enum ExportInsightsDataRequest.WriteDisposition
- java.lang.Object
-
- java.lang.Enum<ExportInsightsDataRequest.WriteDisposition>
-
- com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<ExportInsightsDataRequest.WriteDisposition>
- Enclosing class:
- ExportInsightsDataRequest
public static enum ExportInsightsDataRequest.WriteDisposition extends Enum<ExportInsightsDataRequest.WriteDisposition> implements com.google.protobuf.ProtocolMessageEnum
Specifies the action that occurs if the destination table already exists.
Protobuf enumgoogle.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZED
WRITE_APPEND
If the table already exists, BigQuery will append data to the table.WRITE_DISPOSITION_UNSPECIFIED
Write disposition is not specified.WRITE_TRUNCATE
If the table already exists, BigQuery will overwrite the table data and use the schema from the load.
-
Field Summary
Fields Modifier and Type Field Description static int
WRITE_APPEND_VALUE
If the table already exists, BigQuery will append data to the table.static int
WRITE_DISPOSITION_UNSPECIFIED_VALUE
Write disposition is not specified.static int
WRITE_TRUNCATE_VALUE
If the table already exists, BigQuery will overwrite the table data and use the schema from the load.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExportInsightsDataRequest.WriteDisposition
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<ExportInsightsDataRequest.WriteDisposition>
internalGetValueMap()
static ExportInsightsDataRequest.WriteDisposition
valueOf(int value)
Deprecated.static ExportInsightsDataRequest.WriteDisposition
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ExportInsightsDataRequest.WriteDisposition
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExportInsightsDataRequest.WriteDisposition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRITE_DISPOSITION_UNSPECIFIED
public static final ExportInsightsDataRequest.WriteDisposition WRITE_DISPOSITION_UNSPECIFIED
Write disposition is not specified. Defaults to WRITE_TRUNCATE.
WRITE_DISPOSITION_UNSPECIFIED = 0;
-
WRITE_TRUNCATE
public static final ExportInsightsDataRequest.WriteDisposition WRITE_TRUNCATE
If the table already exists, BigQuery will overwrite the table data and use the schema from the load.
WRITE_TRUNCATE = 1;
-
WRITE_APPEND
public static final ExportInsightsDataRequest.WriteDisposition WRITE_APPEND
If the table already exists, BigQuery will append data to the table.
WRITE_APPEND = 2;
-
UNRECOGNIZED
public static final ExportInsightsDataRequest.WriteDisposition UNRECOGNIZED
-
-
Field Detail
-
WRITE_DISPOSITION_UNSPECIFIED_VALUE
public static final int WRITE_DISPOSITION_UNSPECIFIED_VALUE
Write disposition is not specified. Defaults to WRITE_TRUNCATE.
WRITE_DISPOSITION_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
WRITE_TRUNCATE_VALUE
public static final int WRITE_TRUNCATE_VALUE
If the table already exists, BigQuery will overwrite the table data and use the schema from the load.
WRITE_TRUNCATE = 1;
- See Also:
- Constant Field Values
-
WRITE_APPEND_VALUE
public static final int WRITE_APPEND_VALUE
If the table already exists, BigQuery will append data to the table.
WRITE_APPEND = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ExportInsightsDataRequest.WriteDisposition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExportInsightsDataRequest.WriteDisposition c : ExportInsightsDataRequest.WriteDisposition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportInsightsDataRequest.WriteDisposition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ExportInsightsDataRequest.WriteDisposition valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static ExportInsightsDataRequest.WriteDisposition forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ExportInsightsDataRequest.WriteDisposition> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ExportInsightsDataRequest.WriteDisposition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-