Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * String filter = "filter-1274492040";
+ * float analysisPercentage = 1609757661;
+ * BulkAnalyzeConversationsResponse response =
+ * contactCenterInsightsClient
+ * .bulkAnalyzeConversationsAsync(parent, filter, analysisPercentage)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource to create analyses in.
+ * @param filter Required. Filter used to select the subset of conversations to analyze.
+ * @param analysisPercentage Required. Percentage of selected conversation to analyze, between [0,
+ * 100].
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * String filter = "filter-1274492040";
+ * float analysisPercentage = 1609757661;
+ * BulkAnalyzeConversationsResponse response =
+ * contactCenterInsightsClient
+ * .bulkAnalyzeConversationsAsync(parent, filter, analysisPercentage)
+ * .get();
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource to create analyses in.
+ * @param filter Required. Filter used to select the subset of conversations to analyze.
+ * @param analysisPercentage Required. Percentage of selected conversation to analyze, between [0,
+ * 100].
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * BulkAnalyzeConversationsRequest request =
+ * BulkAnalyzeConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setAnalysisPercentage(1609757661)
+ * .setAnnotatorSelector(AnnotatorSelector.newBuilder().build())
+ * .build();
+ * BulkAnalyzeConversationsResponse response =
+ * contactCenterInsightsClient.bulkAnalyzeConversationsAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * BulkAnalyzeConversationsRequest request =
+ * BulkAnalyzeConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setAnalysisPercentage(1609757661)
+ * .setAnnotatorSelector(AnnotatorSelector.newBuilder().build())
+ * .build();
+ * OperationFuture future =
+ * contactCenterInsightsClient
+ * .bulkAnalyzeConversationsOperationCallable()
+ * .futureCall(request);
+ * // Do something.
+ * BulkAnalyzeConversationsResponse response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable<
+ BulkAnalyzeConversationsRequest,
+ BulkAnalyzeConversationsResponse,
+ BulkAnalyzeConversationsMetadata>
+ bulkAnalyzeConversationsOperationCallable() {
+ return stub.bulkAnalyzeConversationsOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Analyzes multiple conversations in a single request.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * BulkAnalyzeConversationsRequest request =
+ * BulkAnalyzeConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setFilter("filter-1274492040")
+ * .setAnalysisPercentage(1609757661)
+ * .setAnnotatorSelector(AnnotatorSelector.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * contactCenterInsightsClient.bulkAnalyzeConversationsCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
+ * IngestConversationsResponse response =
+ * contactCenterInsightsClient.ingestConversationsAsync(parent).get();
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource for new conversations.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
+ * IngestConversationsResponse response =
+ * contactCenterInsightsClient.ingestConversationsAsync(parent).get();
+ * }
+ * }
+ *
+ * @param parent Required. The parent resource for new conversations.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * IngestConversationsRequest request =
+ * IngestConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setConversationConfig(
+ * IngestConversationsRequest.ConversationConfig.newBuilder().build())
+ * .build();
+ * IngestConversationsResponse response =
+ * contactCenterInsightsClient.ingestConversationsAsync(request).get();
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFutureSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * IngestConversationsRequest request =
+ * IngestConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setConversationConfig(
+ * IngestConversationsRequest.ConversationConfig.newBuilder().build())
+ * .build();
+ * OperationFuture future =
+ * contactCenterInsightsClient.ingestConversationsOperationCallable().futureCall(request);
+ * // Do something.
+ * IngestConversationsResponse response = future.get();
+ * }
+ * }
+ */
+ public final OperationCallable<
+ IngestConversationsRequest, IngestConversationsResponse, IngestConversationsMetadata>
+ ingestConversationsOperationCallable() {
+ return stub.ingestConversationsOperationCallable();
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Imports conversations and processes them according to the user's configuration.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * IngestConversationsRequest request =
+ * IngestConversationsRequest.newBuilder()
+ * .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
+ * .setConversationConfig(
+ * IngestConversationsRequest.ConversationConfig.newBuilder().build())
+ * .build();
+ * ApiFuture future =
+ * contactCenterInsightsClient.ingestConversationsCallable().futureCall(request);
+ * // Do something.
+ * Operation response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallableSample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * IssueName name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]");
+ * contactCenterInsightsClient.deleteIssue(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the issue to delete.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteIssue(IssueName name) {
+ DeleteIssueRequest request =
+ DeleteIssueRequest.newBuilder().setName(name == null ? null : name.toString()).build();
+ deleteIssue(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes an issue.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * String name = IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString();
+ * contactCenterInsightsClient.deleteIssue(name);
+ * }
+ * }
+ *
+ * @param name Required. The name of the issue to delete.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteIssue(String name) {
+ DeleteIssueRequest request = DeleteIssueRequest.newBuilder().setName(name).build();
+ deleteIssue(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes an issue.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * DeleteIssueRequest request =
+ * DeleteIssueRequest.newBuilder()
+ * .setName(
+ * IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString())
+ * .build();
+ * contactCenterInsightsClient.deleteIssue(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final void deleteIssue(DeleteIssueRequest request) {
+ deleteIssueCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Deletes an issue.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ContactCenterInsightsClient contactCenterInsightsClient =
+ * ContactCenterInsightsClient.create()) {
+ * DeleteIssueRequest request =
+ * DeleteIssueRequest.newBuilder()
+ * .setName(
+ * IssueName.of("[PROJECT]", "[LOCATION]", "[ISSUE_MODEL]", "[ISSUE]").toString())
+ * .build();
+ * ApiFuture future =
+ * contactCenterInsightsClient.deleteIssueCallable().futureCall(request);
+ * // Do something.
+ * future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable+ * Analyzes multiple conversations in a single request. + *+ */ + public void bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver
+ * Imports conversations and processes them according to the user's + * configuration. + *+ */ + public void ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes an issue. + *+ */ + public void deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver
+ * Analyzes multiple conversations in a single request. + *+ */ + public void bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request, + io.grpc.stub.StreamObserver
+ * Imports conversations and processes them according to the user's + * configuration. + *+ */ + public void ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes an issue. + *+ */ + public void deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request, + io.grpc.stub.StreamObserver
+ * Analyzes multiple conversations in a single request. + *+ */ + public com.google.longrunning.Operation bulkAnalyzeConversations( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getBulkAnalyzeConversationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+ * Imports conversations and processes them according to the user's + * configuration. + *+ */ + public com.google.longrunning.Operation ingestConversations( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getIngestConversationsMethod(), getCallOptions(), request); + } + /** * * @@ -3301,6 +3582,19 @@ public com.google.cloud.contactcenterinsights.v1.Issue updateIssue( getChannel(), getUpdateIssueMethod(), getCallOptions(), request); } + /** + * + * + *
+ * Deletes an issue. + *+ */ + public com.google.protobuf.Empty deleteIssue( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIssueMethod(), getCallOptions(), request); + } + /** * * @@ -3633,6 +3927,35 @@ protected ContactCenterInsightsFutureStub build( getChannel().newCall(getDeleteAnalysisMethod(), getCallOptions()), request); } + /** + * + * + *
+ * Analyzes multiple conversations in a single request. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Imports conversations and processes them according to the user's + * configuration. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes an issue. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ @java.lang.Override
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ return getAnnotatorSelector();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -305,6 +357,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (analysisResult_ != null) {
output.writeMessage(7, getAnalysisResult());
}
+ if (annotatorSelector_ != null) {
+ output.writeMessage(8, getAnnotatorSelector());
+ }
getUnknownFields().writeTo(output);
}
@@ -326,6 +381,9 @@ public int getSerializedSize() {
if (analysisResult_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getAnalysisResult());
}
+ if (annotatorSelector_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -355,6 +413,10 @@ public boolean equals(final java.lang.Object obj) {
if (hasAnalysisResult()) {
if (!getAnalysisResult().equals(other.getAnalysisResult())) return false;
}
+ if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
+ if (hasAnnotatorSelector()) {
+ if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -380,6 +442,10 @@ public int hashCode() {
hash = (37 * hash) + ANALYSIS_RESULT_FIELD_NUMBER;
hash = (53 * hash) + getAnalysisResult().hashCode();
}
+ if (hasAnnotatorSelector()) {
+ hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getAnnotatorSelector().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -538,6 +604,12 @@ public Builder clear() {
analysisResult_ = null;
analysisResultBuilder_ = null;
}
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = null;
+ } else {
+ annotatorSelector_ = null;
+ annotatorSelectorBuilder_ = null;
+ }
return this;
}
@@ -581,6 +653,11 @@ public com.google.cloud.contactcenterinsights.v1.Analysis buildPartial() {
} else {
result.analysisResult_ = analysisResultBuilder_.build();
}
+ if (annotatorSelectorBuilder_ == null) {
+ result.annotatorSelector_ = annotatorSelector_;
+ } else {
+ result.annotatorSelector_ = annotatorSelectorBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -644,6 +721,9 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.Analysis othe
if (other.hasAnalysisResult()) {
mergeAnalysisResult(other.getAnalysisResult());
}
+ if (other.hasAnnotatorSelector()) {
+ mergeAnnotatorSelector(other.getAnnotatorSelector());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -694,6 +774,13 @@ public Builder mergeFrom(
break;
} // case 58
+ case 66:
+ {
+ input.readMessage(
+ getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry);
+
+ break;
+ } // case 66
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1457,6 +1544,206 @@ public Builder clearAnalysisResult() {
return analysisResultBuilder_;
}
+ private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ annotatorSelectorBuilder_;
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelectorBuilder_ != null || annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ } else {
+ return annotatorSelectorBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ annotatorSelector_ = value;
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = builderForValue.build();
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder mergeAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (annotatorSelector_ != null) {
+ annotatorSelector_ =
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.newBuilder(
+ annotatorSelector_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ annotatorSelector_ = value;
+ }
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder clearAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = null;
+ onChanged();
+ } else {
+ annotatorSelector_ = null;
+ annotatorSelectorBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
+ getAnnotatorSelectorBuilder() {
+
+ onChanged();
+ return getAnnotatorSelectorFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ if (annotatorSelectorBuilder_ != null) {
+ return annotatorSelectorBuilder_.getMessageOrBuilder();
+ } else {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ getAnnotatorSelectorFieldBuilder() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelectorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+ getAnnotatorSelector(), getParentForChildren(), isClean());
+ annotatorSelector_ = null;
+ }
+ return annotatorSelectorBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
index d6a4eb430c52..36d6e9e24d20 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnalysisOrBuilder.java
@@ -174,4 +174,43 @@ public interface AnalysisOrBuilder
*
*/
com.google.cloud.contactcenterinsights.v1.AnalysisResultOrBuilder getAnalysisResultOrBuilder();
+
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ boolean hasAnnotatorSelector();
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector();
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder();
}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java
new file mode 100644
index 000000000000..c5d27c0a9a7c
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/AnnotatorSelector.java
@@ -0,0 +1,1726 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/resources.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * Selector of all available annotators and phrase matchers to run. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} + */ +public final class AnnotatorSelector extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.AnnotatorSelector) + AnnotatorSelectorOrBuilder { + private static final long serialVersionUID = 0L; + // Use AnnotatorSelector.newBuilder() to construct. + private AnnotatorSelector(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private AnnotatorSelector() { + phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY; + issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AnnotatorSelector(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ResourcesProto + .internal_static_google_cloud_contactcenterinsights_v1_AnnotatorSelector_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.class, + com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder.class); + } + + public static final int RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER = 1; + private boolean runInterruptionAnnotator_; + /** + * + * + *
+ * Whether to run the interruption annotator. + *+ * + *
bool run_interruption_annotator = 1;
+ *
+ * @return The runInterruptionAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunInterruptionAnnotator() {
+ return runInterruptionAnnotator_;
+ }
+
+ public static final int RUN_SILENCE_ANNOTATOR_FIELD_NUMBER = 2;
+ private boolean runSilenceAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the silence annotator. + *+ * + *
bool run_silence_annotator = 2;
+ *
+ * @return The runSilenceAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunSilenceAnnotator() {
+ return runSilenceAnnotator_;
+ }
+
+ public static final int RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER = 3;
+ private boolean runPhraseMatcherAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the active phrase matcher annotator(s). + *+ * + *
bool run_phrase_matcher_annotator = 3;
+ *
+ * @return The runPhraseMatcherAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunPhraseMatcherAnnotator() {
+ return runPhraseMatcherAnnotator_;
+ }
+
+ public static final int PHRASE_MATCHERS_FIELD_NUMBER = 4;
+ private com.google.protobuf.LazyStringList phraseMatchers_;
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the phraseMatchers.
+ */
+ public com.google.protobuf.ProtocolStringList getPhraseMatchersList() {
+ return phraseMatchers_;
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of phraseMatchers.
+ */
+ public int getPhraseMatchersCount() {
+ return phraseMatchers_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The phraseMatchers at the given index.
+ */
+ public java.lang.String getPhraseMatchers(int index) {
+ return phraseMatchers_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the phraseMatchers at the given index.
+ */
+ public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) {
+ return phraseMatchers_.getByteString(index);
+ }
+
+ public static final int RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER = 5;
+ private boolean runSentimentAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the sentiment annotator. + *+ * + *
bool run_sentiment_annotator = 5;
+ *
+ * @return The runSentimentAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunSentimentAnnotator() {
+ return runSentimentAnnotator_;
+ }
+
+ public static final int RUN_ENTITY_ANNOTATOR_FIELD_NUMBER = 6;
+ private boolean runEntityAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the entity annotator. + *+ * + *
bool run_entity_annotator = 6;
+ *
+ * @return The runEntityAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunEntityAnnotator() {
+ return runEntityAnnotator_;
+ }
+
+ public static final int RUN_INTENT_ANNOTATOR_FIELD_NUMBER = 7;
+ private boolean runIntentAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the intent annotator. + *+ * + *
bool run_intent_annotator = 7;
+ *
+ * @return The runIntentAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunIntentAnnotator() {
+ return runIntentAnnotator_;
+ }
+
+ public static final int RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER = 8;
+ private boolean runIssueModelAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the issue model annotator. A model should have already been + * deployed for this to take effect. + *+ * + *
bool run_issue_model_annotator = 8;
+ *
+ * @return The runIssueModelAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunIssueModelAnnotator() {
+ return runIssueModelAnnotator_;
+ }
+
+ public static final int ISSUE_MODELS_FIELD_NUMBER = 10;
+ private com.google.protobuf.LazyStringList issueModels_;
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the issueModels.
+ */
+ public com.google.protobuf.ProtocolStringList getIssueModelsList() {
+ return issueModels_;
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of issueModels.
+ */
+ public int getIssueModelsCount() {
+ return issueModels_.size();
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The issueModels at the given index.
+ */
+ public java.lang.String getIssueModels(int index) {
+ return issueModels_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the issueModels at the given index.
+ */
+ public com.google.protobuf.ByteString getIssueModelsBytes(int index) {
+ return issueModels_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (runInterruptionAnnotator_ != false) {
+ output.writeBool(1, runInterruptionAnnotator_);
+ }
+ if (runSilenceAnnotator_ != false) {
+ output.writeBool(2, runSilenceAnnotator_);
+ }
+ if (runPhraseMatcherAnnotator_ != false) {
+ output.writeBool(3, runPhraseMatcherAnnotator_);
+ }
+ for (int i = 0; i < phraseMatchers_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, phraseMatchers_.getRaw(i));
+ }
+ if (runSentimentAnnotator_ != false) {
+ output.writeBool(5, runSentimentAnnotator_);
+ }
+ if (runEntityAnnotator_ != false) {
+ output.writeBool(6, runEntityAnnotator_);
+ }
+ if (runIntentAnnotator_ != false) {
+ output.writeBool(7, runIntentAnnotator_);
+ }
+ if (runIssueModelAnnotator_ != false) {
+ output.writeBool(8, runIssueModelAnnotator_);
+ }
+ for (int i = 0; i < issueModels_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, issueModels_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (runInterruptionAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, runInterruptionAnnotator_);
+ }
+ if (runSilenceAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, runSilenceAnnotator_);
+ }
+ if (runPhraseMatcherAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, runPhraseMatcherAnnotator_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < phraseMatchers_.size(); i++) {
+ dataSize += computeStringSizeNoTag(phraseMatchers_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getPhraseMatchersList().size();
+ }
+ if (runSentimentAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, runSentimentAnnotator_);
+ }
+ if (runEntityAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, runEntityAnnotator_);
+ }
+ if (runIntentAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, runIntentAnnotator_);
+ }
+ if (runIssueModelAnnotator_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, runIssueModelAnnotator_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < issueModels_.size(); i++) {
+ dataSize += computeStringSizeNoTag(issueModels_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getIssueModelsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.AnnotatorSelector)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector other =
+ (com.google.cloud.contactcenterinsights.v1.AnnotatorSelector) obj;
+
+ if (getRunInterruptionAnnotator() != other.getRunInterruptionAnnotator()) return false;
+ if (getRunSilenceAnnotator() != other.getRunSilenceAnnotator()) return false;
+ if (getRunPhraseMatcherAnnotator() != other.getRunPhraseMatcherAnnotator()) return false;
+ if (!getPhraseMatchersList().equals(other.getPhraseMatchersList())) return false;
+ if (getRunSentimentAnnotator() != other.getRunSentimentAnnotator()) return false;
+ if (getRunEntityAnnotator() != other.getRunEntityAnnotator()) return false;
+ if (getRunIntentAnnotator() != other.getRunIntentAnnotator()) return false;
+ if (getRunIssueModelAnnotator() != other.getRunIssueModelAnnotator()) return false;
+ if (!getIssueModelsList().equals(other.getIssueModelsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RUN_INTERRUPTION_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunInterruptionAnnotator());
+ hash = (37 * hash) + RUN_SILENCE_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSilenceAnnotator());
+ hash = (37 * hash) + RUN_PHRASE_MATCHER_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunPhraseMatcherAnnotator());
+ if (getPhraseMatchersCount() > 0) {
+ hash = (37 * hash) + PHRASE_MATCHERS_FIELD_NUMBER;
+ hash = (53 * hash) + getPhraseMatchersList().hashCode();
+ }
+ hash = (37 * hash) + RUN_SENTIMENT_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunSentimentAnnotator());
+ hash = (37 * hash) + RUN_ENTITY_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunEntityAnnotator());
+ hash = (37 * hash) + RUN_INTENT_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIntentAnnotator());
+ hash = (37 * hash) + RUN_ISSUE_MODEL_ANNOTATOR_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRunIssueModelAnnotator());
+ if (getIssueModelsCount() > 0) {
+ hash = (37 * hash) + ISSUE_MODELS_FIELD_NUMBER;
+ hash = (53 * hash) + getIssueModelsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Selector of all available annotators and phrase matchers to run. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.AnnotatorSelector} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Whether to run the interruption annotator. + *+ * + *
bool run_interruption_annotator = 1;
+ *
+ * @return The runInterruptionAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunInterruptionAnnotator() {
+ return runInterruptionAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the interruption annotator. + *+ * + *
bool run_interruption_annotator = 1;
+ *
+ * @param value The runInterruptionAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunInterruptionAnnotator(boolean value) {
+
+ runInterruptionAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the interruption annotator. + *+ * + *
bool run_interruption_annotator = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunInterruptionAnnotator() {
+
+ runInterruptionAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean runSilenceAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the silence annotator. + *+ * + *
bool run_silence_annotator = 2;
+ *
+ * @return The runSilenceAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunSilenceAnnotator() {
+ return runSilenceAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the silence annotator. + *+ * + *
bool run_silence_annotator = 2;
+ *
+ * @param value The runSilenceAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunSilenceAnnotator(boolean value) {
+
+ runSilenceAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the silence annotator. + *+ * + *
bool run_silence_annotator = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunSilenceAnnotator() {
+
+ runSilenceAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean runPhraseMatcherAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the active phrase matcher annotator(s). + *+ * + *
bool run_phrase_matcher_annotator = 3;
+ *
+ * @return The runPhraseMatcherAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunPhraseMatcherAnnotator() {
+ return runPhraseMatcherAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the active phrase matcher annotator(s). + *+ * + *
bool run_phrase_matcher_annotator = 3;
+ *
+ * @param value The runPhraseMatcherAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunPhraseMatcherAnnotator(boolean value) {
+
+ runPhraseMatcherAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the active phrase matcher annotator(s). + *+ * + *
bool run_phrase_matcher_annotator = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunPhraseMatcherAnnotator() {
+
+ runPhraseMatcherAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList phraseMatchers_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensurePhraseMatchersIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ phraseMatchers_ = new com.google.protobuf.LazyStringArrayList(phraseMatchers_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the phraseMatchers.
+ */
+ public com.google.protobuf.ProtocolStringList getPhraseMatchersList() {
+ return phraseMatchers_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of phraseMatchers.
+ */
+ public int getPhraseMatchersCount() {
+ return phraseMatchers_.size();
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The phraseMatchers at the given index.
+ */
+ public java.lang.String getPhraseMatchers(int index) {
+ return phraseMatchers_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the phraseMatchers at the given index.
+ */
+ public com.google.protobuf.ByteString getPhraseMatchersBytes(int index) {
+ return phraseMatchers_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index to set the value at.
+ * @param value The phraseMatchers to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPhraseMatchers(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePhraseMatchersIsMutable();
+ phraseMatchers_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The phraseMatchers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addPhraseMatchers(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePhraseMatchersIsMutable();
+ phraseMatchers_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param values The phraseMatchers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllPhraseMatchers(java.lang.Iterable
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPhraseMatchers() {
+ phraseMatchers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes of the phraseMatchers to add.
+ * @return This builder for chaining.
+ */
+ public Builder addPhraseMatchersBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensurePhraseMatchersIsMutable();
+ phraseMatchers_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private boolean runSentimentAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the sentiment annotator. + *+ * + *
bool run_sentiment_annotator = 5;
+ *
+ * @return The runSentimentAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunSentimentAnnotator() {
+ return runSentimentAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the sentiment annotator. + *+ * + *
bool run_sentiment_annotator = 5;
+ *
+ * @param value The runSentimentAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunSentimentAnnotator(boolean value) {
+
+ runSentimentAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the sentiment annotator. + *+ * + *
bool run_sentiment_annotator = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunSentimentAnnotator() {
+
+ runSentimentAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean runEntityAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the entity annotator. + *+ * + *
bool run_entity_annotator = 6;
+ *
+ * @return The runEntityAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunEntityAnnotator() {
+ return runEntityAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the entity annotator. + *+ * + *
bool run_entity_annotator = 6;
+ *
+ * @param value The runEntityAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunEntityAnnotator(boolean value) {
+
+ runEntityAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the entity annotator. + *+ * + *
bool run_entity_annotator = 6;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunEntityAnnotator() {
+
+ runEntityAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean runIntentAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the intent annotator. + *+ * + *
bool run_intent_annotator = 7;
+ *
+ * @return The runIntentAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunIntentAnnotator() {
+ return runIntentAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the intent annotator. + *+ * + *
bool run_intent_annotator = 7;
+ *
+ * @param value The runIntentAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunIntentAnnotator(boolean value) {
+
+ runIntentAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the intent annotator. + *+ * + *
bool run_intent_annotator = 7;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunIntentAnnotator() {
+
+ runIntentAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean runIssueModelAnnotator_;
+ /**
+ *
+ *
+ * + * Whether to run the issue model annotator. A model should have already been + * deployed for this to take effect. + *+ * + *
bool run_issue_model_annotator = 8;
+ *
+ * @return The runIssueModelAnnotator.
+ */
+ @java.lang.Override
+ public boolean getRunIssueModelAnnotator() {
+ return runIssueModelAnnotator_;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the issue model annotator. A model should have already been + * deployed for this to take effect. + *+ * + *
bool run_issue_model_annotator = 8;
+ *
+ * @param value The runIssueModelAnnotator to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRunIssueModelAnnotator(boolean value) {
+
+ runIssueModelAnnotator_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Whether to run the issue model annotator. A model should have already been + * deployed for this to take effect. + *+ * + *
bool run_issue_model_annotator = 8;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRunIssueModelAnnotator() {
+
+ runIssueModelAnnotator_ = false;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList issueModels_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureIssueModelsIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ issueModels_ = new com.google.protobuf.LazyStringArrayList(issueModels_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the issueModels.
+ */
+ public com.google.protobuf.ProtocolStringList getIssueModelsList() {
+ return issueModels_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of issueModels.
+ */
+ public int getIssueModelsCount() {
+ return issueModels_.size();
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The issueModels at the given index.
+ */
+ public java.lang.String getIssueModels(int index) {
+ return issueModels_.get(index);
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the issueModels at the given index.
+ */
+ public com.google.protobuf.ByteString getIssueModelsBytes(int index) {
+ return issueModels_.getByteString(index);
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index to set the value at.
+ * @param value The issueModels to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIssueModels(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueModelsIsMutable();
+ issueModels_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The issueModels to add.
+ * @return This builder for chaining.
+ */
+ public Builder addIssueModels(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureIssueModelsIsMutable();
+ issueModels_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param values The issueModels to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllIssueModels(java.lang.Iterable+ * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearIssueModels() {
+ issueModels_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param value The bytes of the issueModels to add.
+ * @return This builder for chaining.
+ */
+ public Builder addIssueModelsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureIssueModelsIsMutable();
+ issueModels_.add(value);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.AnnotatorSelector)
+ private static final com.google.cloud.contactcenterinsights.v1.AnnotatorSelector DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.AnnotatorSelector();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Whether to run the interruption annotator. + *+ * + *
bool run_interruption_annotator = 1;
+ *
+ * @return The runInterruptionAnnotator.
+ */
+ boolean getRunInterruptionAnnotator();
+
+ /**
+ *
+ *
+ * + * Whether to run the silence annotator. + *+ * + *
bool run_silence_annotator = 2;
+ *
+ * @return The runSilenceAnnotator.
+ */
+ boolean getRunSilenceAnnotator();
+
+ /**
+ *
+ *
+ * + * Whether to run the active phrase matcher annotator(s). + *+ * + *
bool run_phrase_matcher_annotator = 3;
+ *
+ * @return The runPhraseMatcherAnnotator.
+ */
+ boolean getRunPhraseMatcherAnnotator();
+
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the phraseMatchers.
+ */
+ java.util.List
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of phraseMatchers.
+ */
+ int getPhraseMatchersCount();
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The phraseMatchers at the given index.
+ */
+ java.lang.String getPhraseMatchers(int index);
+ /**
+ *
+ *
+ *
+ * The list of phrase matchers to run. If not provided, all active phrase
+ * matchers will be used. If inactive phrase matchers are provided, they will
+ * not be used. Phrase matchers will be run only if
+ * run_phrase_matcher_annotator is set to true. Format:
+ * projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
+ *
+ *
+ * repeated string phrase_matchers = 4 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the phraseMatchers at the given index.
+ */
+ com.google.protobuf.ByteString getPhraseMatchersBytes(int index);
+
+ /**
+ *
+ *
+ * + * Whether to run the sentiment annotator. + *+ * + *
bool run_sentiment_annotator = 5;
+ *
+ * @return The runSentimentAnnotator.
+ */
+ boolean getRunSentimentAnnotator();
+
+ /**
+ *
+ *
+ * + * Whether to run the entity annotator. + *+ * + *
bool run_entity_annotator = 6;
+ *
+ * @return The runEntityAnnotator.
+ */
+ boolean getRunEntityAnnotator();
+
+ /**
+ *
+ *
+ * + * Whether to run the intent annotator. + *+ * + *
bool run_intent_annotator = 7;
+ *
+ * @return The runIntentAnnotator.
+ */
+ boolean getRunIntentAnnotator();
+
+ /**
+ *
+ *
+ * + * Whether to run the issue model annotator. A model should have already been + * deployed for this to take effect. + *+ * + *
bool run_issue_model_annotator = 8;
+ *
+ * @return The runIssueModelAnnotator.
+ */
+ boolean getRunIssueModelAnnotator();
+
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return A list containing the issueModels.
+ */
+ java.util.List+ * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @return The count of issueModels.
+ */
+ int getIssueModelsCount();
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the element to return.
+ * @return The issueModels at the given index.
+ */
+ java.lang.String getIssueModels(int index);
+ /**
+ *
+ *
+ * + * The issue model to run. If not provided, the most recently deployed topic + * model will be used. The provided issue model will only be used for + * inference if the issue model is deployed and if run_issue_model_annotator + * is set to true. If more than one issue model is provided, only the first + * provided issue model will be used for inference. + *+ * + *
repeated string issue_models = 10 [(.google.api.resource_reference) = { ... }
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the issueModels at the given index.
+ */
+ com.google.protobuf.ByteString getIssueModelsBytes(int index);
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java
new file mode 100644
index 000000000000..7e06bebdc582
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsMetadata.java
@@ -0,0 +1,1550 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The metadata for a bulk analyze conversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} + */ +public final class BulkAnalyzeConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) + BulkAnalyzeConversationsMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use BulkAnalyzeConversationsMetadata.newBuilder() to construct. + private BulkAnalyzeConversationsMetadata( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private BulkAnalyzeConversationsMetadata() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BulkAnalyzeConversationsMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata.Builder + .class); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+ * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return Whether the createTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreateTime() {
+ return createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return The createTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getCreateTime() {
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ return getCreateTime();
+ }
+
+ public static final int END_TIME_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp endTime_;
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasEndTime() {
+ return endTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getEndTime() {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ return getEndTime();
+ }
+
+ public static final int REQUEST_FIELD_NUMBER = 3;
+ private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_;
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ @java.lang.Override
+ public boolean hasRequest() {
+ return request_ != null;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return The request.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ .getDefaultInstance()
+ : request_;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder
+ getRequestOrBuilder() {
+ return getRequest();
+ }
+
+ public static final int COMPLETED_ANALYSES_COUNT_FIELD_NUMBER = 4;
+ private int completedAnalysesCount_;
+ /**
+ *
+ *
+ * + * The number of requested analyses that have completed successfully so far. + *+ * + *
int32 completed_analyses_count = 4;
+ *
+ * @return The completedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getCompletedAnalysesCount() {
+ return completedAnalysesCount_;
+ }
+
+ public static final int FAILED_ANALYSES_COUNT_FIELD_NUMBER = 5;
+ private int failedAnalysesCount_;
+ /**
+ *
+ *
+ * + * The number of requested analyses that have failed so far. + *+ * + *
int32 failed_analyses_count = 5;
+ *
+ * @return The failedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getFailedAnalysesCount() {
+ return failedAnalysesCount_;
+ }
+
+ public static final int TOTAL_REQUESTED_ANALYSES_COUNT_FIELD_NUMBER = 6;
+ private int totalRequestedAnalysesCount_;
+ /**
+ *
+ *
+ * + * Total number of analyses requested. Computed by the number of conversations + * returned by `filter` multiplied by `analysis_percentage` in the request. + *+ * + *
int32 total_requested_analyses_count = 6;
+ *
+ * @return The totalRequestedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getTotalRequestedAnalysesCount() {
+ return totalRequestedAnalysesCount_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (createTime_ != null) {
+ output.writeMessage(1, getCreateTime());
+ }
+ if (endTime_ != null) {
+ output.writeMessage(2, getEndTime());
+ }
+ if (request_ != null) {
+ output.writeMessage(3, getRequest());
+ }
+ if (completedAnalysesCount_ != 0) {
+ output.writeInt32(4, completedAnalysesCount_);
+ }
+ if (failedAnalysesCount_ != 0) {
+ output.writeInt32(5, failedAnalysesCount_);
+ }
+ if (totalRequestedAnalysesCount_ != 0) {
+ output.writeInt32(6, totalRequestedAnalysesCount_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (createTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
+ }
+ if (endTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+ }
+ if (request_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest());
+ }
+ if (completedAnalysesCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, completedAnalysesCount_);
+ }
+ if (failedAnalysesCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, failedAnalysesCount_);
+ }
+ if (totalRequestedAnalysesCount_ != 0) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeInt32Size(6, totalRequestedAnalysesCount_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata other =
+ (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata) obj;
+
+ if (hasCreateTime() != other.hasCreateTime()) return false;
+ if (hasCreateTime()) {
+ if (!getCreateTime().equals(other.getCreateTime())) return false;
+ }
+ if (hasEndTime() != other.hasEndTime()) return false;
+ if (hasEndTime()) {
+ if (!getEndTime().equals(other.getEndTime())) return false;
+ }
+ if (hasRequest() != other.hasRequest()) return false;
+ if (hasRequest()) {
+ if (!getRequest().equals(other.getRequest())) return false;
+ }
+ if (getCompletedAnalysesCount() != other.getCompletedAnalysesCount()) return false;
+ if (getFailedAnalysesCount() != other.getFailedAnalysesCount()) return false;
+ if (getTotalRequestedAnalysesCount() != other.getTotalRequestedAnalysesCount()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasCreateTime()) {
+ hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCreateTime().hashCode();
+ }
+ if (hasEndTime()) {
+ hash = (37 * hash) + END_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getEndTime().hashCode();
+ }
+ if (hasRequest()) {
+ hash = (37 * hash) + REQUEST_FIELD_NUMBER;
+ hash = (53 * hash) + getRequest().hashCode();
+ }
+ hash = (37 * hash) + COMPLETED_ANALYSES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getCompletedAnalysesCount();
+ hash = (37 * hash) + FAILED_ANALYSES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getFailedAnalysesCount();
+ hash = (37 * hash) + TOTAL_REQUESTED_ANALYSES_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getTotalRequestedAnalysesCount();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The metadata for a bulk analyze conversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return Whether the createTime field is set.
+ */
+ public boolean hasCreateTime() {
+ return createTimeBuilder_ != null || createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return The createTime.
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ if (createTimeBuilder_ == null) {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ } else {
+ return createTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createTime_ = value;
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (createTimeBuilder_ == null) {
+ createTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (createTime_ != null) {
+ createTime_ =
+ com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ } else {
+ createTime_ = value;
+ }
+ onChanged();
+ } else {
+ createTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public Builder clearCreateTime() {
+ if (createTimeBuilder_ == null) {
+ createTime_ = null;
+ onChanged();
+ } else {
+ createTime_ = null;
+ createTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
+
+ onChanged();
+ return getCreateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ if (createTimeBuilder_ != null) {
+ return createTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getCreateTimeFieldBuilder() {
+ if (createTimeBuilder_ == null) {
+ createTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(), getParentForChildren(), isClean());
+ createTime_ = null;
+ }
+ return createTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp endTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ endTimeBuilder_;
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
+ */
+ public boolean hasEndTime() {
+ return endTimeBuilder_ != null || endTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
+ */
+ public com.google.protobuf.Timestamp getEndTime() {
+ if (endTimeBuilder_ == null) {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ } else {
+ return endTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endTime_ = value;
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (endTimeBuilder_ == null) {
+ endTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (endTime_ != null) {
+ endTime_ =
+ com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ } else {
+ endTime_ = value;
+ }
+ onChanged();
+ } else {
+ endTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public Builder clearEndTime() {
+ if (endTimeBuilder_ == null) {
+ endTime_ = null;
+ onChanged();
+ } else {
+ endTime_ = null;
+ endTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
+
+ onChanged();
+ return getEndTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ if (endTimeBuilder_ != null) {
+ return endTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getEndTimeFieldBuilder() {
+ if (endTimeBuilder_ == null) {
+ endTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getEndTime(), getParentForChildren(), isClean());
+ endTime_ = null;
+ }
+ return endTimeBuilder_;
+ }
+
+ private com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>
+ requestBuilder_;
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ public boolean hasRequest() {
+ return requestBuilder_ != null || request_ != null;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return The request.
+ */
+ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest() {
+ if (requestBuilder_ == null) {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ .getDefaultInstance()
+ : request_;
+ } else {
+ return requestBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public Builder setRequest(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) {
+ if (requestBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ request_ = value;
+ onChanged();
+ } else {
+ requestBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public Builder setRequest(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder
+ builderForValue) {
+ if (requestBuilder_ == null) {
+ request_ = builderForValue.build();
+ onChanged();
+ } else {
+ requestBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public Builder mergeRequest(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest value) {
+ if (requestBuilder_ == null) {
+ if (request_ != null) {
+ request_ =
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.newBuilder(
+ request_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ request_ = value;
+ }
+ onChanged();
+ } else {
+ requestBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public Builder clearRequest() {
+ if (requestBuilder_ == null) {
+ request_ = null;
+ onChanged();
+ } else {
+ request_ = null;
+ requestBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder
+ getRequestBuilder() {
+
+ onChanged();
+ return getRequestFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder
+ getRequestOrBuilder() {
+ if (requestBuilder_ != null) {
+ return requestBuilder_.getMessageOrBuilder();
+ } else {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ .getDefaultInstance()
+ : request_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>
+ getRequestFieldBuilder() {
+ if (requestBuilder_ == null) {
+ requestBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder>(
+ getRequest(), getParentForChildren(), isClean());
+ request_ = null;
+ }
+ return requestBuilder_;
+ }
+
+ private int completedAnalysesCount_;
+ /**
+ *
+ *
+ * + * The number of requested analyses that have completed successfully so far. + *+ * + *
int32 completed_analyses_count = 4;
+ *
+ * @return The completedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getCompletedAnalysesCount() {
+ return completedAnalysesCount_;
+ }
+ /**
+ *
+ *
+ * + * The number of requested analyses that have completed successfully so far. + *+ * + *
int32 completed_analyses_count = 4;
+ *
+ * @param value The completedAnalysesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCompletedAnalysesCount(int value) {
+
+ completedAnalysesCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The number of requested analyses that have completed successfully so far. + *+ * + *
int32 completed_analyses_count = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCompletedAnalysesCount() {
+
+ completedAnalysesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int failedAnalysesCount_;
+ /**
+ *
+ *
+ * + * The number of requested analyses that have failed so far. + *+ * + *
int32 failed_analyses_count = 5;
+ *
+ * @return The failedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getFailedAnalysesCount() {
+ return failedAnalysesCount_;
+ }
+ /**
+ *
+ *
+ * + * The number of requested analyses that have failed so far. + *+ * + *
int32 failed_analyses_count = 5;
+ *
+ * @param value The failedAnalysesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFailedAnalysesCount(int value) {
+
+ failedAnalysesCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The number of requested analyses that have failed so far. + *+ * + *
int32 failed_analyses_count = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFailedAnalysesCount() {
+
+ failedAnalysesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int totalRequestedAnalysesCount_;
+ /**
+ *
+ *
+ * + * Total number of analyses requested. Computed by the number of conversations + * returned by `filter` multiplied by `analysis_percentage` in the request. + *+ * + *
int32 total_requested_analyses_count = 6;
+ *
+ * @return The totalRequestedAnalysesCount.
+ */
+ @java.lang.Override
+ public int getTotalRequestedAnalysesCount() {
+ return totalRequestedAnalysesCount_;
+ }
+ /**
+ *
+ *
+ * + * Total number of analyses requested. Computed by the number of conversations + * returned by `filter` multiplied by `analysis_percentage` in the request. + *+ * + *
int32 total_requested_analyses_count = 6;
+ *
+ * @param value The totalRequestedAnalysesCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setTotalRequestedAnalysesCount(int value) {
+
+ totalRequestedAnalysesCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Total number of analyses requested. Computed by the number of conversations + * returned by `filter` multiplied by `analysis_percentage` in the request. + *+ * + *
int32 total_requested_analyses_count = 6;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearTotalRequestedAnalysesCount() {
+
+ totalRequestedAnalysesCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata)
+ private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return Whether the createTime field is set.
+ */
+ boolean hasCreateTime();
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ *
+ * @return The createTime.
+ */
+ com.google.protobuf.Timestamp getCreateTime();
+ /**
+ *
+ *
+ * + * The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1;
+ */
+ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return Whether the endTime field is set.
+ */
+ boolean hasEndTime();
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ *
+ * @return The endTime.
+ */
+ com.google.protobuf.Timestamp getEndTime();
+ /**
+ *
+ *
+ * + * The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2;
+ */
+ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ boolean hasRequest();
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ *
+ * @return The request.
+ */
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest getRequest();
+ /**
+ *
+ *
+ * + * The original request for bulk analyze. + *+ * + *
.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest request = 3;
+ *
+ */
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequestOrBuilder
+ getRequestOrBuilder();
+
+ /**
+ *
+ *
+ * + * The number of requested analyses that have completed successfully so far. + *+ * + *
int32 completed_analyses_count = 4;
+ *
+ * @return The completedAnalysesCount.
+ */
+ int getCompletedAnalysesCount();
+
+ /**
+ *
+ *
+ * + * The number of requested analyses that have failed so far. + *+ * + *
int32 failed_analyses_count = 5;
+ *
+ * @return The failedAnalysesCount.
+ */
+ int getFailedAnalysesCount();
+
+ /**
+ *
+ *
+ * + * Total number of analyses requested. Computed by the number of conversations + * returned by `filter` multiplied by `analysis_percentage` in the request. + *+ * + *
int32 total_requested_analyses_count = 6;
+ *
+ * @return The totalRequestedAnalysesCount.
+ */
+ int getTotalRequestedAnalysesCount();
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java
new file mode 100644
index 000000000000..e2959b4ae66a
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsRequest.java
@@ -0,0 +1,1209 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The request to analyze conversations in bulk. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} + */ +public final class BulkAnalyzeConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) + BulkAnalyzeConversationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use BulkAnalyzeConversationsRequest.newBuilder() to construct. + private BulkAnalyzeConversationsRequest( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private BulkAnalyzeConversationsRequest() { + parent_ = ""; + filter_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BulkAnalyzeConversationsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest.Builder + .class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + private volatile java.lang.Object parent_; + /** + * + * + *
+ * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ @java.lang.Override
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FILTER_FIELD_NUMBER = 2;
+ private volatile java.lang.Object filter_;
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ @java.lang.Override
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ANALYSIS_PERCENTAGE_FIELD_NUMBER = 3;
+ private float analysisPercentage_;
+ /**
+ *
+ *
+ * + * Required. Percentage of selected conversation to analyze, between + * [0, 100]. + *+ * + *
float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The analysisPercentage.
+ */
+ @java.lang.Override
+ public float getAnalysisPercentage() {
+ return analysisPercentage_;
+ }
+
+ public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 8;
+ private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_;
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ @java.lang.Override
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ return getAnnotatorSelector();
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, filter_);
+ }
+ if (java.lang.Float.floatToRawIntBits(analysisPercentage_) != 0) {
+ output.writeFloat(3, analysisPercentage_);
+ }
+ if (annotatorSelector_ != null) {
+ output.writeMessage(8, getAnnotatorSelector());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, filter_);
+ }
+ if (java.lang.Float.floatToRawIntBits(analysisPercentage_) != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeFloatSize(3, analysisPercentage_);
+ }
+ if (annotatorSelector_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getAnnotatorSelector());
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest other =
+ (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (!getFilter().equals(other.getFilter())) return false;
+ if (java.lang.Float.floatToIntBits(getAnalysisPercentage())
+ != java.lang.Float.floatToIntBits(other.getAnalysisPercentage())) return false;
+ if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
+ if (hasAnnotatorSelector()) {
+ if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getFilter().hashCode();
+ hash = (37 * hash) + ANALYSIS_PERCENTAGE_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getAnalysisPercentage());
+ if (hasAnnotatorSelector()) {
+ hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getAnnotatorSelector().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The request to analyze conversations in bulk. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+
+ parent_ = getDefaultInstance().getParent();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ parent_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object filter_ = "";
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ filter_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFilter() {
+
+ filter_ = getDefaultInstance().getFilter();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ filter_ = value;
+ onChanged();
+ return this;
+ }
+
+ private float analysisPercentage_;
+ /**
+ *
+ *
+ * + * Required. Percentage of selected conversation to analyze, between + * [0, 100]. + *+ * + *
float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The analysisPercentage.
+ */
+ @java.lang.Override
+ public float getAnalysisPercentage() {
+ return analysisPercentage_;
+ }
+ /**
+ *
+ *
+ * + * Required. Percentage of selected conversation to analyze, between + * [0, 100]. + *+ * + *
float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The analysisPercentage to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAnalysisPercentage(float value) {
+
+ analysisPercentage_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. Percentage of selected conversation to analyze, between + * [0, 100]. + *+ * + *
float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAnalysisPercentage() {
+
+ analysisPercentage_ = 0F;
+ onChanged();
+ return this;
+ }
+
+ private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ annotatorSelectorBuilder_;
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelectorBuilder_ != null || annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ } else {
+ return annotatorSelectorBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ annotatorSelector_ = value;
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = builderForValue.build();
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder mergeAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (annotatorSelector_ != null) {
+ annotatorSelector_ =
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.newBuilder(
+ annotatorSelector_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ annotatorSelector_ = value;
+ }
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public Builder clearAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = null;
+ onChanged();
+ } else {
+ annotatorSelector_ = null;
+ annotatorSelectorBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
+ getAnnotatorSelectorBuilder() {
+
+ onChanged();
+ return getAnnotatorSelectorFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ if (annotatorSelectorBuilder_ != null) {
+ return annotatorSelectorBuilder_.getMessageOrBuilder();
+ } else {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ }
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ getAnnotatorSelectorFieldBuilder() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelectorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+ getAnnotatorSelector(), getParentForChildren(), isClean());
+ annotatorSelector_ = null;
+ }
+ return annotatorSelectorBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest)
+ private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ * + * Required. The parent resource to create analyses in. + *+ * + *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ java.lang.String getFilter();
+ /**
+ *
+ *
+ * + * Required. Filter used to select the subset of conversations to analyze. + *+ * + *
string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ com.google.protobuf.ByteString getFilterBytes();
+
+ /**
+ *
+ *
+ * + * Required. Percentage of selected conversation to analyze, between + * [0, 100]. + *+ * + *
float analysis_percentage = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The analysisPercentage.
+ */
+ float getAnalysisPercentage();
+
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ boolean hasAnnotatorSelector();
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ *
+ * @return The annotatorSelector.
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector();
+ /**
+ *
+ *
+ * + * To select the annotators to run and the phrase matchers to use + * (if any). If not specified, all annotators will be run. + *+ * + *
.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 8;
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder();
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
new file mode 100644
index 000000000000..ab447a8e9d7b
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/BulkAnalyzeConversationsResponse.java
@@ -0,0 +1,642 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The response for a bulk analyze conversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} + */ +public final class BulkAnalyzeConversationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) + BulkAnalyzeConversationsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use BulkAnalyzeConversationsResponse.newBuilder() to construct. + private BulkAnalyzeConversationsResponse( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private BulkAnalyzeConversationsResponse() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BulkAnalyzeConversationsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.class, + com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse.Builder + .class); + } + + public static final int SUCCESSFUL_ANALYSIS_COUNT_FIELD_NUMBER = 1; + private int successfulAnalysisCount_; + /** + * + * + *
+ * Count of successful analyses. + *+ * + *
int32 successful_analysis_count = 1;
+ *
+ * @return The successfulAnalysisCount.
+ */
+ @java.lang.Override
+ public int getSuccessfulAnalysisCount() {
+ return successfulAnalysisCount_;
+ }
+
+ public static final int FAILED_ANALYSIS_COUNT_FIELD_NUMBER = 2;
+ private int failedAnalysisCount_;
+ /**
+ *
+ *
+ * + * Count of failed analyses. + *+ * + *
int32 failed_analysis_count = 2;
+ *
+ * @return The failedAnalysisCount.
+ */
+ @java.lang.Override
+ public int getFailedAnalysisCount() {
+ return failedAnalysisCount_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (successfulAnalysisCount_ != 0) {
+ output.writeInt32(1, successfulAnalysisCount_);
+ }
+ if (failedAnalysisCount_ != 0) {
+ output.writeInt32(2, failedAnalysisCount_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (successfulAnalysisCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(1, successfulAnalysisCount_);
+ }
+ if (failedAnalysisCount_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, failedAnalysisCount_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse other =
+ (com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse) obj;
+
+ if (getSuccessfulAnalysisCount() != other.getSuccessfulAnalysisCount()) return false;
+ if (getFailedAnalysisCount() != other.getFailedAnalysisCount()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + SUCCESSFUL_ANALYSIS_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getSuccessfulAnalysisCount();
+ hash = (37 * hash) + FAILED_ANALYSIS_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + getFailedAnalysisCount();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The response for a bulk analyze conversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Count of successful analyses. + *+ * + *
int32 successful_analysis_count = 1;
+ *
+ * @return The successfulAnalysisCount.
+ */
+ @java.lang.Override
+ public int getSuccessfulAnalysisCount() {
+ return successfulAnalysisCount_;
+ }
+ /**
+ *
+ *
+ * + * Count of successful analyses. + *+ * + *
int32 successful_analysis_count = 1;
+ *
+ * @param value The successfulAnalysisCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSuccessfulAnalysisCount(int value) {
+
+ successfulAnalysisCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Count of successful analyses. + *+ * + *
int32 successful_analysis_count = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSuccessfulAnalysisCount() {
+
+ successfulAnalysisCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private int failedAnalysisCount_;
+ /**
+ *
+ *
+ * + * Count of failed analyses. + *+ * + *
int32 failed_analysis_count = 2;
+ *
+ * @return The failedAnalysisCount.
+ */
+ @java.lang.Override
+ public int getFailedAnalysisCount() {
+ return failedAnalysisCount_;
+ }
+ /**
+ *
+ *
+ * + * Count of failed analyses. + *+ * + *
int32 failed_analysis_count = 2;
+ *
+ * @param value The failedAnalysisCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFailedAnalysisCount(int value) {
+
+ failedAnalysisCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Count of failed analyses. + *+ * + *
int32 failed_analysis_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFailedAnalysisCount() {
+
+ failedAnalysisCount_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse)
+ private static final com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Count of successful analyses. + *+ * + *
int32 successful_analysis_count = 1;
+ *
+ * @return The successfulAnalysisCount.
+ */
+ int getSuccessfulAnalysisCount();
+
+ /**
+ *
+ *
+ * + * Count of failed analyses. + *+ * + *
int32 failed_analysis_count = 2;
+ *
+ * @return The failedAnalysisCount.
+ */
+ int getFailedAnalysisCount();
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java
index 4745e8452007..8af0fd961667 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotation.java
@@ -79,6 +79,7 @@ public enum DataCase
ENTITY_MENTION_DATA(15),
INTENT_MATCH_DATA(16),
PHRASE_MATCH_DATA(17),
+ ISSUE_MATCH_DATA(18),
DATA_NOT_SET(0);
private final int value;
@@ -111,6 +112,8 @@ public static DataCase forNumber(int value) {
return INTENT_MATCH_DATA;
case 17:
return PHRASE_MATCH_DATA;
+ case 18:
+ return ISSUE_MATCH_DATA;
case 0:
return DATA_NOT_SET;
default:
@@ -489,6 +492,58 @@ public com.google.cloud.contactcenterinsights.v1.PhraseMatchData getPhraseMatchD
return com.google.cloud.contactcenterinsights.v1.PhraseMatchData.getDefaultInstance();
}
+ public static final int ISSUE_MATCH_DATA_FIELD_NUMBER = 18;
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return Whether the issueMatchData field is set.
+ */
+ @java.lang.Override
+ public boolean hasIssueMatchData() {
+ return dataCase_ == 18;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return The issueMatchData.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData() {
+ if (dataCase_ == 18) {
+ return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_;
+ }
+ return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder
+ getIssueMatchDataOrBuilder() {
+ if (dataCase_ == 18) {
+ return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_;
+ }
+ return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ }
+
public static final int CHANNEL_TAG_FIELD_NUMBER = 1;
private int channelTag_;
/**
@@ -656,6 +711,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (dataCase_ == 17) {
output.writeMessage(17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_);
}
+ if (dataCase_ == 18) {
+ output.writeMessage(18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_);
+ }
getUnknownFields().writeTo(output);
}
@@ -711,6 +769,11 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
17, (com.google.cloud.contactcenterinsights.v1.PhraseMatchData) data_);
}
+ if (dataCase_ == 18) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 18, (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -759,6 +822,9 @@ public boolean equals(final java.lang.Object obj) {
case 17:
if (!getPhraseMatchData().equals(other.getPhraseMatchData())) return false;
break;
+ case 18:
+ if (!getIssueMatchData().equals(other.getIssueMatchData())) return false;
+ break;
case 0:
default:
}
@@ -812,6 +878,10 @@ public int hashCode() {
hash = (37 * hash) + PHRASE_MATCH_DATA_FIELD_NUMBER;
hash = (53 * hash) + getPhraseMatchData().hashCode();
break;
+ case 18:
+ hash = (37 * hash) + ISSUE_MATCH_DATA_FIELD_NUMBER;
+ hash = (53 * hash) + getIssueMatchData().hashCode();
+ break;
case 0:
default:
}
@@ -975,6 +1045,9 @@ public Builder clear() {
if (phraseMatchDataBuilder_ != null) {
phraseMatchDataBuilder_.clear();
}
+ if (issueMatchDataBuilder_ != null) {
+ issueMatchDataBuilder_.clear();
+ }
channelTag_ = 0;
if (annotationStartBoundaryBuilder_ == null) {
@@ -1067,6 +1140,13 @@ public com.google.cloud.contactcenterinsights.v1.CallAnnotation buildPartial() {
result.data_ = phraseMatchDataBuilder_.build();
}
}
+ if (dataCase_ == 18) {
+ if (issueMatchDataBuilder_ == null) {
+ result.data_ = data_;
+ } else {
+ result.data_ = issueMatchDataBuilder_.build();
+ }
+ }
result.channelTag_ = channelTag_;
if (annotationStartBoundaryBuilder_ == null) {
result.annotationStartBoundary_ = annotationStartBoundary_;
@@ -1174,6 +1254,11 @@ public Builder mergeFrom(com.google.cloud.contactcenterinsights.v1.CallAnnotatio
mergePhraseMatchData(other.getPhraseMatchData());
break;
}
+ case ISSUE_MATCH_DATA:
+ {
+ mergeIssueMatchData(other.getIssueMatchData());
+ break;
+ }
case DATA_NOT_SET:
{
break;
@@ -1269,6 +1354,12 @@ public Builder mergeFrom(
dataCase_ = 17;
break;
} // case 138
+ case 146:
+ {
+ input.readMessage(getIssueMatchDataFieldBuilder().getBuilder(), extensionRegistry);
+ dataCase_ = 18;
+ break;
+ } // case 146
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2807,6 +2898,221 @@ public Builder clearPhraseMatchData() {
return phraseMatchDataBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>
+ issueMatchDataBuilder_;
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return Whether the issueMatchData field is set.
+ */
+ @java.lang.Override
+ public boolean hasIssueMatchData() {
+ return dataCase_ == 18;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return The issueMatchData.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData() {
+ if (issueMatchDataBuilder_ == null) {
+ if (dataCase_ == 18) {
+ return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_;
+ }
+ return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ } else {
+ if (dataCase_ == 18) {
+ return issueMatchDataBuilder_.getMessage();
+ }
+ return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ public Builder setIssueMatchData(
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData value) {
+ if (issueMatchDataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ data_ = value;
+ onChanged();
+ } else {
+ issueMatchDataBuilder_.setMessage(value);
+ }
+ dataCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ public Builder setIssueMatchData(
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder builderForValue) {
+ if (issueMatchDataBuilder_ == null) {
+ data_ = builderForValue.build();
+ onChanged();
+ } else {
+ issueMatchDataBuilder_.setMessage(builderForValue.build());
+ }
+ dataCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ public Builder mergeIssueMatchData(
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData value) {
+ if (issueMatchDataBuilder_ == null) {
+ if (dataCase_ == 18
+ && data_
+ != com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance()) {
+ data_ =
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData.newBuilder(
+ (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ data_ = value;
+ }
+ onChanged();
+ } else {
+ if (dataCase_ == 18) {
+ issueMatchDataBuilder_.mergeFrom(value);
+ } else {
+ issueMatchDataBuilder_.setMessage(value);
+ }
+ }
+ dataCase_ = 18;
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ public Builder clearIssueMatchData() {
+ if (issueMatchDataBuilder_ == null) {
+ if (dataCase_ == 18) {
+ dataCase_ = 0;
+ data_ = null;
+ onChanged();
+ }
+ } else {
+ if (dataCase_ == 18) {
+ dataCase_ = 0;
+ data_ = null;
+ }
+ issueMatchDataBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ public com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder
+ getIssueMatchDataBuilder() {
+ return getIssueMatchDataFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder
+ getIssueMatchDataOrBuilder() {
+ if ((dataCase_ == 18) && (issueMatchDataBuilder_ != null)) {
+ return issueMatchDataBuilder_.getMessageOrBuilder();
+ } else {
+ if (dataCase_ == 18) {
+ return (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_;
+ }
+ return com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ }
+ }
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>
+ getIssueMatchDataFieldBuilder() {
+ if (issueMatchDataBuilder_ == null) {
+ if (!(dataCase_ == 18)) {
+ data_ = com.google.cloud.contactcenterinsights.v1.IssueMatchData.getDefaultInstance();
+ }
+ issueMatchDataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData.Builder,
+ com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder>(
+ (com.google.cloud.contactcenterinsights.v1.IssueMatchData) data_,
+ getParentForChildren(),
+ isClean());
+ data_ = null;
+ }
+ dataCase_ = 18;
+ onChanged();
+ ;
+ return issueMatchDataBuilder_;
+ }
+
private int channelTag_;
/**
*
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java
index d584c2a65b03..753d4e1bf8de 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CallAnnotationOrBuilder.java
@@ -270,6 +270,41 @@ public interface CallAnnotationOrBuilder
*/
com.google.cloud.contactcenterinsights.v1.PhraseMatchDataOrBuilder getPhraseMatchDataOrBuilder();
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return Whether the issueMatchData field is set.
+ */
+ boolean hasIssueMatchData();
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ *
+ * @return The issueMatchData.
+ */
+ com.google.cloud.contactcenterinsights.v1.IssueMatchData getIssueMatchData();
+ /**
+ *
+ *
+ * + * Data specifying an issue match. + *+ * + *
.google.cloud.contactcenterinsights.v1.IssueMatchData issue_match_data = 18;
+ */
+ com.google.cloud.contactcenterinsights.v1.IssueMatchDataOrBuilder getIssueMatchDataOrBuilder();
+
/**
*
*
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
index 862e719fa960..b20b79c305d5 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ContactCenterInsightsProto.java
@@ -87,6 +87,30 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_contactcenterinsights_v1_DeleteConversationRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -107,6 +131,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -195,6 +231,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -314,376 +354,440 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\n\005value\030\002 \001(\005:\0028\001\032\200\001\n\026IssueMatchesStatsE"
+ "ntry\022\013\n\003key\030\001 \001(\t\022U\n\005value\030\002 \001(\0132F.googl"
+ "e.cloud.contactcenterinsights.v1.IssueMo"
- + "delLabelStats.IssueStats:\0028\001\"\333\001\n\037CreateA"
+ + "delLabelStats.IssueStats:\0028\001\"\266\002\n\037CreateA"
+ "nalysisOperationMetadata\0224\n\013create_time\030"
+ "\001 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0221"
+ "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times"
+ "tampB\003\340A\003\022O\n\014conversation\030\003 \001(\tB9\340A\003\372A3\n"
+ "1contactcenterinsights.googleapis.com/Co"
- + "nversation\"\277\001\n\031CreateConversationRequest"
- + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog"
- + "leapis.com/Location\022N\n\014conversation\030\002 \001("
- + "\01323.google.cloud.contactcenterinsights.v"
- + "1.ConversationB\003\340A\002\022\027\n\017conversation_id\030\003"
- + " \001(\t\"\323\001\n\030ListConversationsRequest\0229\n\006par"
- + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis."
- + "com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_"
- + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E\n\004view\030\005 \001("
- + "\01627.google.cloud.contactcenterinsights.v"
- + "1.ConversationView\"\200\001\n\031ListConversations"
- + "Response\022J\n\rconversations\030\001 \003(\01323.google"
- + ".cloud.contactcenterinsights.v1.Conversa"
- + "tion\022\027\n\017next_page_token\030\002 \001(\t\"\250\001\n\026GetCon"
- + "versationRequest\022G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1"
- + "contactcenterinsights.googleapis.com/Con"
- + "versation\022E\n\004view\030\002 \001(\01627.google.cloud.c"
- + "ontactcenterinsights.v1.ConversationView"
- + "\"\234\001\n\031UpdateConversationRequest\022N\n\014conver"
- + "sation\030\001 \001(\01323.google.cloud.contactcente"
- + "rinsights.v1.ConversationB\003\340A\002\022/\n\013update"
- + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\""
- + "s\n\031DeleteConversationRequest\022G\n\004name\030\001 \001"
- + "(\tB9\340A\002\372A3\n1contactcenterinsights.google"
- + "apis.com/Conversation\022\r\n\005force\030\002 \001(\010\"\252\001\n"
- + "\025CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9"
- + "\340A\002\372A3\n1contactcenterinsights.googleapis"
- + ".com/Conversation\022F\n\010analysis\030\002 \001(\0132/.go"
- + "ogle.cloud.contactcenterinsights.v1.Anal"
- + "ysisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006par"
- + "ent\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights"
- + ".googleapis.com/Conversation\022\021\n\tpage_siz"
- + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 "
- + "\001(\t\"r\n\024ListAnalysesResponse\022A\n\010analyses\030"
- + "\001 \003(\0132/.google.cloud.contactcenterinsigh"
- + "ts.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\""
- + "Y\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002"
- + "\372A/\n-contactcenterinsights.googleapis.co"
- + "m/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004n"
- + "ame\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights"
- + ".googleapis.com/Analysis\"\230\004\n\031ExportInsig"
- + "htsDataRequest\022u\n\025big_query_destination\030"
- + "\002 \001(\0132T.google.cloud.contactcenterinsigh"
- + "ts.v1.ExportInsightsDataRequest.BigQuery"
- + "DestinationH\000\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!l"
- + "ocations.googleapis.com/Location\022\016\n\006filt"
- + "er\030\003 \001(\t\022\017\n\007kms_key\030\004 \001(\t\022l\n\021write_dispo"
- + "sition\030\005 \001(\0162Q.google.cloud.contactcente"
- + "rinsights.v1.ExportInsightsDataRequest.W"
- + "riteDisposition\032N\n\023BigQueryDestination\022\022"
- + "\n\nproject_id\030\003 \001(\t\022\024\n\007dataset\030\001 \001(\tB\003\340A\002"
- + "\022\r\n\005table\030\002 \001(\t\"[\n\020WriteDisposition\022!\n\035W"
- + "RITE_DISPOSITION_UNSPECIFIED\020\000\022\022\n\016WRITE_"
- + "TRUNCATE\020\001\022\020\n\014WRITE_APPEND\020\002B\r\n\013destinat"
- + "ion\"\204\002\n\032ExportInsightsDataMetadata\0224\n\013cr"
- + "eate_time\030\001 \001(\0132\032.google.protobuf.Timest"
- + "ampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.prot"
- + "obuf.TimestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.g"
- + "oogle.cloud.contactcenterinsights.v1.Exp"
- + "ortInsightsDataRequest\022*\n\016partial_errors"
- + "\030\004 \003(\0132\022.google.rpc.Status\"\034\n\032ExportInsi"
- + "ghtsDataResponse\"\241\001\n\027CreateIssueModelReq"
+ + "nversation\022Y\n\022annotator_selector\030\004 \001(\01328"
+ + ".google.cloud.contactcenterinsights.v1.A"
+ + "nnotatorSelectorB\003\340A\003\"\277\001\n\031CreateConversa"
+ + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loc"
+ + "ations.googleapis.com/Location\022N\n\014conver"
+ + "sation\030\002 \001(\01323.google.cloud.contactcente"
+ + "rinsights.v1.ConversationB\003\340A\002\022\027\n\017conver"
+ + "sation_id\030\003 \001(\t\"\323\001\n\030ListConversationsReq"
+ "uest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations."
- + "googleapis.com/Location\022K\n\013issue_model\030\002"
- + " \001(\01321.google.cloud.contactcenterinsight"
- + "s.v1.IssueModelB\003\340A\002\"\324\001\n\030CreateIssueMode"
- + "lMetadata\0224\n\013create_time\030\001 \001(\0132\032.google."
- + "protobuf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001("
- + "\0132\032.google.protobuf.TimestampB\003\340A\003\022O\n\007re"
- + "quest\030\003 \001(\0132>.google.cloud.contactcenter"
- + "insights.v1.CreateIssueModelRequest\"\227\001\n\027"
- + "UpdateIssueModelRequest\022K\n\013issue_model\030\001"
- + " \001(\01321.google.cloud.contactcenterinsight"
- + "s.v1.IssueModelB\003\340A\002\022/\n\013update_mask\030\002 \001("
- + "\0132\032.google.protobuf.FieldMask\"S\n\026ListIss"
- + "ueModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n"
- + "!locations.googleapis.com/Location\"b\n\027Li"
- + "stIssueModelsResponse\022G\n\014issue_models\030\001 "
- + "\003(\01321.google.cloud.contactcenterinsights"
- + ".v1.IssueModel\"]\n\024GetIssueModelRequest\022E"
- + "\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsig"
- + "hts.googleapis.com/IssueModel\"`\n\027DeleteI"
- + "ssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/"
- + "contactcenterinsights.googleapis.com/Iss"
- + "ueModel\"\324\001\n\030DeleteIssueModelMetadata\0224\n\013"
- + "create_time\030\001 \001(\0132\032.google.protobuf.Time"
- + "stampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.pr"
- + "otobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>"
- + ".google.cloud.contactcenterinsights.v1.D"
- + "eleteIssueModelRequest\"`\n\027DeployIssueMod"
- + "elRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contact"
- + "centerinsights.googleapis.com/IssueModel"
- + "\"\032\n\030DeployIssueModelResponse\"\324\001\n\030DeployI"
- + "ssueModelMetadata\0224\n\013create_time\030\001 \001(\0132\032"
+ + "googleapis.com/Location\022\021\n\tpage_size\030\002 \001"
+ + "(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022E"
+ + "\n\004view\030\005 \001(\01627.google.cloud.contactcente"
+ + "rinsights.v1.ConversationView\"\200\001\n\031ListCo"
+ + "nversationsResponse\022J\n\rconversations\030\001 \003"
+ + "(\01323.google.cloud.contactcenterinsights."
+ + "v1.Conversation\022\027\n\017next_page_token\030\002 \001(\t"
+ + "\"\250\001\n\026GetConversationRequest\022G\n\004name\030\001 \001("
+ + "\tB9\340A\002\372A3\n1contactcenterinsights.googlea"
+ + "pis.com/Conversation\022E\n\004view\030\002 \001(\01627.goo"
+ + "gle.cloud.contactcenterinsights.v1.Conve"
+ + "rsationView\"\234\001\n\031UpdateConversationReques"
+ + "t\022N\n\014conversation\030\001 \001(\01323.google.cloud.c"
+ + "ontactcenterinsights.v1.ConversationB\003\340A"
+ + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf"
+ + ".FieldMask\"s\n\031DeleteConversationRequest\022"
+ + "G\n\004name\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsi"
+ + "ghts.googleapis.com/Conversation\022\r\n\005forc"
+ + "e\030\002 \001(\010\"\377\004\n\032IngestConversationsRequest\022a"
+ + "\n\ngcs_source\030\002 \001(\0132K.google.cloud.contac"
+ + "tcenterinsights.v1.IngestConversationsRe"
+ + "quest.GcsSourceH\000\022|\n\030transcript_object_c"
+ + "onfig\030\003 \001(\0132X.google.cloud.contactcenter"
+ + "insights.v1.IngestConversationsRequest.T"
+ + "ranscriptObjectConfigH\001\0229\n\006parent\030\001 \001(\tB"
+ + ")\340A\002\372A#\n!locations.googleapis.com/Locati"
+ + "on\022q\n\023conversation_config\030\004 \001(\0132T.google"
+ + ".cloud.contactcenterinsights.v1.IngestCo"
+ + "nversationsRequest.ConversationConfig\032$\n"
+ + "\tGcsSource\022\027\n\nbucket_uri\030\001 \001(\tB\003\340A\002\032i\n\026T"
+ + "ranscriptObjectConfig\022O\n\006medium\030\001 \001(\0162:."
+ + "google.cloud.contactcenterinsights.v1.Co"
+ + "nversation.MediumB\003\340A\002\032&\n\022ConversationCo"
+ + "nfig\022\020\n\010agent_id\030\001 \001(\tB\010\n\006sourceB\017\n\robje"
+ + "ct_config\"\220\002\n\033IngestConversationsMetadat"
+ + "a\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf"
+ + ".TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.goog"
+ + "le.protobuf.TimestampB\003\340A\003\022W\n\007request\030\003 "
+ + "\001(\0132A.google.cloud.contactcenterinsights"
+ + ".v1.IngestConversationsRequestB\003\340A\003\022/\n\016p"
+ + "artial_errors\030\004 \003(\0132\022.google.rpc.StatusB"
+ + "\003\340A\003\"\035\n\033IngestConversationsResponse\"\252\001\n\025"
+ + "CreateAnalysisRequest\022I\n\006parent\030\001 \001(\tB9\340"
+ + "A\002\372A3\n1contactcenterinsights.googleapis."
+ + "com/Conversation\022F\n\010analysis\030\002 \001(\0132/.goo"
+ + "gle.cloud.contactcenterinsights.v1.Analy"
+ + "sisB\003\340A\002\"\227\001\n\023ListAnalysesRequest\022I\n\006pare"
+ + "nt\030\001 \001(\tB9\340A\002\372A3\n1contactcenterinsights."
+ + "googleapis.com/Conversation\022\021\n\tpage_size"
+ + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001"
+ + "(\t\"r\n\024ListAnalysesResponse\022A\n\010analyses\030\001"
+ + " \003(\0132/.google.cloud.contactcenterinsight"
+ + "s.v1.Analysis\022\027\n\017next_page_token\030\002 \001(\t\"Y"
+ + "\n\022GetAnalysisRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372"
+ + "A/\n-contactcenterinsights.googleapis.com"
+ + "/Analysis\"\\\n\025DeleteAnalysisRequest\022C\n\004na"
+ + "me\030\001 \001(\tB5\340A\002\372A/\n-contactcenterinsights."
+ + "googleapis.com/Analysis\"\351\001\n\037BulkAnalyzeC"
+ + "onversationsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002"
+ + "\372A#\n!locations.googleapis.com/Location\022\023"
+ + "\n\006filter\030\002 \001(\tB\003\340A\002\022 \n\023analysis_percenta"
+ + "ge\030\003 \001(\002B\003\340A\002\022T\n\022annotator_selector\030\010 \001("
+ + "\01328.google.cloud.contactcenterinsights.v"
+ + "1.AnnotatorSelector\"\303\002\n BulkAnalyzeConve"
+ + "rsationsMetadata\022/\n\013create_time\030\001 \001(\0132\032."
+ + "google.protobuf.Timestamp\022,\n\010end_time\030\002 "
+ + "\001(\0132\032.google.protobuf.Timestamp\022W\n\007reque"
+ + "st\030\003 \001(\0132F.google.cloud.contactcenterins"
+ + "ights.v1.BulkAnalyzeConversationsRequest"
+ + "\022 \n\030completed_analyses_count\030\004 \001(\005\022\035\n\025fa"
+ + "iled_analyses_count\030\005 \001(\005\022&\n\036total_reque"
+ + "sted_analyses_count\030\006 \001(\005\"d\n BulkAnalyze"
+ + "ConversationsResponse\022!\n\031successful_anal"
+ + "ysis_count\030\001 \001(\005\022\035\n\025failed_analysis_coun"
+ + "t\030\002 \001(\005\"\230\004\n\031ExportInsightsDataRequest\022u\n"
+ + "\025big_query_destination\030\002 \001(\0132T.google.cl"
+ + "oud.contactcenterinsights.v1.ExportInsig"
+ + "htsDataRequest.BigQueryDestinationH\000\0229\n\006"
+ + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap"
+ + "is.com/Location\022\016\n\006filter\030\003 \001(\t\022\017\n\007kms_k"
+ + "ey\030\004 \001(\t\022l\n\021write_disposition\030\005 \001(\0162Q.go"
+ + "ogle.cloud.contactcenterinsights.v1.Expo"
+ + "rtInsightsDataRequest.WriteDisposition\032N"
+ + "\n\023BigQueryDestination\022\022\n\nproject_id\030\003 \001("
+ + "\t\022\024\n\007dataset\030\001 \001(\tB\003\340A\002\022\r\n\005table\030\002 \001(\t\"["
+ + "\n\020WriteDisposition\022!\n\035WRITE_DISPOSITION_"
+ + "UNSPECIFIED\020\000\022\022\n\016WRITE_TRUNCATE\020\001\022\020\n\014WRI"
+ + "TE_APPEND\020\002B\r\n\013destination\"\204\002\n\032ExportIns"
+ + "ightsDataMetadata\0224\n\013create_time\030\001 \001(\0132\032"
+ ".google.protobuf.TimestampB\003\340A\003\0221\n\010end_t"
+ "ime\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340"
- + "A\003\022O\n\007request\030\003 \001(\0132>.google.cloud.conta"
- + "ctcenterinsights.v1.DeployIssueModelRequ"
- + "est\"b\n\031UndeployIssueModelRequest\022E\n\004name"
+ + "A\003\022Q\n\007request\030\003 \001(\0132@.google.cloud.conta"
+ + "ctcenterinsights.v1.ExportInsightsDataRe"
+ + "quest\022*\n\016partial_errors\030\004 \003(\0132\022.google.r"
+ + "pc.Status\"\034\n\032ExportInsightsDataResponse\""
+ + "\241\001\n\027CreateIssueModelRequest\0229\n\006parent\030\001 "
+ + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo"
+ + "cation\022K\n\013issue_model\030\002 \001(\01321.google.clo"
+ + "ud.contactcenterinsights.v1.IssueModelB\003"
+ + "\340A\002\"\324\001\n\030CreateIssueModelMetadata\0224\n\013crea"
+ + "te_time\030\001 \001(\0132\032.google.protobuf.Timestam"
+ + "pB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.google.protob"
+ + "uf.TimestampB\003\340A\003\022O\n\007request\030\003 \001(\0132>.goo"
+ + "gle.cloud.contactcenterinsights.v1.Creat"
+ + "eIssueModelRequest\"\227\001\n\027UpdateIssueModelR"
+ + "equest\022K\n\013issue_model\030\001 \001(\01321.google.clo"
+ + "ud.contactcenterinsights.v1.IssueModelB\003"
+ + "\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protob"
+ + "uf.FieldMask\"S\n\026ListIssueModelsRequest\0229"
+ + "\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.google"
+ + "apis.com/Location\"b\n\027ListIssueModelsResp"
+ + "onse\022G\n\014issue_models\030\001 \003(\01321.google.clou"
+ + "d.contactcenterinsights.v1.IssueModel\"]\n"
+ + "\024GetIssueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002"
+ + "\372A1\n/contactcenterinsights.googleapis.co"
+ + "m/IssueModel\"`\n\027DeleteIssueModelRequest\022"
+ + "E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsi"
+ + "ghts.googleapis.com/IssueModel\"\324\001\n\030Delet"
+ + "eIssueModelMetadata\0224\n\013create_time\030\001 \001(\013"
+ + "2\032.google.protobuf.TimestampB\003\340A\003\0221\n\010end"
+ + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB"
+ + "\003\340A\003\022O\n\007request\030\003 \001(\0132>.google.cloud.con"
+ + "tactcenterinsights.v1.DeleteIssueModelRe"
+ + "quest\"`\n\027DeployIssueModelRequest\022E\n\004name"
+ "\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights.go"
- + "ogleapis.com/IssueModel\"\034\n\032UndeployIssue"
- + "ModelResponse\"\330\001\n\032UndeployIssueModelMeta"
- + "data\0224\n\013create_time\030\001 \001(\0132\032.google.proto"
- + "buf.TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.g"
- + "oogle.protobuf.TimestampB\003\340A\003\022Q\n\007request"
- + "\030\003 \001(\0132@.google.cloud.contactcenterinsig"
- + "hts.v1.UndeployIssueModelRequest\"S\n\017GetI"
- + "ssueRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A,\n*conta"
- + "ctcenterinsights.googleapis.com/Issue\"\\\n"
- + "\021ListIssuesRequest\022G\n\006parent\030\001 \001(\tB7\340A\002\372"
- + "A1\n/contactcenterinsights.googleapis.com"
- + "/IssueModel\"R\n\022ListIssuesResponse\022<\n\006iss"
- + "ues\030\001 \003(\0132,.google.cloud.contactcenterin"
- + "sights.v1.Issue\"\207\001\n\022UpdateIssueRequest\022@"
- + "\n\005issue\030\001 \001(\0132,.google.cloud.contactcent"
- + "erinsights.v1.IssueB\003\340A\002\022/\n\013update_mask\030"
- + "\002 \001(\0132\032.google.protobuf.FieldMask\"o\n\037Cal"
- + "culateIssueModelStatsRequest\022L\n\013issue_mo"
- + "del\030\001 \001(\tB7\340A\002\372A1\n/contactcenterinsights"
- + ".googleapis.com/IssueModel\"v\n CalculateI"
- + "ssueModelStatsResponse\022R\n\rcurrent_stats\030"
- + "\004 \001(\0132;.google.cloud.contactcenterinsigh"
- + "ts.v1.IssueModelLabelStats\"\252\001\n\032CreatePhr"
- + "aseMatcherRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A"
- + "#\n!locations.googleapis.com/Location\022Q\n\016"
- + "phrase_matcher\030\002 \001(\01324.google.cloud.cont"
- + "actcenterinsights.v1.PhraseMatcherB\003\340A\002\""
- + "\215\001\n\031ListPhraseMatchersRequest\0229\n\006parent\030"
- + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/"
- + "Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke"
- + "n\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMa"
- + "tchersResponse\022M\n\017phrase_matchers\030\001 \003(\0132"
- + "4.google.cloud.contactcenterinsights.v1."
- + "PhraseMatcher\022\027\n\017next_page_token\030\002 \001(\t\"c"
- + "\n\027GetPhraseMatcherRequest\022H\n\004name\030\001 \001(\tB"
- + ":\340A\002\372A4\n2contactcenterinsights.googleapi"
- + "s.com/PhraseMatcher\"f\n\032DeletePhraseMatch"
- + "erRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contact"
- + "centerinsights.googleapis.com/PhraseMatc"
- + "her\"\240\001\n\032UpdatePhraseMatcherRequest\022Q\n\016ph"
- + "rase_matcher\030\001 \001(\01324.google.cloud.contac"
- + "tcenterinsights.v1.PhraseMatcherB\003\340A\002\022/\n"
- + "\013update_mask\030\002 \001(\0132\032.google.protobuf.Fie"
- + "ldMask\"Y\n\022GetSettingsRequest\022C\n\004name\030\001 \001"
- + "(\tB5\340A\002\372A/\n-contactcenterinsights.google"
- + "apis.com/Settings\"\225\001\n\025UpdateSettingsRequ"
- + "est\022F\n\010settings\030\001 \001(\0132/.google.cloud.con"
- + "tactcenterinsights.v1.SettingsB\003\340A\002\0224\n\013u"
- + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
- + "MaskB\003\340A\002\"\216\001\n\021CreateViewRequest\0229\n\006paren"
- + "t\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.co"
- + "m/Location\022>\n\004view\030\002 \001(\0132+.google.cloud."
- + "contactcenterinsights.v1.ViewB\003\340A\002\"Q\n\016Ge"
- + "tViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)cont"
- + "actcenterinsights.googleapis.com/View\"t\n"
- + "\020ListViewsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A"
- + "#\n!locations.googleapis.com/Location\022\021\n\t"
- + "page_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021L"
- + "istViewsResponse\022:\n\005views\030\001 \003(\0132+.google"
- + ".cloud.contactcenterinsights.v1.View\022\027\n\017"
- + "next_page_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequ"
- + "est\022>\n\004view\030\001 \001(\0132+.google.cloud.contact"
- + "centerinsights.v1.ViewB\003\340A\002\022/\n\013update_ma"
- + "sk\030\002 \001(\0132\032.google.protobuf.FieldMask\"T\n\021"
- + "DeleteViewRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n"
- + ")contactcenterinsights.googleapis.com/Vi"
- + "ew*J\n\020ConversationView\022!\n\035CONVERSATION_V"
- + "IEW_UNSPECIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\345"
- + ":\n\025ContactCenterInsights\022\372\001\n\022CreateConve"
- + "rsation\022@.google.cloud.contactcenterinsi"
- + "ghts.v1.CreateConversationRequest\0323.goog"
- + "le.cloud.contactcenterinsights.v1.Conver"
- + "sation\"m\202\323\344\223\002A\"1/v1/{parent=projects/*/l"
- + "ocations/*}/conversations:\014conversation\332"
- + "A#parent,conversation,conversation_id\022\374\001"
- + "\n\022UpdateConversation\022@.google.cloud.cont"
- + "actcenterinsights.v1.UpdateConversationR"
+ + "ogleapis.com/IssueModel\"\032\n\030DeployIssueMo"
+ + "delResponse\"\324\001\n\030DeployIssueModelMetadata"
+ + "\0224\n\013create_time\030\001 \001(\0132\032.google.protobuf."
+ + "TimestampB\003\340A\003\0221\n\010end_time\030\002 \001(\0132\032.googl"
+ + "e.protobuf.TimestampB\003\340A\003\022O\n\007request\030\003 \001"
+ + "(\0132>.google.cloud.contactcenterinsights."
+ + "v1.DeployIssueModelRequest\"b\n\031UndeployIs"
+ + "sueModelRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/c"
+ + "ontactcenterinsights.googleapis.com/Issu"
+ + "eModel\"\034\n\032UndeployIssueModelResponse\"\330\001\n"
+ + "\032UndeployIssueModelMetadata\0224\n\013create_ti"
+ + "me\030\001 \001(\0132\032.google.protobuf.TimestampB\003\340A"
+ + "\003\0221\n\010end_time\030\002 \001(\0132\032.google.protobuf.Ti"
+ + "mestampB\003\340A\003\022Q\n\007request\030\003 \001(\0132@.google.c"
+ + "loud.contactcenterinsights.v1.UndeployIs"
+ + "sueModelRequest\"S\n\017GetIssueRequest\022@\n\004na"
+ + "me\030\001 \001(\tB2\340A\002\372A,\n*contactcenterinsights."
+ + "googleapis.com/Issue\"\\\n\021ListIssuesReques"
+ + "t\022G\n\006parent\030\001 \001(\tB7\340A\002\372A1\n/contactcenter"
+ + "insights.googleapis.com/IssueModel\"R\n\022Li"
+ + "stIssuesResponse\022<\n\006issues\030\001 \003(\0132,.googl"
+ + "e.cloud.contactcenterinsights.v1.Issue\"\207"
+ + "\001\n\022UpdateIssueRequest\022@\n\005issue\030\001 \001(\0132,.g"
+ + "oogle.cloud.contactcenterinsights.v1.Iss"
+ + "ueB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.google.pr"
+ + "otobuf.FieldMask\"V\n\022DeleteIssueRequest\022@"
+ + "\n\004name\030\001 \001(\tB2\340A\002\372A,\n*contactcenterinsig"
+ + "hts.googleapis.com/Issue\"o\n\037CalculateIss"
+ + "ueModelStatsRequest\022L\n\013issue_model\030\001 \001(\t"
+ + "B7\340A\002\372A1\n/contactcenterinsights.googleap"
+ + "is.com/IssueModel\"v\n CalculateIssueModel"
+ + "StatsResponse\022R\n\rcurrent_stats\030\004 \001(\0132;.g"
+ + "oogle.cloud.contactcenterinsights.v1.Iss"
+ + "ueModelLabelStats\"\252\001\n\032CreatePhraseMatche"
+ + "rRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati"
+ + "ons.googleapis.com/Location\022Q\n\016phrase_ma"
+ + "tcher\030\002 \001(\01324.google.cloud.contactcenter"
+ + "insights.v1.PhraseMatcherB\003\340A\002\"\215\001\n\031ListP"
+ + "hraseMatchersRequest\0229\n\006parent\030\001 \001(\tB)\340A"
+ + "\002\372A#\n!locations.googleapis.com/Location\022"
+ + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016"
+ + "\n\006filter\030\004 \001(\t\"\204\001\n\032ListPhraseMatchersRes"
+ + "ponse\022M\n\017phrase_matchers\030\001 \003(\01324.google."
+ + "cloud.contactcenterinsights.v1.PhraseMat"
+ + "cher\022\027\n\017next_page_token\030\002 \001(\t\"c\n\027GetPhra"
+ + "seMatcherRequest\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2"
+ + "contactcenterinsights.googleapis.com/Phr"
+ + "aseMatcher\"f\n\032DeletePhraseMatcherRequest"
+ + "\022H\n\004name\030\001 \001(\tB:\340A\002\372A4\n2contactcenterins"
+ + "ights.googleapis.com/PhraseMatcher\"\240\001\n\032U"
+ + "pdatePhraseMatcherRequest\022Q\n\016phrase_matc"
+ + "her\030\001 \001(\01324.google.cloud.contactcenterin"
+ + "sights.v1.PhraseMatcherB\003\340A\002\022/\n\013update_m"
+ + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"Y\n"
+ + "\022GetSettingsRequest\022C\n\004name\030\001 \001(\tB5\340A\002\372A"
+ + "/\n-contactcenterinsights.googleapis.com/"
+ + "Settings\"\225\001\n\025UpdateSettingsRequest\022F\n\010se"
+ + "ttings\030\001 \001(\0132/.google.cloud.contactcente"
+ + "rinsights.v1.SettingsB\003\340A\002\0224\n\013update_mas"
+ + "k\030\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002"
+ + "\"\216\001\n\021CreateViewRequest\0229\n\006parent\030\001 \001(\tB)"
+ + "\340A\002\372A#\n!locations.googleapis.com/Locatio"
+ + "n\022>\n\004view\030\002 \001(\0132+.google.cloud.contactce"
+ + "nterinsights.v1.ViewB\003\340A\002\"Q\n\016GetViewRequ"
+ + "est\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactcenter"
+ + "insights.googleapis.com/View\"t\n\020ListView"
+ + "sRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locati"
+ + "ons.googleapis.com/Location\022\021\n\tpage_size"
+ + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"h\n\021ListViewsR"
+ + "esponse\022:\n\005views\030\001 \003(\0132+.google.cloud.co"
+ + "ntactcenterinsights.v1.View\022\027\n\017next_page"
+ + "_token\030\002 \001(\t\"\204\001\n\021UpdateViewRequest\022>\n\004vi"
+ + "ew\030\001 \001(\0132+.google.cloud.contactcenterins"
+ + "ights.v1.ViewB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132"
+ + "\032.google.protobuf.FieldMask\"T\n\021DeleteVie"
+ + "wRequest\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)contactc"
+ + "enterinsights.googleapis.com/View*J\n\020Con"
+ + "versationView\022!\n\035CONVERSATION_VIEW_UNSPE"
+ + "CIFIED\020\000\022\010\n\004FULL\020\002\022\t\n\005BASIC\020\0012\321@\n\025Contac"
+ + "tCenterInsights\022\372\001\n\022CreateConversation\022@"
+ + ".google.cloud.contactcenterinsights.v1.C"
+ + "reateConversationRequest\0323.google.cloud."
+ + "contactcenterinsights.v1.Conversation\"m\202"
+ + "\323\344\223\002A\"1/v1/{parent=projects/*/locations/"
+ + "*}/conversations:\014conversation\332A#parent,"
+ + "conversation,conversation_id\022\374\001\n\022UpdateC"
+ + "onversation\022@.google.cloud.contactcenter"
+ + "insights.v1.UpdateConversationRequest\0323."
+ + "google.cloud.contactcenterinsights.v1.Co"
+ + "nversation\"o\202\323\344\223\002N2>/v1/{conversation.na"
+ + "me=projects/*/locations/*/conversations/"
+ + "*}:\014conversation\332A\030conversation,update_m"
+ + "ask\022\307\001\n\017GetConversation\022=.google.cloud.c"
+ + "ontactcenterinsights.v1.GetConversationR"
+ "equest\0323.google.cloud.contactcenterinsig"
- + "hts.v1.Conversation\"o\202\323\344\223\002N2>/v1/{conver"
- + "sation.name=projects/*/locations/*/conve"
- + "rsations/*}:\014conversation\332A\030conversation"
- + ",update_mask\022\307\001\n\017GetConversation\022=.googl"
- + "e.cloud.contactcenterinsights.v1.GetConv"
- + "ersationRequest\0323.google.cloud.contactce"
- + "nterinsights.v1.Conversation\"@\202\323\344\223\0023\0221/v"
- + "1/{name=projects/*/locations/*/conversat"
- + "ions/*}\332A\004name\022\332\001\n\021ListConversations\022?.g"
- + "oogle.cloud.contactcenterinsights.v1.Lis"
- + "tConversationsRequest\032@.google.cloud.con"
- + "tactcenterinsights.v1.ListConversationsR"
- + "esponse\"B\202\323\344\223\0023\0221/v1/{parent=projects/*/"
- + "locations/*}/conversations\332A\006parent\022\260\001\n\022"
- + "DeleteConversation\022@.google.cloud.contac"
- + "tcenterinsights.v1.DeleteConversationReq"
- + "uest\032\026.google.protobuf.Empty\"@\202\323\344\223\0023*1/v"
- + "1/{name=projects/*/locations/*/conversat"
- + "ions/*}\332A\004name\022\376\001\n\016CreateAnalysis\022<.goog"
- + "le.cloud.contactcenterinsights.v1.Create"
- + "AnalysisRequest\032\035.google.longrunning.Ope"
- + "ration\"\216\001\202\323\344\223\002H\"\022\022*.google.c"
- + "loud.contactcenterinsights.v1.CreateIssu"
- + "eModelRequest\032\035.google.longrunning.Opera"
- + "tion\"\202\001\202\323\344\223\002>\"//v1/{parent=projects/*/lo"
- + "cations/*}/issueModels:\013issue_model\332A\022pa"
- + "rent,issue_model\312A&\n\nIssueModel\022\030CreateI"
- + "ssueModelMetadata\022\361\001\n\020UpdateIssueModel\022>"
- + ".google.cloud.contactcenterinsights.v1.U"
- + "pdateIssueModelRequest\0321.google.cloud.co"
- + "ntactcenterinsights.v1.IssueModel\"j\202\323\344\223\002"
- + "J2;/v1/{issue_model.name=projects/*/loca"
- + "tions/*/issueModels/*}:\013issue_model\332A\027is"
- + "sue_model,update_mask\022\277\001\n\rGetIssueModel\022"
- + ";.google.cloud.contactcenterinsights.v1."
- + "GetIssueModelRequest\0321.google.cloud.cont"
- + "actcenterinsights.v1.IssueModel\">\202\323\344\223\0021\022"
+ + "hts.v1.Conversation\"@\202\323\344\223\0023\0221/v1/{name=p"
+ + "rojects/*/locations/*/conversations/*}\332A"
+ + "\004name\022\332\001\n\021ListConversations\022?.google.clo"
+ + "ud.contactcenterinsights.v1.ListConversa"
+ + "tionsRequest\032@.google.cloud.contactcente"
+ + "rinsights.v1.ListConversationsResponse\"B"
+ + "\202\323\344\223\0023\0221/v1/{parent=projects/*/locations"
+ + "/*}/conversations\332A\006parent\022\260\001\n\022DeleteCon"
+ + "versation\022@.google.cloud.contactcenterin"
+ + "sights.v1.DeleteConversationRequest\032\026.go"
+ + "ogle.protobuf.Empty\"@\202\323\344\223\0023*1/v1/{name=p"
+ + "rojects/*/locations/*/conversations/*}\332A"
+ + "\004name\022\376\001\n\016CreateAnalysis\022<.google.cloud."
+ + "contactcenterinsights.v1.CreateAnalysisR"
+ + "equest\032\035.google.longrunning.Operation\"\216\001"
+ + "\202\323\344\223\002H\"\022\022*.g"
+ + "oogle.cloud.contactcenterinsights.v1.Cre"
+ + "ateIssueModelRequest\032\035.google.longrunnin"
+ + "g.Operation\"\202\001\202\323\344\223\002>\"//v1/{parent=projec"
+ + "ts/*/locations/*}/issueModels:\013issue_mod"
+ + "el\332A\022parent,issue_model\312A&\n\nIssueModel\022\030"
+ + "CreateIssueModelMetadata\022\361\001\n\020UpdateIssue"
+ + "Model\022>.google.cloud.contactcenterinsigh"
+ + "ts.v1.UpdateIssueModelRequest\0321.google.c"
+ + "loud.contactcenterinsights.v1.IssueModel"
+ + "\"j\202\323\344\223\002J2;/v1/{issue_model.name=projects"
+ + "/*/locations/*/issueModels/*}:\013issue_mod"
+ + "el\332A\027issue_model,update_mask\022\277\001\n\rGetIssu"
+ + "eModel\022;.google.cloud.contactcenterinsig"
+ + "hts.v1.GetIssueModelRequest\0321.google.clo"
+ + "ud.contactcenterinsights.v1.IssueModel\">"
+ + "\202\323\344\223\0021\022//v1/{name=projects/*/locations/*"
+ + "/issueModels/*}\332A\004name\022\322\001\n\017ListIssueMode"
+ + "ls\022=.google.cloud.contactcenterinsights."
+ + "v1.ListIssueModelsRequest\032>.google.cloud"
+ + ".contactcenterinsights.v1.ListIssueModel"
+ + "sResponse\"@\202\323\344\223\0021\022//v1/{parent=projects/"
+ + "*/locations/*}/issueModels\332A\006parent\022\345\001\n\020"
+ + "DeleteIssueModel\022>.google.cloud.contactc"
+ + "enterinsights.v1.DeleteIssueModelRequest"
+ + "\032\035.google.longrunning.Operation\"r\202\323\344\223\0021*"
+ "//v1/{name=projects/*/locations/*/issueM"
- + "odels/*}\332A\004name\022\322\001\n\017ListIssueModels\022=.go"
- + "ogle.cloud.contactcenterinsights.v1.List"
- + "IssueModelsRequest\032>.google.cloud.contac"
- + "tcenterinsights.v1.ListIssueModelsRespon"
- + "se\"@\202\323\344\223\0021\022//v1/{parent=projects/*/locat"
- + "ions/*}/issueModels\332A\006parent\022\345\001\n\020DeleteI"
- + "ssueModel\022>.google.cloud.contactcenterin"
- + "sights.v1.DeleteIssueModelRequest\032\035.goog"
- + "le.longrunning.Operation\"r\202\323\344\223\0021*//v1/{n"
- + "ame=projects/*/locations/*/issueModels/*"
- + "}\332A\004name\312A1\n\025google.protobuf.Empty\022\030Dele"
- + "teIssueModelMetadata\022\362\001\n\020DeployIssueMode"
- + "l\022>.google.cloud.contactcenterinsights.v"
- + "1.DeployIssueModelRequest\032\035.google.longr"
- + "unning.Operation\"\177\202\323\344\223\002;\"6/v1/{name=proj"
- + "ects/*/locations/*/issueModels/*}:deploy"
- + ":\001*\332A\004name\312A4\n\030DeployIssueModelResponse\022"
- + "\030DeployIssueModelMetadata\022\375\001\n\022UndeployIs"
- + "sueModel\022@.google.cloud.contactcenterins"
- + "ights.v1.UndeployIssueModelRequest\032\035.goo"
- + "gle.longrunning.Operation\"\205\001\202\323\344\223\002=\"8/v1/"
- + "{name=projects/*/locations/*/issueModels"
- + "/*}:undeploy:\001*\332A\004name\312A8\n\032UndeployIssue"
- + "ModelResponse\022\032UndeployIssueModelMetadat"
- + "a\022\271\001\n\010GetIssue\0226.google.cloud.contactcen"
- + "terinsights.v1.GetIssueRequest\032,.google."
- + "cloud.contactcenterinsights.v1.Issue\"G\202\323"
- + "\344\223\002:\0228/v1/{name=projects/*/locations/*/i"
- + "ssueModels/*/issues/*}\332A\004name\022\314\001\n\nListIs"
- + "sues\0228.google.cloud.contactcenterinsight"
- + "s.v1.ListIssuesRequest\0329.google.cloud.co"
- + "ntactcenterinsights.v1.ListIssuesRespons"
- + "e\"I\202\323\344\223\002:\0228/v1/{parent=projects/*/locati"
- + "ons/*/issueModels/*}/issues\332A\006parent\022\331\001\n"
- + "\013UpdateIssue\0229.google.cloud.contactcente"
- + "rinsights.v1.UpdateIssueRequest\032,.google"
- + ".cloud.contactcenterinsights.v1.Issue\"a\202"
- + "\323\344\223\002G2>/v1/{issue.name=projects/*/locati"
- + "ons/*/issueModels/*/issues/*}:\005issue\332A\021i"
- + "ssue,update_mask\022\222\002\n\030CalculateIssueModel"
- + "Stats\022F.google.cloud.contactcenterinsigh"
- + "ts.v1.CalculateIssueModelStatsRequest\032G."
- + "google.cloud.contactcenterinsights.v1.Ca"
- + "lculateIssueModelStatsResponse\"e\202\323\344\223\002Q\022O"
- + "/v1/{issue_model=projects/*/locations/*/"
- + "issueModels/*}:calculateIssueModelStats\332"
- + "A\013issue_model\022\362\001\n\023CreatePhraseMatcher\022A."
- + "google.cloud.contactcenterinsights.v1.Cr"
- + "eatePhraseMatcherRequest\0324.google.cloud."
- + "contactcenterinsights.v1.PhraseMatcher\"b"
- + "\202\323\344\223\002D\"2/v1/{parent=projects/*/locations"
- + "/*}/phraseMatchers:\016phrase_matcher\332A\025par"
- + "ent,phrase_matcher\022\313\001\n\020GetPhraseMatcher\022"
- + ">.google.cloud.contactcenterinsights.v1."
- + "GetPhraseMatcherRequest\0324.google.cloud.c"
- + "ontactcenterinsights.v1.PhraseMatcher\"A\202"
- + "\323\344\223\0024\0222/v1/{name=projects/*/locations/*/"
- + "phraseMatchers/*}\332A\004name\022\336\001\n\022ListPhraseM"
- + "atchers\022@.google.cloud.contactcenterinsi"
- + "ghts.v1.ListPhraseMatchersRequest\032A.goog"
- + "le.cloud.contactcenterinsights.v1.ListPh"
- + "raseMatchersResponse\"C\202\323\344\223\0024\0222/v1/{paren"
- + "t=projects/*/locations/*}/phraseMatchers"
- + "\332A\006parent\022\263\001\n\023DeletePhraseMatcher\022A.goog"
- + "le.cloud.contactcenterinsights.v1.Delete"
- + "PhraseMatcherRequest\032\026.google.protobuf.E"
- + "mpty\"A\202\323\344\223\0024*2/v1/{name=projects/*/locat"
- + "ions/*/phraseMatchers/*}\332A\004name\022\206\002\n\023Upda"
- + "tePhraseMatcher\022A.google.cloud.contactce"
- + "nterinsights.v1.UpdatePhraseMatcherReque"
+ + "odels/*}\332A\004name\312A1\n\025google.protobuf.Empt"
+ + "y\022\030DeleteIssueModelMetadata\022\362\001\n\020DeployIs"
+ + "sueModel\022>.google.cloud.contactcenterins"
+ + "ights.v1.DeployIssueModelRequest\032\035.googl"
+ + "e.longrunning.Operation\"\177\202\323\344\223\002;\"6/v1/{na"
+ + "me=projects/*/locations/*/issueModels/*}"
+ + ":deploy:\001*\332A\004name\312A4\n\030DeployIssueModelRe"
+ + "sponse\022\030DeployIssueModelMetadata\022\375\001\n\022Und"
+ + "eployIssueModel\022@.google.cloud.contactce"
+ + "nterinsights.v1.UndeployIssueModelReques"
+ + "t\032\035.google.longrunning.Operation\"\205\001\202\323\344\223\002"
+ + "=\"8/v1/{name=projects/*/locations/*/issu"
+ + "eModels/*}:undeploy:\001*\332A\004name\312A8\n\032Undepl"
+ + "oyIssueModelResponse\022\032UndeployIssueModel"
+ + "Metadata\022\271\001\n\010GetIssue\0226.google.cloud.con"
+ + "tactcenterinsights.v1.GetIssueRequest\032,."
+ + "google.cloud.contactcenterinsights.v1.Is"
+ + "sue\"G\202\323\344\223\002:\0228/v1/{name=projects/*/locati"
+ + "ons/*/issueModels/*/issues/*}\332A\004name\022\314\001\n"
+ + "\nListIssues\0228.google.cloud.contactcenter"
+ + "insights.v1.ListIssuesRequest\0329.google.c"
+ + "loud.contactcenterinsights.v1.ListIssues"
+ + "Response\"I\202\323\344\223\002:\0228/v1/{parent=projects/*"
+ + "/locations/*/issueModels/*}/issues\332A\006par"
+ + "ent\022\331\001\n\013UpdateIssue\0229.google.cloud.conta"
+ + "ctcenterinsights.v1.UpdateIssueRequest\032,"
+ + ".google.cloud.contactcenterinsights.v1.I"
+ + "ssue\"a\202\323\344\223\002G2>/v1/{issue.name=projects/*"
+ + "/locations/*/issueModels/*/issues/*}:\005is"
+ + "sue\332A\021issue,update_mask\022\251\001\n\013DeleteIssue\022"
+ + "9.google.cloud.contactcenterinsights.v1."
+ + "DeleteIssueRequest\032\026.google.protobuf.Emp"
+ + "ty\"G\202\323\344\223\002:*8/v1/{name=projects/*/locatio"
+ + "ns/*/issueModels/*/issues/*}\332A\004name\022\222\002\n\030"
+ + "CalculateIssueModelStats\022F.google.cloud."
+ + "contactcenterinsights.v1.CalculateIssueM"
+ + "odelStatsRequest\032G.google.cloud.contactc"
+ + "enterinsights.v1.CalculateIssueModelStat",
+ "sResponse\"e\202\323\344\223\002Q\022O/v1/{issue_model=proj"
+ + "ects/*/locations/*/issueModels/*}:calcul"
+ + "ateIssueModelStats\332A\013issue_model\022\362\001\n\023Cre"
+ + "atePhraseMatcher\022A.google.cloud.contactc"
+ + "enterinsights.v1.CreatePhraseMatcherRequ"
+ + "est\0324.google.cloud.contactcenterinsights"
+ + ".v1.PhraseMatcher\"b\202\323\344\223\002D\"2/v1/{parent=p"
+ + "rojects/*/locations/*}/phraseMatchers:\016p"
+ + "hrase_matcher\332A\025parent,phrase_matcher\022\313\001"
+ + "\n\020GetPhraseMatcher\022>.google.cloud.contac"
+ + "tcenterinsights.v1.GetPhraseMatcherReque"
+ "st\0324.google.cloud.contactcenterinsights."
- + "v1.PhraseMatcher\"v\202\323\344\223\002S2A/v1/{phrase_ma"
- + "tcher.name=projects/*/locations/*/phrase"
- + "Matchers/*}:\016phrase_matcher\332A\032phrase_mat"
- + "cher,update_mask\022\344\001\n\016CalculateStats\022<.go"
- + "ogle.cloud.contactcenterinsights.v1.Calc"
- + "ulateStatsRequest\032=.google.cloud.contact"
- + "centerinsights.v1.CalculateStatsResponse"
- + "\"U\202\323\344\223\002D\022B/v1/{location=projects/*/locat"
- + "ions/*}/conversations:calculateStats\332A\010l"
- + "ocation\022\264\001\n\013GetSettings\0229.google.cloud.c"
- + "ontactcenterinsights.v1.GetSettingsReque"
- + "st\032/.google.cloud.contactcenterinsights."
- + "v1.Settings\"9\202\323\344\223\002,\022*/v1/{name=projects/"
- + "*/locations/*/settings}\332A\004name\022\335\001\n\016Updat"
- + "eSettings\022<.google.cloud.contactcenterin"
- + "sights.v1.UpdateSettingsRequest\032/.google"
- + ".cloud.contactcenterinsights.v1.Settings"
- + "\"\\\202\323\344\223\002?23/v1/{settings.name=projects/*/"
- + "locations/*/settings}:\010settings\332A\024settin"
- + "gs,update_mask\022\272\001\n\nCreateView\0228.google.c"
- + "loud.contactcenterinsights.v1.CreateView"
- + "Request\032+.google.cloud.contactcenterinsi"
- + "ghts.v1.View\"E\202\323\344\223\0021\")/v1/{parent=projec"
- + "ts/*/locations/*}/views:\004view\332A\013parent,v"
- + "iew\022\247\001\n\007GetView\0225.google.cloud.contactce"
- + "nterinsights.v1.GetViewRequest\032+.google."
- + "cloud.contactcenterinsights.v1.View\"8\202\323\344"
- + "\223\002+\022)/v1/{name=projects/*/locations/*/vi"
- + "ews/*}\332A\004name\022\272\001\n\tListViews\0227.google.clo"
- + "ud.contactcenterinsights.v1.ListViewsReq"
- + "uest\0328.google.cloud.contactcenterinsight"
- + "s.v1.ListViewsResponse\":\202\323\344\223\002+\022)/v1/{par"
- + "ent=projects/*/locations/*}/views\332A\006pare"
- + "nt\022\304\001\n\nUpdateView\0228.google.cloud.contact"
- + "centerinsights.v1.UpdateViewRequest\032+.go"
- + "ogle.cloud.contactcenterinsights.v1.View",
- "\"O\202\323\344\223\00262./v1/{view.name=projects/*/loca"
- + "tions/*/views/*}:\004view\332A\020view,update_mas"
- + "k\022\230\001\n\nDeleteView\0228.google.cloud.contactc"
- + "enterinsights.v1.DeleteViewRequest\032\026.goo"
- + "gle.protobuf.Empty\"8\202\323\344\223\002+*)/v1/{name=pr"
- + "ojects/*/locations/*/views/*}\332A\004name\032X\312A"
- + "$contactcenterinsights.googleapis.com\322A."
- + "https://www.googleapis.com/auth/cloud-pl"
- + "atformB\240\002\n)com.google.cloud.contactcente"
- + "rinsights.v1B\032ContactCenterInsightsProto"
- + "P\001ZZgoogle.golang.org/genproto/googleapi"
- + "s/cloud/contactcenterinsights/v1;contact"
- + "centerinsights\252\002%Google.Cloud.ContactCen"
- + "terInsights.V1\312\002%Google\\Cloud\\ContactCen"
- + "terInsights\\V1\352\002(Google::Cloud::ContactC"
- + "enterInsights::V1b\006proto3"
+ + "v1.PhraseMatcher\"A\202\323\344\223\0024\0222/v1/{name=proj"
+ + "ects/*/locations/*/phraseMatchers/*}\332A\004n"
+ + "ame\022\336\001\n\022ListPhraseMatchers\022@.google.clou"
+ + "d.contactcenterinsights.v1.ListPhraseMat"
+ + "chersRequest\032A.google.cloud.contactcente"
+ + "rinsights.v1.ListPhraseMatchersResponse\""
+ + "C\202\323\344\223\0024\0222/v1/{parent=projects/*/location"
+ + "s/*}/phraseMatchers\332A\006parent\022\263\001\n\023DeleteP"
+ + "hraseMatcher\022A.google.cloud.contactcente"
+ + "rinsights.v1.DeletePhraseMatcherRequest\032"
+ + "\026.google.protobuf.Empty\"A\202\323\344\223\0024*2/v1/{na"
+ + "me=projects/*/locations/*/phraseMatchers"
+ + "/*}\332A\004name\022\206\002\n\023UpdatePhraseMatcher\022A.goo"
+ + "gle.cloud.contactcenterinsights.v1.Updat"
+ + "ePhraseMatcherRequest\0324.google.cloud.con"
+ + "tactcenterinsights.v1.PhraseMatcher\"v\202\323\344"
+ + "\223\002S2A/v1/{phrase_matcher.name=projects/*"
+ + "/locations/*/phraseMatchers/*}:\016phrase_m"
+ + "atcher\332A\032phrase_matcher,update_mask\022\344\001\n\016"
+ + "CalculateStats\022<.google.cloud.contactcen"
+ + "terinsights.v1.CalculateStatsRequest\032=.g"
+ + "oogle.cloud.contactcenterinsights.v1.Cal"
+ + "culateStatsResponse\"U\202\323\344\223\002D\022B/v1/{locati"
+ + "on=projects/*/locations/*}/conversations"
+ + ":calculateStats\332A\010location\022\264\001\n\013GetSettin"
+ + "gs\0229.google.cloud.contactcenterinsights."
+ + "v1.GetSettingsRequest\032/.google.cloud.con"
+ + "tactcenterinsights.v1.Settings\"9\202\323\344\223\002,\022*"
+ + "/v1/{name=projects/*/locations/*/setting"
+ + "s}\332A\004name\022\335\001\n\016UpdateSettings\022<.google.cl"
+ + "oud.contactcenterinsights.v1.UpdateSetti"
+ + "ngsRequest\032/.google.cloud.contactcenteri"
+ + "nsights.v1.Settings\"\\\202\323\344\223\002?23/v1/{settin"
+ + "gs.name=projects/*/locations/*/settings}"
+ + ":\010settings\332A\024settings,update_mask\022\272\001\n\nCr"
+ + "eateView\0228.google.cloud.contactcenterins"
+ + "ights.v1.CreateViewRequest\032+.google.clou"
+ + "d.contactcenterinsights.v1.View\"E\202\323\344\223\0021\""
+ + ")/v1/{parent=projects/*/locations/*}/vie"
+ + "ws:\004view\332A\013parent,view\022\247\001\n\007GetView\0225.goo"
+ + "gle.cloud.contactcenterinsights.v1.GetVi"
+ + "ewRequest\032+.google.cloud.contactcenterin"
+ + "sights.v1.View\"8\202\323\344\223\002+\022)/v1/{name=projec"
+ + "ts/*/locations/*/views/*}\332A\004name\022\272\001\n\tLis"
+ + "tViews\0227.google.cloud.contactcenterinsig"
+ + "hts.v1.ListViewsRequest\0328.google.cloud.c"
+ + "ontactcenterinsights.v1.ListViewsRespons"
+ + "e\":\202\323\344\223\002+\022)/v1/{parent=projects/*/locati"
+ + "ons/*}/views\332A\006parent\022\304\001\n\nUpdateView\0228.g"
+ + "oogle.cloud.contactcenterinsights.v1.Upd"
+ + "ateViewRequest\032+.google.cloud.contactcen"
+ + "terinsights.v1.View\"O\202\323\344\223\00262./v1/{view.n"
+ + "ame=projects/*/locations/*/views/*}:\004vie"
+ + "w\332A\020view,update_mask\022\230\001\n\nDeleteView\0228.go"
+ + "ogle.cloud.contactcenterinsights.v1.Dele"
+ + "teViewRequest\032\026.google.protobuf.Empty\"8\202"
+ + "\323\344\223\002+*)/v1/{name=projects/*/locations/*/"
+ + "views/*}\332A\004name\032X\312A$contactcenterinsight"
+ + "s.googleapis.com\322A.https://www.googleapi"
+ + "s.com/auth/cloud-platformB\240\002\n)com.google"
+ + ".cloud.contactcenterinsights.v1B\032Contact"
+ + "CenterInsightsProtoP\001ZZgoogle.golang.org"
+ + "/genproto/googleapis/cloud/contactcenter"
+ + "insights/v1;contactcenterinsights\252\002%Goog"
+ + "le.Cloud.ContactCenterInsights.V1\312\002%Goog"
+ + "le\\Cloud\\ContactCenterInsights\\V1\352\002(Goog"
+ + "le::Cloud::ContactCenterInsights::V1b\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -790,7 +894,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisOperationMetadata_descriptor,
new java.lang.String[] {
- "CreateTime", "EndTime", "Conversation",
+ "CreateTime", "EndTime", "Conversation", "AnnotatorSelector",
});
internal_static_google_cloud_contactcenterinsights_v1_CreateConversationRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
@@ -840,8 +944,65 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Name", "Force",
});
- internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor =
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor,
+ new java.lang.String[] {
+ "GcsSource",
+ "TranscriptObjectConfig",
+ "Parent",
+ "ConversationConfig",
+ "Source",
+ "ObjectConfig",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor =
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor,
+ new java.lang.String[] {
+ "BucketUri",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor =
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor,
+ new java.lang.String[] {
+ "Medium",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor =
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor
+ .getNestedTypes()
+ .get(2);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor,
+ new java.lang.String[] {
+ "AgentId",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(10);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor,
+ new java.lang.String[] {
+ "CreateTime", "EndTime", "Request", "PartialErrors",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(11);
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsResponse_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor =
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreateAnalysisRequest_descriptor,
@@ -849,7 +1010,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Analysis",
});
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesRequest_descriptor,
@@ -857,7 +1018,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken", "Filter",
});
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListAnalysesResponse_descriptor,
@@ -865,7 +1026,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Analyses", "NextPageToken",
});
internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetAnalysisRequest_descriptor,
@@ -873,15 +1034,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeleteAnalysisRequest_descriptor,
new java.lang.String[] {
"Name",
});
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor =
+ getDescriptor().getMessageTypes().get(17);
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "Filter", "AnalysisPercentage", "AnnotatorSelector",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(18);
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsMetadata_descriptor,
+ new java.lang.String[] {
+ "CreateTime",
+ "EndTime",
+ "Request",
+ "CompletedAnalysesCount",
+ "FailedAnalysesCount",
+ "TotalRequestedAnalysesCount",
+ });
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor =
+ getDescriptor().getMessageTypes().get(19);
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_BulkAnalyzeConversationsResponse_descriptor,
+ new java.lang.String[] {
+ "SuccessfulAnalysisCount", "FailedAnalysisCount",
+ });
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(20);
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataRequest_descriptor,
@@ -904,7 +1094,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"ProjectId", "Dataset", "Table",
});
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(21);
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataMetadata_descriptor,
@@ -912,13 +1102,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime", "EndTime", "Request", "PartialErrors",
});
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor =
- getDescriptor().getMessageTypes().get(16);
+ getDescriptor().getMessageTypes().get(22);
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ExportInsightsDataResponse_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(17);
+ getDescriptor().getMessageTypes().get(23);
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelRequest_descriptor,
@@ -926,7 +1116,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "IssueModel",
});
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor =
- getDescriptor().getMessageTypes().get(18);
+ getDescriptor().getMessageTypes().get(24);
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreateIssueModelMetadata_descriptor,
@@ -934,7 +1124,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime", "EndTime", "Request",
});
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(19);
+ getDescriptor().getMessageTypes().get(25);
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueModelRequest_descriptor,
@@ -942,7 +1132,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IssueModel", "UpdateMask",
});
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor =
- getDescriptor().getMessageTypes().get(20);
+ getDescriptor().getMessageTypes().get(26);
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsRequest_descriptor,
@@ -950,7 +1140,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent",
});
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor =
- getDescriptor().getMessageTypes().get(21);
+ getDescriptor().getMessageTypes().get(27);
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListIssueModelsResponse_descriptor,
@@ -958,7 +1148,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IssueModels",
});
internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(22);
+ getDescriptor().getMessageTypes().get(28);
internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetIssueModelRequest_descriptor,
@@ -966,7 +1156,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(23);
+ getDescriptor().getMessageTypes().get(29);
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelRequest_descriptor,
@@ -974,7 +1164,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor =
- getDescriptor().getMessageTypes().get(24);
+ getDescriptor().getMessageTypes().get(30);
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueModelMetadata_descriptor,
@@ -982,7 +1172,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime", "EndTime", "Request",
});
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(25);
+ getDescriptor().getMessageTypes().get(31);
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelRequest_descriptor,
@@ -990,13 +1180,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor =
- getDescriptor().getMessageTypes().get(26);
+ getDescriptor().getMessageTypes().get(32);
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelResponse_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor =
- getDescriptor().getMessageTypes().get(27);
+ getDescriptor().getMessageTypes().get(33);
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeployIssueModelMetadata_descriptor,
@@ -1004,7 +1194,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime", "EndTime", "Request",
});
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor =
- getDescriptor().getMessageTypes().get(28);
+ getDescriptor().getMessageTypes().get(34);
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelRequest_descriptor,
@@ -1012,13 +1202,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor =
- getDescriptor().getMessageTypes().get(29);
+ getDescriptor().getMessageTypes().get(35);
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelResponse_descriptor,
new java.lang.String[] {});
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor =
- getDescriptor().getMessageTypes().get(30);
+ getDescriptor().getMessageTypes().get(36);
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UndeployIssueModelMetadata_descriptor,
@@ -1026,7 +1216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CreateTime", "EndTime", "Request",
});
internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor =
- getDescriptor().getMessageTypes().get(31);
+ getDescriptor().getMessageTypes().get(37);
internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetIssueRequest_descriptor,
@@ -1034,7 +1224,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor =
- getDescriptor().getMessageTypes().get(32);
+ getDescriptor().getMessageTypes().get(38);
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesRequest_descriptor,
@@ -1042,7 +1232,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent",
});
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor =
- getDescriptor().getMessageTypes().get(33);
+ getDescriptor().getMessageTypes().get(39);
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListIssuesResponse_descriptor,
@@ -1050,15 +1240,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Issues",
});
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor =
- getDescriptor().getMessageTypes().get(34);
+ getDescriptor().getMessageTypes().get(40);
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UpdateIssueRequest_descriptor,
new java.lang.String[] {
"Issue", "UpdateMask",
});
+ internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor =
+ getDescriptor().getMessageTypes().get(41);
+ internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor,
+ new java.lang.String[] {
+ "Name",
+ });
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor =
- getDescriptor().getMessageTypes().get(35);
+ getDescriptor().getMessageTypes().get(42);
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsRequest_descriptor,
@@ -1066,7 +1264,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"IssueModel",
});
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor =
- getDescriptor().getMessageTypes().get(36);
+ getDescriptor().getMessageTypes().get(43);
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CalculateIssueModelStatsResponse_descriptor,
@@ -1074,7 +1272,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"CurrentStats",
});
internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor =
- getDescriptor().getMessageTypes().get(37);
+ getDescriptor().getMessageTypes().get(44);
internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreatePhraseMatcherRequest_descriptor,
@@ -1082,7 +1280,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PhraseMatcher",
});
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor =
- getDescriptor().getMessageTypes().get(38);
+ getDescriptor().getMessageTypes().get(45);
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersRequest_descriptor,
@@ -1090,7 +1288,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken", "Filter",
});
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor =
- getDescriptor().getMessageTypes().get(39);
+ getDescriptor().getMessageTypes().get(46);
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListPhraseMatchersResponse_descriptor,
@@ -1098,7 +1296,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PhraseMatchers", "NextPageToken",
});
internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor =
- getDescriptor().getMessageTypes().get(40);
+ getDescriptor().getMessageTypes().get(47);
internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetPhraseMatcherRequest_descriptor,
@@ -1106,7 +1304,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor =
- getDescriptor().getMessageTypes().get(41);
+ getDescriptor().getMessageTypes().get(48);
internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeletePhraseMatcherRequest_descriptor,
@@ -1114,7 +1312,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor =
- getDescriptor().getMessageTypes().get(42);
+ getDescriptor().getMessageTypes().get(49);
internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UpdatePhraseMatcherRequest_descriptor,
@@ -1122,7 +1320,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"PhraseMatcher", "UpdateMask",
});
internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(43);
+ getDescriptor().getMessageTypes().get(50);
internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetSettingsRequest_descriptor,
@@ -1130,7 +1328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor =
- getDescriptor().getMessageTypes().get(44);
+ getDescriptor().getMessageTypes().get(51);
internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UpdateSettingsRequest_descriptor,
@@ -1138,7 +1336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Settings", "UpdateMask",
});
internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor =
- getDescriptor().getMessageTypes().get(45);
+ getDescriptor().getMessageTypes().get(52);
internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_CreateViewRequest_descriptor,
@@ -1146,7 +1344,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "View",
});
internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor =
- getDescriptor().getMessageTypes().get(46);
+ getDescriptor().getMessageTypes().get(53);
internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_GetViewRequest_descriptor,
@@ -1154,7 +1352,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor =
- getDescriptor().getMessageTypes().get(47);
+ getDescriptor().getMessageTypes().get(54);
internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListViewsRequest_descriptor,
@@ -1162,7 +1360,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "PageSize", "PageToken",
});
internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor =
- getDescriptor().getMessageTypes().get(48);
+ getDescriptor().getMessageTypes().get(55);
internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_ListViewsResponse_descriptor,
@@ -1170,7 +1368,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Views", "NextPageToken",
});
internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor =
- getDescriptor().getMessageTypes().get(49);
+ getDescriptor().getMessageTypes().get(56);
internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_UpdateViewRequest_descriptor,
@@ -1178,7 +1376,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"View", "UpdateMask",
});
internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor =
- getDescriptor().getMessageTypes().get(50);
+ getDescriptor().getMessageTypes().get(57);
internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_contactcenterinsights_v1_DeleteViewRequest_descriptor,
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java
index 45eb6d798c1a..1cf835008eab 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipant.java
@@ -477,7 +477,7 @@ public com.google.protobuf.ByteString getUserIdBytes() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The dialogflowParticipant.
*/
@java.lang.Override
@@ -506,7 +506,7 @@ public java.lang.String getDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Override
@@ -1381,7 +1381,7 @@ public Builder setUserIdBytes(com.google.protobuf.ByteString value) {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The dialogflowParticipant.
*/
@java.lang.Deprecated
@@ -1409,7 +1409,7 @@ public java.lang.String getDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Deprecated
@@ -1437,7 +1437,7 @@ public com.google.protobuf.ByteString getDialogflowParticipantBytes() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @param value The dialogflowParticipant to set.
* @return This builder for chaining.
*/
@@ -1464,7 +1464,7 @@ public Builder setDialogflowParticipant(java.lang.String value) {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1487,7 +1487,7 @@ public Builder clearDialogflowParticipant() {
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @param value The bytes for dialogflowParticipant to set.
* @return This builder for chaining.
*/
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java
index a62a540b13fc..4bf600ae5d9f 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/ConversationParticipantOrBuilder.java
@@ -113,7 +113,7 @@ public interface ConversationParticipantOrBuilder
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The dialogflowParticipant.
*/
@java.lang.Deprecated
@@ -131,7 +131,7 @@ public interface ConversationParticipantOrBuilder
*
* @deprecated
* google.cloud.contactcenterinsights.v1.ConversationParticipant.dialogflow_participant is
- * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1083
+ * deprecated. See google/cloud/contactcenterinsights/v1/resources.proto;l=1104
* @return The bytes for dialogflowParticipant.
*/
@java.lang.Deprecated
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java
index 7bc0925ba742..967c7666cf2f 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadata.java
@@ -220,6 +220,61 @@ public com.google.protobuf.ByteString getConversationBytes() {
}
}
+ public static final int ANNOTATOR_SELECTOR_FIELD_NUMBER = 4;
+ private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_;
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ @java.lang.Override
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The annotatorSelector.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ return getAnnotatorSelector();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -243,6 +298,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversation_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, conversation_);
}
+ if (annotatorSelector_ != null) {
+ output.writeMessage(4, getAnnotatorSelector());
+ }
getUnknownFields().writeTo(output);
}
@@ -261,6 +319,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(conversation_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, conversation_);
}
+ if (annotatorSelector_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getAnnotatorSelector());
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -287,6 +348,10 @@ public boolean equals(final java.lang.Object obj) {
if (!getEndTime().equals(other.getEndTime())) return false;
}
if (!getConversation().equals(other.getConversation())) return false;
+ if (hasAnnotatorSelector() != other.hasAnnotatorSelector()) return false;
+ if (hasAnnotatorSelector()) {
+ if (!getAnnotatorSelector().equals(other.getAnnotatorSelector())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -308,6 +373,10 @@ public int hashCode() {
}
hash = (37 * hash) + CONVERSATION_FIELD_NUMBER;
hash = (53 * hash) + getConversation().hashCode();
+ if (hasAnnotatorSelector()) {
+ hash = (37 * hash) + ANNOTATOR_SELECTOR_FIELD_NUMBER;
+ hash = (53 * hash) + getAnnotatorSelector().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -464,6 +533,12 @@ public Builder clear() {
}
conversation_ = "";
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = null;
+ } else {
+ annotatorSelector_ = null;
+ annotatorSelectorBuilder_ = null;
+ }
return this;
}
@@ -506,6 +581,11 @@ public com.google.cloud.contactcenterinsights.v1.CreateAnalysisOperationMetadata
result.endTime_ = endTimeBuilder_.build();
}
result.conversation_ = conversation_;
+ if (annotatorSelectorBuilder_ == null) {
+ result.annotatorSelector_ = annotatorSelector_;
+ } else {
+ result.annotatorSelector_ = annotatorSelectorBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -570,6 +650,9 @@ public Builder mergeFrom(
conversation_ = other.conversation_;
onChanged();
}
+ if (other.hasAnnotatorSelector()) {
+ mergeAnnotatorSelector(other.getAnnotatorSelector());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -614,6 +697,13 @@ public Builder mergeFrom(
break;
} // case 26
+ case 34:
+ {
+ input.readMessage(
+ getAnnotatorSelectorFieldBuilder().getBuilder(), extensionRegistry);
+
+ break;
+ } // case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1136,6 +1226,215 @@ public Builder setConversationBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.cloud.contactcenterinsights.v1.AnnotatorSelector annotatorSelector_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ annotatorSelectorBuilder_;
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ public boolean hasAnnotatorSelector() {
+ return annotatorSelectorBuilder_ != null || annotatorSelector_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The annotatorSelector.
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ } else {
+ return annotatorSelectorBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ annotatorSelector_ = value;
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder builderForValue) {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = builderForValue.build();
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeAnnotatorSelector(
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector value) {
+ if (annotatorSelectorBuilder_ == null) {
+ if (annotatorSelector_ != null) {
+ annotatorSelector_ =
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.newBuilder(
+ annotatorSelector_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ annotatorSelector_ = value;
+ }
+ onChanged();
+ } else {
+ annotatorSelectorBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearAnnotatorSelector() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelector_ = null;
+ onChanged();
+ } else {
+ annotatorSelector_ = null;
+ annotatorSelectorBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder
+ getAnnotatorSelectorBuilder() {
+
+ onChanged();
+ return getAnnotatorSelectorFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder() {
+ if (annotatorSelectorBuilder_ != null) {
+ return annotatorSelectorBuilder_.getMessageOrBuilder();
+ } else {
+ return annotatorSelector_ == null
+ ? com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.getDefaultInstance()
+ : annotatorSelector_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>
+ getAnnotatorSelectorFieldBuilder() {
+ if (annotatorSelectorBuilder_ == null) {
+ annotatorSelectorBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector.Builder,
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder>(
+ getAnnotatorSelector(), getParentForChildren(), isClean());
+ annotatorSelector_ = null;
+ }
+ return annotatorSelectorBuilder_;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java
index 2d0102b6c3d8..6cd2ee7dc103 100644
--- a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/CreateAnalysisOperationMetadataOrBuilder.java
@@ -127,4 +127,46 @@ public interface CreateAnalysisOperationMetadataOrBuilder
* @return The bytes for conversation.
*/
com.google.protobuf.ByteString getConversationBytes();
+
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the annotatorSelector field is set.
+ */
+ boolean hasAnnotatorSelector();
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The annotatorSelector.
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelector getAnnotatorSelector();
+ /**
+ *
+ *
+ * + * Output only. The annotator selector used for the analysis (if any). + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.AnnotatorSelector annotator_selector = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.contactcenterinsights.v1.AnnotatorSelectorOrBuilder
+ getAnnotatorSelectorOrBuilder();
}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java
new file mode 100644
index 000000000000..71b1d6c039e2
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/DeleteIssueRequest.java
@@ -0,0 +1,633 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The request to delete an issue. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} + */ +public final class DeleteIssueRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.DeleteIssueRequest) + DeleteIssueRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteIssueRequest.newBuilder() to construct. + private DeleteIssueRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private DeleteIssueRequest() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteIssueRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_DeleteIssueRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.class, + com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+ * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest other =
+ (com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The request to delete an issue. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.DeleteIssueRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+
+ name_ = getDefaultInstance().getName();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ name_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.DeleteIssueRequest)
+ private static final com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.DeleteIssueRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ * + * Required. The name of the issue to delete. + *+ * + *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java
new file mode 100644
index 000000000000..8191f369ca5e
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsMetadata.java
@@ -0,0 +1,1854 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The metadata for an IngestConversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} + */ +public final class IngestConversationsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) + IngestConversationsMetadataOrBuilder { + private static final long serialVersionUID = 0L; + // Use IngestConversationsMetadata.newBuilder() to construct. + private IngestConversationsMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private IngestConversationsMetadata() { + partialErrors_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IngestConversationsMetadata(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsMetadata_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata.Builder.class); + } + + public static final int CREATE_TIME_FIELD_NUMBER = 1; + private com.google.protobuf.Timestamp createTime_; + /** + * + * + *
+ * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreateTime() {
+ return createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getCreateTime() {
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ return getCreateTime();
+ }
+
+ public static final int END_TIME_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp endTime_;
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the endTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasEndTime() {
+ return endTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The endTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getEndTime() {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ return getEndTime();
+ }
+
+ public static final int REQUEST_FIELD_NUMBER = 3;
+ private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_;
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ @java.lang.Override
+ public boolean hasRequest() {
+ return request_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The request.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.getDefaultInstance()
+ : request_;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder
+ getRequestOrBuilder() {
+ return getRequest();
+ }
+
+ public static final int PARTIAL_ERRORS_FIELD_NUMBER = 4;
+ private java.util.List+ * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List+ * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.rpc.StatusOrBuilder> getPartialErrorsOrBuilderList() {
+ return partialErrors_;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public int getPartialErrorsCount() {
+ return partialErrors_.size();
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.rpc.Status getPartialErrors(int index) {
+ return partialErrors_.get(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ @java.lang.Override
+ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+ return partialErrors_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (createTime_ != null) {
+ output.writeMessage(1, getCreateTime());
+ }
+ if (endTime_ != null) {
+ output.writeMessage(2, getEndTime());
+ }
+ if (request_ != null) {
+ output.writeMessage(3, getRequest());
+ }
+ for (int i = 0; i < partialErrors_.size(); i++) {
+ output.writeMessage(4, partialErrors_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (createTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime());
+ }
+ if (endTime_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime());
+ }
+ if (request_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRequest());
+ }
+ for (int i = 0; i < partialErrors_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, partialErrors_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata other =
+ (com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata) obj;
+
+ if (hasCreateTime() != other.hasCreateTime()) return false;
+ if (hasCreateTime()) {
+ if (!getCreateTime().equals(other.getCreateTime())) return false;
+ }
+ if (hasEndTime() != other.hasEndTime()) return false;
+ if (hasEndTime()) {
+ if (!getEndTime().equals(other.getEndTime())) return false;
+ }
+ if (hasRequest() != other.hasRequest()) return false;
+ if (hasRequest()) {
+ if (!getRequest().equals(other.getRequest())) return false;
+ }
+ if (!getPartialErrorsList().equals(other.getPartialErrorsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasCreateTime()) {
+ hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getCreateTime().hashCode();
+ }
+ if (hasEndTime()) {
+ hash = (37 * hash) + END_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getEndTime().hashCode();
+ }
+ if (hasRequest()) {
+ hash = (37 * hash) + REQUEST_FIELD_NUMBER;
+ hash = (53 * hash) + getRequest().hashCode();
+ }
+ if (getPartialErrorsCount() > 0) {
+ hash = (37 * hash) + PARTIAL_ERRORS_FIELD_NUMBER;
+ hash = (53 * hash) + getPartialErrorsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsMetadata prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * The metadata for an IngestConversations operation. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsMetadata} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ public boolean hasCreateTime() {
+ return createTimeBuilder_ != null || createTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ public com.google.protobuf.Timestamp getCreateTime() {
+ if (createTimeBuilder_ == null) {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ } else {
+ return createTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ createTime_ = value;
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (createTimeBuilder_ == null) {
+ createTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ createTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
+ if (createTimeBuilder_ == null) {
+ if (createTime_ != null) {
+ createTime_ =
+ com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ } else {
+ createTime_ = value;
+ }
+ onChanged();
+ } else {
+ createTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearCreateTime() {
+ if (createTimeBuilder_ == null) {
+ createTime_ = null;
+ onChanged();
+ } else {
+ createTime_ = null;
+ createTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
+
+ onChanged();
+ return getCreateTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
+ if (createTimeBuilder_ != null) {
+ return createTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return createTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : createTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
+ * .google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getCreateTimeFieldBuilder() {
+ if (createTimeBuilder_ == null) {
+ createTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getCreateTime(), getParentForChildren(), isClean());
+ createTime_ = null;
+ }
+ return createTimeBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp endTime_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ endTimeBuilder_;
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the endTime field is set.
+ */
+ public boolean hasEndTime() {
+ return endTimeBuilder_ != null || endTime_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The endTime.
+ */
+ public com.google.protobuf.Timestamp getEndTime() {
+ if (endTimeBuilder_ == null) {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ } else {
+ return endTimeBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ endTime_ = value;
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (endTimeBuilder_ == null) {
+ endTime_ = builderForValue.build();
+ onChanged();
+ } else {
+ endTimeBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
+ if (endTimeBuilder_ == null) {
+ if (endTime_ != null) {
+ endTime_ =
+ com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ } else {
+ endTime_ = value;
+ }
+ onChanged();
+ } else {
+ endTimeBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearEndTime() {
+ if (endTimeBuilder_ == null) {
+ endTime_ = null;
+ onChanged();
+ } else {
+ endTime_ = null;
+ endTimeBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
+
+ onChanged();
+ return getEndTimeFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
+ if (endTimeBuilder_ != null) {
+ return endTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ getEndTimeFieldBuilder() {
+ if (endTimeBuilder_ == null) {
+ endTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getEndTime(), getParentForChildren(), isClean());
+ endTime_ = null;
+ }
+ return endTimeBuilder_;
+ }
+
+ private com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest request_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>
+ requestBuilder_;
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ public boolean hasRequest() {
+ return requestBuilder_ != null || request_ != null;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The request.
+ */
+ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest() {
+ if (requestBuilder_ == null) {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .getDefaultInstance()
+ : request_;
+ } else {
+ return requestBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setRequest(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) {
+ if (requestBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ request_ = value;
+ onChanged();
+ } else {
+ requestBuilder_.setMessage(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setRequest(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder
+ builderForValue) {
+ if (requestBuilder_ == null) {
+ request_ = builderForValue.build();
+ onChanged();
+ } else {
+ requestBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder mergeRequest(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest value) {
+ if (requestBuilder_ == null) {
+ if (request_ != null) {
+ request_ =
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.newBuilder(
+ request_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ request_ = value;
+ }
+ onChanged();
+ } else {
+ requestBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearRequest() {
+ if (requestBuilder_ == null) {
+ request_ = null;
+ onChanged();
+ } else {
+ request_ = null;
+ requestBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder
+ getRequestBuilder() {
+
+ onChanged();
+ return getRequestFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder
+ getRequestOrBuilder() {
+ if (requestBuilder_ != null) {
+ return requestBuilder_.getMessageOrBuilder();
+ } else {
+ return request_ == null
+ ? com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .getDefaultInstance()
+ : request_;
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>
+ getRequestFieldBuilder() {
+ if (requestBuilder_ == null) {
+ requestBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder,
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder>(
+ getRequest(), getParentForChildren(), isClean());
+ request_ = null;
+ }
+ return requestBuilder_;
+ }
+
+ private java.util.List+ * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List+ * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public int getPartialErrorsCount() {
+ if (partialErrorsBuilder_ == null) {
+ return partialErrors_.size();
+ } else {
+ return partialErrorsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.rpc.Status getPartialErrors(int index) {
+ if (partialErrorsBuilder_ == null) {
+ return partialErrors_.get(index);
+ } else {
+ return partialErrorsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setPartialErrors(int index, com.google.rpc.Status value) {
+ if (partialErrorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePartialErrorsIsMutable();
+ partialErrors_.set(index, value);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder setPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+ if (partialErrorsBuilder_ == null) {
+ ensurePartialErrorsIsMutable();
+ partialErrors_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ partialErrorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPartialErrors(com.google.rpc.Status value) {
+ if (partialErrorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePartialErrorsIsMutable();
+ partialErrors_.add(value);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPartialErrors(int index, com.google.rpc.Status value) {
+ if (partialErrorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePartialErrorsIsMutable();
+ partialErrors_.add(index, value);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPartialErrors(com.google.rpc.Status.Builder builderForValue) {
+ if (partialErrorsBuilder_ == null) {
+ ensurePartialErrorsIsMutable();
+ partialErrors_.add(builderForValue.build());
+ onChanged();
+ } else {
+ partialErrorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addPartialErrors(int index, com.google.rpc.Status.Builder builderForValue) {
+ if (partialErrorsBuilder_ == null) {
+ ensurePartialErrorsIsMutable();
+ partialErrors_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ partialErrorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder addAllPartialErrors(java.lang.Iterable extends com.google.rpc.Status> values) {
+ if (partialErrorsBuilder_ == null) {
+ ensurePartialErrorsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partialErrors_);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder clearPartialErrors() {
+ if (partialErrorsBuilder_ == null) {
+ partialErrors_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public Builder removePartialErrors(int index) {
+ if (partialErrorsBuilder_ == null) {
+ ensurePartialErrorsIsMutable();
+ partialErrors_.remove(index);
+ onChanged();
+ } else {
+ partialErrorsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.rpc.Status.Builder getPartialErrorsBuilder(int index) {
+ return getPartialErrorsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index) {
+ if (partialErrorsBuilder_ == null) {
+ return partialErrors_.get(index);
+ } else {
+ return partialErrorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List extends com.google.rpc.StatusOrBuilder>
+ getPartialErrorsOrBuilderList() {
+ if (partialErrorsBuilder_ != null) {
+ return partialErrorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(partialErrors_);
+ }
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.rpc.Status.Builder addPartialErrorsBuilder() {
+ return getPartialErrorsFieldBuilder().addBuilder(com.google.rpc.Status.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public com.google.rpc.Status.Builder addPartialErrorsBuilder(int index) {
+ return getPartialErrorsFieldBuilder()
+ .addBuilder(index, com.google.rpc.Status.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ public java.util.List+ * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the createTime field is set.
+ */
+ boolean hasCreateTime();
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The createTime.
+ */
+ com.google.protobuf.Timestamp getCreateTime();
+ /**
+ *
+ *
+ * + * Output only. The time the operation was created. + *+ * + *
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the endTime field is set.
+ */
+ boolean hasEndTime();
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The endTime.
+ */
+ com.google.protobuf.Timestamp getEndTime();
+ /**
+ *
+ *
+ * + * Output only. The time the operation finished running. + *+ * + *
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the request field is set.
+ */
+ boolean hasRequest();
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The request.
+ */
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest getRequest();
+ /**
+ *
+ *
+ * + * Output only. The original request for ingest. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.IngestConversationsRequest request = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequestOrBuilder
+ getRequestOrBuilder();
+
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List+ * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.rpc.Status getPartialErrors(int index);
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ int getPartialErrorsCount();
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ java.util.List extends com.google.rpc.StatusOrBuilder> getPartialErrorsOrBuilderList();
+ /**
+ *
+ *
+ * + * Output only. Partial errors during ingest operation that might cause the operation + * output to be incomplete. + *+ * + *
+ * repeated .google.rpc.Status partial_errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ */
+ com.google.rpc.StatusOrBuilder getPartialErrorsOrBuilder(int index);
+}
diff --git a/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java
new file mode 100644
index 000000000000..e32e8c42a807
--- /dev/null
+++ b/java-contact-center-insights/proto-google-cloud-contact-center-insights-v1/src/main/java/com/google/cloud/contactcenterinsights/v1/IngestConversationsRequest.java
@@ -0,0 +1,3893 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
+
+package com.google.cloud.contactcenterinsights.v1;
+
+/**
+ *
+ *
+ * + * The request to ingest conversations. + *+ * + * Protobuf type {@code google.cloud.contactcenterinsights.v1.IngestConversationsRequest} + */ +public final class IngestConversationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest) + IngestConversationsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use IngestConversationsRequest.newBuilder() to construct. + private IngestConversationsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private IngestConversationsRequest() { + parent_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new IngestConversationsRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.Builder.class); + } + + public interface GcsSourceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+ * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bucketUri.
+ */
+ java.lang.String getBucketUri();
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for bucketUri.
+ */
+ com.google.protobuf.ByteString getBucketUriBytes();
+ }
+ /**
+ *
+ *
+ * + * Configuration for Cloud Storage bucket sources. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + */ + public static final class GcsSource extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) + GcsSourceOrBuilder { + private static final long serialVersionUID = 0L; + // Use GcsSource.newBuilder() to construct. + private GcsSource(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private GcsSource() { + bucketUri_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GcsSource(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_GcsSource_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource.Builder + .class); + } + + public static final int BUCKET_URI_FIELD_NUMBER = 1; + private volatile java.lang.Object bucketUri_; + /** + * + * + *
+ * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bucketUri.
+ */
+ @java.lang.Override
+ public java.lang.String getBucketUri() {
+ java.lang.Object ref = bucketUri_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ bucketUri_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for bucketUri.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getBucketUriBytes() {
+ java.lang.Object ref = bucketUri_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ bucketUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketUri_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, bucketUri_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucketUri_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bucketUri_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource other =
+ (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource) obj;
+
+ if (!getBucketUri().equals(other.getBucketUri())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + BUCKET_URI_FIELD_NUMBER;
+ hash = (53 * hash) + getBucketUri().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Configuration for Cloud Storage bucket sources. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bucketUri.
+ */
+ public java.lang.String getBucketUri() {
+ java.lang.Object ref = bucketUri_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ bucketUri_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for bucketUri.
+ */
+ public com.google.protobuf.ByteString getBucketUriBytes() {
+ java.lang.Object ref = bucketUri_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ bucketUri_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bucketUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBucketUri(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ bucketUri_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearBucketUri() {
+
+ bucketUri_ = getDefaultInstance().getBucketUri();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The Cloud Storage bucket containing source objects. + *+ * + *
string bucket_uri = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for bucketUri to set.
+ * @return This builder for chaining.
+ */
+ public Builder setBucketUriBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+
+ bucketUri_ = value;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource)
+ private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .GcsSource
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The enum numeric value on the wire for medium.
+ */
+ int getMediumValue();
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The medium.
+ */
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium();
+ }
+ /**
+ *
+ *
+ * + * Configuration for processing transcript objects. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + */ + public static final class TranscriptObjectConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig) + TranscriptObjectConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use TranscriptObjectConfig.newBuilder() to construct. + private TranscriptObjectConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private TranscriptObjectConfig() { + medium_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TranscriptObjectConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_TranscriptObjectConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .TranscriptObjectConfig.Builder.class); + } + + public static final int MEDIUM_FIELD_NUMBER = 1; + private int medium_; + /** + * + * + *
+ * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The enum numeric value on the wire for medium.
+ */
+ @java.lang.Override
+ public int getMediumValue() {
+ return medium_;
+ }
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The medium.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium result =
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(medium_);
+ return result == null
+ ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (medium_
+ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(1, medium_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (medium_
+ != com.google.cloud.contactcenterinsights.v1.Conversation.Medium.MEDIUM_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, medium_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig
+ other =
+ (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig)
+ obj;
+
+ if (medium_ != other.medium_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + MEDIUM_FIELD_NUMBER;
+ hash = (53 * hash) + medium_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Configuration for processing transcript objects. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder
+ * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The enum numeric value on the wire for medium.
+ */
+ @java.lang.Override
+ public int getMediumValue() {
+ return medium_;
+ }
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param value The enum numeric value on the wire for medium to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMediumValue(int value) {
+
+ medium_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The medium.
+ */
+ @java.lang.Override
+ public com.google.cloud.contactcenterinsights.v1.Conversation.Medium getMedium() {
+ @SuppressWarnings("deprecation")
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium result =
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium.valueOf(medium_);
+ return result == null
+ ? com.google.cloud.contactcenterinsights.v1.Conversation.Medium.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param value The medium to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMedium(
+ com.google.cloud.contactcenterinsights.v1.Conversation.Medium value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ medium_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Required. The medium transcript objects represent. + *+ * + *
+ * .google.cloud.contactcenterinsights.v1.Conversation.Medium medium = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMedium() {
+
+ medium_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig)
+ private static final com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig();
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .TranscriptObjectConfig
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser+ * An opaque, user-specified string representing the human agent who handled + * the conversations. + *+ * + *
string agent_id = 1;
+ *
+ * @return The agentId.
+ */
+ java.lang.String getAgentId();
+ /**
+ *
+ *
+ * + * An opaque, user-specified string representing the human agent who handled + * the conversations. + *+ * + *
string agent_id = 1;
+ *
+ * @return The bytes for agentId.
+ */
+ com.google.protobuf.ByteString getAgentIdBytes();
+ }
+ /**
+ *
+ *
+ * + * Configuration that applies to all conversations. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + */ + public static final class ConversationConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig) + ConversationConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use ConversationConfig.newBuilder() to construct. + private ConversationConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + super(builder); + } + + private ConversationConfig() { + agentId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ConversationConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.contactcenterinsights.v1.ContactCenterInsightsProto + .internal_static_google_cloud_contactcenterinsights_v1_IngestConversationsRequest_ConversationConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.class, + com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest + .ConversationConfig.Builder.class); + } + + public static final int AGENT_ID_FIELD_NUMBER = 1; + private volatile java.lang.Object agentId_; + /** + * + * + *
+ * An opaque, user-specified string representing the human agent who handled + * the conversations. + *+ * + *
string agent_id = 1;
+ *
+ * @return The agentId.
+ */
+ @java.lang.Override
+ public java.lang.String getAgentId() {
+ java.lang.Object ref = agentId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ agentId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * An opaque, user-specified string representing the human agent who handled + * the conversations. + *+ * + *
string agent_id = 1;
+ *
+ * @return The bytes for agentId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAgentIdBytes() {
+ java.lang.Object ref = agentId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ agentId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, agentId_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(agentId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, agentId_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig)) {
+ return super.equals(obj);
+ }
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig
+ other =
+ (com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig)
+ obj;
+
+ if (!getAgentId().equals(other.getAgentId())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + AGENT_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getAgentId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest
+ .ConversationConfig
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ * + * Configuration that applies to all conversations. + *+ * + * Protobuf type {@code + * google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig} + */ + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder