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 UNRECOGNIZEDWRITE_APPENDIf the table already exists, BigQuery will append data to the table.WRITE_DISPOSITION_UNSPECIFIEDWrite disposition is not specified.WRITE_TRUNCATEIf 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 intWRITE_APPEND_VALUEIf the table already exists, BigQuery will append data to the table.static intWRITE_DISPOSITION_UNSPECIFIED_VALUEWrite disposition is not specified.static intWRITE_TRUNCATE_VALUEIf 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.WriteDispositionforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ExportInsightsDataRequest.WriteDisposition>internalGetValueMap()static ExportInsightsDataRequest.WriteDispositionvalueOf(int value)Deprecated.static ExportInsightsDataRequest.WriteDispositionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ExportInsightsDataRequest.WriteDispositionvalueOf(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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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
-
-