Class ExportInsightsDataRequest.BigQueryDestination.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
com.google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination.Builder
- All Implemented Interfaces:
ExportInsightsDataRequest.BigQueryDestinationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportInsightsDataRequest.BigQueryDestination
public static final class ExportInsightsDataRequest.BigQueryDestination.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
implements ExportInsightsDataRequest.BigQueryDestinationOrBuilder
A BigQuery Table Reference.Protobuf type
google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Required.A project ID or number.The BigQuery table name to which the insights data should be written.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA project ID or number.com.google.protobuf.ByteStringA project ID or number.getTable()The BigQuery table name to which the insights data should be written.com.google.protobuf.ByteStringThe BigQuery table name to which the insights data should be written.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDataset(String value) Required.setDatasetBytes(com.google.protobuf.ByteString value) Required.setProjectId(String value) A project ID or number.setProjectIdBytes(com.google.protobuf.ByteString value) A project ID or number.The BigQuery table name to which the insights data should be written.setTableBytes(com.google.protobuf.ByteString value) The BigQuery table name to which the insights data should be written.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
-
mergeFrom
public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(ExportInsightsDataRequest.BigQueryDestination other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>
-
mergeFrom
public ExportInsightsDataRequest.BigQueryDestination.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportInsightsDataRequest.BigQueryDestination.Builder>- Throws:
IOException
-
getProjectId
A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
string project_id = 3;- Specified by:
getProjectIdin interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
string project_id = 3;- Specified by:
getProjectIdBytesin interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
string project_id = 3;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
string project_id = 3;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public ExportInsightsDataRequest.BigQueryDestination.Builder setProjectIdBytes(com.google.protobuf.ByteString value) A project ID or number. If specified, then export will attempt to write data to this project instead of the resource project. Otherwise, the resource project will be used.
string project_id = 3;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getDataset
Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatasetin interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The dataset.
-
getDatasetBytes
public com.google.protobuf.ByteString getDatasetBytes()Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatasetBytesin interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The bytes for dataset.
-
setDataset
Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The dataset to set.- Returns:
- This builder for chaining.
-
clearDataset
Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setDatasetBytes
public ExportInsightsDataRequest.BigQueryDestination.Builder setDatasetBytes(com.google.protobuf.ByteString value) Required. The name of the BigQuery dataset that the snapshot result should be exported to. If this dataset does not exist, the export call returns an INVALID_ARGUMENT error.
string dataset = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for dataset to set.- Returns:
- This builder for chaining.
-
getTable
The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
string table = 2;- Specified by:
getTablein interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
string table = 2;- Specified by:
getTableBytesin interfaceExportInsightsDataRequest.BigQueryDestinationOrBuilder- Returns:
- The bytes for table.
-
setTable
The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
string table = 2;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
string table = 2;- Returns:
- This builder for chaining.
-
setTableBytes
public ExportInsightsDataRequest.BigQueryDestination.Builder setTableBytes(com.google.protobuf.ByteString value) The BigQuery table name to which the insights data should be written. If this table does not exist, the export call returns an INVALID_ARGUMENT error.
string table = 2;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-