Class ExportInsightsDataRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
- com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.Builder
-
- All Implemented Interfaces:
ExportInsightsDataRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ExportInsightsDataRequest
public static final class ExportInsightsDataRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder> implements ExportInsightsDataRequestOrBuilder
The request to export insights.
Protobuf typegoogle.cloud.contactcenterinsights.v1.ExportInsightsDataRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportInsightsDataRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExportInsightsDataRequest
build()
ExportInsightsDataRequest
buildPartial()
ExportInsightsDataRequest.Builder
clear()
ExportInsightsDataRequest.Builder
clearBigQueryDestination()
Specified if sink is a BigQuery table.ExportInsightsDataRequest.Builder
clearDestination()
ExportInsightsDataRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ExportInsightsDataRequest.Builder
clearFilter()
A filter to reduce results to a specific subset.ExportInsightsDataRequest.Builder
clearKmsKey()
A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ExportInsightsDataRequest.Builder
clearParent()
Required.ExportInsightsDataRequest.Builder
clearWriteDisposition()
Options for what to do if the destination table already exists.ExportInsightsDataRequest.Builder
clone()
ExportInsightsDataRequest.BigQueryDestination
getBigQueryDestination()
Specified if sink is a BigQuery table.ExportInsightsDataRequest.BigQueryDestination.Builder
getBigQueryDestinationBuilder()
Specified if sink is a BigQuery table.ExportInsightsDataRequest.BigQueryDestinationOrBuilder
getBigQueryDestinationOrBuilder()
Specified if sink is a BigQuery table.ExportInsightsDataRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ExportInsightsDataRequest.DestinationCase
getDestinationCase()
String
getFilter()
A filter to reduce results to a specific subset.com.google.protobuf.ByteString
getFilterBytes()
A filter to reduce results to a specific subset.String
getKmsKey()
A fully qualified KMS key name for BigQuery tables protected by CMEK.com.google.protobuf.ByteString
getKmsKeyBytes()
A fully qualified KMS key name for BigQuery tables protected by CMEK.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.ExportInsightsDataRequest.WriteDisposition
getWriteDisposition()
Options for what to do if the destination table already exists.int
getWriteDispositionValue()
Options for what to do if the destination table already exists.boolean
hasBigQueryDestination()
Specified if sink is a BigQuery table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ExportInsightsDataRequest.Builder
mergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.ExportInsightsDataRequest.Builder
mergeFrom(ExportInsightsDataRequest other)
ExportInsightsDataRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ExportInsightsDataRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ExportInsightsDataRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExportInsightsDataRequest.Builder
setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.ExportInsightsDataRequest.Builder
setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue)
Specified if sink is a BigQuery table.ExportInsightsDataRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ExportInsightsDataRequest.Builder
setFilter(String value)
A filter to reduce results to a specific subset.ExportInsightsDataRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
A filter to reduce results to a specific subset.ExportInsightsDataRequest.Builder
setKmsKey(String value)
A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.Builder
setKmsKeyBytes(com.google.protobuf.ByteString value)
A fully qualified KMS key name for BigQuery tables protected by CMEK.ExportInsightsDataRequest.Builder
setParent(String value)
Required.ExportInsightsDataRequest.Builder
setParentBytes(com.google.protobuf.ByteString value)
Required.ExportInsightsDataRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ExportInsightsDataRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ExportInsightsDataRequest.Builder
setWriteDisposition(ExportInsightsDataRequest.WriteDisposition value)
Options for what to do if the destination table already exists.ExportInsightsDataRequest.Builder
setWriteDispositionValue(int value)
Options for what to do if the destination table already exists.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clear
public ExportInsightsDataRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
getDefaultInstanceForType
public ExportInsightsDataRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportInsightsDataRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportInsightsDataRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportInsightsDataRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
setField
public ExportInsightsDataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clearField
public ExportInsightsDataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
clearOneof
public ExportInsightsDataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
setRepeatedField
public ExportInsightsDataRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
addRepeatedField
public ExportInsightsDataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(ExportInsightsDataRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeFrom
public ExportInsightsDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.Builder>
- Throws:
IOException
-
getDestinationCase
public ExportInsightsDataRequest.DestinationCase getDestinationCase()
- Specified by:
getDestinationCase
in interfaceExportInsightsDataRequestOrBuilder
-
clearDestination
public ExportInsightsDataRequest.Builder clearDestination()
-
hasBigQueryDestination
public boolean hasBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
- Specified by:
hasBigQueryDestination
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- Whether the bigQueryDestination field is set.
-
getBigQueryDestination
public ExportInsightsDataRequest.BigQueryDestination getBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
- Specified by:
getBigQueryDestination
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The bigQueryDestination.
-
setBigQueryDestination
public ExportInsightsDataRequest.Builder setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
setBigQueryDestination
public ExportInsightsDataRequest.Builder setBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination.Builder builderForValue)
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
mergeBigQueryDestination
public ExportInsightsDataRequest.Builder mergeBigQueryDestination(ExportInsightsDataRequest.BigQueryDestination value)
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
clearBigQueryDestination
public ExportInsightsDataRequest.Builder clearBigQueryDestination()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
getBigQueryDestinationBuilder
public ExportInsightsDataRequest.BigQueryDestination.Builder getBigQueryDestinationBuilder()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
-
getBigQueryDestinationOrBuilder
public ExportInsightsDataRequest.BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder()
Specified if sink is a BigQuery table.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination big_query_destination = 2;
- Specified by:
getBigQueryDestinationOrBuilder
in interfaceExportInsightsDataRequestOrBuilder
-
getParent
public String getParent()
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParent
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getParentBytes
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The bytes for parent.
-
setParent
public ExportInsightsDataRequest.Builder setParent(String value)
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
public ExportInsightsDataRequest.Builder clearParent()
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setParentBytes
public ExportInsightsDataRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource to export data from.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;
- Specified by:
getFilter
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;
- Specified by:
getFilterBytes
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public ExportInsightsDataRequest.Builder setFilter(String value)
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ExportInsightsDataRequest.Builder clearFilter()
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;
- Returns:
- This builder for chaining.
-
setFilterBytes
public ExportInsightsDataRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
A filter to reduce results to a specific subset. Useful for exporting conversations with specific properties.
string filter = 3;
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getKmsKey
public String getKmsKey()
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
string kms_key = 4;
- Specified by:
getKmsKey
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The kmsKey.
-
getKmsKeyBytes
public com.google.protobuf.ByteString getKmsKeyBytes()
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
string kms_key = 4;
- Specified by:
getKmsKeyBytes
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The bytes for kmsKey.
-
setKmsKey
public ExportInsightsDataRequest.Builder setKmsKey(String value)
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
string kms_key = 4;
- Parameters:
value
- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
public ExportInsightsDataRequest.Builder clearKmsKey()
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
string kms_key = 4;
- Returns:
- This builder for chaining.
-
setKmsKeyBytes
public ExportInsightsDataRequest.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
A fully qualified KMS key name for BigQuery tables protected by CMEK. Format: projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version}
string kms_key = 4;
- Parameters:
value
- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-
getWriteDispositionValue
public int getWriteDispositionValue()
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;
- Specified by:
getWriteDispositionValue
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The enum numeric value on the wire for writeDisposition.
-
setWriteDispositionValue
public ExportInsightsDataRequest.Builder setWriteDispositionValue(int value)
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;
- Parameters:
value
- The enum numeric value on the wire for writeDisposition to set.- Returns:
- This builder for chaining.
-
getWriteDisposition
public ExportInsightsDataRequest.WriteDisposition getWriteDisposition()
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;
- Specified by:
getWriteDisposition
in interfaceExportInsightsDataRequestOrBuilder
- Returns:
- The writeDisposition.
-
setWriteDisposition
public ExportInsightsDataRequest.Builder setWriteDisposition(ExportInsightsDataRequest.WriteDisposition value)
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;
- Parameters:
value
- The writeDisposition to set.- Returns:
- This builder for chaining.
-
clearWriteDisposition
public ExportInsightsDataRequest.Builder clearWriteDisposition()
Options for what to do if the destination table already exists.
.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition write_disposition = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ExportInsightsDataRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
mergeUnknownFields
public final ExportInsightsDataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportInsightsDataRequest.Builder>
-
-